CN104981025A - Terminal pairing method, terminal pairing device, server and terminal - Google Patents

Terminal pairing method, terminal pairing device, server and terminal Download PDF

Info

Publication number
CN104981025A
CN104981025A CN201410132051.XA CN201410132051A CN104981025A CN 104981025 A CN104981025 A CN 104981025A CN 201410132051 A CN201410132051 A CN 201410132051A CN 104981025 A CN104981025 A CN 104981025A
Authority
CN
China
Prior art keywords
terminal
server
pairing
identify label
request
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.)
Pending
Application number
CN201410132051.XA
Other languages
Chinese (zh)
Inventor
李丹华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410132051.XA priority Critical patent/CN104981025A/en
Publication of CN104981025A publication Critical patent/CN104981025A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Abstract

The invention discloses a terminal pairing method, a terminal pairing device, a server and a terminal. The terminal pairing method, the terminal pairing device, the server and the terminal belong to the technical field of mobile communication. The terminal pairing method comprises the steps of receiving a connection establishing request which is transmitted by a first terminal; establishing a connection with the first terminal; receiving a pairing request which is transmitted by a second terminal for pairing with the first terminal; pairing the first terminal and the second terminal, and establishing a communication channel between the first terminal and the second terminal; and transmitting a piece of pairing success information to the first terminal and the second terminal. The pairing method settles a problem of incapability of finishing pairing on condition that the two terminals are not in a same area in prior art. Furthermore the pairing method realizes an effect of pairing the first terminal and the second terminal without consideration of a position relationship between the first terminal and the second terminal.

Description

