CN104581993B - It is wirelessly connected the method and terminal of the method established, data transmission - Google Patents
It is wirelessly connected the method and terminal of the method established, data transmission Download PDFInfo
- Publication number
- CN104581993B CN104581993B CN201410776519.9A CN201410776519A CN104581993B CN 104581993 B CN104581993 B CN 104581993B CN 201410776519 A CN201410776519 A CN 201410776519A CN 104581993 B CN104581993 B CN 104581993B
- Authority
- CN
- China
- Prior art keywords
- local wireless
- wireless connection
- terminal
- source terminal
- local
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/12—Setup of transport tunnels
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
Abstract
The invention discloses a kind of methods for being wirelessly connected and establishing, local wireless connection configuration message is sent to purpose terminal by internet channel or telecommunications network channel, the local wireless connection configuration message carries local wireless connection sign and local wireless connection type information, the local wireless connection sign is used to indicate the purpose terminal and parses the local wireless connection configuration message, and the local wireless connection type according to indicated by the local wireless connection type information of acquisition, initiation are connect with the local wireless of source terminal;It receives the purpose terminal and the local wireless connection foundation request that configuration message is sent is connected according to the local wireless;It is connected according to the local wireless and establishes request, established local wireless with the purpose terminal and connect.The embodiment of the present invention also provides accordingly.The method provided in an embodiment of the present invention that establish that is wirelessly connected improves the efficiency for being wirelessly connected and establishing, and reduces the complexity for being wirelessly connected and establishing.
Description
Technical field
The present invention relates to the communications fields, and in particular to is wirelessly connected the method for foundation, the method and terminal of data transmission.
Background technique
It can be established by technologies such as bluetooth, Wireless Fidelitys (Wireless Fidelity, Wifi) between mobile phone point-to-point
Local wireless connection, then again by this it is point-to-point connection carry out data transmission.
Typically set up the process of bluetooth connection are as follows:
Two mobile phones are matched with bluetooth first, are opened mobile phone " setting ", then pop-up setting dialog box selects
" wireless and network " option, clicks opening, in " wireless and network settings ", " bluetooth setting " is chosen, into " bluetooth setting "
, and ticked behind " bluetooth " item, in " bluetooth setting " option, " device name " column is clicked, and can input this mobile phone quilt
The title on other side's mobile phone is appeared in when inspection.The same method of another mobile phone is opened into bluetooth, then clicks " scanning
Search equipment ", all devices searched out can be listed in lower section by system, be popped up " bluetooth equipment selector ", then in lower section " bluetooth
The bluetooth title of other side is chosen in equipment " list, can establish communication connection.
Typically set up the process of Wifi connection are as follows:
1. confirming that Android mobile phone supports Wi-Fi Direct function.
2. -> wirelessly with " more " of network -> is arranged in the mobile phone for supporting Wi-Fi Direct chooses Wi-Fi
Direct。
3.Wi-Fi Direct uses the mechanism of WPS (Wi-Fi Protected Setup), selects Wi-Fi Direct
Secure connection mode, there are three types of:
(1) PIN mode, PIN (Personal Information Number), i.e. personal information number, directly inputs one
Group is digital (4 or 8 digit).This mode connection speed is fast, as long as input is completed to connect.
(2) PBC mode, PBC (Push Button Configuration), that is, the configuration that the touches the button (button of software simulation
Or hard button).Connection can be completed in the button for pressing two equipment respectively.The connection speed of this connection type is slower.
(3) WPA2 encryption mode, this mode are input passwords as the first mode, and input is completed to start to connect
It connects, a kind of cipher mode is set.
4. then an other mobile phone just goes to find the hand for opening Wi-Fi Direct in the way of using Wi-Fi
Machine, setting -> wirelessly with network -> unlatching Wi-Fi, then select Wi-Fi Direct mobile phone, input security password, the two
It can start to connect.
It can be seen that the process for establishing local wireless connection at present is all based on terminal searching foundation, bluetooth company is established
It is all very complicated to connect the process connected with wifi, many people will not establish bluetooth or wifi connection, cause this based on search
It is very low to be wirelessly connected the efficiency established.
Summary of the invention
On the one hand the embodiment of the present invention provides a kind of method for being wirelessly connected and establishing, can pass through internet channel or telecommunications
Netcom road connects to establish local wireless, to improve the efficiency for being wirelessly connected and establishing, reduces and is wirelessly connected answering for foundation
Miscellaneous degree.The embodiment of the invention also provides corresponding terminals.
On the other hand the embodiment of the present invention provides a kind of method of data transmission, can pass through internet channel or telecommunications network
Data are transmitted by the wireless connection to establish local wireless connection in channel, not only improve the efficiency for being wirelessly connected and establishing, but also
It avoids data to be transmitted by internet (such as: social application), improves the safety of data transmission.The embodiment of the present invention
Additionally provide corresponding terminal.
First aspect present invention provides a kind of method for being wirelessly connected and establishing, and is used for source terminal, which comprises
Local wireless connection configuration message, the local are sent to purpose terminal by internet channel or telecommunications network channel
It is wirelessly connected configuration message and carries local wireless connection sign and local wireless connection type information, the local wireless connects
It connects sign and is used to indicate the purpose terminal parsing local wireless connection configuration message, and according to described of acquisition
Local wireless connection type indicated by ground wireless connection type information, initiation are connect with the local wireless of the source terminal;
The purpose terminal is received to be asked according to the local wireless connection foundation that the local wireless connects configuration message transmission
It asks;
It is connected according to the local wireless and establishes request, established local wireless with the purpose terminal and connect.
With reference to first aspect, in the first possible implementation, the local wireless connection configuration message also carries
The key information of the source terminal configuration connected for establishing local wireless, the key information are used for the purpose terminal root
It is that the source terminal and the purpose terminal are matched according to the key information, after successful matching, Xiang Suoshu source terminal hair
The local wireless connection is sent to establish request.
With reference to first aspect or first aspect the first possible implementation, in the second possible implementation,
The local wireless connection configuration message also carries the location information of the source terminal, and the location information of the source terminal is used for institute
It states purpose terminal to determine at a distance from the source terminal, when the distance is in the range of establishing local wireless connection, to institute
It states source terminal and sends the local wireless connection foundation request.
With reference to first aspect, the first or second of possible implementation of first aspect, in the third possible realization
It is described to receive the mesh when local wireless connection type information includes that at least two wireless connection types identify in mode
Terminal according to the local wireless connect configuration message send local wireless connection establish request, comprising:
Receive the local that the purpose terminal connects at least two types that configuration message is sent according to the local wireless
It is wirelessly connected and establishes request, it is wireless with described at least two respectively that request is established in the local wireless connection of at least two type
Connection type mark corresponds to;
Described connected according to the local wireless establishes request, establishes local wireless with the purpose terminal and connect, comprising:
It is connected according to the local wireless of at least two type and establishes request, establish at least two with the purpose terminal
The local wireless of type connects.
Second aspect of the present invention provides a kind of method for being wirelessly connected and establishing, and is used for purpose terminal, which comprises
Local wireless connection configuration message, the local nothing are received from source terminal by internet channel or telecommunications network channel
Line connection configuration message carries local wireless connection sign and local wireless connection type information;
Sign is connected according to the local wireless and parses the local wireless connection configuration message, obtains the local
Wireless connection type information;
According to local wireless connection type indicated by the local wireless connection type information, Xiang Suoshu source terminal is sent
Request is established in local wireless connection;
Local wireless is established with the source terminal to connect.
In conjunction with second aspect, in the first possible implementation, the local wireless connection configuration message is also carried
The key information of the source terminal configuration connected for establishing local wireless;
When the acquisition local wireless connection type information, the method also includes:
Obtain the key information;
The local wireless connection type according to indicated by the local wireless connection type information, Xiang Suoshu source terminal
Local wireless connection is sent to establish before request, the method also includes:
It is that the source terminal and the purpose terminal are matched according to the key information;
It is described to send local wireless connection foundation request to the source terminal, comprising:
After successful matching, Xiang Suoshu source terminal sends the local wireless connection and establishes request.
In conjunction with second aspect or second aspect the first possible implementation, in the second possible implementation,
The local wireless connection configuration message also carries the location information of the source terminal, described to obtain the wireless connection type letter
When breath, the method also includes:
Obtain the location information of the source terminal;
The local wireless connection type according to indicated by the local wireless connection type information, Xiang Suoshu source terminal
Local wireless connection is sent to establish before request, the method also includes:
According to the location information of the source terminal, determine at a distance from the source terminal;
It is described to send the local wireless connection foundation request to the source terminal, comprising:
When the distance is in the range of establishing local wireless connection, Xiang Suoshu source terminal sends the local wireless and connects
Connect foundation request.
In conjunction with second aspect, second aspect the first or second of possible implementation, in the third possible realization
In mode, when the local wireless connection type information includes that at least two wireless connection types identify,
The local wireless connection type according to indicated by the local wireless connection type information, Xiang Suoshu source terminal
It sends local wireless connection and establishes request, comprising:
It is identified according at least two wireless connection type, Xiang Suoshu source terminal sends at least two kinds of local nothing
Request is established in line connection, and the local wireless connection of at least two type is established request and wirelessly connected with described at least two respectively
It is corresponding to connect type identification;
It is described to establish local wireless with the source terminal and connect, comprising:
The local wireless for establishing at least two types with the purpose terminal is connect.
Third aspect present invention provides a kind of method of data transmission, is used for source terminal, which comprises
Local wireless connection configuration message, the local are sent to purpose terminal by internet channel or telecommunications network channel
It is wirelessly connected configuration message and carries local wireless connection sign and local wireless connection type information, the local wireless connects
It connects sign and is used to indicate the purpose terminal parsing local wireless connection configuration message, and according to described of acquisition
Local wireless connection type indicated by ground wireless connection type information, initiation are connect with the local wireless of the source terminal;
The purpose terminal is received to be asked according to the local wireless connection foundation that the local wireless connects configuration message transmission
It asks;
It is connected according to the local wireless and establishes request, established local wireless with the purpose terminal and connect;
It is connect by the source terminal with the local wireless that the purpose terminal is established, Xiang Suoshu purpose terminal sends number
According to.
In conjunction with the third aspect, in the first possible implementation, the local wireless connection type information includes extremely
When few two wireless connection types mark, request is established in the local wireless connection for receiving the purpose terminal transmission, comprising:
The local wireless connection for receiving at least two types that the purpose terminal is sent, which is established, requests, and described at least two
It is corresponding at least two wireless connection types mark respectively that request is established in the local wireless connection of type;
Described connected according to the local wireless establishes request, establishes local wireless with the purpose terminal and connect, comprising:
It is connected according to the local wireless of at least two type and establishes request, establish at least two with the purpose terminal
The local wireless of type connects;
Described to be connect by the source terminal with the local wireless that the purpose terminal is established, Xiang Suoshu purpose terminal is sent
Data, comprising:
One of connected by the local wireless of at least two type, Xiang Suoshu purpose terminal sends data;
When data-transmission interruptions, by another in the local wireless connection of at least two type after supervention
Send the data.
Fourth aspect present invention provides a kind of method of data transmission, is used for purpose terminal, which comprises
Local wireless connection configuration message, the local nothing are received from source terminal by internet channel or telecommunications network channel
Line connection configuration message carries local wireless connection sign and local wireless connection type information;
Sign is connected according to the local wireless and parses the local wireless connection configuration message, obtains the local
Wireless connection type information;
According to local wireless connection type indicated by the local wireless connection type information, Xiang Suoshu source terminal is sent
Request is established in local wireless connection;
Local wireless is established with the source terminal to connect;
It is connect by the source terminal with the local wireless that the purpose terminal is established, receives data from the source terminal.
In conjunction with fourth aspect, in the first possible implementation, the local wireless connection type information includes extremely
When few two wireless connection types mark,
The local wireless connection type according to indicated by the local wireless connection type information, Xiang Suoshu source terminal
It sends local wireless connection and establishes request, comprising:
It is identified according at least two wireless connection type, Xiang Suoshu source terminal sends at least two kinds of local nothing
Request is established in line connection, and the local wireless connection of at least two type is established request and wirelessly connected with described at least two respectively
It is corresponding to connect type identification;
It is described to establish local wireless with the source terminal and connect, comprising:
The local wireless for establishing at least two types with the purpose terminal is connect;
It is described to be connect by the source terminal with the local wireless that the purpose terminal is established, number is received from the source terminal
According to, comprising:
One of connected by the local wireless of at least two type, data are received from the source terminal;
When data-transmission interruptions, by another in the local wireless connection of at least two type after continued access
Receive the data.
Fifth aspect present invention provides a kind of terminal, and when the terminal is source terminal, the terminal includes:
Transmission unit, for sending local wireless connection configuration to purpose terminal by internet channel or telecommunications network channel
Message, the local wireless connection configuration message carry local wireless connection sign and local wireless connection type information,
The local wireless connection sign is used to indicate the purpose terminal and parses the local wireless connection configuration message, and root
Local wireless connection type indicated by the local wireless connection type information according to acquisition initiates the sheet with the source terminal
Ground is wirelessly connected;
Receiving unit is used for after the transmission unit sends the local wireless connection configuration message, described in reception
Purpose terminal connects the local wireless connection that configuration message is sent according to the local wireless and establishes request;
Connection establishment unit, for establishing request according to the received local wireless connection of the receiving unit, with the mesh
Terminal establish local wireless connection.
In conjunction with the 5th aspect, in the first possible implementation, the local wireless connection configuration message is also carried
The key information of the source terminal configuration connected for establishing local wireless, the key information are used for the purpose terminal root
It is that the source terminal and the purpose terminal are matched according to the key information, after successful matching, Xiang Suoshu source terminal hair
The local wireless connection is sent to establish request.
In conjunction with the 5th aspect or the 5th aspect the first possible implementation, in the second possible implementation,
The local wireless connection configuration message also carries the location information of the source terminal, and the location information of the source terminal is used for institute
It states purpose terminal to determine at a distance from the source terminal, when the distance is in the range of establishing local wireless connection, to institute
It states source terminal and sends the local wireless connection foundation request.
In conjunction with the 5th aspect, the 5th aspect the first or second of possible implementation, three kinds of possible realization sides
In formula,
The receiving unit is specifically used in local wireless connection type information including at least two wireless connection type marks
When knowledge, the local wireless that the purpose terminal connects at least two types that configuration message is sent according to the local wireless is received
Request is established in connection, and the local wireless connection of at least two type is established request and is wirelessly connected respectively with described at least two
Type identification is corresponding;
The connection establishment unit establishes request specifically for connecting according to the local wireless of at least two type,
The local wireless for establishing at least two types with the purpose terminal is connect.
Sixth aspect present invention provides a kind of terminal, and when the terminal is purpose terminal, the terminal includes:
Receiving unit disappears for receiving local wireless connection configuration from source terminal by internet channel or telecommunications network channel
Breath, the local wireless connection configuration message carry local wireless connection sign and local wireless connection type information;
Resolution unit, for parsing described according to the received local wireless connection sign of the receiving unit
Ground is wirelessly connected configuration message, obtains the local wireless connection type information;
Transmission unit, for according to indicated by the local wireless connection type information that the resolution unit parses
Local wireless connection type, Xiang Suoshu source terminal send local wireless connection and establish request;
Connection establishment unit, it is and described for being sent after local wireless connection establishes request in the transmission unit
Source terminal establishes local wireless connection.
In conjunction with the 6th aspect, in the first possible implementation, the terminal further includes pairing unit,
The resolution unit is also used to connect the use that configuration message also carries the source terminal configuration in the local wireless
When establishing the key information of local wireless connection, the key information is obtained;
The pairing unit, the key information for being obtained according to the resolution unit are the source terminal and described
Purpose terminal is matched;
The transmission unit is specifically used for after the pairing unit successful matching, and Xiang Suoshu source terminal sends described
Ground, which is wirelessly connected, establishes request.
In conjunction with the 6th aspect or the 6th aspect the first possible implementation, in the second possible implementation,
The terminal further includes determination unit,
The resolution unit is also used to also carry the location information of the source terminal stating local wireless connection configuration message
When, obtain the location information of the source terminal;
The determination unit, the location information of the source terminal for being obtained according to the resolution unit, determining and institute
State the distance of source terminal;
The transmission unit is establishing local wireless connection specifically for the distance determined when the determination unit
When in range, Xiang Suoshu source terminal sends the local wireless connection and establishes request.
In conjunction with the 6th aspect, the 6th aspect the first or second of possible implementation, in the third possible realization
In mode,
The transmission unit is specifically used in local wireless connection type information including at least two wireless connection type marks
It when knowledge, is identified according at least two wireless connection type, Xiang Suoshu source terminal sends at least two kinds of local wireless
Request is established in connection, and the local wireless connection of at least two type is established request and is wirelessly connected respectively with described at least two
Type identification is corresponding;
The connection establishment unit, the local wireless specifically for establishing at least two types with the purpose terminal connect
It connects.
Seventh aspect present invention provides a kind of terminal, and when the terminal is source terminal, the terminal includes:
Transmission unit, for sending local wireless connection configuration to purpose terminal by internet channel or telecommunications network channel
Message, the local wireless connection configuration message carry local wireless connection sign and local wireless connection type information,
The local wireless connection sign is used to indicate the purpose terminal and parses the local wireless connection configuration message, and root
Local wireless connection type indicated by the local wireless connection type information according to acquisition initiates the sheet with the source terminal
Ground is wirelessly connected;
Receiving unit is used for after the transmission unit sends the local wireless connection configuration message, described in reception
Purpose terminal connects the local wireless connection that configuration message is sent according to the local wireless and establishes request;
Connection establishment unit, for establishing request according to the received local wireless connection of the receiving unit, with the mesh
Terminal establish local wireless connection;
The transmission unit, the source terminal for being also used to establish by the connection establishment unit and the purpose terminal
The local wireless of foundation connects, and Xiang Suoshu purpose terminal sends data.
In conjunction with the 7th aspect, in the first possible implementation,
The receiving unit is specifically used in the local wireless connection type information including at least two wireless connection classes
When type identifies, the local wireless connection for receiving at least two types that the purpose terminal is sent, which is established, is requested, and described at least two
It is corresponding at least two wireless connection types mark respectively that request is established in the local wireless connection of seed type;
The connection establishment unit, for the local wireless according to received at least two type of the receiving unit
Request is established in connection, and the local wireless for establishing at least two types with the purpose terminal is connect;
One of the transmission unit, connected also particularly useful for the local wireless by least two type, to
The purpose terminal sends data, when data-transmission interruptions, by the local wireless connection of at least two type
Another continues to send the data.
Eighth aspect present invention provides a kind of terminal, and when the terminal is purpose terminal, the terminal includes:
Receiving unit disappears for receiving local wireless connection configuration from source terminal by internet channel or telecommunications network channel
Breath, the local wireless connection configuration message carry local wireless connection sign and local wireless connection type information;
Resolution unit disappears for connecting sign according to the local wireless and parsing the local wireless connection and configure
Breath, obtains the local wireless connection type information;
Transmission unit, for according to indicated by the local wireless connection type information that the resolution unit parses
Local wireless connection type, Xiang Suoshu source terminal send local wireless connection and establish request;
Connection establishment unit, it is and described for being sent after local wireless connection establishes request in the transmission unit
Source terminal establishes local wireless connection;
The receiving unit, the source terminal for being also used to establish by the connection establishment unit and the purpose terminal
The local wireless of foundation connects, and receives data from the source terminal.
In conjunction with eighth aspect, in the first possible implementation,
The transmission unit is specifically used in local wireless connection type information including at least two wireless connection type marks
It when knowledge, is identified according at least two wireless connection type, Xiang Suoshu source terminal sends at least two kinds of local wireless
Request is established in connection, and the local wireless connection of at least two type is established request and is wirelessly connected respectively with described at least two
Type identification is corresponding;
The connection establishment unit, the local wireless for establishing at least two types with the purpose terminal are connect;
One of the receiving unit, connected also particularly useful for the local wireless by least two type, from
The source terminal receives data, when data-transmission interruptions, by another in the local wireless connection of at least two type
Outer one kind continues to the data.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the embodiment schematic diagram that the system of foundation is wirelessly connected in the embodiment of the present invention;
Fig. 2 is an embodiment schematic diagram of the method that data are transmitted in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram for the method that data are transmitted in the embodiment of the present invention;
Fig. 4 is the embodiment schematic diagram that the method for foundation is wirelessly connected in the embodiment of the present invention;
Fig. 5 is the embodiment schematic diagram that the method for foundation is wirelessly connected in the embodiment of the present invention;
Fig. 6 is an embodiment schematic diagram of the method that data are transmitted in the embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram for the method that data are transmitted in the embodiment of the present invention;
Fig. 8 is an embodiment schematic diagram of terminal in the embodiment of the present invention;
Fig. 9 is another embodiment schematic diagram of terminal in the embodiment of the present invention;
Figure 10 is another embodiment schematic diagram of terminal in the embodiment of the present invention;
Figure 11 is another embodiment schematic diagram of terminal in the embodiment of the present invention;
Figure 12 is another embodiment schematic diagram of terminal in the embodiment of the present invention;
Figure 13 is another embodiment schematic diagram of terminal in the embodiment of the present invention;
Figure 14 is another embodiment schematic diagram of terminal in the embodiment of the present invention.
Specific embodiment
On the one hand the embodiment of the present invention provides a kind of method for being wirelessly connected and establishing, can pass through internet channel or telecommunications
Netcom road connects to establish local wireless, to improve the efficiency that local wireless connection is established, reduces wireless connection and establishes
Complexity.The embodiment of the invention also provides corresponding terminals.
On the other hand the embodiment of the present invention provides a kind of method of data transmission, can pass through internet channel or telecommunications network
Data are transmitted by the wireless connection to establish local wireless connection in channel, have both improved the effect that local wireless connection is established
Rate in turn avoids data and is transmitted by internet (such as: social application), improves the safety of data transmission.The present invention
Embodiment additionally provides corresponding terminal.
It is described in detail separately below.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
Fig. 1 is the embodiment signal of the system that foundation is wirelessly connected in the embodiment of the present invention and the system of data transmission
Figure, when terminal A is source terminal, and terminal B is purpose terminal, terminal A and terminal B respectively include module as shown in Figure 1, when
Right terminal A and terminal B can be used as source terminal or purpose terminal at different conditions, each mould in actually terminal A and terminal B
The function of block be all it is identical, show different functions when only terminal plays the part of source terminal or purpose terminal at place.
During establishing local wireless connection:
Interactive controlling modules A: being responsible for the interaction with user, and obtains connect for generating local wireless according to the demand of user
The corresponding information of configuration message is connect, local wireless connection configuration message is generated, the local wireless connection configuration message can be taken
Band local wireless connection sign and local wireless connection type information, the local wireless connection sign are used to indicate
The purpose terminal parses the local wireless connection configuration message, to obtain the wireless connection type mark, the local
Wireless connection type information is used to indicate the purpose terminal and establishes the connection of local wireless corresponding to the wireless connection type,
Wireless connection type information may include: Bluetooth identification, wifi mark, short-range communication (Near Field
Communication, NFC) mark etc., the local wireless connection configuration message can also be carried to be connected for establishing local wireless
The location information etc. of the key information and source terminal that connect, the location information of the source terminal for the purpose terminal determine with
The distance of the source terminal.
Public message modules A: for receiving the local wireless connection configuration message of interactive controlling modules A generation, and it incite somebody to action this
Public message the module B, public message module B that wireless connection configuration message in ground is sent to terminal B refer to according to local wireless connection
Indicating, which is known, determines that local wireless connection configuration message is the message for establishing local wireless connection, then further parses this
Ground is wirelessly connected configuration message, and parsing result is reported to interactive controlling module B.Public message modules A and public message mould
Block B can be short message module, be also possible to social application interactive module.
Data connection management module B: establishing local wireless data channel according to the demand of interactive controlling module B, such as starts
The wireless module (such as: bluetooth module, wifi module, NFC module) of terminal B, initializing wireless communication environment, setting communication are matched
To mode, key pair etc. is carried out.
Wireless data transfer module B establishes local wireless with wireless data transfer module A and connect.
System resource management modules A obtains the system path for the data content that user needs to transmit, and indicates wireless data
Modules A transmits the content.
System resource management module B obtains the data content of opposite end transmission and is stored in from wireless data transfer module B
System designated position.
In the embodiment of the present invention, local wireless connection can be established by internet channel or telecommunications network channel, thus
The efficiency that local wireless connection is established is improved, the complexity that local wireless connection is established is reduced.On the other hand by wireless
Connection transmission data, avoid data and are transmitted by internet (such as: social application), improve the safety of data transmission
Property.
From the perspective of terminal A, be wirelessly connected foundation process and data transmission process can also refering to Fig. 2 into
Row understands:
S100, interactive controlling modules A receive the data transfer instruction of user's input.
It should be noted that data biography can be carried out in embodiments of the present invention after establishing local wireless interface channel
It is defeated, it can also be transmitted without data.
S105, interactive controlling modules A obtain the description information of data to be transmitted from system resource management modules A.
The description information of data to be transmitted can be the information such as title, brief introduction, the main body picture of data to be transmitted, this
Ground is wirelessly connected in configuration message the description information that can also carry data to be transmitted, and such terminal B parses data to be transmitted
Description information after, these description informations can be shown to the user of terminal B before establishing local wireless connection by terminal B, with
Whether the user of prompt terminal B wants to receive the data to be transmitted.
S110, system resource management module return to the description information with transmission data to interactive controlling modules A.
S115, interactive controlling modules A generate local wireless connection configuration message, and the local wireless connection configuration message is used
Local wireless connection is established in instruction.
Local wireless connection configuration message, which can serve to indicate that, establishes local wireless connection, is can be in realization at this
Ground, which is wirelessly connected in configuration message, carries local wireless connection sign, and local wireless connection sign indicates the local
Being wirelessly connected configuration message is one for establishing the message of local wireless connection, needs to carry out subsequent processing.
Local wireless connection type information can also be carried by connecting in configuration message in local wireless, such as: Bluetooth identification,
Wifi mark, NFC mark etc..
Connecting in local wireless can be with the mark of carried terminal A or address in configuration message, the mark of terminal A or address
Local wireless should be established with terminal A and connect by being used to indicate terminal B.
Key information can also be carried by connecting in configuration message in local wireless, the key information for realizing with terminal
The pairing of B and terminal A.
Connecting in configuration message in local wireless can be with the location information of carried terminal A, and the terminal B described in this way can be
After the location information for determining terminal B, terminal B is determined at a distance from terminal A according to the location information of terminal A, if hypertelorism
The just automatic process cancelling local wireless connection and establishing, and prompt user.Further, the nothing that terminal A itself can will be supported
Line connection type (bluetooth, wifi and version information) notice gives terminal B, terminal B to combine the wireless module selection both sides of itself equal
Wireless mode support and compatible is attached.After the first local wireless connection transmission data outage used,
Both sides can also continue to second of local wireless interface channel of selection and continue to transmit data, such as: after Bluetooth transmission failure, continue
Selection wifi is transmitted.
S120, interactive controlling modules A configure message to the transmission local wireless connection of public message modules A.
S125, public message modules A send local wireless connection configuration message to terminal B.
S130, public message modules A return to the knot that local wireless connection configuration message has been sent to interactive controlling modules A
Fruit.
S135, interactive controlling modules A notification data connection management modules A start wireless data transfer module A.
S140, data connection management module A start wireless data transfer module A.
S145, wireless data transfer module A obtain data to be transmitted from system resource management modules A.
S150, system resource management modules A return to data to be transmitted to wireless data transfer module A.
S155, after terminal B and terminal A establish local wireless interface channel, wireless data transfer module A is wireless by this
Interface channel transmits data to be transmitted to terminal B.
In the embodiment of the present invention, local wireless connection can be established by internet channel or telecommunications network channel, thus
The efficiency that local wireless connection is established is improved, the complexity that local wireless connection is established is reduced.On the other hand pass through local
Transmission data are wirelessly connected, data is avoided and is transmitted by internet (such as: social application), improve the peace of data transmission
Quan Xing.
From the perspective of terminal B, be wirelessly connected foundation process and data transmission process can also refering to Fig. 3 into
Row understands:
S200, the local wireless connection configuration message that terminal A is sent is received, the local wireless connection configuration message is used for
Local wireless connection is established in instruction.
S205, interactive controlling module B parse local wireless connection configuration message.
Local wireless connection configuration message, which can serve to indicate that, establishes local wireless connection, is can be in realization at this
Ground, which is wirelessly connected in configuration message, carries local wireless connection sign, and local wireless connection sign indicates the local
Being wirelessly connected configuration message is one for establishing the message of local wireless connection, needs to carry out subsequent processing.
Local wireless connection type information can also be carried by connecting in configuration message in local wireless, such as: Bluetooth identification,
Wifi mark, NFC mark etc..
Connecting in local wireless can be with the mark of carried terminal A or address in configuration message, the mark of terminal A or address
Local wireless should be established with terminal A and connect by being used to indicate terminal B.
Key information can also be carried by connecting in configuration message in local wireless, and the key information is for realizing terminal B
With the pairing of terminal A.
When local wireless, which connects, carries Bluetooth identification, wifi mark, NFC mark in configuration message simultaneously, in local nothing
Can be with the location information of carried terminal A in line connection configuration message, the terminal B described in this way can be in the position for determining terminal B
After information, determine terminal B at a distance from terminal A according to the location information of terminal A, if it is determined that arrive the spacing of terminal B and terminal A
When close, such as only several meters, then terminal B can preferentially select to establish bluetooth connection, if distance between terminal B and terminal A
There are more than ten meters, terminal B can preferentially select to establish NFC connection, if distance has tens meters between terminal B and terminal A, terminal B
It can preferentially select to establish wifi connection, it is automatic if hypertelorism to cancel the process for being wirelessly connected and establishing, and prompt user.
In this way, determining that mode is established in suitable local wireless connection according to distance between terminal B and terminal A, local wireless company is improved
Connect the speed of foundation.Further, terminal A can (bluetooth, wifi and version be believed by the local wireless connection type itself supported
Breath) notice gives terminal B, terminal B combine wireless mode that itself wireless module selection both sides support and compatible into
Row connection.After the first local wireless connection transmission data outage used, both sides can also continue to selection second locally
Wireless connection channel continues to transmit data, such as: after Bluetooth transmission failure, continue that wifi is selected to be transmitted.
S210, interactive controlling module B notification data connection management module B start wireless data transfer module B.
S215, data connection management module B start wireless data transfer module B.
S220, wireless data transfer module B send local wireless connection to terminal A and establish request, terminal A and terminal B's
It is wirelessly connected and establishes.
S225, terminal A send data to be transmitted to terminal B by wireless connection channel.
S230, wireless data transfer module B store data to be transmitted to system resource management module B.
Below by taking bluetooth connection as an example, illustrate that a specific embodiment of the invention, interactive controlling module are realized in conjunction with wechat
With the cooperation of wechat, when together user A selection passes through wechat transmission data (such as file " file.doc ") to the good friend having a meal
B, interactive controlling modules A obtain the system path of the data to be transmitted of user A " file.doc " by system resource management modules A
Information, while bluetooth communication configuration message is generated, such as Bluetooth pairing password 1234, interactive controlling modules A generate local wireless
Connection configuration message: "@p2p+bluetooth+Mate7+1234+storeage/emulated/1/file.doc ".Wherein,
P2p is that local wireless connects sign, and bluetooth is local wireless connection type information, and Mate7 is the class of source terminal
Type, 1234 be source terminal configuration for establishing the key information of local wireless connection, storeage/emulated/1/
File.doc is the store path of file, and user A sends above- mentioned information to by wechat the wechat client of user B.Simultaneously
The interactive controlling modules A designation date connection management modules A of the side user A starts Bluetooth function, and it is 1234 that pair-wise key, which is arranged,
The terminal of user A starts bluetooth after the Bluetooth connection request that the terminal for receiving user B is sent.Pass through pairing broadcast monitoring
Pairing request, and using pairing password 1234, pairing is established, the bluetooth connection of the terminal of user A and the terminal of user B is established.
In the embodiment of the present invention, local wireless connection can be established by internet channel or telecommunications network channel, thus
The efficiency that local wireless connection is established is improved, the complexity that local wireless connection is established is reduced.On the other hand by wireless
Connection transmission data, avoid data and are transmitted by internet (such as: social application), improve the safety of data transmission
Property.
Refering to Fig. 4, the embodiment provided in an embodiment of the present invention for being wirelessly connected the method established includes: that the method is used
In source terminal, the method may include:
301, local wireless connection configuration message is sent to purpose terminal by internet channel or telecommunications network channel, it is described
Local wireless connection configuration message carries local wireless connection sign and local wireless connection type information, the local nothing
Line connection sign is used to indicate the purpose terminal and parses the local wireless connection configuration message, and according to the institute of acquisition
Local wireless connection type indicated by local wireless connection type information is stated, initiates to connect with the local wireless of the source terminal
It connects.
302, the purpose terminal is received to be built according to the local wireless connection that the local wireless connects configuration message transmission
Vertical request.
303, it is connected according to the local wireless and establishes request, established local wireless with the purpose terminal and connect.
In the embodiment of the present invention, local wireless connection is sent to purpose terminal by internet channel or telecommunications network channel and is matched
Message is set, the local wireless connection configuration message carries local wireless connection sign and local wireless connection type letter
Breath, the local wireless connection sign are used to indicate the purpose terminal and parse the local wireless connection configuration message,
And the local wireless connection type according to indicated by the local wireless connection type information of acquisition, it initiates and the source terminal
Local wireless connection;It receives the purpose terminal and the local wireless connection that configuration message is sent is connected according to the local wireless
Establish request;It is connected according to the local wireless and establishes request, established local wireless with the purpose terminal and connect.With existing skill
The local wireless connection for needing to be established between two terminals based on search in art is compared, provided in an embodiment of the present invention wirelessly to connect
The method for connecing foundation sends the local wireless connection configuration to purpose terminal by internet channel or telecommunications network channel and disappears
Breath, purpose terminal starts automatically according to local wireless connection configuration message to be connect with the local wireless of source terminal, does not need source
Terminal is searched for mutually with purpose terminal, to improve the efficiency that local wireless connection is established, and reduces local wireless company
Connect the complexity of foundation.
Optionally, on the basis of above-mentioned Fig. 4 corresponding embodiment, what wireless connection provided in an embodiment of the present invention was established
In another embodiment of method, local wireless connection configuration message also carry the source terminal configuration for establishing local
The key information of wireless connection, the key information for the purpose terminal according to the key information be the source terminal and
The purpose terminal is matched, and after successful matching, Xiang Suoshu source terminal sends the local wireless connection and establishes request.
Optionally, on the basis of the corresponding embodiment of above-mentioned Fig. 4 or alternative embodiment, nothing provided in an embodiment of the present invention
In another embodiment for the method that line connection is established,
The local wireless connection configuration message also carries the location information of the source terminal, the position letter of the source terminal
Breath determines at a distance from the source terminal for the purpose terminal, when the distance is in the range of establishing local wireless connection
When, Xiang Suoshu source terminal sends the local wireless connection and establishes request.
Optionally, on the basis of the corresponding embodiment of above-mentioned Fig. 4 or alternative embodiment, nothing provided in an embodiment of the present invention
In another embodiment for the method that line connection is established,
It is described to receive the mesh when local wireless connection type information includes that at least two wireless connection types identify
Terminal according to the local wireless connect configuration message send local wireless connection establish request, may include:
Receive the local that the purpose terminal connects at least two types that configuration message is sent according to the local wireless
It is wirelessly connected and establishes request, it is wireless with described at least two respectively that request is established in the local wireless connection of at least two type
Connection type mark corresponds to;
Described connected according to the local wireless establishes request, establishes local wireless with the purpose terminal and connect, can be with
Include:
It is connected according to the local wireless of at least two type and establishes request, establish at least two with the purpose terminal
The local wireless of type connects.
When local wireless connection type information includes that at least two wireless connection types identify, purpose terminal can also root
According at a distance from source terminal, determining one of suitable local wireless connection type is established local wireless and is connected, rather than needle
One local wireless connection is established to each wireless connection type mark, the speed that local wireless connection is established can be improved in this way
Degree.
Such as: purpose terminal is if it is determined that when distance is close between source terminal, and such as only several meters, then purpose terminal can
Bluetooth connection is established with preferential selection, if distance there are more than ten meters between purpose terminal and source terminal, purpose terminal can be preferential
NFC connection is established in selection, if distance has tens meters between purpose terminal and source terminal, purpose terminal can preferentially select to establish
Wifi connection, it is automatic if hypertelorism to cancel the process for being wirelessly connected and establishing, and prompt user.In this way, according to purpose end
Distance determines that mode is established in suitable local wireless connection between end and source terminal, improves the speed that local wireless connection is established
Degree.
It is provided in an embodiment of the present invention be wirelessly connected establish method, can refering to fig. 1 to the part Fig. 3 associated description into
Row understands that this place, which is not done, excessively to be repeated.
It is provided in an embodiment of the present invention to be wirelessly connected the method established refering to Fig. 5, it is used for purpose terminal, the method can
To include:
401, it is connected by internet channel or telecommunications network channel from source terminal reception local wireless and configures message, described
Ground is wirelessly connected configuration message and carries local wireless connection sign and local wireless connection type information.
402, it is connected according to the local wireless connection sign parsing local wireless and configures message, described in acquisition
Local wireless connection type information.
403, the local wireless connection type according to indicated by the local wireless connection type information, Xiang Suoshu source terminal
It sends local wireless connection and establishes request.
404, local wireless is established with the source terminal to connect.
In the embodiment of the present invention, local wireless connection configuration is received from source terminal by internet channel or telecommunications network channel
Message, the local wireless connection configuration message carry local wireless connection sign and local wireless connection type information;
Sign is connected according to the local wireless and parses the local wireless connection configuration message, obtains the local wireless connection
Type information;According to local wireless connection type indicated by the local wireless connection type information, Xiang Suoshu source terminal hair
Local wireless connection is sent to establish request;Local wireless is established with the source terminal to connect.With need in the prior art based on search
The wireless connection that could be established between two terminals is compared, provided in an embodiment of the present invention to be wirelessly connected the method established, and passes through public affairs
Message channel sends the local wireless connection configuration message to purpose terminal altogether, and purpose terminal is matched according to local wireless connection
Set message start automatically with the wireless connection of source terminal, do not need source terminal and searched for mutually with purpose terminal, to improve
Ground is wirelessly connected the efficiency established, and reduces the complexity that local wireless connection is established.
Optionally, on the basis of above-mentioned Fig. 5 corresponding embodiment, what wireless connection provided in an embodiment of the present invention was established
In another embodiment of method, local wireless connection configuration message also carry the source terminal configuration for establishing local
The key information of wireless connection;
When the acquisition local wireless connection type information, the method can also include:
Obtain the key information;
The local wireless connection type according to indicated by the local wireless connection type information, Xiang Suoshu source terminal
It sends local wireless connection to establish before request, the method can also include:
It is that the source terminal and the purpose terminal are matched according to the key information;
It is described to send local wireless connection foundation request to the source terminal, may include:
After successful matching, Xiang Suoshu source terminal sends the local wireless connection and establishes request.
Optionally, on the basis of the corresponding embodiment of above-mentioned Fig. 5 or alternative embodiment, nothing provided in an embodiment of the present invention
In another embodiment for the method that line connection is established, the local wireless connection configuration message also carries the position of the source terminal
Information, when the acquisition wireless connection type information, the method can also include:
Obtain the location information of the source terminal;
The local wireless connection type according to indicated by the local wireless connection type information, Xiang Suoshu source terminal
It sends local wireless connection to establish before request, the method can also include:
According to the location information of the source terminal, determine at a distance from the source terminal;
It is described to send the local wireless connection foundation request to the source terminal, may include:
When the distance is in the range of establishing local wireless connection, Xiang Suoshu source terminal sends the local wireless and connects
Connect foundation request.
Optionally, on the basis of the corresponding embodiment of above-mentioned Fig. 5 or alternative embodiment, nothing provided in an embodiment of the present invention
In another embodiment for the method that line connection is established, the local wireless connection type information includes at least two wireless connection classes
When type identifies,
The local wireless connection type according to indicated by the local wireless connection type information, Xiang Suoshu source terminal
It sends local wireless connection and establishes request, may include:
It is identified according at least two wireless connection type, Xiang Suoshu source terminal sends at least two kinds of local nothing
Request is established in line connection, and the local wireless connection of at least two type is established request and wirelessly connected with described at least two respectively
It is corresponding to connect type identification;
It is described to establish local wireless with the source terminal and connect, may include:
The local wireless for establishing at least two types with the purpose terminal is connect.
When local wireless connection type information includes that at least two wireless connection types identify, purpose terminal can also root
According at a distance from source terminal, determining one of suitable local wireless connection type is established local wireless and is connected, rather than needle
One local wireless connection is established to each wireless connection type mark, the speed that local wireless connection is established can be improved in this way
Degree.
Such as: purpose terminal is if it is determined that when distance is close between source terminal, and such as only several meters, then purpose terminal can
Bluetooth connection is established with preferential selection, if distance there are more than ten meters between purpose terminal and source terminal, purpose terminal can be preferential
NFC connection is established in selection, if distance has tens meters between purpose terminal and source terminal, purpose terminal can preferentially select to establish
Wifi connection, it is automatic if hypertelorism to cancel the process for being wirelessly connected and establishing, and prompt user.In this way, according to purpose end
Distance determines that mode is established in suitable local wireless connection between end and source terminal, improves the speed that local wireless connection is established
Degree.
It is provided in an embodiment of the present invention be wirelessly connected establish method, can refering to fig. 1 to the part Fig. 3 associated description into
Row understands that this place, which is not done, excessively to be repeated.
Refering to Fig. 6, the method for data transmission provided in an embodiment of the present invention is used for source terminal, the method may include:
501, local wireless connection configuration message is sent to purpose terminal by internet channel or telecommunications network channel, it is described
Local wireless connection configuration message carries local wireless connection sign and local wireless connection type information, the local nothing
Line connection sign is used to indicate the purpose terminal and parses the local wireless connection configuration message, and according to the institute of acquisition
Local wireless connection type indicated by local wireless connection type information is stated, initiates to connect with the local wireless of the source terminal
It connects.
502, the purpose terminal is received to be built according to the local wireless connection that the local wireless connects configuration message transmission
Vertical request.
503, it is connected according to the local wireless and establishes request, established local wireless with the purpose terminal and connect.
504, it is connect by the source terminal with the local wireless that the purpose terminal is established, Xiang Suoshu purpose terminal is sent
Data.
In the embodiment of the present invention, local wireless connection is sent to purpose terminal by internet channel or telecommunications network channel and is matched
Message is set, the local wireless connection configuration message carries local wireless connection sign and local wireless connection type letter
Breath, the local wireless connection sign are used to indicate the purpose terminal and parse the local wireless connection configuration message,
And the local wireless connection type according to indicated by the local wireless connection type information of acquisition, it initiates and the source terminal
Local wireless connection;It receives the purpose terminal and the local wireless connection that configuration message is sent is connected according to the local wireless
Establish request;It is connected according to the local wireless and establishes request, established local wireless with the purpose terminal and connect;By described
Source terminal is connect with the local wireless that the purpose terminal is established, and Xiang Suoshu purpose terminal sends data.With in the prior art only
Local wireless connection can could be established based on search, then carried out data transmission, or data just can be carried out by third network
Transmission is compared, the method for data transmission provided in an embodiment of the present invention, by public message channel to described in the transmission of purpose terminal
Local wireless connection configuration message, purpose terminal start wireless with source terminal automatically according to local wireless connection configuration message
Connection, source terminal connect transmission data to be transmitted by the local wireless with purpose terminal, have both improved local wireless connection and have built
Vertical efficiency in turn avoids data and is transmitted by internet (such as: social application), improves the safety of data transmission.
Optionally, on the basis of above-mentioned Fig. 6 corresponding embodiment, data provided in an embodiment of the present invention are transmitted another
In embodiment, when the local wireless connection type information includes that at least two wireless connection types identify, described in the reception
Request is established in the local wireless connection that purpose terminal is sent, and may include:
The local wireless connection for receiving at least two types that the purpose terminal is sent, which is established, requests, and described at least two
It is corresponding at least two wireless connection types mark respectively that request is established in the local wireless connection of type;
Described connected according to the local wireless establishes request, establishes local wireless with the purpose terminal and connect, can be with
Include:
It is connected according to the local wireless of at least two type and establishes request, establish at least two with the purpose terminal
The local wireless of type connects;
Described to be connect by the source terminal with the local wireless that the purpose terminal is established, Xiang Suoshu purpose terminal is sent
Data may include:
One of connected by the local wireless of at least two type, Xiang Suoshu purpose terminal sends data;
When data-transmission interruptions, by another in the local wireless connection of at least two type after supervention
Send the data.
The method of data provided in an embodiment of the present invention transmission, can the associated description refering to fig. 1 to the part Fig. 3 managed
Solution, this place, which is not done, excessively to be repeated.
Refering to Fig. 7, the method for data transmission provided in an embodiment of the present invention is used for purpose terminal, the method can wrap
It includes:
601, it is connected by internet channel or telecommunications network channel from source terminal reception local wireless and configures message, described
Ground is wirelessly connected configuration message and carries local wireless connection sign and local wireless connection type information.
602, it is connected according to the local wireless connection sign parsing local wireless and configures message, described in acquisition
Local wireless connection type information.
603, the local wireless connection type according to indicated by the local wireless connection type information, Xiang Suoshu source terminal
It sends local wireless connection and establishes request.
604, local wireless is established with the source terminal to connect.
605, it is connect by the source terminal with the local wireless that the purpose terminal is established, receives number from the source terminal
According to.
In the embodiment of the present invention, local wireless connection configuration is received from source terminal by internet channel or telecommunications network channel
Message, the local wireless connection configuration message carry local wireless connection sign and local wireless connection type information;
Sign is connected according to the local wireless and parses the local wireless connection configuration message, obtains the local wireless connection
Type information;According to local wireless connection type indicated by the local wireless connection type information, Xiang Suoshu source terminal hair
Local wireless connection is sent to establish request;Local wireless is established with the source terminal to connect;Pass through the source terminal and the purpose
The local wireless connection that terminal is established, receives data from the source terminal.It could be established with search can only be based in the prior art
Local wireless connection, then carries out data transmission, or can just carry out data transmission comparing by third network, and the present invention is implemented
The method for the data transmission that example provides sends the local wireless connection configuration to purpose terminal by public message channel and disappears
Breath, purpose terminal connect configuration message according to the local wireless and start automatically and the wireless connection of source terminal, source terminal and purpose
Terminal transmits data to be transmitted by the wireless connection, both improves the efficiency for being wirelessly connected and establishing, in turn avoids data and pass through
(such as: social application) is transmitted for internet, improves the safety of data transmission.
Optionally, on the basis of above-mentioned Fig. 7 corresponding embodiment, the method for data transmission provided in an embodiment of the present invention
Another embodiment in, the local wireless connection type information include at least two wireless connection types identify when,
The local wireless connection type according to indicated by the local wireless connection type information, Xiang Suoshu source terminal
It sends local wireless connection and establishes request, may include:
It is identified according at least two wireless connection type, Xiang Suoshu source terminal sends at least two kinds of local nothing
Request is established in line connection, and the local wireless connection of at least two type is established request and wirelessly connected with described at least two respectively
It is corresponding to connect type identification;
It is described to establish local wireless with the source terminal and connect, may include:
The local wireless for establishing at least two types with the purpose terminal is connect;
It is described to be connect by the source terminal with the local wireless that the purpose terminal is established, number is received from the source terminal
According to may include:
One of connected by the local wireless of at least two type, data are received from the source terminal;
When data-transmission interruptions, by another in the local wireless connection of at least two type after continued access
Receive the data.
The method of data provided in an embodiment of the present invention transmission, can the associated description refering to fig. 1 to the part Fig. 3 managed
Solution, this place, which is not done, excessively to be repeated.
Refering to Fig. 8, an embodiment of terminal 30 provided in an embodiment of the present invention include: the terminal be source terminal when, institute
Stating terminal includes:
Transmission unit 311, for sending local wireless connection to purpose terminal by internet channel or telecommunications network channel
Message is configured, the local wireless connection configuration message carries local wireless connection sign and local wireless connection type letter
Breath, the local wireless connection sign are used to indicate the purpose terminal and parse the local wireless connection configuration message,
And the local wireless connection type according to indicated by the local wireless connection type information of acquisition, it initiates and the source terminal
Local wireless connection;
Receiving unit 312, for connecing after the transmission unit 311 sends the local wireless connection configuration message
It receives the purpose terminal and the local wireless connection foundation request that configuration message is sent is connected according to the local wireless;
Connection establishment unit 313 establishes request for connecting according to the received local wireless of the receiving unit 312, with
The purpose terminal establishes local wireless connection.
In the embodiment of the present invention, transmission unit 311 sends this to purpose terminal by internet channel or telecommunications network channel
Ground is wirelessly connected configuration message, and the local wireless connection configuration message carries local wireless connection sign and local wireless
Connection type information, the local wireless connection sign are used to indicate the purpose terminal and parse the local wireless connection
Configure message, and the local wireless connection type according to indicated by the local wireless connection type information of acquisition, initiate with
The local wireless of the source terminal connects;Receiving unit 312 sends the local wireless connection configuration in the transmission unit 311
After message, receives the purpose terminal and asked according to the local wireless connection foundation that the local wireless connects configuration message transmission
It asks;Connection establishment unit 313 connects according to the received local wireless of the receiving unit 312 and establishes request, whole with the purpose
Local wireless connection is established at end.Compared with the wireless connection for needing to establish between two terminals based on search in the prior art,
Terminal provided in an embodiment of the present invention sends the local wireless connection configuration to purpose terminal by public message channel and disappears
Breath, purpose terminal is started automatically according to local wireless connection configuration message and the wireless connection of source terminal, does not need source terminal
It is searched for mutually with purpose terminal, to improve the efficiency that local wireless connection is established, and reduces local wireless connection and build
Vertical complexity.
Optionally, on the basis of above-mentioned Fig. 8 corresponding embodiment terminal provided in an embodiment of the present invention another implementation
In example, the local wireless connection configuration message also carries the key for being used to establish local wireless connection of the source terminal configuration
Information, the key information for the purpose terminal according to the key information be the source terminal and the purpose terminal into
Row pairing, after successful matching, Xiang Suoshu source terminal sends the local wireless connection and establishes request.
Optionally, on the basis of the corresponding embodiment of above-mentioned Fig. 8 or alternative embodiment, end provided in an embodiment of the present invention
In another embodiment at end,
The local wireless connection configuration message also carries the location information of the source terminal, the position letter of the source terminal
Breath determines at a distance from the source terminal for the purpose terminal, when the distance is in the range of establishing local wireless connection
When, Xiang Suoshu source terminal sends the local wireless connection and establishes request.
Optionally, on the basis of the corresponding embodiment of above-mentioned Fig. 8 or alternative embodiment, end provided in an embodiment of the present invention
In another embodiment at end, when the local wireless connection type information includes that at least two wireless connection types identify,
The receiving unit 312 is specifically used in local wireless connection type information including at least two wireless connection classes
When type identifies, the local that the purpose terminal connects at least two types that configuration message is sent according to the local wireless is received
It is wirelessly connected and establishes request, it is wireless with described at least two respectively that request is established in the local wireless connection of at least two type
Connection type mark corresponds to;
The connection establishment unit 313 is asked specifically for being established according to the connection of the local wireless of at least two type
It asks, the local wireless for establishing at least two types with the purpose terminal is connect.
When local wireless connection type information includes that at least two wireless connection types identify, purpose terminal can also root
According at a distance from source terminal, determining one of suitable local wireless connection type is established local wireless and is connected, rather than needle
One local wireless connection is established to each wireless connection type mark, the speed that local wireless connection is established can be improved in this way
Degree.
Such as: purpose terminal is if it is determined that when distance is close between source terminal, and such as only several meters, then purpose terminal can
Bluetooth connection is established with preferential selection, if distance there are more than ten meters between purpose terminal and source terminal, purpose terminal can be preferential
NFC connection is established in selection, if distance has tens meters between purpose terminal and source terminal, purpose terminal can preferentially select to establish
Wifi connection, it is automatic if hypertelorism to cancel the process for being wirelessly connected and establishing, and prompt user.In this way, according to purpose end
Distance determines that mode is established in suitable local wireless connection between end and source terminal, improves the speed that local wireless connection is established
Degree.
Terminal provided in an embodiment of the present invention, can the description refering to fig. 1 to the part Fig. 4 source terminal part understood,
This place, which is not done, excessively to be repeated.
Refering to Fig. 9, terminal 40 provided in an embodiment of the present invention, when the terminal is purpose terminal, the terminal includes:
Receiving unit 411 is matched for receiving local wireless connection from source terminal by internet channel or telecommunications network channel
Message is set, the local wireless connection configuration message carries local wireless connection sign and local wireless connection type letter
Breath;
Resolution unit 412, for according to the received local wireless connection sign parsing of the receiving unit 411
The local wireless connection configuration message, obtains the local wireless connection type information;
Transmission unit 413, the local wireless connection type information institute for being parsed according to the resolution unit 412
The local wireless connection type of instruction, Xiang Suoshu source terminal send local wireless connection and establish request;
Connection establishment unit 414, for being sent after local wireless connection establishes request in the transmission unit 413,
Local wireless is established with the source terminal to connect.
In the embodiment of the present invention, receiving unit 411 is received by internet channel or telecommunications network channel from source terminal local
It is wirelessly connected configuration message, the local wireless connection configuration message carries local wireless connection sign and local wireless connects
Connect type information;Resolution unit 412 parses institute according to the received local wireless connection sign of the receiving unit 411
Local wireless connection configuration message is stated, the local wireless connection type information is obtained;Transmission unit 413 is single according to the parsing
Local wireless connection type indicated by the local wireless connection type information that member 412 parses, Xiang Suoshu source terminal hair
Local wireless connection is sent to establish request;Connection establishment unit 414 sends the local wireless connection in the transmission unit 413 and builds
After vertical request, local wireless is established with the source terminal and is connect.Two terminals could be established with needing to be based on search in the prior art
Between wireless connection compare, terminal provided in an embodiment of the present invention passes through public message channel and source terminal and establishes local nothing
Line connection, does not need source terminal and searches for mutually with purpose terminal, to improve the efficiency that local wireless connection is established, and drops
The complexity that low local wireless connection is established.
Optionally, on the basis of above-mentioned Fig. 9 corresponding embodiment, refering to fig. 10, terminal provided in an embodiment of the present invention
Another embodiment in, the terminal 40 further includes pairing unit 415,
The resolution unit 412 is also used to also carry the source terminal configuration in local wireless connection configuration message
For establish local wireless connection key information when, obtain the key information;
The pairing unit 415, the key information for being obtained according to the resolution unit 412 are the source terminal
It is matched with the purpose terminal;
The transmission unit 413 is specifically used for after 415 successful matching of pairing unit, and Xiang Suoshu source terminal is sent
Request is established in the local wireless connection.
Optionally, on the basis of above-mentioned Fig. 9 corresponding embodiment, refering to fig. 11, terminal provided in an embodiment of the present invention
In 40 another embodiment, the terminal further includes determination unit 416,
The resolution unit 412 is also used to also carry the position of the source terminal stating local wireless connection configuration message
When information, the location information of the source terminal is obtained;
The determination unit 416, the location information of the source terminal for being obtained according to the resolution unit 412, really
Determine at a distance from the source terminal;
The transmission unit 413 is establishing local wireless specifically for the distance determined when the determination unit 416
When in the range of connection, Xiang Suoshu source terminal sends the local wireless connection and establishes request.
Optionally, on the basis of above-mentioned Fig. 9 embodiment corresponding to Figure 11, refering to fig. 11, the embodiment of the present invention provides
Terminal 40 another embodiment in,
The transmission unit 413 is specifically used in local wireless connection type information including at least two wireless connection classes
It when type identifies, is identified according at least two wireless connection type, Xiang Suoshu source terminal sends at least two kinds of local
It is wirelessly connected and establishes request, it is wireless with described at least two respectively that request is established in the local wireless connection of at least two type
Connection type mark corresponds to;
The connection establishment unit 414, specifically for establishing the local wireless of at least two types with the purpose terminal
Connection.
When local wireless connection type information includes that at least two wireless connection types identify, purpose terminal can also root
According at a distance from source terminal, determining one of suitable local wireless connection type is established local wireless and is connected, rather than needle
One local wireless connection is established to each wireless connection type mark, the speed that local wireless connection is established can be improved in this way
Degree.
Such as: purpose terminal is if it is determined that when distance is close between source terminal, and such as only several meters, then purpose terminal can
Bluetooth connection is established with preferential selection, if distance there are more than ten meters between purpose terminal and source terminal, purpose terminal can be preferential
NFC connection is established in selection, if distance has tens meters between purpose terminal and source terminal, purpose terminal can preferentially select to establish
Wifi connection, it is automatic if hypertelorism to cancel the process for being wirelessly connected and establishing, and prompt user.In this way, according to purpose end
Distance determines that mode is established in suitable local wireless connection between end and source terminal, improves the speed that local wireless connection is established
Degree.
Terminal provided in an embodiment of the present invention can be carried out to the description of the part Fig. 3, Fig. 5 purpose terminal part refering to fig. 1
Understand, this place, which is not done, excessively to be repeated.
Refering to fig. 12, when terminal provided in an embodiment of the present invention is source terminal, the terminal includes:
Transmission unit 511, for sending local wireless connection to purpose terminal by internet channel or telecommunications network channel
Message is configured, the local wireless connection configuration message carries local wireless connection sign and local wireless connection type letter
Breath, the local wireless connection sign are used to indicate the purpose terminal and parse the local wireless connection configuration message,
And the local wireless connection type according to indicated by the local wireless connection type information of acquisition, it initiates and the source terminal
Local wireless connection;
Receiving unit 512, for connecing after the transmission unit 511 sends the local wireless connection configuration message
It receives the purpose terminal and the local wireless connection foundation request that configuration message is sent is connected according to the local wireless;
Connection establishment unit 513 establishes request for connecting according to the received local wireless of the receiving unit 512, with
The purpose terminal establishes local wireless connection;
The transmission unit 511 is also used to the source terminal and the mesh established by the connection establishment unit 513
Terminal establish local wireless connection, Xiang Suoshu purpose terminal send data.
In the embodiment of the present invention, transmission unit 511 sends this to purpose terminal by internet channel or telecommunications network channel
Ground is wirelessly connected configuration message, and the local wireless connection configuration message carries local wireless connection sign and local wireless
Connection type information, the local wireless connection sign are used to indicate the purpose terminal and parse the local wireless connection
Configure message, and the local wireless connection type according to indicated by the local wireless connection type information of acquisition, initiate with
The local wireless of the source terminal connects;Receiving unit 512 sends the local wireless connection configuration in the transmission unit 511
After message, receives the purpose terminal and asked according to the local wireless connection foundation that the local wireless connects configuration message transmission
It asks;Connection establishment unit 513 connects according to the received local wireless of the receiving unit 512 and establishes request, whole with the purpose
Local wireless connection is established at end;The transmission unit 511 also by the connection establishment unit 513 establish the source terminal with
The local wireless connection that the purpose terminal is established, Xiang Suoshu purpose terminal send data.With in the prior art can only be based on searching
Suo Caineng establishes local wireless connection, then carries out data transmission, or can just carry out data transmission comparing by third network,
Terminal provided in an embodiment of the present invention sends the local wireless connection configuration to purpose terminal by public message channel and disappears
Breath, purpose terminal connect configuration message according to the local wireless and start automatically and the wireless connection of source terminal, source terminal and purpose
Terminal transmits data to be transmitted by the wireless connection, had both improved the efficiency that local wireless connection is established, and had in turn avoided data
It is transmitted by internet (such as: social application), improves the safety of data transmission.
Optionally, on the basis of above-mentioned Figure 12 corresponding embodiment, another reality of terminal provided in an embodiment of the present invention
It applies in example,
The receiving unit 512, specifically for wirelessly connecting in the local wireless connection type information including at least two
When connecing type identification, request is established in the local wireless connection for receiving at least two types that the purpose terminal is sent, it is described extremely
It is corresponding at least two wireless connection types mark respectively that request is established in few two kinds of local wireless connection;
The connection establishment unit 513, for the local according to received at least two type of the receiving unit
It is wirelessly connected and establishes request, the wireless connection of at least two types is established with the purpose terminal;
One of the transmission unit 511, connected also particularly useful for the local wireless by least two type,
Data are sent to the purpose terminal, when data-transmission interruptions, by the local wireless connection of at least two type
Another continue to send the data.
Terminal provided in an embodiment of the present invention, can the description refering to fig. 1 to the part Fig. 3, Fig. 6 source terminal part managed
Solution, this place, which is not done, excessively to be repeated.
Refering to fig. 13, terminal 60 provided in an embodiment of the present invention, when the terminal is purpose terminal, the terminal 60 is wrapped
It includes:
Receiving unit 611 is matched for receiving local wireless connection from source terminal by internet channel or telecommunications network channel
Message is set, the local wireless connection configuration message carries local wireless connection sign and local wireless connection type letter
Breath;
Resolution unit 612, for according to the received local wireless connection sign parsing of the receiving unit 611
The local wireless connection configuration message, obtains the local wireless connection type information;
Transmission unit 613, the local wireless connection type information institute for being parsed according to the resolution unit 612
The local wireless connection type of instruction, Xiang Suoshu source terminal send local wireless connection and establish request;
Connection establishment unit 614, for being sent after local wireless connection establishes request in the transmission unit 613,
Local wireless is established with the source terminal to connect;
The receiving unit 611 is also used to the source terminal and the mesh established by the connection establishment unit 614
Terminal establish local wireless connection, from the source terminal receive data.
In the embodiment of the present invention, receiving unit 611 is received by internet channel or telecommunications network channel from source terminal local
It is wirelessly connected configuration message, the local wireless connection configuration message carries local wireless connection sign and local wireless connects
Connect type information;Resolution unit 612 parses institute according to the received local wireless connection sign of the receiving unit 611
Local wireless connection configuration message is stated, the local wireless connection type information is obtained;Transmission unit 613 is single according to the parsing
Local wireless connection type indicated by the local wireless connection type information that member 612 parses, Xiang Suoshu source terminal hair
Local wireless connection is sent to establish request;Connection establishment unit 614 sends the local wireless connection in the transmission unit 613 and builds
After vertical request, local wireless is established with the source terminal and is connect;The receiving unit 611 also passes through the connection establishment unit
614 source terminals established are connect with the local wireless that the purpose terminal is established, and receive data from the source terminal.With it is existing
Local wireless connection can only could be established based on search by having in technology, then be carried out data transmission, or pass through internet ability
Carry out data transmission comparing, terminal provided in an embodiment of the present invention, sends described to purpose terminal by public message channel
Ground is wirelessly connected configuration message, and purpose terminal starts automatically according to local wireless connection configuration message to be connected with the wireless of source terminal
It connects, source terminal connect transmission data to be transmitted by the local wireless with purpose terminal, had both improved local wireless connection and has established
Efficiency, in turn avoid data and transmitted by internet (such as: social application), improve the safety of data transmission.
Optionally, on the basis of above-mentioned Figure 13 corresponding embodiment, another reality of terminal provided in an embodiment of the present invention
It applies in example,
The transmission unit 613 is specifically used in local wireless connection type information including at least two wireless connection classes
It when type identifies, is identified according at least two wireless connection type, Xiang Suoshu source terminal sends at least two kinds of local
It is wirelessly connected and establishes request, it is wireless with described at least two respectively that request is established in the local wireless connection of at least two type
Connection type mark corresponds to;
The connection establishment unit 614, the local wireless for establishing at least two types with the purpose terminal are connect;
One of the receiving unit 611, connected also particularly useful for the local wireless by least two type,
Data are received from the source terminal, when data-transmission interruptions, by the local wireless connection of at least two type
Another continues to the data.
Terminal provided in an embodiment of the present invention can be carried out to the description of the part Fig. 3, Fig. 7 purpose terminal part refering to fig. 1
Understand, this place, which is not done, excessively to be repeated.
Figure 14 shows the block diagram with the part-structure of terminal provided in an embodiment of the present invention.With reference to Figure 14, terminal packet
It includes: radio frequency (Radio Frequency, RF) circuit 710, memory 720, input unit 730, display unit 740, sensor
750, the components such as voicefrequency circuit 760, wireless module 770, processor 780 and power supply 790.Those skilled in the art can manage
Solution, the restriction of the not structure paired terminal of terminal structure shown in Figure 14, may include than illustrating more or fewer components, or
Person combines certain components or different component layouts.Wireless module 770 may include wifi module, bluetooth module, NFC mould
Block.
It is specifically introduced below with reference to each component parts of the Figure 14 to terminal:
RF circuit 710 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, handled to processor 780;In addition, the data for designing uplink are sent to base station.In general, RF circuit 710
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..In addition, RF circuit 710 can also be communicated with network and other equipment by wireless communication.
Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication
System of Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access
(Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution,
LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 720 can be used for storing software program and module, and processor 780 is stored in memory 720 by operation
Software program and module, thereby executing the various function application and data processing of terminal.Memory 720 can mainly include
Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function
Sequence (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for terminal
Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 720 may include high-speed random access memory
Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states
Part.
Input unit 730 can be used for receiving the number or character information of input, and generate with the user setting of terminal with
And the related key signals input of function control.Specifically, input unit 730 may include that touch panel 731 and other inputs are set
Standby 732.Touch panel 731, also referred to as touch screen, collect user on it or nearby touch operation (such as user use
The operation of any suitable object or attachment such as finger, stylus on touch panel 731 or near touch panel 731), and root
Corresponding attachment device is driven according to preset formula.Optionally, touch panel 731 may include touch detecting apparatus and touch
Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected,
Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching
Point coordinate, then gives processor 780, and can receive order that processor 780 is sent and be executed.Furthermore, it is possible to using electricity
The multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touch panel 731.In addition to touch panel 731, input
Unit 730 can also include other input equipments 732.Specifically, other input equipments 732 can include but is not limited to secondary or physical bond
One of disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 740 can be used for showing information input by user or be supplied to user information and terminal it is various
Menu.Display unit 740 may include display panel 741, optionally, can use liquid crystal display (Liquid Crystal
Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure
Show panel 741.Further, touch panel 731 can cover display panel 741, when touch panel 731 detect it is on it or attached
After close touch operation, processor 780 is sent to determine the type of touch event, is followed by subsequent processing device 780 according to touch event
Type corresponding visual output is provided on display panel 741.Although in Figure 14, touch panel 731 and display panel 741
It is that the input and input function of terminal are realized as two independent components, but in some embodiments it is possible to by touch-control
Panel 731 and display panel 741 are integrated and that realizes terminal output and input function.
Terminal may also include at least one sensor 750, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 741, proximity sensor can close display panel 741 when terminal is moved in one's ear
And/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three axis) acceleration in all directions
Size, can detect that size and the direction of gravity when static, can be used to identify the application of terminal posture, (for example horizontal/vertical screen is cut
Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as terminal
The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensor of configuration, details are not described herein.
Voicefrequency circuit 760, loudspeaker 761, microphone 762 can provide the audio interface between user and terminal.Audio-frequency electric
Electric signal after the audio data received conversion can be transferred to loudspeaker 761, be converted to sound by loudspeaker 761 by road 760
Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 762, is turned after being received by voicefrequency circuit 760
It is changed to audio data, then by after the processing of audio data output processor 780, such as another terminal is sent to through RF circuit 710,
Or audio data is exported to memory 720 to be further processed.
Terminal can help user to send and receive e-mail by wireless module 770, browse webpage and access streaming video etc.,
It provides wireless broadband internet access for user.Although Figure 14 shows wireless module 770, but it is understood that
It is, and is not belonging to must be configured into for terminal, can according to need within the scope of not changing the essence of the invention and omit completely.
Processor 780 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to
It crosses operation or executes the software program and/or module being stored in memory 720, and call and be stored in memory 720
Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Optionally, processor 780 can wrap
Include one or more processing units;Preferably, processor 780 can integrate application processor and modem processor, wherein answer
With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 780.
Terminal further includes the power supply 790 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe
Reason system and processor 780 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system
Etc. functions.
Although being not shown, terminal can also include camera, bluetooth module etc., and details are not described herein.
The embodiment of the present invention provide in when the terminal is source terminal, the first for being wirelessly connected the method for foundation is possible
Implementation includes:
RF circuit 710 can be used for sending local wireless connection to purpose terminal by internet channel or telecommunications network channel and match
Message is set, the local wireless connection configuration message carries local wireless connection sign and local wireless connection type letter
Breath, the local wireless connection sign are used to indicate the purpose terminal and parse the local wireless connection configuration message,
And the local wireless connection type according to indicated by the local wireless connection type information of acquisition, it initiates and the source terminal
Local wireless connection;
RF circuit 710 can also be used to receive the sheet that the purpose terminal connects configuration message transmission according to the local wireless
Ground, which is wirelessly connected, establishes request;
Wireless module 770, which is used to be connected according to the local wireless, establishes request, establishes local nothing with the purpose terminal
Line connection.
Based on the first above-mentioned possible implementation, in the second possible implementation,
Local wireless connection configuration message also carry the source terminal configuration for establishing local wireless connection
Key information, the key information are that the source terminal and the purpose are whole according to the key information for the purpose terminal
End is matched, and after successful matching, Xiang Suoshu source terminal sends the local wireless connection and establishes request.
Based on above-mentioned the first or second of possible implementation, in the third possible implementation,
The local wireless connection configuration message also carries the location information of the source terminal, the position letter of the source terminal
Breath determines at a distance from the source terminal for the purpose terminal, when the distance is in the range of establishing local wireless connection
When, Xiang Suoshu source terminal sends the local wireless connection and establishes request.
Based on it is above-mentioned the first, second or the third possible implementation, in the fourth possible implementation,
RF circuit 710 is specifically used for receiving the purpose terminal according to the transmission of local wireless connection configuration message extremely
Request is established in few two kinds of local wireless connection, the local wireless connection of at least two type establish request respectively with
At least two wireless connection types mark corresponds to;
Wireless module 770, which is specifically used for being connected according to the local wireless of at least two type, establishes request, and described
Purpose terminal establishes the local wireless connection of at least two types.
In offer of the embodiment of the present invention when the terminal is purpose terminal, it is wirelessly connected the first possibility of the method for foundation
Implementation include:
RF circuit 710 can be used for receiving local wireless connection configuration from source terminal by internet channel or telecommunications network channel
Message, the local wireless connection configuration message carry local wireless connection sign and local wireless connection type information;
Processor 780, which is used to connect sign according to the local wireless and parses the local wireless connection and configure, to disappear
Breath, obtains the local wireless connection type information;
RF circuit 710 can also be used in the connection class of the local wireless according to indicated by the local wireless connection type information
Type, Xiang Suoshu source terminal send local wireless connection and establish request;
Wireless module 770, which can be used for establishing local wireless with the source terminal, to be connect.
Based on the first above-mentioned possible implementation, in the second possible implementation,
Processor 780 be also used to when local wireless connection configuration message also carry source terminal configuration for establishing this
When the key information that ground is wirelessly connected, the key information is obtained, is the source terminal and the mesh according to the key information
Terminal matched;
Wireless module 770 can be with can be used for after successful matching, and Xiang Suoshu source terminal sends the local wireless connection and builds
Vertical request.
Based on above-mentioned the first or second of possible implementation, in the third possible implementation,
Processor 780 is also used to connect the location information that configuration message also carries the source terminal in the local wireless,
When the acquisition wireless connection type identifies, the location information of the source terminal is obtained, according to the position of the source terminal
Information determines at a distance from the source terminal;
Wireless module 770 can be specifically used for when the distance establish local wireless connection in the range of when, Xiang Suoshu
Source terminal sends the local wireless connection and establishes request.
Based on it is above-mentioned the first, second or the third possible implementation, in the fourth possible implementation,
RF circuit 710 is specifically used in the local wireless connection type information including at least two wireless connection type marks
It when knowledge, is identified according at least two wireless connection type, Xiang Suoshu source terminal sends at least two kinds of local wireless
Request is established in connection, and the local wireless connection of at least two type is established request and is wirelessly connected respectively with described at least two
Type identification is corresponding.
The local wireless that wireless module 770 is specifically used for establishing at least two types with the purpose terminal is connect
Compared with the wireless connection for needing to establish between two terminals based on search in the prior art, the embodiment of the present invention
The method that the wireless connection of offer is established sends the local wireless connection configuration to purpose terminal by public message channel and disappears
Breath, purpose terminal is started automatically according to local wireless connection configuration message and the wireless connection of source terminal, does not need source terminal
It is searched for mutually with purpose terminal, to improve the efficiency that local wireless connection is established, and reduces local wireless connection and build
Vertical complexity.
In offer of the embodiment of the present invention when the terminal is source terminal, the first possible realization of the method for data transmission
Mode includes:
RF circuit 710 is used to send local wireless connection configuration to purpose terminal by internet channel or telecommunications network channel
Message, the local wireless connection configuration message carry local wireless connection sign and local wireless connection type information,
The local wireless connection sign is used to indicate the purpose terminal and parses the local wireless connection configuration message, and root
Local wireless connection type indicated by the local wireless connection type information according to acquisition initiates the sheet with the source terminal
Ground is wirelessly connected;
RF circuit 710 is also used to receive the purpose terminal and connects the local that configuration message is sent according to the local wireless
It is wirelessly connected and establishes request;
Wireless module 770, which is used to be connected according to the local wireless, establishes request, establishes local nothing with the purpose terminal
Line connection;
Wireless module 770 is also used to connect by the source terminal with the local wireless that the purpose terminal is established, to institute
It states purpose terminal and sends data.
Based on the first above-mentioned possible implementation, in the second possible implementation,
RF circuit 710 is also used to identify in the local wireless connection type information including at least two wireless connection types
When, request, at least two type are established in the local wireless connection for receiving at least two types that the purpose terminal is sent
Local wireless connection establish request it is corresponding at least two wireless connection types mark respectively;
RF circuit 710 is also used to receive dividing at least two wireless connection type mark for the purpose terminal transmission
Request is established in the local wireless connection of not corresponding at least two type;
Wireless module 770 can use one of the local wireless connection being also used to through at least two type, to institute
It states purpose terminal and sends data;When data-transmission interruptions, by another in the local wireless connection of at least two type
It is outer a kind of to continue to send the data.
In offer of the embodiment of the present invention when the terminal is purpose terminal, the first possible reality of the method for data transmission
Now mode includes:
RF circuit 710, which is used to receive local wireless connection configuration from source terminal by internet channel or telecommunications network channel, to disappear
Breath, the local wireless connection configuration message carry local wireless connection sign and local wireless connection type information;
Processor 780, which is used to connect sign according to the local wireless and parses the local wireless connection and configure, to disappear
Breath, obtains the local wireless connection type information;
RF circuit 710 is also used to the local wireless connection type according to indicated by the local wireless connection type information,
Local wireless connection, which is sent, to the source terminal establishes request;
Wireless module 770 is connect for establishing local wireless with the source terminal, passes through the source terminal and the purpose
The local wireless connection that terminal is established, receives data from the source terminal.
Based on the first above-mentioned possible implementation, in the second possible implementation,
RF circuit 710 is also used to the local wireless connection type information and identifies including at least two wireless connection types
When, it is identified according at least two wireless connection type, Xiang Suoshu source terminal sends at least two kinds of local wireless and connects
Foundation request is connect, the local wireless connection of at least two type establishes request and is wirelessly connected class with described at least two respectively
Type mark corresponds to;
Wireless module 770 is used to establish the wireless connection of at least two types with the purpose terminal;By it is described at least
One of two kinds of local wireless connection, receives data from the source terminal;When data-transmission interruptions, by described
Another in the local wireless connection of at least two types continues to the data.
It connect, then carries out data transmission, Huo Zhetong in the prior art local wireless can only could be established based on search
Crossing third network can just carry out data transmission comparing, and the method for data transmission provided in an embodiment of the present invention passes through public message
Channel sends the local wireless connection configuration message to purpose terminal, and purpose terminal connects configuration message according to the local wireless
The wireless connection of automatic starting and source terminal, source terminal connect transmission data to be transmitted by the local wireless with purpose terminal,
Both the efficiency that local wireless connection is established had been improved, data has been in turn avoided and is transmitted by internet (such as: social application), mentioned
The high safety of data transmission.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware (such as processor) by program, which can store in a computer-readable storage
In medium, storage medium may include: ROM, RAM, disk or CD etc..
Be provided for the embodiments of the invention above be wirelessly connected establish method, data transmission method and terminal into
It has gone and has been discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, the above implementation
The explanation of example is merely used to help understand method and its core concept of the invention;Meanwhile for the general technology people of this field
Member, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this explanation
Book content should not be construed as limiting the invention.
Claims (20)
1. a kind of be wirelessly connected the method established, which is characterized in that be used for source terminal, which comprises
Local wireless connection configuration message, the local wireless are sent to purpose terminal by internet channel or telecommunications network channel
Connection configuration message carries local wireless connection sign and local wireless connection type information, and the local wireless connection refers to
Indicating knowledge is used to indicate the purpose terminal and parses the local wireless connection configuration message, and according to the local nothing of acquisition
Local wireless connection type indicated by line connection type information, initiation are connect with the local wireless of the source terminal, and described
Ground is wirelessly connected the wireless connection side that configuration message also carries the location information of the source terminal and the source terminal itself is supported
The location information of formula, the source terminal determines the wireless connection side at a distance from the source terminal for the purpose terminal
Formula is used to indicate the purpose terminal and selects nothing that the source terminal and the purpose terminal both sides support and compatible
Line mode is attached, and the description information of data to be transmitted can also be carried in the local wireless connection configuration message, so that
Purpose terminal display description information before establishing local wireless connection;
It receives the purpose terminal and the local wireless connection foundation request that configuration message is sent, institute is connected according to the local wireless
When stating local wireless connection type information including at least two wireless connection types mark, request is established in the local wireless connection
One at least two wireless connection type mark determined for the purpose terminal;
It is connected according to the local wireless and establishes request, established local wireless with the purpose terminal and connect.
2. the method according to claim 1, wherein local wireless connection configuration message also carries the source
The key information of terminal configuration connected for establishing local wireless, the key information is for the purpose terminal according to
Key information is that the source terminal and the purpose terminal are matched, after successful matching, described in the transmission of Xiang Suoshu source terminal
Request is established in local wireless connection.
3. method according to claim 1 or 2, which is characterized in that the local wireless connection type information includes at least
It is described to receive what the purpose terminal was sent according to local wireless connection configuration message when two wireless connection type marks
Request is established in local wireless connection, comprising:
Receive the local wireless that the purpose terminal connects at least two types that configuration message is sent according to the local wireless
Request is established in connection, and the local wireless connection of at least two type is established request and is wirelessly connected respectively with described at least two
Type identification is corresponding;
Described connected according to the local wireless establishes request, establishes local wireless with the purpose terminal and connect, comprising:
It is connected according to the local wireless of at least two type and establishes request, establish at least two types with the purpose terminal
Local wireless connection.
4. a kind of be wirelessly connected the method established, which is characterized in that be used for purpose terminal, which comprises
Local wireless connection configuration message is received from source terminal by internet channel or telecommunications network channel, the local wireless connects
It connects configuration message and carries local wireless connection sign and local wireless connection type information, the local wireless connection configuration
The radio connection that message also carries the location information of the source terminal and the source terminal itself is supported, the source terminal
Location information determines that at a distance from the source terminal, the radio connection is used to indicate the mesh for the purpose terminal
Terminal select wireless mode that the source terminal and the purpose terminal both sides support and compatible to be attached, institute
The description information that data to be transmitted can also be carried in local wireless connection configuration message is stated, so that the purpose terminal is being established
The display description information before local wireless connection;
Sign is connected according to the local wireless and parses the local wireless connection configuration message, obtains the local wireless
The location information of connection type information and the source terminal;
According to the location information of the source terminal, determine at a distance from the source terminal;
When the distance is in the range of establishing local wireless connection, according to indicated by the local wireless connection type information
Local wireless connection type, Xiang Suoshu source terminal send local wireless connection establish request, the local wireless connection type
When information includes that at least two wireless connection types identify, it is that the purpose terminal determines that request is established in the local wireless connection
At least two wireless connection type mark in one;
Local wireless is established with the source terminal to connect.
5. according to the method described in claim 4, it is characterized in that, local wireless connection configuration message also carries the source
The key information of terminal configuration connected for establishing local wireless;
When the acquisition local wireless connection type information, the method also includes:
Obtain the key information;
The local wireless connection type according to indicated by the local wireless connection type information, Xiang Suoshu source terminal are sent
Local wireless connection is established before request, the method also includes:
It is that the source terminal and the purpose terminal are matched according to the key information;
It is described to send local wireless connection foundation request to the source terminal, comprising:
After successful matching, Xiang Suoshu source terminal sends the local wireless connection and establishes request.
6. method according to claim 4 or 5, which is characterized in that the local wireless connection type information includes at least
When two wireless connection type marks,
The local wireless connection type according to indicated by the local wireless connection type information, Xiang Suoshu source terminal are sent
Request is established in local wireless connection, comprising:
It is identified according at least two wireless connection type, Xiang Suoshu source terminal sends at least two kinds of local wireless and connects
Foundation request is connect, the local wireless connection of at least two type establishes request and is wirelessly connected class with described at least two respectively
Type mark corresponds to;
It is described to establish local wireless with the source terminal and connect, comprising:
The local wireless for establishing at least two types with the purpose terminal is connect.
7. a kind of method of data transmission, which is characterized in that be used for source terminal, which comprises
Local wireless connection configuration message, the local wireless are sent to purpose terminal by internet channel or telecommunications network channel
Connection configuration message carries local wireless connection sign and local wireless connection type information, and the local wireless connection refers to
Indicating knowledge is used to indicate the purpose terminal and parses the local wireless connection configuration message, and according to the local nothing of acquisition
Local wireless connection type indicated by line connection type information, initiation are connect with the local wireless of the source terminal, and described
Ground is wirelessly connected the wireless connection side that configuration message also carries the location information of the source terminal and the source terminal itself is supported
The location information of formula, the source terminal determines the wireless connection side at a distance from the source terminal for the purpose terminal
Formula is used to indicate the purpose terminal and selects nothing that the source terminal and the purpose terminal both sides support and compatible
Line mode is attached, and the description information of data to be transmitted can also be carried in the local wireless connection configuration message, so that
Purpose terminal display description information before establishing local wireless connection;
It receives the purpose terminal and the local wireless connection foundation request that configuration message is sent, institute is connected according to the local wireless
When stating local wireless connection type information including at least two wireless connection types mark, request is established in the local wireless connection
One at least two wireless connection type mark determined for the purpose terminal;
It is connected according to the local wireless and establishes request, established local wireless with the purpose terminal and connect;
It is connect by the source terminal with the local wireless that the purpose terminal is established, Xiang Suoshu purpose terminal sends data.
8. the method according to the description of claim 7 is characterized in that the local wireless connection type information includes at least two
When wireless connection type identifies, the local wireless connection foundation request for receiving the purpose terminal and sending, comprising:
Request, at least two type are established in the local wireless connection for receiving at least two types that the purpose terminal is sent
Local wireless connection establish request it is corresponding at least two wireless connection types mark respectively;
Described connected according to the local wireless establishes request, establishes local wireless with the purpose terminal and connect, comprising:
It is connected according to the local wireless of at least two type and establishes request, establish at least two types with the purpose terminal
Local wireless connection;
Described to be connect by the source terminal with the local wireless that the purpose terminal is established, Xiang Suoshu purpose terminal sends number
According to, comprising:
One of connected by the local wireless of at least two type, Xiang Suoshu purpose terminal sends data;
When data-transmission interruptions, continue to send institute by another in the local wireless connection of at least two type
State data.
9. a kind of method of data transmission, which is characterized in that be used for purpose terminal, which comprises
Local wireless connection configuration message is received from source terminal by internet channel or telecommunications network channel, the local wireless connects
It connects configuration message and carries local wireless connection sign and local wireless connection type information, the local wireless connection configuration
The radio connection that message also carries the location information of the source terminal and the source terminal itself is supported, the source terminal
Location information determines that at a distance from the source terminal, the radio connection is used to indicate the mesh for the purpose terminal
Terminal select wireless mode that the source terminal and the purpose terminal both sides support and compatible to be attached, institute
The description information that data to be transmitted can also be carried in local wireless connection configuration message is stated, so that the purpose terminal is being established
The display description information before local wireless connection;
Sign is connected according to the local wireless and parses the local wireless connection configuration message, obtains the local wireless
Connection type information;
According to local wireless connection type indicated by the local wireless connection type information, Xiang Suoshu source terminal sends local
It is wirelessly connected and establishes request, it is described when the local wireless connection type information includes that at least two wireless connection types identify
It is one in determining at least two wireless connection type mark of the purpose terminal that request is established in local wireless connection;
Local wireless is established with the source terminal to connect;
It is connect by the source terminal with the local wireless that the purpose terminal is established, receives data from the source terminal.
10. according to the method described in claim 9, it is characterized in that, the local wireless connection type information includes at least two
When a wireless connection type identifies,
The local wireless connection type according to indicated by the local wireless connection type information, Xiang Suoshu source terminal are sent
Request is established in local wireless connection, comprising:
It is identified according at least two wireless connection type, Xiang Suoshu source terminal sends at least two kinds of local wireless and connects
Foundation request is connect, the local wireless connection of at least two type establishes request and is wirelessly connected class with described at least two respectively
Type mark corresponds to;
It is described to establish local wireless with the source terminal and connect, comprising:
The local wireless for establishing at least two types with the purpose terminal is connect;
It is described to be connect by the source terminal with the local wireless that the purpose terminal is established, data are received from the source terminal,
Include:
One of connected by the local wireless of at least two type, data are received from the source terminal;
When data-transmission interruptions, institute is continued to by another in the local wireless connection of at least two type
State data.
11. a kind of terminal, which is characterized in that when the terminal is source terminal, the terminal includes:
Transmission unit disappears for sending local wireless connection configuration to purpose terminal by internet channel or telecommunications network channel
Breath, the local wireless connection configuration message carry local wireless connection sign and local wireless connection type information, institute
It states local wireless connection sign and is used to indicate the purpose terminal and parse the local wireless connection configuration message, and according to
Local wireless connection type indicated by the local wireless connection type information obtained initiates the local with the source terminal
It is wirelessly connected, the local wireless connection configuration message also carries the location information and the source terminal itself branch of the source terminal
The location information of the radio connection held, the source terminal is determining at a distance from the source terminal for the purpose terminal,
The radio connection is used to indicate the purpose terminal and the source terminal and the purpose terminal both sides is selected to support
And compatible wireless mode is attached, and can also carry data to be transmitted in the local wireless connection configuration message
Description information, so that purpose terminal display description information before establishing local wireless connection;
Receiving unit, for receiving the purpose after the transmission unit sends the local wireless connection configuration message
Terminal connects the local wireless connection that configuration message is sent according to the local wireless and establishes request, and the local wireless connects class
When type information includes that at least two wireless connection types identify, it is that the purpose terminal is true that request is established in the local wireless connection
One in fixed at least two wireless connection type mark;
Connection establishment unit, it is whole with the purpose for establishing request according to the received local wireless connection of the receiving unit
Local wireless connection is established at end.
12. terminal according to claim 11, which is characterized in that described in the local wireless connection configuration message also carries
The key information of source terminal configuration connected for establishing local wireless, the key information is for the purpose terminal according to institute
Stating key information is that the source terminal and the purpose terminal are matched, and after successful matching, Xiang Suoshu source terminal sends institute
It states local wireless connection and establishes request.
13. terminal according to claim 11 or 12, which is characterized in that
The receiving unit is specifically used for identifying in local wireless connection type information including at least two wireless connection types
When, it receives the purpose terminal and is connected according to the local wireless that the local wireless connects at least two types that configuration message is sent
Foundation request is connect, the local wireless connection of at least two type establishes request and is wirelessly connected class with described at least two respectively
Type mark corresponds to;
The connection establishment unit establishes request specifically for connecting according to the local wireless of at least two type, with institute
State the local wireless connection that purpose terminal establishes at least two types.
14. a kind of terminal, which is characterized in that when the terminal is purpose terminal, the terminal includes:
Receiving unit, for receiving local wireless connection configuration message from source terminal by internet channel or telecommunications network channel,
The local wireless connection configuration message carrying local wireless connection sign and local wireless connection type information, described
Ground is wirelessly connected the wireless connection side that configuration message also carries the location information of the source terminal and the source terminal itself is supported
The location information of formula, the source terminal determines the wireless connection side at a distance from the source terminal for the purpose terminal
Formula is used to indicate the purpose terminal and selects nothing that the source terminal and the purpose terminal both sides support and compatible
Line mode is attached, and the description information of data to be transmitted can also be carried in the local wireless connection configuration message, so that
Purpose terminal display description information before establishing local wireless connection;
Resolution unit, for according to the received local wireless connection sign parsing local nothing of the receiving unit
Line connection configuration message, obtains the local wireless connection type information and obtains the location information of the source terminal;
Determination unit, the location information of the source terminal for being obtained according to the resolution unit, the determining and source terminal
Distance;
Transmission unit, for when the determination unit determine the distance establish local wireless connection in the range of when, root
Local wireless connection type indicated by the local wireless connection type information parsed according to the resolution unit, Xiang Suoshu
Source terminal sends local wireless connection and establishes request, and the local wireless connection type information is wirelessly connected class including at least two
When type identifies, it is at least two wireless connection type that the purpose terminal determines that request is established in the local wireless connection
One in mark;
Connection establishment unit is used for after the transmission unit sends the local wireless connection foundation request, with the source end
Local wireless connection is established at end.
15. terminal according to claim 14, which is characterized in that the terminal further includes pairing unit,
The resolution unit, be also used to the local wireless connect configuration message also carry source terminal configuration for building
When the key information of vertical local wireless connection, the key information is obtained;
The pairing unit, the key information for being obtained according to the resolution unit are the source terminal and the purpose
Terminal is matched;
The transmission unit is specifically used for after the pairing unit successful matching, and Xiang Suoshu source terminal sends the local nothing
Request is established in line connection.
16. terminal according to claim 14 or 15, which is characterized in that
The transmission unit is specifically used for identifying in local wireless connection type information including at least two wireless connection types
When, it is identified according at least two wireless connection type, Xiang Suoshu source terminal sends at least two kinds of local wireless and connects
Foundation request is connect, the local wireless connection of at least two type establishes request and is wirelessly connected class with described at least two respectively
Type mark corresponds to;
The connection establishment unit is connect specifically for the local wireless for establishing at least two types with the purpose terminal.
17. a kind of terminal, which is characterized in that when the terminal is source terminal, the terminal includes:
Transmission unit disappears for sending local wireless connection configuration to purpose terminal by internet channel or telecommunications network channel
Breath, the local wireless connection configuration message carry local wireless connection sign and local wireless connection type information, institute
It states local wireless connection sign and is used to indicate the purpose terminal and parse the local wireless connection configuration message, and according to
Local wireless connection type indicated by the local wireless connection type information obtained initiates the local with the source terminal
It is wirelessly connected, the local wireless connection configuration message also carries the location information and the source terminal itself branch of the source terminal
The location information of the radio connection held, the source terminal is determining at a distance from the source terminal for the purpose terminal,
The radio connection is used to indicate the purpose terminal and the source terminal and the purpose terminal both sides is selected to support
And compatible wireless mode is attached, and can also carry data to be transmitted in the local wireless connection configuration message
Description information, so that purpose terminal display description information before establishing local wireless connection;
Receiving unit, for receiving the purpose after the transmission unit sends the local wireless connection configuration message
Terminal connects the local wireless connection that configuration message is sent according to the local wireless and establishes request, and the local wireless connects class
When type information includes that at least two wireless connection types identify, it is that the purpose terminal is true that request is established in the local wireless connection
One in fixed at least two wireless connection type mark;
Connection establishment unit, it is whole with the purpose for establishing request according to the received local wireless connection of the receiving unit
Local wireless connection is established at end;
The transmission unit, the source terminal for being also used to establish by the connection establishment unit and the purpose terminal are established
Local wireless connection, Xiang Suoshu purpose terminal send data.
18. terminal according to claim 17, which is characterized in that
The receiving unit is specifically used in the local wireless connection type information including at least two wireless connection type marks
When knowledge, request, at least two class are established in the local wireless connection for receiving at least two types that the purpose terminal is sent
It is corresponding at least two wireless connection types mark respectively that request is established in the local wireless connection of type;
The connection establishment unit, for being connected according to the local wireless of received at least two type of the receiving unit
Request is established, the local wireless for establishing at least two types with the purpose terminal is connect;
One of the transmission unit, connected also particularly useful for the local wireless by least two type, Xiang Suoshu
Purpose terminal sends data, when data-transmission interruptions, by the connection of the local wireless of at least two type in addition
It is a kind of to continue to send the data.
19. a kind of terminal, which is characterized in that when the terminal is purpose terminal, the terminal includes:
Receiving unit, for receiving local wireless connection configuration message from source terminal by internet channel or telecommunications network channel,
The local wireless connection configuration message carrying local wireless connection sign and local wireless connection type information, described
Ground is wirelessly connected the wireless connection side that configuration message also carries the location information of the source terminal and the source terminal itself is supported
The location information of formula, the source terminal determines the wireless connection side at a distance from the source terminal for the purpose terminal
Formula is used to indicate the purpose terminal and selects nothing that the source terminal and the purpose terminal both sides support and compatible
Line mode is attached, and the description information of data to be transmitted can also be carried in the local wireless connection configuration message, so that
Purpose terminal display description information before establishing local wireless connection;
Resolution unit parses the local wireless connection configuration message for connecting sign according to the local wireless, obtains
Obtain the local wireless connection type information;
Transmission unit, for the local according to indicated by the local wireless connection type information that the resolution unit parses
Wireless connection type, Xiang Suoshu source terminal send local wireless connection and establish request, the local wireless connection type packet
When including at least two wireless connection types mark, the local wireless connection foundation request determines described for the purpose terminal
One at least two wireless connection types mark;
Connection establishment unit is used for after the transmission unit sends the local wireless connection foundation request, with the source end
Local wireless connection is established at end;
The receiving unit, the source terminal for being also used to establish by the connection establishment unit and the purpose terminal are established
Local wireless connection, from the source terminal receive data.
20. terminal according to claim 19, which is characterized in that
The transmission unit is specifically used for identifying in local wireless connection type information including at least two wireless connection types
When, it is identified according at least two wireless connection type, Xiang Suoshu source terminal sends at least two kinds of local wireless and connects
Foundation request is connect, the local wireless connection of at least two type establishes request and is wirelessly connected class with described at least two respectively
Type mark corresponds to;
The connection establishment unit, the local wireless for establishing at least two types with the purpose terminal are connect;
The receiving unit, also particularly useful for one of being connected by the local wireless of at least two type, from described
Source terminal receives data, when data-transmission interruptions, passes through other one in the local wireless connection of at least two type
Kind continues to the data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410776519.9A CN104581993B (en) | 2014-12-15 | 2014-12-15 | It is wirelessly connected the method and terminal of the method established, data transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410776519.9A CN104581993B (en) | 2014-12-15 | 2014-12-15 | It is wirelessly connected the method and terminal of the method established, data transmission |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104581993A CN104581993A (en) | 2015-04-29 |
CN104581993B true CN104581993B (en) | 2019-05-03 |
Family
ID=53096917
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410776519.9A Active CN104581993B (en) | 2014-12-15 | 2014-12-15 | It is wirelessly connected the method and terminal of the method established, data transmission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104581993B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106790639B (en) * | 2017-01-11 | 2020-07-10 | 杭州腾展科技股份有限公司 | Data transmission method and system |
CN107222936B (en) * | 2017-06-26 | 2020-05-05 | Oppo广东移动通信有限公司 | Data processing method and device and terminal |
CN108184225B (en) * | 2017-12-29 | 2021-09-28 | 飞天诚信科技股份有限公司 | Method for canceling Bluetooth connection in real time in Bluetooth connection process and intelligent terminal |
CN110505712A (en) * | 2018-05-17 | 2019-11-26 | 华为技术有限公司 | A kind of method and terminal for transmitting file |
AU2018427289B2 (en) * | 2018-06-13 | 2022-02-17 | Huawei Technologies Co., Ltd. | Transmission control method and device |
CN111263344A (en) * | 2020-05-06 | 2020-06-09 | 成都极米科技股份有限公司 | Method and system for connecting wireless local area network based on NFC message transmission and projection equipment |
CN111970645A (en) * | 2020-08-31 | 2020-11-20 | 深圳市紫光新能源技术有限公司 | Bluetooth positioning gateway, positioning gateway group and mine positioning system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101594578B (en) * | 2008-05-30 | 2013-08-28 | 华为终端有限公司 | Establishment method of direct connected link, station device and communication system |
CN101873719A (en) * | 2010-05-31 | 2010-10-27 | 华为终端有限公司 | Method, device and system for configuring wireless fidelity (WIFI) parameter |
CN102332940A (en) * | 2011-07-29 | 2012-01-25 | 上海合合信息科技发展有限公司 | Data transmission method and system making use of Bluetooth wireless technology |
CN102404725B (en) * | 2011-11-08 | 2014-07-09 | 复旦大学 | Method for safely building WiFi connection by SSID in application program |
CN103281752A (en) * | 2013-05-28 | 2013-09-04 | 北京推博信息技术有限公司 | WIFI (wireless fidelity) network access method and device, electronic equipment and communication system |
CN103281759A (en) * | 2013-05-28 | 2013-09-04 | 北京推博信息技术有限公司 | WIFI (wireless fidelity) network access method and device, electronic equipment and communication system |
-
2014
- 2014-12-15 CN CN201410776519.9A patent/CN104581993B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104581993A (en) | 2015-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104581993B (en) | It is wirelessly connected the method and terminal of the method established, data transmission | |
US20160105418A1 (en) | Method, system, device, and terminal for network initialization of multimedia playback device | |
CN107332976B (en) | Karaoke method, device, equipment and system | |
US10951557B2 (en) | Information interaction method and terminal | |
CN104426963B (en) | The method and terminal of associated terminal | |
CN106126174B (en) | A kind of control method and electronic equipment of scene audio | |
CN106714207B (en) | A kind of information processing method and terminal device | |
CN106506728B (en) | A kind of access point name configuration method and mobile terminal | |
WO2015014144A1 (en) | Method and apparatus for installing application, and terminal device | |
CN106371964B (en) | Method and device for prompting message | |
CN105933204B (en) | The method and apparatus that first equipment sends synchronization message to the second equipment | |
CN106507482B (en) | A kind of network locating method and terminal device | |
CN106161176A (en) | Cluster conversation message treatment method and device | |
CN104967608B (en) | Play method, mobile terminal and the fixed terminal of multimedia file | |
CN103391473A (en) | Methods and devices for providing and acquiring audios and videos | |
CN104284001B (en) | The incoming information display methods and device of terminal | |
CN106603740B (en) | It is connected to the network abnormal processing method and terminal device | |
CN104239332A (en) | Webpage content processing method, webpage content processing device and browser client side | |
CN104702678B (en) | Document transmission method and device | |
CN106303605B (en) | A kind of methods, devices and systems to send a notification message | |
CN108307529A (en) | A kind of hotspot connection method and its mobile terminal | |
CN104135728A (en) | Network connection method and device | |
CN105871425B (en) | The method and apparatus that first equipment receives synchronization message from the second equipment | |
CN103491421B (en) | Content displaying method, device and intelligent television | |
CN106161147B (en) | Establish the method and device of network connection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |