CN104052751B - Establish the method and device of communication connection - Google Patents

Establish the method and device of communication connection Download PDF

Info

Publication number
CN104052751B
CN104052751B CN201410290156.8A CN201410290156A CN104052751B CN 104052751 B CN104052751 B CN 104052751B CN 201410290156 A CN201410290156 A CN 201410290156A CN 104052751 B CN104052751 B CN 104052751B
Authority
CN
China
Prior art keywords
terminal
connection
invitation code
communication identifier
active initiating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410290156.8A
Other languages
Chinese (zh)
Other versions
CN104052751A (en
Inventor
李典
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201410290156.8A priority Critical patent/CN104052751B/en
Publication of CN104052751A publication Critical patent/CN104052751A/en
Application granted granted Critical
Publication of CN104052751B publication Critical patent/CN104052751B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a kind of method and device for establishing communication connection.Method applied to server includes:Receive first the first connection request of communication identifier for carrying the remote terminal object corresponding to active initiating terminal that active initiating terminal is sent;It is determined that the first connection invitation code corresponding to active initiating terminal;Based on the first communication identifier, the announcement information for carrying the first connection invitation code is sent;Receive the second connection request for carrying the second connection invitation code that target terminal is sent;Invitation code is connected according to second and whether the first connection invitation code matches, and determines whether target terminal is remote terminal object corresponding to active initiating terminal;When it is remote terminal object to determine target terminal, active initiating terminal and target terminal are matched, to establish active initiating terminal and be used as the communication connection between the target terminal of remote terminal object.By using this programme, the purpose of communication connection can be established by simple operations by realizing user.

Description

Establish the method and device of communication connection
Technical field
The present invention relates to the communications field, more particularly to a kind of method and device for establishing communication connection.
Background technology
With the gradual development of the terminals such as intelligent television and set top box, its function is more and more, and thing followed function is set It is more and more to put operation, such as:Password setting is carried out to wireless network, payment uses function setting etc..
It is due to the study of function setting operation and larger using difficulty, often feel difficult than elderly user, especially It is children when being worked in other places, once runs into the problem of will not operating than elderly user, children can not scene on behalf of solution Certainly, therefore, remotely located application of function and give birth to.And the premise of remotely located function is, communication connection is established in two terminal rooms, And then carried out after communication connection is successfully established foundation remotely located.
Therefore it provides a kind of method that user can establish communication connection by simple operations is one and urgently to be resolved hurrily asked Topic.
The content of the invention
Based on above mentioned problem, the embodiment of the invention discloses a kind of method and device for establishing communication connection, so that handy Family can establish communication connection by simple operations.Technical scheme is as follows:
In a first aspect, the embodiments of the invention provide a kind of method for establishing communication connection, applied to server;The side Method includes:
The first connection request that active initiating terminal is sent is received, wherein, first connection request, which carries, actively to be sent out Play the first communication identifier of the remote terminal object corresponding to terminal;
Determine the first connection invitation code corresponding to the active initiating terminal;
Based on first communication identifier, the announcement information for carrying the first connection invitation code is sent, to connect Announcement information transmission connection request can be based on by receiving the terminal of the announcement information;
The second connection request that target terminal is sent is received, wherein, second connection request carries the second connection and invited Please code;
Whether matched according to the described second connection invitation code and the first connection invitation code, determine that the target terminal is No is remote terminal object corresponding to the active initiating terminal;
When it is remote terminal object corresponding to the active initiating terminal to determine the target terminal, to the active Initiating terminal and the target terminal are matched, to establish the active initiating terminal and the target as remote terminal object The communication connection of terminal room.
Optionally, carrying the announcement information of the first connection invitation code includes:
Carry the URL information of the first connection invitation code.
Optionally, it is described whether to be matched according to the described second connection invitation code and the first connection invitation code, determine institute State whether target terminal is remote terminal object corresponding to the active initiating terminal, including:
Judge whether the second connection invitation code with described first is connected invitation code identical, if it is, determining the mesh Mark terminal is remote terminal object corresponding to the active initiating terminal;Otherwise, it determines the target terminal is not the active Remote terminal object corresponding to initiating terminal;
Or
Judge that the second connection invitation code is connected whether invitation code meets default corresponding relation with described first, if It is to determine that the target terminal is remote terminal object corresponding to the active initiating terminal;Otherwise, it determines the target terminal It is not remote terminal object corresponding to the active initiating terminal.
Optionally, second connection request also carries the second communication identifier corresponding to the target terminal.
Optionally, it is described whether to be matched according to the described second connection invitation code and the first connection invitation code, determine institute State whether target terminal is remote terminal object corresponding to the active initiating terminal, including:
Whether matched according to the described second connection invitation code and the first connection invitation code and first communication is marked Know and whether second communication identifier matches, determine whether the target terminal is long-range corresponding to the active initiating terminal Terminal object.
Optionally, it is described whether to be matched and described according to the described second connection invitation code and the first connection invitation code Whether the second communication identifier and first communication identifier match, and determine whether the target terminal is the active initiating terminal Corresponding remote terminal object, including:
Judge whether the second connection invitation code with described first is connected invitation code identical, and judge that described second communicates Whether mark is identical with first communication identifier;When judged result is to be, it is the active to determine the target terminal Remote terminal object corresponding to initiating terminal;Otherwise, it determines the target terminal is remote not corresponding to the active initiating terminal Journey terminal object;
Or
Judge that the second connection invitation code is connected whether invitation code meets default corresponding relation with described first, and judge Whether second communication identifier and first communication identifier are identical;When judged result is to be, determine that the target is whole Hold as remote terminal object corresponding to the active initiating terminal;Otherwise, it determines the target terminal is not initiated for the active Remote terminal object corresponding to terminal.
Second aspect, the embodiments of the invention provide a kind of method for establishing communication connection, applied to active initiating terminal; Methods described includes:
Receive the long-range connection sign on that user sends;
The long-range connection sign on is responded, shows the first communication mark for instruction user input remote terminal object The interface of knowledge;
Receive user and input the first communication identifier;
Structure carries the first connection request of first communication identifier;
First connection request is sent to server;
Under the control of the server, matched with the remote terminal object, initiated so as to establish the active Communication connection between terminal and the remote terminal object.
The third aspect, the embodiments of the invention provide a kind of device for establishing communication connection, applied to server;The dress Put including:
First connection request receiving module, for receiving the first connection request of active initiating terminal transmission, wherein, it is described First connection request carries the first communication identifier of the remote terminal object corresponding to active initiating terminal;
First connection invitation code determining module, for determining that the first connection corresponding to the active initiating terminal is invited Code;
Announcement information sending module, for based on first communication identifier, transmission to carry first connection and invited The announcement information of code, connection request is sent to enable the terminal for receiving the announcement information to be based on the announcement information;
Second connection request receiving module, for receiving the second connection request of target terminal transmission, wherein, described second Connection request carries the second connection invitation code;
Analysis module, for whether being matched according to the described second connection invitation code and the first connection invitation code, it is determined that Whether the target terminal is remote terminal object corresponding to the active initiating terminal;
Matching module, determine that the target terminal is remote terminal object corresponding to the active initiating terminal for working as When, the active initiating terminal and the target terminal are matched, to establish the active initiating terminal and as remotely Communication connection between the target terminal of terminal object.
Optionally, carrying the announcement information of the first connection invitation code includes:
Carry the URL information of the first connection invitation code.
Optionally, the analysis module, including:
First analytic unit, it is whether identical that invitation code is connected for judging the second connection invitation code with described first, If it is, determine that the target terminal is remote terminal object corresponding to the active initiating terminal;Otherwise, it determines the target Terminal is not remote terminal object corresponding to the active initiating terminal;
Or
Second analytic unit, for judge it is described second connection invitation code with described first be connected invitation code whether meet it is pre- If corresponding relation, if it is, determining that the target terminal is remote terminal object corresponding to the active initiating terminal;Otherwise, It is not remote terminal object corresponding to the active initiating terminal to determine the target terminal.
Optionally, second connection request also carries the second communication identifier corresponding to the target terminal.
Optionally, the analysis module, including:
Analyze submodule, for according to described second connection invitation code and it is described first connection invitation code whether match and Whether first communication identifier and second communication identifier match, and determine whether the target terminal is that the active is initiated Remote terminal object corresponding to terminal.
Optionally, the analysis submodule, including:
3rd analytic unit, it is whether identical that invitation code is connected for judging the second connection invitation code with described first, And judge whether second communication identifier and first communication identifier are identical;When judged result is to be, it is determined that described Target terminal is remote terminal object corresponding to the active initiating terminal;Otherwise, it determines the target terminal is not the master Remote terminal object corresponding to dynamic initiating terminal;
Or
4th analytic unit, for judge it is described second connection invitation code with described first be connected invitation code whether meet it is pre- If corresponding relation, and judge whether second communication identifier and first communication identifier are identical;When judged result is to be When, it is remote terminal object corresponding to the active initiating terminal to determine the target terminal;Otherwise, it determines the target terminal It is not remote terminal object corresponding to the active initiating terminal.
Fourth aspect, the embodiments of the invention provide a kind of device for establishing communication connection, applied to active initiating terminal; Described device includes:
Command reception module, the long-range connection sign on sent for receiving user;
Respond module is instructed, for responding the long-range connection sign on, shows and is inputted remotely eventually for instruction user Hold the interface of the first communication identifier of object;
Communication identifier receiving module, the first communication identifier is inputted for receiving user;
First connection request builds module, and the first connection request of first communication identifier is carried for building;
First connection request sending module, for sending first connection request to the server;
Matching module, under the control of the server, being matched with the remote terminal object, so as to establish Communication connection between the active initiating terminal and the remote terminal object.
In this programme, the first communication identifier corresponding to the remote terminal object that active initiating terminal inputs user is sent To server, and server can be according to the first communication identifier of remote terminal object and determined by active initiating terminal First connection invitation code determines remote terminal object, and then establishes the communication connection of active initiating terminal and remote terminal object. It can be seen that by using this programme, user only inputs and sent can reliance server after the communication identifier of remote terminal object To establish the communication connection between active initiating terminal and remote terminal object, realizing user can be established by simple operations The purpose of communication connection.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
The first flow chart for the method that a kind of foundation that Fig. 1 is provided by the embodiment of the present invention communicates to connect;
Second of flow chart of the method that a kind of foundation that Fig. 2 is provided by the embodiment of the present invention communicates to connect;
The first structural representation for the device that a kind of foundation that Fig. 3 is provided by the embodiment of the present invention communicates to connect;
Second of structural representation of the device that a kind of foundation that Fig. 4 is provided by the embodiment of the present invention communicates to connect.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
In order that communication connection can be established by simple operations by obtaining user, so as to realize follow-up remotely located, this hair Bright embodiment provides a kind of method and device for establishing communication connection.
A kind of method of foundation communication connection provided first below the embodiment of the present invention is introduced.
For the sake of clarity, first below from the angle of active initiating terminal, the one kind provided the embodiment of the present invention The method for establishing communication connection is introduced.
It should be noted that in actual applications, active initiating terminal described in the present embodiment can be with:Intelligent television, Tablet personal computer, notebook computer or desktop computer etc..Also, follow-up remote terminal object can be:Smart mobile phone, notebook Computer, desktop computer etc..
Also, in " first ", " the second connection invitation code " in " the first connection invitation code " given by subsequent content " second ", " first " in " the first communication identifier " and " second " in " the second communication identifier " is only from nominally playing area It is allocated as using, should not has any limiting meaning.
As shown in figure 1, a kind of method for establishing communication connection, can include:
S101, receive the long-range connection sign on that user sends;
Wherein, establish and communicate to connect so as to realize far with remote terminal object when the user's needs for holding active initiating terminal When journey is set, long-range connection sign on can be sent to active initiating terminal by specific operation;And active initiating terminal can To receive long-range connection sign on, carry out performing the step of follow-up response remotely connects sign on.
Wherein, so-called specific operation can be:The instruction on the setting interface of active initiating terminal is clicked on to initiate remotely to connect The button connect;Or input indicates voice that initiation remotely connects etc., this is all rational.
S102, the long-range connection sign on is responded, show that first for instruction user input remote terminal object is logical The interface that beacon is known;
After the long-range connection sign on is received, the active initiating terminal can respond the long-range connection and start to refer to Order, show the interface of the first communication identifier for instruction user input remote terminal object.
Wherein, the specific display form for the interface of the first communication identifier of instruction user input remote terminal object can To use existing display form, therefore not to repeat here.
S103, receive user and input the first communication identifier;
Wherein, the first communication identifier can be:Phone number, QQ number code or wechat number, are not limited thereto certainly.And And in actual applications, the species for the first communication identifier for allowing input can be shown to user, and user can be according to reality Situation selects the species of the first communication identifier, then inputs first communication identifier.
S104, structure carry the first connection request of first communication identifier;
S105, first connection request is sent to server;
After the interface for the first communication identifier of instruction user input remote terminal object is shown to user, user The first communication identifier of remote terminal object can be inputted based on the interface;And active initiating terminal can receive user's input The first communication identifier, structure carry first communication identifier the first connection request, and to server send this first connection Request, to cause server after first connection request is received, it is determined that the first connection corresponding to active initiating terminal is invited Please code, based on the first communication identifier, the announcement information for carrying the first connection invitation code is sent, to receive announcement information Terminal can be based on announcement information send connection request;And then after the second connection request of target terminal transmission is received, Based in the second connection request second connection invitation code and first connection invitation code whether match, determine target terminal whether be Remote terminal object corresponding to active initiating terminal.Wherein, the first connection invitation code can be character string, specifically, character Character style in string can include:At least one of numeral, letter or word form.
S106, under the control of the server, matched with the remote terminal object, initiated eventually so as to establish the active Communication connection between end and the remote terminal object.
Wherein, server is after remote terminal object is determined, active initiating terminal can under the control of the server, Matched with the remote terminal object, so as to establish the communication connection between the active initiating terminal and the remote terminal object.
It will be appreciated by persons skilled in the art that server after remote terminal object is determined, is initiated eventually active End and remote terminal object are matched can use prior art to establish the specific implementation of communication connection, not make herein Repeat.Also, active initiating terminal and remote terminal object are established remotely located due to not being related to the present invention after communicating to connect Inventive point, be not described herein.
In this programme, after the long-range connection sign on that user sends is received, response remotely connects active initiating terminal Sign on is connect, shows the interface of the first communication identifier for instruction user input remote terminal object;Receive user's input First communication identifier;Structure carries the first connection request of the first communication identifier;The first connection request is sent to server;Taking It is engaged under the control of device, is matched with remote terminal object, it is logical between active initiating terminal and remote terminal object so as to establish Letter connection.It can be seen that by using this programme, user only inputs and can relied on after sending the communication identifier of remote terminal object Server establishes the communication connection between active initiating terminal and remote terminal object, realizes user by simple operations i.e. The purpose of communication connection can be established.
Below from the angle of server, a kind of method of foundation communication connection provided the embodiment of the present invention is situated between Continue.
A kind of method for establishing communication connection as shown in Figure 2, can include:
S201, receive the first connection request that active initiating terminal is sent;
Wherein, after active initiating terminal sends the first connection request to server, the server can receive actively The first connection request transmitted by initiating terminal, and then perform follow-up processing.Wherein, first connection request carries actively First communication identifier of the remote terminal object corresponding to initiating terminal.Wherein, the first communication identifier can be:Phone number, QQ number code or wechat number, are not limited thereto certainly.
S202, determine the first connection invitation code corresponding to the active initiating terminal;
After the first connection request transmitted by active initiating terminal is received, it may be determined that the active initiating terminal institute is right The the first connection invitation code answered.Wherein, the first connection invitation code can be character string, and the character in character string can include:Number At least one of word, letter or word form.
Also, ensureing that active initiating terminal is connected on the premise of invitation code has unique correspondence with first, Ke Yiyi According to preset rules, it is determined that the first connection invitation code corresponding to active initiating terminal.For example, can be with the first connection request Unique EIC equipment identification code of active initiating terminal is carried, so as to which the EIC equipment identification code of active initiating terminal be defined as actively The first connection invitation code corresponding to initiating terminal;Or the time according to the first received connection request, it is determined that actively The first connection invitation code corresponding to initiating terminal;Or the total quantity according to currently received connection request, it is determined that actively The first connection invitation code corresponding to initiating terminal.
It is emphasized that the above-mentioned concrete mode on determining the first connection invitation code corresponding to active initiating terminal It is merely exemplary, it should not form the restriction to the present embodiment.
S203, based on first communication identifier, the announcement information for carrying the first connection invitation code is sent, to connect Announcement information transmission connection request can be based on by receiving the terminal of the announcement information;
Wherein, after the corresponding to active initiating terminal first connection invitation code is determined, first communication can be based on Mark, send the announcement information for carrying the first connection invitation code;And the terminal for receiving the announcement information can be based on being somebody's turn to do Announcement information sends connection request, to realize the pairing with active initiating terminal.
Specifically, carrying the announcement information of the first connection invitation code can include:Carry the first connection invitation code URL information.Wherein, user, which can click on the URL information, directly to carry the first connection invitation code to server transmission Connection request.Certainly, the announcement information for carrying the first connection invitation code can also be the text message for not containing URL, this When, user can receive the terminal of the announcement information or the corresponding web station interface of other-end login, and then in webpage circle Input and the first connection invitation code for being connected invitation code matching in face.It is understood that it is connected invitation code matching with first Connecting invitation code can be:Invitation code identical connection invitation code is connected with first, or, it is connected invitation code with first and meets in advance If the connection invitation code of corresponding relation, is not limited thereto certainly.
It is emphasized that the transmission form of the announcement information corresponding to different types of first communication identifier is different.Lift For example, when the first communication identifier belongs to phone number, it can be sent based on the phone number in the form of short message and carry this The announcement information of first connection invitation code;And when the first communication identifier belongs to QQ number code, QQ number code can be based on QQ information Form sends the announcement information for carrying the first connection invitation code;And when the first communication identifier belongs to wechat number, can be with The announcement information for carrying the first connection invitation code is sent with wechat message form based on wechat number.
S204, the second connection request that target terminal is sent is received, wherein, second connection request carries the second connection Invitation code;
S205, whether matched according to the second connection invitation code and the first connection invitation code, determine that the target terminal is No is remote terminal object corresponding to the active initiating terminal;
Based on first communication identifier, after sending the announcement information for carrying the first connection invitation code, server can To receive the second connection request for carrying the second connection invitation code of target terminal transmission, and invited according to second connection Whether code and the first connection invitation code match, and determine whether the target terminal is remote terminal corresponding to the active initiating terminal Object, and then different operations is performed according to judged result.
Specifically, whether being matched according to the second connection invitation code and the first connection invitation code, the target terminal is determined Remote terminal object corresponding to whether being the active initiating terminal, can include:
Judging the second connection invitation code, whether first to be connected invitation code identical with this, if it is, determining the target terminal For remote terminal object corresponding to the active initiating terminal;Otherwise, it determines the target terminal is not corresponding for the active initiating terminal Remote terminal object;
Or
Judge that the second connection invitation code is connected whether invitation code meets default corresponding relation with described first, if it is, It is remote terminal object corresponding to the active initiating terminal to determine the target terminal;Otherwise, it determines the target terminal is not the master Remote terminal object corresponding to dynamic initiating terminal.
S206, when it is remote terminal object corresponding to the active initiating terminal to determine the target terminal, to this actively Initiating terminal and the target terminal are matched, to establish the active initiating terminal and the target terminal as remote terminal object Between communication connection.
Server is actively sent out after remote terminal object of the target terminal corresponding to active initiating terminal is determined, to this Play terminal and the target terminal is matched, to establish the active initiating terminal and as between the target terminal of remote terminal object Communication connection;, can and server is after target terminal is determined for the remote terminal object corresponding to active initiating terminal Not deal with.
It will be appreciated by persons skilled in the art that server is determining the remote terminal corresponding to active initiating terminal After object, active initiating terminal and remote terminal object are matched can be adopted with establishing the specific implementation of communication connection With prior art, therefore not to repeat here.Also, active initiating terminal and remote terminal object establish remotely setting after communicating to connect The inventive point due to not being related to the present invention is put, is not described herein.
In this programme, server carries the first logical of remote terminal object receiving transmitted by active initiating terminal , can be according to the first communication identifier corresponding to remote terminal object and actively to initiate after the first connection request that beacon is known The first connection invitation code determines remote terminal object determined by terminal, and then establishes active initiating terminal and remote terminal object Communication connection.It can be seen that by using this programme, after user only inputs and sends the communication identifier of remote terminal object Reliance server establishes the communication connection between active initiating terminal and remote terminal object, realizes user by simply grasping Work can establish the purpose of communication connection.
Further, in order to improve security, second connection request also carries corresponding to the target terminal Two communication identifiers;
Accordingly, whether matched according to the second connection invitation code and the first connection invitation code, determine the target terminal Remote terminal object corresponding to whether being the active initiating terminal, can include:
According to this second connection invitation code and this first connection invitation code whether match and first communication identifier and should Whether the second communication identifier matches, and determines whether the target terminal is remote terminal object corresponding to the active initiating terminal.
Specifically, according to this second connection invitation code and this first connection invitation code whether match and this second communication mark Know and whether first communication identifier matches, determine whether the target terminal is remote terminal pair corresponding to the active initiating terminal As that can include:
Judging the second connection invitation code, whether first to be connected invitation code identical with this, and judge second communication identifier and Whether first communication identifier is identical;When judged result is to be, determine that the target terminal is corresponding for the active initiating terminal Remote terminal object;Otherwise, it determines the target terminal is not remote terminal object corresponding to the active initiating terminal;
Or
Judge that the second connection invitation code first is connected whether invitation code meets to preset corresponding relation with this, and judge this Whether two communication identifiers and first communication identifier are identical;When judged result is to be, it is the active to determine the target terminal Remote terminal object corresponding to initiating terminal;Otherwise, it determines the target terminal is long-range whole not corresponding to the active initiating terminal Hold object.
The method provided corresponding to the above-mentioned angle from active initiating terminal, the embodiment of the present invention additionally provide one kind and built The device of vertical communication connection.
As shown in figure 3, a kind of device for establishing communication connection, applied to active initiating terminal;Described device can include:
Command reception module 310, the long-range connection sign on sent for receiving user;
Respond module 320 is instructed, for responding the long-range connection sign on, is shown long-range for instruction user input The interface of first communication identifier of terminal object;
Communication identifier receiving module 330, the first communication identifier is inputted for receiving user;
First connection request builds module 340, and the first connection request of first communication identifier is carried for building;
First connection request sending module 350, for sending first connection request to the server;
Matching module 360, under the control of the server, being matched with the remote terminal object, so as to The communication connection established between the active initiating terminal and the remote terminal object.
In this programme, after the long-range connection sign on that user sends is received, response remotely connects active initiating terminal Sign on is connect, shows the interface of the first communication identifier for instruction user input remote terminal object;Receive user's input First communication identifier;Structure carries the first connection request of the first communication identifier;The first connection request is sent to server;Taking It is engaged under the control of device, is matched with remote terminal object, it is logical between active initiating terminal and remote terminal object so as to establish Letter connection.It can be seen that by using this programme, user only inputs and can relied on after sending the communication identifier of remote terminal object Server establishes the communication connection between active initiating terminal and remote terminal object, realizes user by simple operations i.e. The purpose of communication connection can be established.
Corresponding to the above-mentioned method provided from the angle of server, the embodiment of the present invention additionally provides a kind of establish and communicated The device of connection.
As shown in figure 4, a kind of device for establishing communication connection, applied to server;Described device can include:
First connection request receiving module 410, for receiving the first connection request of active initiating terminal transmission, wherein, First connection request carries the first communication identifier of the remote terminal object corresponding to active initiating terminal;
First connection invitation code determining module 420, for determining that the first connection corresponding to the active initiating terminal is invited Please code;
Announcement information sending module 430, for based on first communication identifier, transmission to carry first connection and invited Please code announcement information, with enable receive the announcement information terminal be based on the announcement information send connection please Ask;
Second connection request receiving module 440, for receiving the second connection request of target terminal transmission, wherein, it is described Second connection request carries the second connection invitation code;
Analysis module 450, for whether being matched according to the described second connection invitation code and the first connection invitation code, really Whether the fixed target terminal is remote terminal object corresponding to the active initiating terminal;
Matching module 460, determine that the target terminal is remote terminal corresponding to the active initiating terminal for working as During object, the active initiating terminal and the target terminal are matched, using establish the active initiating terminal and as Communication connection between the target terminal of remote terminal object.
In this programme, server carries the first logical of remote terminal object receiving transmitted by active initiating terminal , can be according to the first communication identifier corresponding to remote terminal object and actively to initiate after the first connection request that beacon is known The first connection invitation code determines remote terminal object determined by terminal, and then establishes active initiating terminal and remote terminal object Communication connection.It can be seen that by using this programme, after user only inputs and sends the communication identifier of remote terminal object Reliance server establishes the communication connection between active initiating terminal and remote terminal object, realizes user by simply grasping Work can establish the purpose of communication connection.
Wherein, carrying the announcement information of the first connection invitation code can include:
Carry the URL information of the first connection invitation code.
Wherein, the analysis module 450, can include:
First analytic unit, it is whether identical that invitation code is connected for judging the second connection invitation code with described first, If it is, determine that the target terminal is remote terminal object corresponding to the active initiating terminal;Otherwise, it determines the target Terminal is not remote terminal object corresponding to the active initiating terminal;
Or
Second analytic unit, for judge it is described second connection invitation code with described first be connected invitation code whether meet it is pre- If corresponding relation, if it is, determining that the target terminal is remote terminal object corresponding to the active initiating terminal;Otherwise, It is not remote terminal object corresponding to the active initiating terminal to determine the target terminal.
Wherein, second connection request also carries the second communication identifier corresponding to the target terminal.
Wherein, the analysis module 450, can include:
Analyze submodule, for according to described second connection invitation code and it is described first connection invitation code whether match and Whether first communication identifier and second communication identifier match, and determine whether the target terminal is that the active is initiated Remote terminal object corresponding to terminal.
Specifically, the analysis submodule, can include:
3rd analytic unit, it is whether identical that invitation code is connected for judging the second connection invitation code with described first, And judge whether second communication identifier and first communication identifier are identical;When judged result is to be, it is determined that described Target terminal is remote terminal object corresponding to the active initiating terminal;Otherwise, it determines the target terminal is not the master Remote terminal object corresponding to dynamic initiating terminal;
Or
4th analytic unit, for judge it is described second connection invitation code with described first be connected invitation code whether meet it is pre- If corresponding relation, and judge whether second communication identifier and first communication identifier are identical;When judged result is to be When, it is remote terminal object corresponding to the active initiating terminal to determine the target terminal;Otherwise, it determines the target terminal It is not remote terminal object corresponding to the active initiating terminal.
For system or device embodiment, because it is substantially similar to embodiment of the method, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Other identical element also be present in process, method, article or equipment including the key element.
Can one of ordinary skill in the art will appreciate that realizing that all or part of step in above method embodiment is To instruct the hardware of correlation to complete by program, described program can be stored in computer read/write memory medium, The storage medium designated herein obtained, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention It is interior.

Claims (6)

  1. A kind of 1. method for establishing communication connection, it is characterised in that applied to server;Methods described includes:
    The first connection request that active initiating terminal is sent is received, wherein, first connection request, which carries, actively initiates eventually First communication identifier of the corresponding remote terminal object in end;
    Determine the first connection invitation code corresponding to the active initiating terminal;
    Based on first communication identifier, the announcement information for carrying the first connection invitation code is sent, to receive The terminal of the announcement information can be based on the announcement information and send connection request, wherein, different types of described first is logical The transmission form that beacon knows corresponding announcement information is different;
    The second connection request that target terminal is sent is received, wherein, second connection request carries the second connection invitation code, Second connection request also carries the second communication identifier corresponding to the target terminal;
    According to described second connection invitation code and it is described first connection invitation code whether match, determine the target terminal whether be Remote terminal object corresponding to the active initiating terminal, including:According to the described second connection invitation code and first connection Whether invitation code matches and whether first communication identifier and second communication identifier match, and determines the target terminal Whether it is remote terminal object corresponding to the active initiating terminal;
    When it is remote terminal object corresponding to the active initiating terminal to determine the target terminal, the active is initiated Terminal and the target terminal are matched, to establish the active initiating terminal and the target terminal as remote terminal object Between communication connection.
  2. 2. according to the method for claim 1, it is characterised in that carry the announcement information bag of the first connection invitation code Include:
    Carry the URL information of the first connection invitation code.
  3. 3. according to the method for claim 1, it is characterised in that described according to the described second connection invitation code and described first Whether connection invitation code matches and whether second communication identifier and first communication identifier match, and determines the target Whether terminal is remote terminal object corresponding to the active initiating terminal, including:
    Judge whether the second connection invitation code with described first is connected invitation code identical, and judge second communication identifier It is whether identical with first communication identifier;When judged result is to be, determine that the target terminal is initiated for the active Remote terminal object corresponding to terminal;Otherwise, it determines the target terminal is long-range whole not corresponding to the active initiating terminal Hold object;
    Or
    Judge that the second connection invitation code is connected whether invitation code meets default corresponding relation with described first, and described in judgement Whether the second communication identifier and first communication identifier are identical;When judged result is to be, determine that the target terminal is Remote terminal object corresponding to the active initiating terminal;Otherwise, it determines the target terminal is not the active initiating terminal Corresponding remote terminal object.
  4. 4. a kind of device for establishing communication connection, it is characterised in that applied to server;Described device includes:
    First connection request receiving module, for receiving the first connection request of active initiating terminal transmission, wherein, described first Connection request carries the first communication identifier of the remote terminal object corresponding to active initiating terminal;
    First connection invitation code determining module, for determining the first connection invitation code corresponding to the active initiating terminal;
    Announcement information sending module, for based on first communication identifier, sending and carrying the first connection invitation code Announcement information, connection request is sent to enable the terminal for receiving the announcement information to be based on the announcement information, wherein, The transmission form of announcement information corresponding to different types of first communication identifier is different;
    Second connection request receiving module, for receiving the second connection request of target terminal transmission, wherein, second connection Request carries the second connection invitation code, and second connection request also carries the second communication corresponding to the target terminal Mark;
    Analysis module, for whether being matched according to the described second connection invitation code and the first connection invitation code, it is determined that described Whether target terminal is remote terminal object corresponding to the active initiating terminal;
    Matching module, for when it is remote terminal object corresponding to the active initiating terminal to determine the target terminal, The active initiating terminal and the target terminal are matched, to establish the active initiating terminal and be used as remote terminal Communication connection between the target terminal of object;
    Wherein, the analysis module, including:
    Submodule is analyzed, for whether being matched and described according to the described second connection invitation code and the first connection invitation code Whether the first communication identifier and second communication identifier match, and determine whether the target terminal is the active initiating terminal Corresponding remote terminal object.
  5. 5. device according to claim 4, it is characterised in that carry the announcement information bag of the first connection invitation code Include:
    Carry the URL information of the first connection invitation code.
  6. 6. device according to claim 4, it is characterised in that the analysis submodule, including:
    3rd analytic unit, it is whether identical that invitation code is connected for judging the second connection invitation code with described first, and sentence Whether disconnected second communication identifier and first communication identifier are identical;When judged result is to be, the target is determined Terminal is remote terminal object corresponding to the active initiating terminal;Otherwise, it determines the target terminal is not sent out for the active Play remote terminal object corresponding to terminal;
    Or
    4th analytic unit, for judging that the second connection invitation code is connected whether invitation code meets default pair with described first It should be related to, and judge whether second communication identifier and first communication identifier are identical;When judged result is to be, really The fixed target terminal is remote terminal object corresponding to the active initiating terminal;Otherwise, it determines the target terminal is not Remote terminal object corresponding to the active initiating terminal.
CN201410290156.8A 2014-06-25 2014-06-25 Establish the method and device of communication connection Active CN104052751B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410290156.8A CN104052751B (en) 2014-06-25 2014-06-25 Establish the method and device of communication connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410290156.8A CN104052751B (en) 2014-06-25 2014-06-25 Establish the method and device of communication connection

Publications (2)

Publication Number Publication Date
CN104052751A CN104052751A (en) 2014-09-17
CN104052751B true CN104052751B (en) 2017-12-08

Family

ID=51505115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410290156.8A Active CN104052751B (en) 2014-06-25 2014-06-25 Establish the method and device of communication connection

Country Status (1)

Country Link
CN (1) CN104052751B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11496473B2 (en) 2014-10-17 2022-11-08 Advanced New Technologies Co., Ltd. Systems and methods for interaction among terminal devices and servers

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812229A (en) * 2014-12-30 2016-07-27 中国移动通信集团公司 Terminal communication method, system and related device
CN105791409B (en) * 2016-03-30 2020-12-18 北京小米移动软件有限公司 Remote connection establishing method and device
JP6350602B2 (en) 2016-06-23 2018-07-04 日本電気株式会社 Communication network determination apparatus, communication network determination method, and communication network determination program
WO2019061116A1 (en) * 2017-09-28 2019-04-04 深圳传音通讯有限公司 Terminal pairing method, server and terminal
CN107517278A (en) * 2017-10-11 2017-12-26 上海展扬通信技术有限公司 The long-range control method and tele-control system of a kind of intelligent terminal
CN108055193A (en) * 2017-12-11 2018-05-18 程桂平 Using activity as the communication means of medium
CN110022618A (en) * 2018-01-08 2019-07-16 佛山市顺德区美的电热电器制造有限公司 A kind of method that establishing connection and server, household electrical appliance, storage medium
CN111262816A (en) * 2018-11-30 2020-06-09 西安宇视信息科技有限公司 Method and device for accessing multiple monitoring platforms to central monitoring center
CN111262778B (en) * 2020-01-17 2021-10-26 北京字节跳动网络技术有限公司 Invitation link information processing method and device, electronic equipment and readable medium
CN111612502A (en) * 2020-04-11 2020-09-01 上海淇玥信息技术有限公司 Resource allocation method and device based on activity task and electronic equipment
CN114520823B (en) * 2020-11-03 2024-02-20 北京地平线机器人技术研发有限公司 Communication establishment method, device and system based on fatigue driving state

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413112A (en) * 2010-09-26 2012-04-11 深圳市闪联信息技术有限公司 Method, association server and system for realizing association of equipment
CN102868665A (en) * 2011-07-05 2013-01-09 华为软件技术有限公司 Method and device for data transmission
CN103347306A (en) * 2013-06-24 2013-10-09 腾讯科技(深圳)有限公司 Method, system and device for establishing correlation among multiple terminals

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413112A (en) * 2010-09-26 2012-04-11 深圳市闪联信息技术有限公司 Method, association server and system for realizing association of equipment
CN102868665A (en) * 2011-07-05 2013-01-09 华为软件技术有限公司 Method and device for data transmission
CN103347306A (en) * 2013-06-24 2013-10-09 腾讯科技(深圳)有限公司 Method, system and device for establishing correlation among multiple terminals

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11496473B2 (en) 2014-10-17 2022-11-08 Advanced New Technologies Co., Ltd. Systems and methods for interaction among terminal devices and servers

Also Published As

Publication number Publication date
CN104052751A (en) 2014-09-17

Similar Documents

Publication Publication Date Title
CN104052751B (en) Establish the method and device of communication connection
CN104636924B (en) Secure payment method, server and system
CN104144093A (en) Intelligent device control method, relevant device and system
CN103346897B (en) A kind of group's Adding Way and relevant device, system
CN104506594B (en) Data communications method and system for social networking application system
CN104683002A (en) Method and device for pairing Bluetooth equipment
CN104144108A (en) Information response method, device and system
CN104144113A (en) Social contact peripheral control method, social contact terminal, peripheral control device and social contact peripheral control system
CN112822161B (en) Method and equipment for realizing conference message synchronization
CN102932791A (en) Method for collaboratively processing information through WIFI wireless network between smart phone and computer
CN105827798A (en) Processing method of position information and electronic device
CN105515937A (en) Instant communication method, instant communication terminal, instant communication server and instant communication system
CN105227627B (en) A kind of playback equipment packet control process and user terminal
CN105594292A (en) Method for establishing network connection by means of WPS, and mobile Wi-Fi device
CN105471998A (en) Method and device for synchronizing application data in multiple terminals
CN105678143A (en) Methods and devices for setting and acquiring electronic business card
CN105072253A (en) Method of terminal data interaction, terminal
CN105025157B (en) A kind of private contact hidden method and user terminal
CN104951417A (en) Method for achieving USB combined device suitable for high-capacity USIM
CN105915709A (en) Communication connection establishing method and terminal
CN108063757A (en) A kind of account relating and the method and apparatus of information sharing
CN105188155B (en) A kind of method and terminal of network connection
CN103458043A (en) Method and system for information communication
CN104049552B (en) Terminal remote control method, apparatus and system
CN104808831B (en) Data sharing method, transmission device and reception 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
GR01 Patent grant
GR01 Patent grant