Terminal matching method, device, server and terminal
Technical field
The present invention relates to mobile communication technology field, particularly a kind of terminal matching method, device, server and terminal.
Background technology
Use in the process of terminal user, user often needs the terminal of oneself and other terminal to match, and then is communicated by the communication port of pairing.
Terminal matching method common at present comprises: respective terminal is placed in the same area by user A and user B simultaneously, each terminal gathers current ambient sound respectively, the ambient sound that transmission collects is to server, server carries out voice print matching to receive two ambient sounds, if the match is successful, then server sets up the communication port between two terminals.
Realizing in process of the present invention, inventor finds prior art, and at least there are the following problems:
When two terminals are not at the same area, the ambient sound that two terminals gather also can be different, will it fails to match, so server cannot complete the pairing between two terminals when also namely server carries out voice print matching to the ambient sound that two terminals send.
Summary of the invention
In order to solve in prior art when two terminals are not at the same area, server cannot complete the problem of pairing, embodiments provides a kind of terminal matching method, device, server and terminal.Described technical scheme is as follows:
First aspect, provides a kind of terminal matching method, and in server, described method comprises:
Receive the connection establishment request that first terminal sends;
Set up the connection between described first terminal;
Receive the pairing request of matching with described first terminal that the second terminal sends;
Described first terminal and described second terminal are matched, and sets up the communication port between described first terminal and described second terminal;
Send successful matching information to described first terminal and described second terminal.
Second aspect, provides a kind of terminal matching method, and in first terminal, described method comprises:
Send connection establishment request to server, described connection establishment request is used to indicate the connection between the foundation of described server with described first terminal;
The successful matching information receiving described server and send is connected by described, described successful matching information is the pairing request of matching with described first terminal that described server receives the second terminal and sends, described first terminal and described second terminal are matched, and the information returned after setting up the communication port between described first terminal and described second terminal.
The third aspect, provides a kind of terminal matching method, and in the second terminal, described method comprises:
The pairing request that transmission and first terminal match is to server, and described pairing request is used to indicate described server and matches to described first terminal and described second terminal, and sets up the communication port between described first terminal and described second terminal;
Receive the successful matching information that described server returns.
Fourth aspect, provides a kind of terminal contrast means, and in terminal, described device comprises:
Connection request receiver module, for receiving the connection establishment request that first terminal sends;
Connection establishment module, for setting up the connection between described first terminal;
Pairing request receiver module, for receiving the pairing request of matching with described first terminal that the second terminal sends;
Path Setup module, for matching to described first terminal and described second terminal, and sets up the communication port between described first terminal and described second terminal;
Information sending module, for sending successful matching information to described first terminal and described second terminal.
5th aspect, provides a kind of terminal contrast means, and in first terminal, described device comprises:
Connection request sending module, for sending connection establishment request to server, described connection establishment request is used to indicate the connection between the foundation of described server with described first terminal;
Information receiving module, for connecting by described the successful matching information receiving described server and send, described successful matching information is the pairing request of matching with described first terminal that described server receives the second terminal and sends, described first terminal and described second terminal are matched, and the information returned after setting up the communication port between described first terminal and described second terminal.
6th aspect, provides a kind of terminal contrast means, and in the second terminal, described device comprises:
Pairing request sending module, for sending the pairing request of matching with first terminal to server, described pairing request is used to indicate described server and matches to described first terminal and described second terminal, and sets up the communication port between described first terminal and described second terminal;
Information receiving module, for receiving the successful matching information that described server returns.
The beneficial effect of the technical scheme that the embodiment of the present invention provides is:
By after the connection establishment request receiving first terminal transmission, set up the connection between first terminal, and when receiving the pairing request of matching with first terminal that the second terminal sends, perform the pairing to first terminal and the second terminal, set up the communication port between first terminal and the second terminal, and after setting up communication port, send successful matching information to first terminal and the second terminal; Solve in prior art when two terminals are not at the same area, server cannot complete the problem of pairing; No matter reach the position relationship between first terminal and the second terminal, server can realize the effect to first terminal and the second terminal.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of a kind of implementation environment involved in the present invention;
Fig. 2 is the method flow diagram of the terminal matching method that one embodiment of the invention provides;
Fig. 3 is the method flow diagram of the terminal matching method that another embodiment of the present invention provides;
Fig. 4 is the method flow diagram of the terminal matching method that yet another embodiment of the invention provides;
Fig. 5 is the method flow diagram of the terminal matching method that yet another embodiment of the invention provides;
Fig. 6 is the method flow diagram of the terminal matching method that yet another embodiment of the invention provides;
Fig. 7 is the block diagram of the terminal contrast means that one embodiment of the invention provides;
Fig. 8 is the block diagram of the terminal contrast means that another embodiment of the present invention provides;
Fig. 9 is the block diagram of the terminal contrast means that one embodiment of the invention provides;
Figure 10 is the block diagram of the terminal contrast means that another embodiment of the present invention provides;
Figure 11 is the block diagram of the terminal contrast means that one embodiment of the invention provides;
Figure 12 is the block diagram of the terminal contrast means that another embodiment of the present invention provides.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail, and obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, it illustrates the structural representation of a kind of implementation environment involved by terminal matching method that each embodiment of the present invention provides, this implementation environment comprises first terminal 110, second terminal 120 and server 130.
First terminal 110 can be the terminal of such as mobile phone, panel computer or electronic reader and so on.
Second terminal 120 can be the terminal of such as mobile phone, panel computer or electronic reader and so on.
Server 130 can by wired or wireless network and first terminal 110 and the second terminal 120, and then after receiving the pairing request of matching with first terminal 110 that the second terminal 120 sends, first terminal 110 and the second terminal 120 are matched, and sets up the communication port between first terminal 110 and the second terminal 120.
Please refer to Fig. 2, it illustrates the method flow diagram of the terminal matching method that one embodiment of the invention provides, the present embodiment is applied in the server 130 shown in Fig. 1 for this terminal matching method, and this terminal matching method comprises:
Step 201, receives the connection establishment request that first terminal sends;
Step 202, sets up the connection between first terminal;
Step 203, receives the pairing request of matching with first terminal that the second terminal sends;
Step 204, matches to first terminal and the second terminal, and sets up the communication port between first terminal and the second terminal;
Step 205, sends successful matching information to first terminal and the second terminal.
In sum, the terminal matching method that the present embodiment provides, by after the connection establishment request receiving first terminal transmission, set up the connection between first terminal, and when receiving the pairing request of matching with first terminal that the second terminal sends, perform the pairing to first terminal and the second terminal, set up the communication port between first terminal and the second terminal, and after setting up communication port, send successful matching information to first terminal and the second terminal; Solve in prior art when two terminals are not at the same area, server cannot complete the problem of pairing; No matter reach the position relationship between first terminal and the second terminal, server can realize the effect to first terminal and the second terminal.
Please refer to Fig. 3, it illustrates the method flow diagram of the terminal matching method that one embodiment of the invention provides, the present embodiment is applied in the first terminal 110 shown in Fig. 1 for this terminal matching method, and this terminal matching method comprises:
Step 301, sends connection establishment request to server, and connection establishment request is used to indicate the connection between server foundation with first terminal;
Step 302, by connecting the successful matching information that reception server sends.
Wherein, successful matching information is the pairing request of matching with first terminal that server receives the second terminal and sends, and matches to first terminal and the second terminal, and the information returned after setting up the communication port between first terminal and the second terminal.
In sum, the terminal matching method that the present embodiment provides, by sending connection establishment request to server, make server can set up connection between first terminal, and when receiving the pairing request of matching with first terminal that the second terminal sends, first terminal and the second terminal are matched, sets up the communication port between first terminal and the second terminal; Solve in prior art when two terminals are not at the same area, server cannot complete the problem of pairing; No matter reach the position relationship between first terminal and the second terminal, server can realize the effect to first terminal and the second terminal.
Please refer to Fig. 4, it illustrates the method flow diagram of the terminal matching method that one embodiment of the invention provides, the present embodiment is applied in the second terminal 120 shown in Fig. 1 for this terminal matching method, and this terminal matching method comprises:
Step 401, the pairing request that transmission and first terminal match is to server, and pairing request is used to indicate server and matches to first terminal and the second terminal, and sets up the communication port between first terminal and the second terminal;
Step 402, the successful matching information that reception server returns.
In sum, the terminal matching method that the present embodiment provides, the pairing request of being matched by transmission and first terminal, to server, is made server can match to first terminal and the second terminal, sets up the communication port between first terminal and the second terminal; Solve in prior art when two terminals are not at the same area, server cannot complete the problem of pairing; No matter reach the position relationship between first terminal and the second terminal, server can realize the effect to first terminal and the second terminal.
Please refer to Fig. 5, it illustrates the method flow diagram of the terminal matching method that one embodiment of the invention provides, the present embodiment is applied in the implementation environment shown in Fig. 1 for this terminal matching method, and this terminal matching method comprises:
Step 501, first terminal sends connection establishment request to server;
When first terminal needs to communicate with server, first terminal first can send connection establishment request to server.Wherein, connection establishment request is used to indicate the connection between server foundation with first terminal.
Concrete, first terminal can send comprise the address information of first terminal and the identify label of first terminal connection establishment request to server.Wherein, address information can be the IP(InternetProtocol Address of first terminal, internet protocol address) address, identify label can comprise phone number, the account of instant messaging program, email address, IMEI(International Mobile Equipment Identity, mobile device international identity code) and GUID(Globally Unique Identifier, GUID) at least one.Identify label in the present embodiment is just for distinguishing different terminals, and can also be other content when actual realization, the concrete form of the present embodiment to identify label limit, and the present embodiment is phone number for identify label.
Step 502, server receives the connection establishment request that first terminal sends;
Step 503, server sets up the connection between first terminal;
After server receives connection establishment request, server can set up the connection between first terminal.Concrete, server can set up the connection between the first terminal indicated by IP address in connection establishment request.
Step 504, the pairing request that the second terminal sends and first terminal matches is to server;
When the second terminal needs to carry out matching and then connecting with first terminal, the second terminal can send the pairing request of matching with first terminal to server.Wherein, pairing request is used to indicate server and matches to first terminal and the second terminal, and sets up the communication port between first terminal and the second terminal.
When actual realization, the second terminal can send the pairing request of the identify label of the first terminal of address information and the request pairing comprising the second terminal to server.Such as, the second terminal transmission comprises the pairing request of the IP address of the second terminal and the phone number of first terminal to server.
Step 505, server receives the pairing request of matching with first terminal that the second terminal sends;
Step 506, server matches to first terminal and the second terminal, and sets up the communication port between first terminal and the second terminal;
After server receives pairing request, server can match to first terminal and the second terminal, and sets up the communication port between first terminal and the second terminal.Concrete, server can according to the phone number determination first terminal of the first terminal in the pairing request received, then the connection between the IP address of first terminal and the IP address of the second terminal is set up, and using the interface channel of foundation as the communication port between first terminal and the second terminal.
Step 507, server sends successful matching information to first terminal and the second terminal;
After server sets up the communication port between first terminal and the second terminal, illustrate that server has successfully set up the connection between first terminal and the second terminal, now in order to inform first terminal and the successful matching of the second terminal, can communicate mutually, server can send successful matching information to first terminal and the second terminal.
Step 508, the successful matching information that first terminal sends by connecting reception server;
Wherein, successful matching information is the pairing request of matching with first terminal that server receives the second terminal and sends, and matches to first terminal and the second terminal, and the information returned after setting up the communication port between first terminal and the second terminal.
Step 509, the successful matching information that the second terminal reception server returns.
It should be noted that, after first terminal and the second terminal receive successful matching information, first terminal can be communicated mutually by the communication port set up with the second terminal, and the present embodiment does not repeat them here.
In sum, the terminal matching method that the present embodiment provides, by after the connection establishment request receiving first terminal transmission, set up the connection between first terminal, and when receiving the pairing request of matching with first terminal that the second terminal sends, perform the pairing to first terminal and the second terminal, set up the communication port between first terminal and the second terminal, and after setting up communication port, send successful matching information to first terminal and the second terminal; Solve in prior art when two terminals are not at the same area, server cannot complete the problem of pairing; No matter reach the position relationship between first terminal and the second terminal, server can realize the effect to first terminal and the second terminal.
Please refer to Fig. 6, it illustrates the method flow diagram of the terminal matching method that one embodiment of the invention provides, the present embodiment is applied in the implementation environment shown in Fig. 1 for this terminal matching method, and this terminal matching method comprises:
Step 601, first terminal sends connection establishment request to server;
When first terminal needs to communicate with server, first terminal first can send connection establishment request to server.Wherein, connection establishment request is used to indicate the connection between server foundation with first terminal.
Concrete, first terminal can send comprise the address information of first terminal and the identify label of first terminal connection establishment request to server.Wherein, address information can be the IP address of first terminal, and identify label can comprise at least one in phone number, the account of instant messaging program, email address, IMEI and GUID.Identify label in the present embodiment is just for distinguishing different terminals, and can also be other content when actual realization, the concrete form of the present embodiment to identify label limit, and the present embodiment is phone number for identify label.
Step 602, server receives the connection establishment request that first terminal sends;
Step 603, server sets up the connection between first terminal;
After server receives connection establishment request, server can set up the connection between first terminal.Concrete, server can set up the connection between the first terminal indicated by IP address in connection establishment request.
Step 604, the pairing request that the second terminal sends and first terminal matches is to server;
When the second terminal needs to carry out matching and then connecting with first terminal, the second terminal can send the pairing request of matching with first terminal to server.Wherein, pairing request is used to indicate server and matches to first terminal and the second terminal, and sets up the communication port between first terminal and the second terminal.When actual realization, the second terminal can send the pairing request of the identify label of the first terminal of address information and the request pairing comprising the second terminal to server.Further, in order to the execution of subsequent step, can also comprise the identify label of the second terminal in pairing request, the present embodiment does not limit this.
Step 605, server receives the pairing request of matching with first terminal that the second terminal sends;
It should be noted that, step 601 is similar to step 505 with the step 501 in above-described embodiment to step 605, and detailed technology detail with reference above-described embodiment, the present embodiment does not repeat them here.
Step 606, server forwards pairing request to first terminal;
After server receives pairing request, in order to inform first terminal second terminal request and it match, server can forward the pairing request that receives to first terminal.
Step 607, the pairing request that first terminal reception server forwards;
Accordingly, first terminal can reception server forward pairing request.After first terminal receives pairing request, first terminal can according to the identify label of the second terminal in pairing request know the second terminal request and it match, now first terminal can from main separation agree to pairing or refusal pairing.
Step 608, first terminal returns agrees to that the approval information of pairing is to server.
When first terminal is selected to agree to pairing, first terminal can return agrees to that the approval information of pairing is to server; And if when first terminal selects refusal to match, first terminal can return the approval information of refusal pairing to server, now flow process terminates, and the present embodiment does not repeat them here.
Step 609, server receives the approval information of the agreement pairing that first terminal returns;
Accordingly, server can receive the approval information of the agreement pairing that first terminal returns.
Step 610, after server receives approval information, performs the step of matching to first terminal and the second terminal;
When server receives approval information, illustrate that first terminal agrees to the pairing with the second terminal, now server can perform the step to first terminal and the pairing of the second terminal.
Step 611, server sets up the communication port between first terminal and the second terminal;
It should be noted that, the step 506 in the step 610 in the present embodiment and step 611 and above-described embodiment is similar, and detailed technology detail with reference above-described embodiment, the present embodiment does not repeat them here.
Step 612, server sends successful matching information to first terminal and the second terminal.
At server to the communication port set up between first terminal and the second terminal, also namely to after first terminal and the second terminal successful matching, server can send successful matching information to first terminal and the second terminal.
Step 613, the successful matching information that first terminal sends by connecting reception server;
Wherein, successful matching information is the pairing request of matching with first terminal that server receives the second terminal and sends, and matches to first terminal and the second terminal, and the information returned after setting up the communication port between first terminal and the second terminal.
Step 614, the successful matching information that the second terminal reception server returns;
It should be noted that, step 612 is similar to step 509 with the step 507 in above-described embodiment to step 614, and detailed technology detail with reference above-described embodiment, the present embodiment does not repeat them here.
Step 615, first terminal and the second terminal scan mutually and then obtain the signal wiring list to be connected of the other side;
After first terminal and the second terminal receive the successful matching information of server transmission, first terminal and the second terminal can be scanned mutually by the communication port set up and then be obtained the signal wiring list to be connected of the other side.
Concrete, for first terminal, first terminal can be scanned by the communication port set up and then be got signal wiring list to be connected in the second terminal.Wherein, signal wiring list to be connected comprises: bluetooth connects, infrared connection and NFC(Near Field Communication, the short distance wireless communication technology) connect at least one.
Similar, for the second terminal, the second terminal can be scanned by the communication port set up and obtain signal wiring list to be connected in first terminal.Wherein, signal wiring list to be connected comprises: at least one during bluetooth connection, infrared connection are connected with NFC.
Step 616, first terminal and the second terminal obtain the identify label of opposite end respectively;
After first terminal and the second terminal receive successful matching information, in order to the execution of subsequent step, first terminal and the second terminal can obtain the identify label of opposite end respectively.
Concrete, for first terminal, first terminal can obtain the identify label of the second terminal.Wherein, identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID.
Similar, for the second terminal, the second terminal can obtain the identify label of first terminal.Wherein, identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID.
Step 617, first terminal and the second terminal are respectively according to the identify label foundation of opposite end got and the signal wiring of opposite end.
For each signal wiring in hardware list, first terminal and the second terminal can respectively according to the identify label foundation of opposite end got and the signal wiring of opposite end.Wherein, signal wiring comprise bluetooth connect, infrared connection be connected with NFC at least one.
Concrete, for first terminal, first terminal can directly set up signal wiring between the second terminal according to the identify label of the second terminal got.Such as, connect for the bluetooth in signal wiring list, after first terminal gets the phone number of the second terminal, the bluetooth that first terminal can be set up between the second terminal corresponding to phone number is connected.
Similar, for the second terminal, the second terminal can directly set up signal wiring between first terminal according to the identify label of the first terminal got.
It should be noted that, the present embodiment just continues scanning signal wiring list to be connected for the communication port between the first terminal by having set up and the second terminal, when actual realization, when first terminal and the second terminal have set up a certain signal wiring, first terminal and the second terminal can also scan signal wiring list to be connected by the passage of the signal wiring set up and then set up signal wiring, and the present embodiment does not limit this.And after first terminal and the second terminal set up a kind of signal wiring by the communication port set up, first terminal and the second terminal can also continue to set up other signal wiring by the signal wiring passage set up, and the present embodiment does not also limit this.
In sum, the terminal matching method that the present embodiment provides, by after the connection establishment request receiving first terminal transmission, set up the connection between first terminal, and when receiving the pairing request of matching with first terminal that the second terminal sends, perform the pairing to first terminal and the second terminal, set up the communication port between first terminal and the second terminal, and after setting up communication port, send successful matching information to first terminal and the second terminal; Solve in prior art when two terminals are not at the same area, server cannot complete the problem of pairing; No matter reach the position relationship between first terminal and the second terminal, server can realize the effect to first terminal and the second terminal.
The present embodiment is before matching to first terminal and the second terminal, server first forwards pairing request to first terminal, and then only just first terminal and the second terminal are matched after the approval information receiving the agreement pairing that first terminal returns, ensure that the privacy of first terminal, the problem that the information avoiding first terminal is stolen by other terminal.
In addition, after server sets up the communication port between first terminal and the second terminal, first terminal and the second terminal can scan the signal wiring list to be connected of opposite end by the communication port set up, and obtain the identify label of opposite end, and then the signal wiring can directly set up between the two, avoid in prior art, when two terminals need to set up signal wiring, user needs the problem performing complicated authentication process.
Please refer to Fig. 7, it illustrates the block diagram of the terminal contrast means that one embodiment of the invention provides, it is all or part of that this terminal contrast means can realize becoming in server 130 by software, hardware or both combinations, and this terminal contrast means can comprise: connection request receiver module 710, connection establishment module 720, pairing request receiver module 730, Path Setup module 740 and information sending module 750.
Connection request receiver module 710, for receiving the connection establishment request that first terminal sends;
Connection establishment module 720, for setting up the connection between described first terminal;
Pairing request receiver module 730, for receiving the pairing request of matching with described first terminal that the second terminal sends;
Path Setup module 740, for matching to described first terminal and described second terminal, and sets up the communication port between described first terminal and described second terminal;
Information sending module 750, for sending successful matching information to described first terminal and described second terminal.
In sum, the terminal contrast means that the present embodiment provides, by after the connection establishment request receiving first terminal transmission, set up the connection between first terminal, and when receiving the pairing request of matching with first terminal that the second terminal sends, perform the pairing to first terminal and the second terminal, set up the communication port between first terminal and the second terminal, and after setting up communication port, send successful matching information to first terminal and the second terminal; Solve in prior art when two terminals are not at the same area, server cannot complete the problem of pairing; No matter reach the position relationship between first terminal and the second terminal, server can realize the effect to first terminal and the second terminal.
Please refer to Fig. 8, it illustrates the block diagram of the terminal contrast means that one embodiment of the invention provides, it is all or part of that this terminal contrast means can realize becoming in server 130 by software, hardware or both combinations, and this terminal contrast means can comprise: connection request receiver module 810, connection establishment module 820, pairing request receiver module 830, Path Setup module 840 and information sending module 850.
Connection request receiver module 810, for receiving the connection establishment request that first terminal sends;
Connection establishment module 820, for setting up the connection between described first terminal;
Pairing request receiver module 830, for receiving the pairing request of matching with described first terminal that the second terminal sends;
Path Setup module 840, for matching to described first terminal and described second terminal, and sets up the communication port between described first terminal and described second terminal;
Information sending module 850, for sending successful matching information to described first terminal and described second terminal.
In the first possible implementation of the present embodiment, described device, also comprises:
Request forward module 860, for forwarding described pairing request to described first terminal;
Information receiving module 870, for receiving the approval information of the agreement pairing that described first terminal returns;
Described Path Setup module 840, for after receiving described approval information, performs described step of matching to described first terminal and described second terminal.
In the implementation that the second of the present embodiment is possible,
Described Path Setup module 840, for setting up the communication port between described first terminal and described second terminal according to the address information being carried at the identify label of the described first terminal in described connection establishment request and the address information of described first terminal and the identify label and described second terminal that are carried at the described first terminal in described pairing request;
Wherein, described identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID.
In sum, the terminal contrast means that the present embodiment provides, by after the connection establishment request receiving first terminal transmission, set up the connection between first terminal, and when receiving the pairing request of matching with first terminal that the second terminal sends, perform the pairing to first terminal and the second terminal, set up the communication port between first terminal and the second terminal, and after setting up communication port, send successful matching information to first terminal and the second terminal; Solve in prior art when two terminals are not at the same area, server cannot complete the problem of pairing; No matter reach the position relationship between first terminal and the second terminal, server can realize the effect to first terminal and the second terminal.
Please refer to Fig. 9, it illustrates the block diagram of the terminal contrast means that one embodiment of the invention provides, it is all or part of that this terminal contrast means can realize becoming in first terminal 110 by software, hardware or both combinations, and this terminal contrast means can comprise: connection request sending module 910 and information receiving module 920.
Connection request sending module 910, for sending connection establishment request to server, described connection establishment request is used to indicate the connection between the foundation of described server with described first terminal;
Information receiving module 920, for connecting by described the successful matching information receiving described server and send, described successful matching information is the pairing request of matching with described first terminal that described server receives the second terminal and sends, described first terminal and described second terminal are matched, and the information returned after setting up the communication port between described first terminal and described second terminal.
In sum, the terminal contrast means that the present embodiment provides, by sending connection establishment request to server, make server can set up connection between first terminal, and when receiving the pairing request of matching with first terminal that the second terminal sends, first terminal and the second terminal are matched, sets up the communication port between first terminal and the second terminal; Solve in prior art when two terminals are not at the same area, server cannot complete the problem of pairing; No matter reach the position relationship between first terminal and the second terminal, server can realize the effect to first terminal and the second terminal.
Please refer to Figure 10, it illustrates the block diagram of the terminal contrast means that one embodiment of the invention provides, it is all or part of that this terminal contrast means can realize becoming in first terminal 110 by software, hardware or both combinations, and this terminal contrast means can comprise: connection request sending module 1010 and information receiving module 1020.
Connection request sending module 1010, for sending connection establishment request to server, described connection establishment request is used to indicate the connection between the foundation of described server with described first terminal;
Information receiving module 1020, for connecting by described the successful matching information receiving described server and send, described successful matching information is the pairing request of matching with described first terminal that described server receives the second terminal and sends, described first terminal and described second terminal are matched, and the information returned after setting up the communication port between described first terminal and described second terminal.
In the first possible implementation of the present embodiment,
Described connection request sending module 1010, for send the address information of identify label and the described first terminal carrying described first terminal described connection establishment request to described server, described identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID.
In the implementation that the second of the present embodiment is possible, described device, also comprises:
Pairing request receiver module 1030, for receiving the described pairing request that described server forwards;
Information returns module 1040, agrees to that the approval information of pairing is to described server for returning.
In the third possible implementation of the present embodiment, described device, also comprises:
Hardware list scan module 1050, for signal wiring list to be connected in described second terminal of described communication port scanning by having set up;
Identifier acquisition module 1060, for obtaining the identify label of described second terminal, described identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID;
Connection establishment module 1070, for for each signal wiring in described signal wiring list, sets up the described signal wiring between described second terminal according to the identify label of described second terminal.
In the 4th kind of possible implementation of the present embodiment,
Described signal wiring comprise bluetooth connect, infrared connection be connected with the short distance wireless communication technology NFC at least one.
In sum, the terminal contrast means that the present embodiment provides, by sending connection establishment request to server, make server can set up connection between first terminal, and when receiving the pairing request of matching with first terminal that the second terminal sends, first terminal and the second terminal are matched, sets up the communication port between first terminal and the second terminal; Solve in prior art when two terminals are not at the same area, server cannot complete the problem of pairing; No matter reach the position relationship between first terminal and the second terminal, server can realize the effect to first terminal and the second terminal.
Please refer to Figure 11, it illustrates the block diagram of the terminal contrast means that one embodiment of the invention provides, it is all or part of that this terminal contrast means can realize becoming in the second terminal 120 by software, hardware or both combinations, and this terminal contrast means can comprise: pairing request sending module 1110 and information receiving module 1120.
Pairing request sending module 1110, for sending the pairing request of matching with first terminal to server, described pairing request is used to indicate described server and matches to described first terminal and described second terminal, and sets up the communication port between described first terminal and described second terminal;
Information receiving module 1120, for receiving the successful matching information that described server returns.
In sum, the terminal contrast means that the present embodiment provides, the pairing request of being matched by transmission and first terminal, to server, is made server can match to first terminal and the second terminal, sets up the communication port between first terminal and the second terminal; Solve in prior art when two terminals are not at the same area, server cannot complete the problem of pairing; No matter reach the position relationship between first terminal and the second terminal, server can realize the effect to first terminal and the second terminal.
Please refer to Figure 12, it illustrates the block diagram of the terminal contrast means that one embodiment of the invention provides, it is all or part of that this terminal contrast means can realize becoming in the second terminal 120 by software, hardware or both combinations, and this terminal contrast means can comprise: pairing request sending module 1210 and information receiving module 1220.
Pairing request sending module 1210, for sending the pairing request of matching with first terminal to server, described pairing request is used to indicate described server and matches to described first terminal and described second terminal, and sets up the communication port between described first terminal and described second terminal;
Information receiving module 1220, for receiving the successful matching information that described server returns.
In the first possible implementation of the present embodiment,
Described pairing request sending module 1210, for sending the described pairing request that comprises the address information of described second terminal and the identify label of described first terminal to described server, described identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID.
In the implementation that the second of the present embodiment is possible, described device, also comprises:
Hardware list scan module 1230, scans signal wiring list to be connected in described first terminal for the described communication port by having set up;
Identifier acquisition module 1240, for obtaining the identify label of described first terminal, described identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID;
Connection establishment module 1250, for for each signal wiring in described signal wiring list, sets up the described signal wiring between described first terminal according to the identify label of described first terminal.
In the third possible implementation of the present embodiment,
Described signal wiring comprise bluetooth connect, infrared connection be connected with the short distance wireless communication technology NFC at least one.
In sum, the terminal contrast means that the present embodiment provides, the pairing request of being matched by transmission and first terminal, to server, is made server can match to first terminal and the second terminal, sets up the communication port between first terminal and the second terminal; Solve in prior art when two terminals are not at the same area, server cannot complete the problem of pairing; No matter reach the position relationship between first terminal and the second terminal, server can realize the effect to first terminal and the second terminal.
It should be noted that: the terminal contrast means that above-described embodiment provides is when carrying out terminal pairing, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the terminal contrast means that above-described embodiment provides and the embodiment of the method for terminal matching method belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (24)

