CN104052751A - Method and device for establishing communication connection - Google Patents

Method and device for establishing communication connection Download PDF

Info

Publication number
CN104052751A
CN104052751A CN201410290156.8A CN201410290156A CN104052751A CN 104052751 A CN104052751 A CN 104052751A CN 201410290156 A CN201410290156 A CN 201410290156A CN 104052751 A CN104052751 A CN 104052751A
Authority
CN
China
Prior art keywords
terminal
invitation code
connection
remote terminal
initiating terminal
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.)
Granted
Application number
CN201410290156.8A
Other languages
Chinese (zh)
Other versions
CN104052751B (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 method and device for establishing communication connection. The method applied to a server comprises the following steps that a first connection request which is sent by an initiative starting terminal and carries a first communication identifier of a remote terminal object corresponding to the initiative starting terminal is received; a first connection invitation code corresponding to the initiative starting terminal is determined; on the basis of the first communication identifier, a notification message carrying the first connection invitation code is sent; a second connection request which is sent by a target terminal and carries a second connection invitation code is received; according to whether the second connection invitation code is matched with the first connection invitation code or not, whether the target terminal is the remote terminal object corresponding to the initiative starting terminal or not is determined; when it is determined that the target terminal is the remote terminal object, the initiative starting terminal is matched with the target terminal, so that communication connection between the initiative starting terminal and the target terminal serving as the remote terminal object is established. According to the method and device for establishing communication connection, users can establish communication connection through simple operation.

Description

The method establishing a communications link and device
Technical field
The present invention relates to the communications field, particularly a kind of method establishing a communications link and device.
Background technology
Along with the development gradually of the terminal such as intelligent television and Set Top Box, its function is more and more, and the operation of thing followed function setting is more and more, for example: wireless network is carried out to password setting, paying use function setting etc.
Because study and the use difficulty of function setting operation are larger, more old user often can feel difficulty, when especially children work in other places; once more old user runs into the problem that can not operate; children cannot be on-the-spot on behalf of solution, and therefore, the long-range function that arranges is applied and given birth to.And the long-range prerequisite that function is set is, establishes a communications link at two terminal rooms, and then carry out long-range setting after communication connection is successfully established foundation.
Therefore a kind of method that, provides user can establish a communications link by simple operations is a problem demanding prompt solution.
Summary of the invention
Based on the problems referred to above, the embodiment of the invention discloses a kind of method establishing a communications link and device, can establish a communications link by simple operations so that obtain user.Technical scheme is as follows:
First aspect, the embodiment of the present invention provides a kind of method establishing a communications link, and is applied to server; Described method comprises:
Receive the first connection request that initiatively initiating terminal sends, wherein, described the first connection request carries initiatively the first communication identifier of the corresponding remote terminal object of initiating terminal;
Determine that described active initiating terminal corresponding first connects invitation code;
Based on described the first communication identifier, send the announcement information that carries described the first connection invitation code, to make the terminal that receives described announcement information to send connection request based on described announcement information;
The second connection request that receiving target terminal sends, wherein, described the second connection request carries the second connection invitation code;
Be connected invitation code according to described the second connection invitation code and described first and whether mate, determine whether described target terminal is the remote terminal object that described active initiating terminal is corresponding;
In the time determining described target terminal and be remote terminal object corresponding to described active initiating terminal, described active initiating terminal and described target terminal are matched, to set up described active initiating terminal and as the communication connection between the target terminal of remote terminal object.
Optionally, carrying the described first announcement information that connects invitation code comprises:
Carry the URL information of described the first connection invitation code.
Optionally, whether described the second connection invitation code and described first of described foundation is connected invitation code and mates, and determines that whether described target terminal is the remote terminal object that described active initiating terminal is corresponding, comprising:
Whether identically judge that described the second connection invitation code and described first connects invitation code, if so, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal;
Or,
Judge that described the second connection invitation code is connected invitation code and whether meets default corresponding relation with described first, if so, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal.
Optionally, described the second connection request also carries the corresponding second communication mark of described target terminal.
Optionally, whether described the second connection invitation code and described first of described foundation is connected invitation code and mates, and determines that whether described target terminal is the remote terminal object that described active initiating terminal is corresponding, comprising:
Connect that invitation code is connected with described first whether invitation code mates and described the first communication identifier and described second communication identify and whether mate according to described second, determine whether described target terminal is the remote terminal object that described active initiating terminal is corresponding.
Optionally, described foundation described second connects invitation code and is connected with described first whether invitation code mates and described second communication identifies and whether described the first communication identifier mates, determine that whether described target terminal is the remote terminal object that described active initiating terminal is corresponding, comprising:
Whether identically judge that described the second connection invitation code and described first connects invitation code, and judge that whether described second communication mark is identical with described the first communication identifier; When judged result is while being, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal;
Or,
Judge that described the second connection invitation code is connected invitation code and whether meets default corresponding relation with described first, and judge that whether described second communication mark is identical with described the first communication identifier; When judged result is while being, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal.
Second aspect, the embodiment of the present invention provides a kind of method establishing a communications link, and is applied to initiatively initiating terminal; Described method comprises:
Receive the long-range connection sign on that user sends;
Respond described long-range connection sign on, show the interface that is used to indicate user and inputs the first communication identifier of remote terminal object;
Receive user and input the first communication identifier;
Structure carries the first connection request of described the first communication identifier;
Send described the first connection request to server;
Under the control of described server, match with described remote terminal object, thereby set up the communication connection between described active initiating terminal and described remote terminal object.
The third aspect, the embodiment of the present invention provides a kind of device establishing a communications link, and is applied to server; Described device comprises:
The first connection request receiver module, for receiving the first connection request that initiatively initiating terminal sends, wherein, described the first connection request carries initiatively the first communication identifier of the corresponding remote terminal object of initiating terminal;
First connects invitation code determination module, for determining that described active initiating terminal corresponding first connects invitation code;
Announcement information sending module, for based on described the first communication identifier, sends the announcement information that carries described the first connection invitation code, to make the terminal that receives described announcement information to send connection request based on described announcement information;
The second connection request receiver module, the second connection request sending for receiving target terminal, wherein, described the second connection request carries the second connection invitation code;
Whether analysis module, mate for being connected invitation code according to described the second connection invitation code and described first, determines whether described target terminal is the remote terminal object that described active initiating terminal is corresponding;
Matching module, for in the time determining described target terminal and be remote terminal object corresponding to described active initiating terminal, described active initiating terminal and described target terminal are matched, to set up described active initiating terminal and as the communication connection between the target terminal of remote terminal object.
Optionally, carrying the described first announcement information that connects invitation code comprises:
Carry the URL information of described the first connection invitation code.
Optionally, described analysis module, comprising:
The first analytic unit, whether identical for judging that described the second connection invitation code and described first connects invitation code, if so, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal;
Or,
The second analytic unit, for judging that described the second connection invitation code is connected invitation code and whether meets default corresponding relation with described first, if so, determines that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal.
Optionally, described the second connection request also carries the corresponding second communication mark of described target terminal.
Optionally, described analysis module, comprising:
Analyze submodule, for connecting that invitation code is connected with described first whether invitation code mates and described the first communication identifier and described second communication identify and whether mate according to described second, determine whether described target terminal is the remote terminal object that described active initiating terminal is corresponding.
Optionally, described analysis submodule, comprising:
The 3rd analytic unit, whether identical for judging that described the second connection invitation code and described first connects invitation code, and judge that whether described second communication mark is identical with described the first communication identifier; When judged result is while being, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal;
Or,
The 4th analytic unit, for judging that described the second connection invitation code is connected invitation code and whether meets default corresponding relation with described first, and judges that whether described second communication mark is identical with described the first communication identifier; When judged result is while being, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal.
Fourth aspect, the embodiment of the present invention provides a kind of device establishing a communications link, and is applied to initiatively initiating terminal; Described device comprises:
Command reception module, the long-range connection sign on of sending for receiving user;
Instruction respond module, for responding described long-range connection sign on, shows the interface that is used to indicate user and inputs the first communication identifier of remote terminal object;
Communication identifier receiver module, inputs the first communication identifier for receiving user;
The first connection request builds module, for building the first connection request that carries described the first communication identifier;
The first connection request sending module, for sending described the first connection request to described server;
Matching module, under the control of described server, matches with described remote terminal object, thereby sets up the communication connection between described active initiating terminal and described remote terminal object.
In this programme, initiatively corresponding first communication identifier of remote terminal object of user's input is sent to server by initiating terminal, and server can be determined remote terminal object according to the first communication identifier of remote terminal object and for active initiating terminal determined first connects invitation code, and then the communication connection of setting up active initiating terminal and remote terminal object.Visible, by utilizing this programme, user only inputs and sends after the communication identifier of remote terminal object just responsible server and sets up the initiatively communication connection between initiating terminal and remote terminal object, has realized the object that user can establish a communications link by simple operations.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The first flow chart of a kind of method establishing a communications link that Fig. 1 provides for the embodiment of the present invention;
The second flow chart of a kind of method establishing a communications link that Fig. 2 provides for the embodiment of the present invention;
The first structural representation of a kind of device establishing a communications link that Fig. 3 provides for the embodiment of the present invention;
The second structural representation of a kind of device establishing a communications link that Fig. 4 provides for the embodiment of the present invention.
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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
For user can be established a communications link by simple operations, thereby realize follow-up long-range setting, the embodiment of the present invention provides a kind of method establishing a communications link and device.
First a kind of method the establishing a communications link embodiment of the present invention being provided is below introduced.
For the sake of clarity, below first from the angle of active initiating terminal, a kind of method establishing a communications link that the embodiment of the present invention is provided is introduced.
It should be noted that, in actual applications, the active initiating terminal described in the present embodiment can: intelligent television, panel computer, notebook computer or desktop computer etc.And follow-up remote terminal object can be: smart mobile phone, notebook computer, desktop computer etc.
And, " first ", " second " in " second connects invitation code " in given " first connect invitation code " of subsequent content, " second " in " first " and " the second communication mark " in " the first communication identifier ", only from playing nominally differentiation effect, should not have any limiting meaning.
As shown in Figure 1, a kind of method establishing a communications link, can comprise:
S101, receives the long-range connection sign on that user sends;
Wherein, thereby need to establish a communications link while realizing long-range setting with remote terminal object as the user who holds initiating terminal initiatively, can send long-range connection sign on to active initiating terminal by specific operation; And initiatively initiating terminal can receive long-range connection sign on, carry out the step of the long-range connection sign on of follow-up response.
Wherein, so-called specific operation can be: the button that long-range connection is initiated in the instruction on interface that arranges of clicking active initiating terminal; Or the voice of long-range connection etc. are initiated in input instruction, this is all rational.
S102, responds this long-range connection sign on, shows the interface that is used to indicate user and inputs the first communication identifier of remote terminal object;
Receiving after this long-range connection sign on, this active initiating terminal can respond this long-range connection sign on, shows the interface that is used to indicate user and inputs the first communication identifier of remote terminal object.
Wherein, be used to indicate the concrete display form that user inputs the interface of the first communication identifier of remote terminal object and can adopt existing display form, therefore not to repeat here.
S103, receives user and inputs the first communication identifier;
Wherein, the first communication identifier can be: phone number, QQ number or micro-signal code, be not limited to this certainly.And, in actual applications, can show to user the kind of the first communication identifier that allows input, and user can select according to actual conditions the kind of the first communication identifier, then inputs this first communication identifier.
S104, builds the first connection request that carries this first communication identifier;
S105, sends this first connection request to server;
Be used to indicate behind the interface of the first communication identifier that user inputs remote terminal object the first communication identifier that user can be based on this interface input remote terminal object showing to user; And initiatively initiating terminal can receive the first communication identifier that user inputs, structure carries the first connection request of this first communication identifier, and send this first connection request to server, so that server is being received after this first connection request, determine that initiatively initiating terminal corresponding first connects invitation code, based on the first communication identifier, send the announcement information that carries the first connection invitation code, to make the terminal that receives announcement information to send connection request based on announcement information; And then receiving after the second connection request of target terminal transmission, be connected invitation code based on the connection of second in the second connection request invitation code with first and whether mate, determine whether target terminal is the corresponding remote terminal object of active initiating terminal.Wherein, first connects invitation code can be character string, and concrete, the character style in character string can comprise: at least one form in numeral, letter or word.
S106, under the control of this server, matches with this remote terminal object, thereby sets up the communication connection between this active initiating terminal and this remote terminal object.
Wherein, server is being determined after remote terminal object, and initiatively initiating terminal can, under the control of this server, match with this remote terminal object, thereby sets up the communication connection between this active initiating terminal and this remote terminal object.
It will be appreciated by persons skilled in the art that server determining after remote terminal object, the specific implementation that active initiating terminal and remote terminal object are matched to establish a communications link can adopt prior art, and therefore not to repeat here.And the long-range setting after active initiating terminal and remote terminal object establish a communications link, owing to not relating to inventive point of the present invention, is not described at this.
In this programme, initiatively initiating terminal, receiving after the long-range connection sign on that user sends, responds long-range connection sign on, shows the interface that is used to indicate user and inputs the first communication identifier of remote terminal object; Receive user and input the first communication identifier; Structure carries the first connection request of the first communication identifier; Send the first connection request to server; Under the control of server, match with remote terminal object, thereby set up the communication connection between active initiating terminal and remote terminal object.Visible, by utilizing this programme, user only inputs and sends after the communication identifier of remote terminal object just responsible server and sets up the initiatively communication connection between initiating terminal and remote terminal object, has realized the object that user can establish a communications link by simple operations.
From the angle of server, a kind of method establishing a communications link that the embodiment of the present invention is provided is introduced below.
The method establishing a communications link as shown in Figure 2, can comprise:
S201, receives the first connection request that initiatively initiating terminal sends;
Wherein, when active initiating terminal sends to server after the first connection request, this server can receive the first connection request that initiatively initiating terminal sends, and then carries out follow-up processing.Wherein, this first connection request carries initiatively the first communication identifier of the corresponding remote terminal object of initiating terminal.Wherein, the first communication identifier can be: phone number, QQ number or micro-signal code, be not limited to this certainly.
S202, determines that this active initiating terminal corresponding first connects invitation code;
Receiving after the first connection request that initiatively initiating terminal sends, can determine that this active initiating terminal corresponding first connects invitation code.Wherein, the first connection invitation code can be character string, and the character in character string can comprise: at least one form in numeral, letter or word.
And, ensureing that initiating terminal is initiatively connected with first under the prerequisite that invitation code has unique correspondence, can be according to preset rules, determine corresponding the first connection invitation code of active initiating terminal.For example, in the first connection request, can carry initiatively unique EIC equipment identification code of initiating terminal, connect invitation code thereby the EIC equipment identification code of active initiating terminal is defined as to initiatively initiating terminal corresponding first; Or, according to the time of the first received connection request, determine that initiatively initiating terminal corresponding first connects invitation code; Or, according to the total quantity of current received connection request, determine that initiatively initiating terminal corresponding first connects invitation code.
It is emphasized that the above-mentioned concrete mode about determining corresponding the first connection invitation code of active initiating terminal, as just example, should not form the restriction to the present embodiment.
S203, based on this first communication identifier, sends the announcement information that carries this first connection invitation code, to make the terminal that receives this announcement information to send connection request based on this announcement information;
Wherein, determining after corresponding the first connection invitation code of active initiating terminal, can be based on this first communication identifier, send the announcement information that carries this first connection invitation code; And the terminal that receives this announcement information can send connection request based on this announcement information, to realize and the pairing of active initiating terminal.
Concrete, the announcement information that carries the first connection invitation code can comprise: the URL information that carries the first connection invitation code.Wherein, user can click this URL information and can directly send to server the connection request that carries this first connection invitation code.Certainly, this announcement information that carries the first connection invitation code can be for not containing the text message of URL yet, now, user can login corresponding web station interface at the terminal or the other-end that receive this announcement information, and then input is connected the connection invitation code that invitation code is mated with first in web interface.Be understandable that, with the connection invitation code of the first connection invitation code coupling can be: be connected the connection invitation code that invitation code is identical with first, or, be connected invitation code with first and meet the connection invitation code of presetting corresponding relation, be certainly not limited to this.
It is emphasized that the transmission form difference of the corresponding announcement information of different types of the first communication identifier.For example, in the time that the first communication identifier belongs to phone number, can send based on this phone number the announcement information that carries this first connection invitation code with note form; And in the time that the first communication identifier belongs to QQ number, can send based on QQ number the announcement information that carries this first connection invitation code with QQ message form; And in the time that the first communication identifier belongs to micro-signal code, can send based on micro-signal code the announcement information that carries the first connection invitation code with micro-letter information form.
S204, the second connection request that receiving target terminal sends, wherein, this second connection request carries the second connection invitation code;
Whether S205, second connect invitation code and first be connected invitation code and mate with this according to this, determines whether this target terminal is the remote terminal object that this active initiating terminal is corresponding;
Based on this first communication identifier, transmission carries after the announcement information of this first connection invitation code, server can receive the second connection request that carries the second connection invitation code that target terminal sends, and second connect invitation code and first be connected invitation code and whether mate with this according to this, determine whether this target terminal is the remote terminal object that this active initiating terminal is corresponding, and then carry out different operations according to judged result.
Concrete, second connect invitation code and first be connected invitation code and whether mate with this according to this, determine that whether this target terminal is the remote terminal object that this active initiating terminal is corresponding, can comprise:
Judge that whether this second connection invitation code is identical with this first connection invitation code, if so, determines that this target terminal is the remote terminal object that this active initiating terminal is corresponding; Otherwise, determine that this target terminal is not remote terminal object corresponding to this active initiating terminal;
Or,
Judge that this second connection invitation code is connected invitation code and whether meets default corresponding relation with described first, if so, determine that this target terminal is the remote terminal object that this active initiating terminal is corresponding; Otherwise, determine that this target terminal is not remote terminal object corresponding to this active initiating terminal.
S206, in the time determining this target terminal and be remote terminal object corresponding to this active initiating terminal, matches to this active initiating terminal and this target terminal, to set up this active initiating terminal and as the communication connection between the target terminal of remote terminal object.
Server, determining target terminal for after the corresponding remote terminal object of initiating terminal initiatively, matches to this active initiating terminal and this target terminal, to set up this active initiating terminal and as the communication connection between the target terminal of remote terminal object; And server is being determined target terminal for after the corresponding remote terminal object of initiating terminal initiatively, can not deal with.
It will be understood by those skilled in the art that, server is being determined after the corresponding remote terminal object of active initiating terminal, the specific implementation that active initiating terminal and remote terminal object are matched to establish a communications link can adopt prior art, and therefore not to repeat here.And the long-range setting after active initiating terminal and remote terminal object establish a communications link, owing to not relating to inventive point of the present invention, is not described at this.
In this programme, server is receiving after the first connection request of the first communication identifier that carries remote terminal object that initiatively initiating terminal sends, can determine remote terminal object according to corresponding the first communication identifier of remote terminal object and for active initiating terminal determined first connects invitation code, and then set up the communication connection of active initiating terminal and remote terminal object.Visible, by utilizing this programme, user only inputs and sends after the communication identifier of remote terminal object just responsible server and sets up the initiatively communication connection between initiating terminal and remote terminal object, has realized the object that user can establish a communications link by simple operations.
Further, in order to improve fail safe, this second connection request also carries the corresponding second communication mark of this target terminal;
Accordingly, second connect invitation code and first be connected invitation code and whether mate with this according to this, determine that whether this target terminal is the remote terminal object that this active initiating terminal is corresponding, can comprise:
Second connect invitation code and this first and is connected whether invitation code mates and this first communication identifier identifies and whether mates with this second communication according to this, determine whether this target terminal is the remote terminal object that this active initiating terminal is corresponding.
Concrete, second connect invitation code and this first and be connected whether invitation code mates and this second communication identifies and whether this first communication identifier mates according to this, determine that whether this target terminal is the remote terminal object that this active initiating terminal is corresponding, can comprise:
Judge that whether this second connection invitation code is identical with this first connection invitation code, and judge that whether this second communication mark is identical with this first communication identifier; When judged result is while being, determine that this target terminal is the remote terminal object that this active initiating terminal is corresponding; Otherwise, determine that this target terminal is not remote terminal object corresponding to this active initiating terminal;
Or,
Judge that this second connects invitation code and first is connected invitation code and whether meets and preset corresponding relation with this, and whether judge that this second communication identifies identical with this first communication identifier; When judged result is while being, determine that this target terminal is the remote terminal object that this active initiating terminal is corresponding; Otherwise, determine that this target terminal is not remote terminal object corresponding to this active initiating terminal.
Corresponding to the above-mentioned method providing from the angle of active initiating terminal, the embodiment of the present invention also provides a kind of device establishing a communications link.
As shown in Figure 3, a kind of device establishing a communications link, is applied to initiatively initiating terminal; Described device can comprise:
Command reception module 310, the long-range connection sign on of sending for receiving user;
Instruction respond module 320, for responding described long-range connection sign on, shows the interface that is used to indicate user and inputs the first communication identifier of remote terminal object;
Communication identifier receiver module 330, inputs the first communication identifier for receiving user;
The first connection request builds module 340, for building the first connection request that carries described the first communication identifier;
The first connection request sending module 350, for sending described the first connection request to described server;
Matching module 360, under the control of described server, matches with described remote terminal object, thereby sets up the communication connection between described active initiating terminal and described remote terminal object.
In this programme, initiatively initiating terminal, receiving after the long-range connection sign on that user sends, responds long-range connection sign on, shows the interface that is used to indicate user and inputs the first communication identifier of remote terminal object; Receive user and input the first communication identifier; Structure carries the first connection request of the first communication identifier; Send the first connection request to server; Under the control of server, match with remote terminal object, thereby set up the communication connection between active initiating terminal and remote terminal object.Visible, by utilizing this programme, user only inputs and sends after the communication identifier of remote terminal object just responsible server and sets up the initiatively communication connection between initiating terminal and remote terminal object, has realized the object that user can establish a communications link by simple operations.
Corresponding to the above-mentioned method providing from the angle of server, the embodiment of the present invention also provides a kind of device establishing a communications link.
As shown in Figure 4, a kind of device establishing a communications link, is applied to server; Described device can comprise:
The first connection request receiver module 410, for receiving the first connection request that initiatively initiating terminal sends, wherein, described the first connection request carries initiatively the first communication identifier of the corresponding remote terminal object of initiating terminal;
First connects invitation code determination module 420, for determining that described active initiating terminal corresponding first connects invitation code;
Announcement information sending module 430, for based on described the first communication identifier, sends the announcement information that carries described the first connection invitation code, to make the terminal that receives described announcement information to send connection request based on described announcement information;
The second connection request receiver module 440, the second connection request sending for receiving target terminal, wherein, described the second connection request carries the second connection invitation code;
Whether analysis module 450, mate for being connected invitation code according to described the second connection invitation code and described first, determines whether described target terminal is the remote terminal object that described active initiating terminal is corresponding;
Matching module 460, for in the time determining described target terminal and be remote terminal object corresponding to described active initiating terminal, described active initiating terminal and described target terminal are matched, to set up described active initiating terminal and as the communication connection between the target terminal of remote terminal object.
In this programme, server is receiving after the first connection request of the first communication identifier that carries remote terminal object that initiatively initiating terminal sends, can determine remote terminal object according to corresponding the first communication identifier of remote terminal object and for active initiating terminal determined first connects invitation code, and then set up the communication connection of active initiating terminal and remote terminal object.Visible, by utilizing this programme, user only inputs and sends after the communication identifier of remote terminal object just responsible server and sets up the initiatively communication connection between initiating terminal and remote terminal object, has realized the object that user can establish a communications link by simple operations.
Wherein, carrying the described first announcement information that connects invitation code can comprise:
Carry the URL information of described the first connection invitation code.
Wherein, described analysis module 450, can comprise:
The first analytic unit, whether identical for judging that described the second connection invitation code and described first connects invitation code, if so, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal;
Or,
The second analytic unit, for judging that described the second connection invitation code is connected invitation code and whether meets default corresponding relation with described first, if so, determines that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal.
Wherein, described the second connection request also carries the corresponding second communication mark of described target terminal.
Wherein, described analysis module 450, can comprise:
Analyze submodule, for connecting that invitation code is connected with described first whether invitation code mates and described the first communication identifier and described second communication identify and whether mate according to described second, determine whether described target terminal is the remote terminal object that described active initiating terminal is corresponding.
Concrete, described analysis submodule, can comprise:
The 3rd analytic unit, whether identical for judging that described the second connection invitation code and described first connects invitation code, and judge that whether described second communication mark is identical with described the first communication identifier; When judged result is while being, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal;
Or,
The 4th analytic unit, for judging that described the second connection invitation code is connected invitation code and whether meets default corresponding relation with described first, and judges that whether described second communication mark is identical with described the first communication identifier; When judged result is while being, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal.
For system or device embodiment, because it is substantially similar in appearance to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
It should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method execution mode is can carry out the hardware that instruction is relevant by program to complete, described program can be stored in computer read/write memory medium, here the alleged storage medium obtaining, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., be all included in protection scope of the present invention.

Claims (14)

1. the method establishing a communications link, is characterized in that, is applied to server; Described method comprises:
Receive the first connection request that initiatively initiating terminal sends, wherein, described the first connection request carries initiatively the first communication identifier of the corresponding remote terminal object of initiating terminal;
Determine that described active initiating terminal corresponding first connects invitation code;
Based on described the first communication identifier, send the announcement information that carries described the first connection invitation code, to make the terminal that receives described announcement information to send connection request based on described announcement information;
The second connection request that receiving target terminal sends, wherein, described the second connection request carries the second connection invitation code;
Be connected invitation code according to described the second connection invitation code and described first and whether mate, determine whether described target terminal is the remote terminal object that described active initiating terminal is corresponding;
In the time determining described target terminal and be remote terminal object corresponding to described active initiating terminal, described active initiating terminal and described target terminal are matched, to set up described active initiating terminal and as the communication connection between the target terminal of remote terminal object.
2. method according to claim 1, is characterized in that, carries the described first announcement information that connects invitation code and comprises:
Carry the URL information of described the first connection invitation code.
3. method according to claim 1 and 2, is characterized in that, whether described the second connection invitation code and described first of described foundation is connected invitation code and mates, and determines that whether described target terminal is the remote terminal object that described active initiating terminal is corresponding, comprising:
Whether identically judge that described the second connection invitation code and described first connects invitation code, if so, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal;
Or,
Judge that described the second connection invitation code is connected invitation code and whether meets default corresponding relation with described first, if so, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal.
4. method according to claim 1, is characterized in that, described the second connection request also carries the corresponding second communication mark of described target terminal.
5. method according to claim 4, is characterized in that, whether described the second connection invitation code and described first of described foundation is connected invitation code and mates, and determines that whether described target terminal is the remote terminal object that described active initiating terminal is corresponding, comprising:
Connect that invitation code is connected with described first whether invitation code mates and described the first communication identifier and described second communication identify and whether mate according to described second, determine whether described target terminal is the remote terminal object that described active initiating terminal is corresponding.
6. method according to claim 5, it is characterized in that, described foundation described second connects invitation code and is connected with described first whether invitation code mates and described second communication identifies and whether described the first communication identifier mates, determine that whether described target terminal is the remote terminal object that described active initiating terminal is corresponding, comprising:
Whether identically judge that described the second connection invitation code and described first connects invitation code, and judge that whether described second communication mark is identical with described the first communication identifier; When judged result is while being, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal;
Or,
Judge that described the second connection invitation code is connected invitation code and whether meets default corresponding relation with described first, and judge that whether described second communication mark is identical with described the first communication identifier; When judged result is while being, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal.
7. the method establishing a communications link, is characterized in that, is applied to initiatively initiating terminal; Described method comprises:
Receive the long-range connection sign on that user sends;
Respond described long-range connection sign on, show the interface that is used to indicate user and inputs the first communication identifier of remote terminal object;
Receive user and input the first communication identifier;
Structure carries the first connection request of described the first communication identifier;
Send described the first connection request to server;
Under the control of described server, match with described remote terminal object, thereby set up the communication connection between described active initiating terminal and described remote terminal object.
8. the device establishing a communications link, is characterized in that, is applied to server; Described device comprises:
The first connection request receiver module, for receiving the first connection request that initiatively initiating terminal sends, wherein, described the first connection request carries initiatively the first communication identifier of the corresponding remote terminal object of initiating terminal;
First connects invitation code determination module, for determining that described active initiating terminal corresponding first connects invitation code;
Announcement information sending module, for based on described the first communication identifier, sends the announcement information that carries described the first connection invitation code, to make the terminal that receives described announcement information to send connection request based on described announcement information;
The second connection request receiver module, the second connection request sending for receiving target terminal, wherein, described the second connection request carries the second connection invitation code;
Whether analysis module, mate for being connected invitation code according to described the second connection invitation code and described first, determines whether described target terminal is the remote terminal object that described active initiating terminal is corresponding;
Matching module, for in the time determining described target terminal and be remote terminal object corresponding to described active initiating terminal, described active initiating terminal and described target terminal are matched, to set up described active initiating terminal and as the communication connection between the target terminal of remote terminal object.
9. device according to claim 8, is characterized in that, carries the described first announcement information that connects invitation code and comprises:
Carry the URL information of described the first connection invitation code.
10. device according to claim 8 or claim 9, is characterized in that, described analysis module, comprising:
The first analytic unit, whether identical for judging that described the second connection invitation code and described first connects invitation code, if so, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal;
Or,
The second analytic unit, for judging that described the second connection invitation code is connected invitation code and whether meets default corresponding relation with described first, if so, determines that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal.
11. devices according to claim 8, is characterized in that, described the second connection request also carries the corresponding second communication mark of described target terminal.
12. devices according to claim 11, is characterized in that, described analysis module, comprising:
Analyze submodule, for connecting that invitation code is connected with described first whether invitation code mates and described the first communication identifier and described second communication identify and whether mate according to described second, determine whether described target terminal is the remote terminal object that described active initiating terminal is corresponding.
13. devices according to claim 12, is characterized in that, described analysis submodule, comprising:
The 3rd analytic unit, whether identical for judging that described the second connection invitation code and described first connects invitation code, and judge that whether described second communication mark is identical with described the first communication identifier; When judged result is while being, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal;
Or,
The 4th analytic unit, for judging that described the second connection invitation code is connected invitation code and whether meets default corresponding relation with described first, and judges that whether described second communication mark is identical with described the first communication identifier; When judged result is while being, determine that described target terminal is the remote terminal object that described active initiating terminal is corresponding; Otherwise, determine that described target terminal is not remote terminal object corresponding to described active initiating terminal.
14. 1 kinds of devices that establish a communications link, is characterized in that, are applied to initiatively initiating terminal; Described device comprises:
Command reception module, the long-range connection sign on of sending for receiving user;
Instruction respond module, for responding described long-range connection sign on, shows the interface that is used to indicate user and inputs the first communication identifier of remote terminal object;
Communication identifier receiver module, inputs the first communication identifier for receiving user;
The first connection request builds module, for building the first connection request that carries described the first communication identifier;
The first connection request sending module, for sending described the first connection request to described server;
Matching module, under the control of described server, matches with described remote terminal object, thereby sets up the communication connection between described active initiating terminal and described remote terminal object.
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 true CN104052751A (en) 2014-09-17
CN104052751B 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 (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577624A (en) * 2014-10-17 2016-05-11 阿里巴巴集团控股有限公司 Client interaction method, client and server
CN105791409A (en) * 2016-03-30 2016-07-20 北京小米移动软件有限公司 Remote connection establishment method and device
CN105812229A (en) * 2014-12-30 2016-07-27 中国移动通信集团公司 Terminal communication method, system and related device
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
CN109417506A (en) * 2016-06-23 2019-03-01 日本电气株式会社 Communication network decision maker, communication network determination method and record have the recording medium of communication network decision procedure
WO2019061116A1 (en) * 2017-09-28 2019-04-04 深圳传音通讯有限公司 Terminal pairing method, server and terminal
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
CN111612502A (en) * 2020-04-11 2020-09-01 上海淇玥信息技术有限公司 Resource allocation method and device based on activity task and electronic equipment
WO2021143317A1 (en) * 2020-01-17 2021-07-22 北京字节跳动网络技术有限公司 Invitation link information processing method and apparatus, electronic device and readable medium
CN114520823A (en) * 2020-11-03 2022-05-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 (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10542000B2 (en) 2014-10-17 2020-01-21 Alibaba Group Holding Limited Systems and methods for interaction among terminal devices and servers
US11012440B2 (en) 2014-10-17 2021-05-18 Advanced New Technologies Co., Ltd. Systems and methods for interaction among terminal devices and servers
US11665160B2 (en) 2014-10-17 2023-05-30 Advanced New Technologies Co., Ltd. Systems and methods for interaction among terminal devices and servers
CN105577624A (en) * 2014-10-17 2016-05-11 阿里巴巴集团控股有限公司 Client interaction method, client and server
CN105577624B (en) * 2014-10-17 2019-09-10 阿里巴巴集团控股有限公司 Client exchange method and client and server
CN105812229A (en) * 2014-12-30 2016-07-27 中国移动通信集团公司 Terminal communication method, system and related device
CN105791409A (en) * 2016-03-30 2016-07-20 北京小米移动软件有限公司 Remote connection establishment method and device
US10862759B2 (en) 2016-06-23 2020-12-08 Nec Corporation Communication network determination apparatus, communication network determination method, and recording medium having communication network determination program recorded therein
CN109417506A (en) * 2016-06-23 2019-03-01 日本电气株式会社 Communication network decision maker, communication network determination method and record have the recording medium of communication network decision procedure
WO2019061116A1 (en) * 2017-09-28 2019-04-04 深圳传音通讯有限公司 Terminal pairing method, server and terminal
CN111373709A (en) * 2017-09-28 2020-07-03 深圳传音通讯有限公司 Terminal pairing method, server and terminal
CN111373709B (en) * 2017-09-28 2023-05-23 深圳传音通讯有限公司 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
WO2021143317A1 (en) * 2020-01-17 2021-07-22 北京字节跳动网络技术有限公司 Invitation link information processing method and apparatus, electronic device and readable medium
CN111612502A (en) * 2020-04-11 2020-09-01 上海淇玥信息技术有限公司 Resource allocation method and device based on activity task and electronic equipment
CN114520823A (en) * 2020-11-03 2022-05-20 北京地平线机器人技术研发有限公司 Communication establishment method, device and system based on fatigue driving state
CN114520823B (en) * 2020-11-03 2024-02-20 北京地平线机器人技术研发有限公司 Communication establishment method, device and system based on fatigue driving state

Also Published As

Publication number Publication date
CN104052751B (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN104052751A (en) Method and device for establishing communication connection
US11417331B2 (en) Method and device for controlling terminal, and computer readable storage medium
CN104144420B (en) A kind of radio switch-in method and relevant device, system
CN104951072A (en) Application control method and terminal equipment
CN104735607A (en) Data transmission method, mobile terminal and system
CN105554588B (en) Closed caption-supporting content receiving apparatus and display apparatus
CN103475577A (en) Method, device and network equipment for obtaining characteristic information
CN102821150A (en) Cloud server and application managing method based on same
CN111933134A (en) Man-machine interaction method and device, electronic equipment and storage medium
CN104021082A (en) Remote debugging method and device for browser
CN105430317A (en) Video background setting method and terminal equipment
CN103780695A (en) Data sharing system and method
CN110968367A (en) E-commerce commodity field configuration method, device, server and storage medium
CN104331407A (en) Multimedia file information recommending method and multimedia file information recommending device
CN104618818A (en) Television front page setting method and device
CN104468616A (en) Picture verification code generation method and client side
CN112910741A (en) Interface testing method and device, computer equipment and storage medium
KR102616289B1 (en) Terminal, POS terminal, beacon management server, beacon signal transmitter, troupe management server for confirming troupe using beacon, system comprising the same, control method thereof and computer readable medium having computer program recorded thereon
CN105162936A (en) Unfamiliar call prompt method and user terminal
CN104639973A (en) Information pushing method and device
CN102256244A (en) Mobile terminal management method, management server, mobile terminal and management system
CN111404788A (en) Equipment sharing method and server
CN102868766A (en) Method, system and device for achieving remote control
CN105765952A (en) Account registering method, terminal and server
CN104065728A (en) State information control method, related equipment and related system

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