1. a terminal matching method, is characterized in that, in server, described method comprises:
Receive the connection establishment request that first terminal sends;
Set up the connection between described first terminal;
Receive the pairing request of matching with described first terminal that the second terminal sends;
Described first terminal and described second terminal are matched, and sets up the communication port between described first terminal and described second terminal;
Send successful matching information to described first terminal and described second terminal.
2. method according to claim 1, is characterized in that, described described first terminal and described second terminal are matched before, described method also comprises:
Forward described pairing request to described first terminal;
Receive the approval information of the agreement pairing that described first terminal returns;
After receiving described approval information, perform the described step that described first terminal and described second terminal are matched.
3. method according to claim 1 and 2, is characterized in that, the described communication port set up between described first terminal and described second terminal, comprising:
The communication port between described first terminal and described second terminal is set up according to the address information of the identify label of the described first terminal be carried in described connection establishment request and the address information of described first terminal and the identify label and described second terminal that are carried at the described first terminal in described pairing request;
Wherein, described identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID.
4. a connection establishment method, is characterized in that, in first terminal, described method comprises:
Send connection establishment request to server, described connection establishment request is used to indicate the connection between the foundation of described server with described first terminal;
The successful matching information receiving described server and send is connected by described, described successful matching information is the pairing request of matching with described first terminal that described server receives the second terminal and sends, described first terminal and described second terminal are matched, and the information returned after setting up the communication port between described first terminal and described second terminal.
5. method according to claim 4, is characterized in that, the request of described transmission connection establishment, to server, comprising:
Send carry the identify label of described first terminal and the address information of described first terminal described connection establishment request to described server, described identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID.
6. the method according to claim 4 or 5, is characterized in that, before the successful matching information that the described server of described reception sends, described method also comprises:
Receive the described pairing request that described server forwards;
Return and agree to that the approval information of pairing is to described server.
7. according to the arbitrary described method of claim 4 to 6, it is characterized in that, after the successful matching information that the described server of described reception sends, described method also comprises:
Signal wiring list to be connected in described second terminal is scanned by the described communication port set up;
Obtain the identify label of described second terminal, described identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID;
For each signal wiring in described signal wiring list, set up the described signal wiring between described second terminal according to the identify label of described second terminal.
8. method according to claim 7, is characterized in that,
Described signal wiring comprise bluetooth connect, infrared connection be connected with the short distance wireless communication technology NFC at least one.
9. a terminal matching method, is characterized in that, in the second terminal, described method comprises:
The pairing request that transmission and first terminal match is to server, and described pairing request is used to indicate described server and matches to described first terminal and described second terminal, and sets up the communication port between described first terminal and described second terminal;
Receive the successful matching information that described server returns.
10. method according to claim 9, is characterized in that, the pairing request that described transmission and first terminal match, to server, comprising:
Send comprise the address information of described second terminal and the identify label of described first terminal described pairing request to described server, described identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID.
11. methods according to claim 9 or 10, it is characterized in that, after the successful matching information that the described server of described reception returns, described method also comprises:
Signal wiring list to be connected in described first terminal is scanned by the described communication port set up;
Obtain the identify label of described first terminal, described identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID;
For each signal wiring in described signal wiring list, set up the described signal wiring between described first terminal according to the identify label of described first terminal.
12. methods according to claim 11, is characterized in that,
Described signal wiring comprise bluetooth connect, infrared connection be connected with the short distance wireless communication technology NFC at least one.
13. 1 kinds of terminal contrast means, is characterized in that, in server, described device comprises:
Connection request receiver module, for receiving the connection establishment request that first terminal sends;
Connection establishment module, for setting up the connection between described first terminal;
Pairing request receiver module, for receiving the pairing request of matching with described first terminal that the second terminal sends;
Path Setup module, for matching to described first terminal and described second terminal, and sets up the communication port between described first terminal and described second terminal;
Information sending module, for sending successful matching information to described first terminal and described second terminal.
14. devices according to claim 13, is characterized in that, described device, also comprises:
Request forward module, for forwarding described pairing request to described first terminal;
Information receiving module, for receiving the approval information of the agreement pairing that described first terminal returns;
Described Path Setup module, for after receiving described approval information, performs described step of matching to described first terminal and described second terminal.
15. devices according to claim 13 or 14, is characterized in that,
Described Path Setup module, for setting up the communication port between described first terminal and described second terminal according to the address information being carried at the identify label of the described first terminal in described connection establishment request and the address information of described first terminal and the identify label and described second terminal that are carried at the described first terminal in described pairing request;
Wherein, described identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID.
16. 1 kinds of terminal contrast means, is characterized in that, in first terminal, described device comprises:
Connection request sending module, for sending connection establishment request to server, described connection establishment request is used to indicate the connection between the foundation of described server with described first terminal;
Information receiving module, for connecting by described the successful matching information receiving described server and send, described successful matching information is the pairing request of matching with described first terminal that described server receives the second terminal and sends, described first terminal and described second terminal are matched, and the information returned after setting up the communication port between described first terminal and described second terminal.
17. devices according to claim 16, is characterized in that,
Described connection request sending module, for send the address information of identify label and the described first terminal carrying described first terminal described connection establishment request to described server, described identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID.
18. devices according to claim 16 or 17, it is characterized in that, described device, also comprises:
Pairing request receiver module, for receiving the described pairing request that described server forwards;
Information returns module, agrees to that the approval information of pairing is to described server for returning.
19. according to claim 16 to 18 arbitrary described devices, and it is characterized in that, described device, also comprises:
Hardware list scan module, for signal wiring list to be connected in described second terminal of described communication port scanning by having set up;
Identifier acquisition module, for obtaining the identify label of described second terminal, described identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID;
Connection establishment module, for for each signal wiring in described signal wiring list, sets up the described signal wiring between described second terminal according to the identify label of described second terminal.
20. devices according to claim 19, is characterized in that,
Described signal wiring comprise bluetooth connect, infrared connection be connected with the short distance wireless communication technology NFC at least one.
21. 1 kinds of terminal contrast means, is characterized in that, in the second terminal, described device comprises:
Pairing request sending module, for sending the pairing request of matching with first terminal to server, described pairing request is used to indicate described server and matches to described first terminal and described second terminal, and sets up the communication port between described first terminal and described second terminal;
Information receiving module, for receiving the successful matching information that described server returns.
22. devices according to claim 21, is characterized in that,
Described pairing request sending module, for sending the described pairing request that comprises the address information of described second terminal and the identify label of described first terminal to described server, described identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID.
23. devices according to claim 21 or 22, it is characterized in that, described device, also comprises:
Hardware list scan module, scans signal wiring list to be connected in described first terminal for the described communication port by having set up;
Identifier acquisition module, for obtaining the identify label of described first terminal, described identify label comprises at least one in phone number, the account of instant messaging program, email address, mobile device international identity code and GUID;
Connection establishment module, for for each signal wiring in described signal wiring list, sets up the described signal wiring between described first terminal according to the identify label of described first terminal.
24. devices according to claim 23, is characterized in that,
Described signal wiring comprise bluetooth connect, infrared connection be connected with the short distance wireless communication technology NFC at least one.
CN201410132051.XA 2014-04-02 2014-04-02 Terminal pairing method, terminal pairing device, server and terminal Pending CN104981025A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410132051.XA CN104981025A (en) 2014-04-02 2014-04-02 Terminal pairing method, terminal pairing device, server and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410132051.XA CN104981025A (en) 2014-04-02 2014-04-02 Terminal pairing method, terminal pairing device, server and terminal

Publications (1)

Publication Number Publication Date
CN104981025A true CN104981025A (en) 2015-10-14

Family

ID=54276974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410132051.XA Pending CN104981025A (en) 2014-04-02 2014-04-02 Terminal pairing method, terminal pairing device, server and terminal

Country Status (1)

Country Link
CN (1) CN104981025A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060492A (en) * 2016-06-28 2016-10-26 联想(北京)有限公司 Projection method and device
WO2019061116A1 (en) * 2017-09-28 2019-04-04 深圳传音通讯有限公司 Terminal pairing method, server and terminal
CN109788017A (en) * 2017-11-15 2019-05-21 中国移动通信集团终端有限公司 Across brand children's wrist-watch information synchronization method, device, equipment and medium
CN109996347A (en) * 2017-12-29 2019-07-09 珠海金山办公软件有限公司 It is a kind of to establish the method and device connected between terminal device
WO2020024273A1 (en) * 2018-08-03 2020-02-06 深圳市汇顶科技股份有限公司 Short-distance wireless communication connection method and system, active pen, and touch screen
CN112311730A (en) * 2019-07-29 2021-02-02 西安中兴新软件有限责任公司 Pairing information uploading, connection and authentication method, terminal and server
CN113596805A (en) * 2021-06-11 2021-11-02 珠海派诺科技股份有限公司 Wireless communication pairing method, device and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1918887A (en) * 2004-02-20 2007-02-21 松下电器产业株式会社 Method and system for proxy-based secure end-to-end tcp/ip communications
CN102571853A (en) * 2010-12-16 2012-07-11 中国移动通信集团四川有限公司 Method, system and device for remote point-to-point communication of mobile terminals
CN102868665A (en) * 2011-07-05 2013-01-09 华为软件技术有限公司 Method and device for data transmission
CN103051665A (en) * 2012-09-10 2013-04-17 百度在线网络技术(北京)有限公司 Method and system for pairing mobile terminals based on cloud, and mobile terminals
CN103067919A (en) * 2012-12-21 2013-04-24 北京奇虎科技有限公司 Building method and authenticating method for connection between computing device and mobile device
US20130169526A1 (en) * 2011-12-30 2013-07-04 Bowei Gai Systems and methods for mobile device pairing
CN103347306A (en) * 2013-06-24 2013-10-09 腾讯科技(深圳)有限公司 Method, system and device for establishing correlation among multiple terminals

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1918887A (en) * 2004-02-20 2007-02-21 松下电器产业株式会社 Method and system for proxy-based secure end-to-end tcp/ip communications
CN102571853A (en) * 2010-12-16 2012-07-11 中国移动通信集团四川有限公司 Method, system and device for remote point-to-point communication of mobile terminals
CN102868665A (en) * 2011-07-05 2013-01-09 华为软件技术有限公司 Method and device for data transmission
US20130169526A1 (en) * 2011-12-30 2013-07-04 Bowei Gai Systems and methods for mobile device pairing
CN103051665A (en) * 2012-09-10 2013-04-17 百度在线网络技术(北京)有限公司 Method and system for pairing mobile terminals based on cloud, and mobile terminals
CN103067919A (en) * 2012-12-21 2013-04-24 北京奇虎科技有限公司 Building method and authenticating method for connection between computing device and mobile device
CN103347306A (en) * 2013-06-24 2013-10-09 腾讯科技(深圳)有限公司 Method, system and device for establishing correlation among multiple terminals

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060492A (en) * 2016-06-28 2016-10-26 联想(北京)有限公司 Projection method and device
CN106060492B (en) * 2016-06-28 2018-11-13 联想(北京)有限公司 A kind of projecting method and device
WO2019061116A1 (en) * 2017-09-28 2019-04-04 深圳传音通讯有限公司 Terminal pairing method, server and terminal
CN109788017A (en) * 2017-11-15 2019-05-21 中国移动通信集团终端有限公司 Across brand children's wrist-watch information synchronization method, device, equipment and medium
CN109996347A (en) * 2017-12-29 2019-07-09 珠海金山办公软件有限公司 It is a kind of to establish the method and device connected between terminal device
CN109996347B (en) * 2017-12-29 2023-05-23 珠海金山办公软件有限公司 Method and device for establishing connection between terminal devices
WO2020024273A1 (en) * 2018-08-03 2020-02-06 深圳市汇顶科技股份有限公司 Short-distance wireless communication connection method and system, active pen, and touch screen
CN112311730A (en) * 2019-07-29 2021-02-02 西安中兴新软件有限责任公司 Pairing information uploading, connection and authentication method, terminal and server
WO2021017664A1 (en) * 2019-07-29 2021-02-04 西安中兴新软件有限责任公司 Pairing information uploading method, pairing connection method, and pairing authentication method, terminal, and server
CN112311730B (en) * 2019-07-29 2023-10-20 西安中兴新软件有限责任公司 Pairing information uploading, connecting and authenticating method, terminal and server
CN113596805A (en) * 2021-06-11 2021-11-02 珠海派诺科技股份有限公司 Wireless communication pairing method, device and medium

Similar Documents

Publication Publication Date Title
CN104981025A (en) Terminal pairing method, terminal pairing device, server and terminal
JP5990275B2 (en) Method for transmitting data between terminals and terminal
JP6726426B2 (en) Login-free method and device between terminals
CN104144470B (en) A kind of Bluetooth connecting method and client
CN103037477A (en) Method, server side and client side of family media device accessing to wireless fidelity (wifi) hotspot
CN104378145A (en) Pairing method and system of Bluetooth device
CN103124267B (en) The method, system and the cloud server that log in/register is carried out by mobile terminal
CN104301857A (en) Method and device for wireless communication between communication terminals
CN103561480A (en) Data transmission method
CN104158883A (en) Method, device, equipment and system for carrying out user login through cross-terminal equipment
US10284657B2 (en) Application connection for devices in a network
CN104618316A (en) Method, device and system of safety verification
CN104768235A (en) Automatic connection method and device between equipment
CN104918296A (en) Network connection assistance system and method
CN105517111A (en) Methods and apparatuses for connecting devices with network
CN104219401A (en) A phone number distributing method, device and system
CN113242462B (en) Screen projection method and device for realizing convergence terminal
CN105611608A (en) Wireless local area network communication method, terminal and system
CN104618987A (en) Method and device for accessing network
CN104703291A (en) MiFi-based communication method and relevant MiFi
CN103415086A (en) Method for achieving file transmission application based on mobile terminal private network
CN105850095B (en) Authentication associated method and system
CN105704705A (en) Method for switching terminals with shared eSIM information, terminal and server
JP2009177360A (en) Communication apparatus, and application program
JP2016149689A (en) Karaoke system, address lease server, administrative server and karaoke device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151014

RJ01 Rejection of invention patent application after publication