CN105530222A - Method for establishing connection among terminals, and device and system - Google Patents

Method for establishing connection among terminals, and device and system Download PDF

Info

Publication number
CN105530222A
CN105530222A CN201410513794.1A CN201410513794A CN105530222A CN 105530222 A CN105530222 A CN 105530222A CN 201410513794 A CN201410513794 A CN 201410513794A CN 105530222 A CN105530222 A CN 105530222A
Authority
CN
China
Prior art keywords
terminal
binding
apparatus bound
bound list
end message
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
CN201410513794.1A
Other languages
Chinese (zh)
Other versions
CN105530222B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410513794.1A priority Critical patent/CN105530222B/en
Publication of CN105530222A publication Critical patent/CN105530222A/en
Application granted granted Critical
Publication of CN105530222B publication Critical patent/CN105530222B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for establishing connection among terminals, and a device and a system. According to the method, a graphic code generated by a second terminal is scanned by a first terminal, the graphic code contains terminal information of the second terminal, other equipment is indicated and permitted to establish the binding connection relationship with the second terminal, a binding request between the first terminal and the second terminal is generated by the first terminal according to the graphic code, the binding request contains terminal information of the first terminal and the terminal information of the second terminal, and the binding request is sent to a server to enable the server to establish the binding connection relationship between the first terminal and the second terminal according to the binding request. The method is not only simple to realize, but also the error rate is reduced, and efficiency is improved.

Description

Connection establishment methods, devices and systems between multiple terminals
Technical field
The present invention relates to communication technical field, be specifically related to the connection establishment methods, devices and systems between a kind of multiple terminals.
Background technology
Along with the develop rapidly of Internet technology, the mode of Information Sharing is also more and more diversified, and wherein, realizing sharing of information by setting up binding annexation for multiple terminal, is exactly a kind of mode wherein.
In the prior art, binding relationship can be set up by logging in identical account number in multiple terminals, after foundation binding annexation, this multiple any one terminal had in multiple terminals of binding relationship all can obtain all devices information of current account number from server, these facility informations can identify these terminals, and then can according to demand, utilize facility information to send information or order to corresponding terminal.
To in the research and practice process of prior art, the present inventor finds, due in the prior art, when setting up binding relationship, multiple terminal is needed to log in identical account, therefore, realize comparatively inconvenience, and, owing to all needing user to input login account and password at every turn, so, not only easily make mistakes, and efficiency is lower.
Summary of the invention
The embodiment of the present invention provides the methods, devices and systems of the connection establishment between a kind of multiple terminals, not only realizes easy, and can reduce error rate and raise the efficiency.
A binding connection establishment method between multiple terminals, comprising:
First terminal scans the graphic code that the second terminal generates, and described graphic code carries the end message of the second terminal, and instruction allows other equipment and the second terminal to set up binds annexation;
First terminal generates the bind request between first terminal and the second terminal according to described graphic code, and described bind request carries the end message of first terminal and the end message of the second terminal;
First terminal sends described bind request to server, so that described server sets up the binding annexation between first terminal and the second terminal according to described bind request.
A connection establishment method between multiple terminals, comprising:
Receive the bind request between the first terminal of first terminal transmission and the second terminal, described bind request carries the end message of first terminal and the end message of the second terminal;
The binding annexation between first terminal and the second terminal is set up according to described bind request;
Generate according to described binding annexation or upgrade the apparatus bound list of first terminal and the apparatus bound list of the second terminal.
A kind of terminal, as first terminal, comprises scanning element, generation unit and transmitting element, wherein:
Scanning element, for scanning the graphic code that the second terminal generates, described graphic code carries the end message of the second terminal, and instruction allows other equipment and the second terminal to set up binds annexation;
Generation unit, for generating the bind request between first terminal and the second terminal according to described graphic code, described bind request carries the end message of first terminal and the end message of the second terminal;
Transmitting element, for sending described bind request to server, so that described server sets up the binding annexation between first terminal and the second terminal according to described bind request.
A kind of server, comprises receiving element, sets up unit and list maintenance unit, wherein:
Receiving element, for receiving the bind request between the first terminal of first terminal transmission and the second terminal, described bind request carries the end message of first terminal and the end message of the second terminal;
Set up unit, for setting up the binding annexation between first terminal and the second terminal according to described bind request;
List maintenance unit, for generating according to described binding annexation or upgrading the apparatus bound list of first terminal and the apparatus bound list of the second terminal.
A kind of communication system, comprises any one terminal that the embodiment of the present invention provides and any one server that the embodiment of the present invention provides.
The embodiment of the present invention adopts the graphic code being scanned the second terminal generation by first terminal, wherein, this graphic code carries the end message of the second terminal, and instruction allows other equipment and the second terminal to set up binds annexation, then, by first terminal according to the bind request between this graphic code generation first terminal and the second terminal, this bind request carries the end message of first terminal and the end message of the second terminal, and send described bind request to server, so that this server sets up the binding annexation between first terminal and the second terminal according to this bind request, due in this scenario, the end message of the second terminal is carried in the graphic code that second terminal generates, and include the instruction (namely instruction allows other equipment and the second terminal to set up and binds annexation) carrying out bindings, therefore, first terminal only need scan down this graphic code, just the end message of the second terminal can be obtained, and can determine that current operation is bindings, and then only need first terminal one direction server transmission bind request just can complete the foundation of the binding relationship between first terminal and the second terminal, same account is logged in respectively relative to needing first terminal and the second terminal in prior art, so that server gets the scheme setting up binding annexation information needed respectively from first terminal and the second terminal, not only realize more easy, and input log-on message by hand to log in without the need to user, error rate can be reduced, and raise the efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those skilled in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 a is the scene schematic diagram of the connection establishment method between the multiple terminals that provides of the embodiment of the present invention;
Fig. 1 b is the schematic flow sheet of the connection establishment method between the multiple terminals that provides of the embodiment of the present invention;
Fig. 1 c is the schematic diagram of the graphic code that the embodiment of the present invention provides;
Fig. 2 is another schematic flow sheet of the connection establishment method between the multiple terminals that provides of the embodiment of the present invention;
Fig. 3 a is the another schematic flow sheet of the connection establishment method between the multiple terminals that provides of the embodiment of the present invention;
Fig. 3 b is the operation scenario schematic diagram of the connection establishment method between the multiple terminals that provides of the embodiment of the present invention;
Fig. 3 c is another operation scenario schematic diagram of the connection establishment method between the multiple terminals that provides of the embodiment of the present invention;
Fig. 4 is the structural representation of the terminal that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the server that the embodiment of the present invention provides;
Fig. 6 is another structural representation of the server that the embodiment of the present invention provides;
Fig. 7 is another structural representation of the terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides the methods, devices and systems of the connection establishment between a kind of multiple terminals.
See Fig. 1 a, in the communication system that connection establishment method between this multiple terminals is applied, this communication system can comprise server and first terminal, all right second terminal, wherein, second terminal is for generating graphic code, such as, Quick Response Code or bar code etc. is generated, wherein, this graphic code carries the end message of the second terminal, and instruction allows other equipment and the second terminal to set up binds annexation, when first terminal need with the second terminal set up bind annexation time, the graphic code that this second terminal generates can be scanned, the bind request between first terminal and the second terminal is generated according to this graphic code, wherein, this bind request carries the end message of first terminal and the end message of the second terminal, then, this bind request is sent to server, binding annexation between first terminal and the second terminal is set up according to this bind request by server, and generate according to this binding annexation or upgrade the apparatus bound list of first terminal and the apparatus bound list of the second terminal.
After this, server can also return binding success and respond to first terminal, and return binding change response (such as first binding change response or second binding change response) to the second terminal, informed the concrete condition of this binding; And follow-up first terminal or the second terminal also can cancel this binding relationship, such as, send binding by the second terminal and cancel request to server, etc.
To be described in detail respectively below.
Embodiment one,
Angle from terminal is described by the embodiment of the present invention, and this terminal can as the first terminal of the embodiment of the present invention, and this terminal is specifically as follows the equipment such as mobile phone, panel computer and personal computer (PC, PersonalComputer).
A connection establishment method between multiple terminals, comprising: first terminal scans the graphic code that the second terminal generates, and wherein, this graphic code carries the end message of the second terminal, and instruction allows other equipment and the second terminal to set up binds annexation; Generate the bind request between first terminal and the second terminal according to this graphic code, wherein, this bind request carries the end message of first terminal and the end message of the second terminal; This bind request is sent, so that this server sets up the binding annexation between first terminal and the second terminal according to this bind request to server.
As shown in Figure 1 b, the idiographic flow of the connection establishment method between this multiple terminals can be as follows:
101, first terminal scans the graphic code that the second terminal generates, such as, and Quick Response Code or bar code etc.
Wherein, this graphic code can be generated by the second terminal, and this graphic code carries the end message of the second terminal, and instruction allows other equipment and the second terminal to set up binds annexation.Wherein, end message can comprise terminal iidentification, can also comprise the information such as device name and/or terminal type of terminal.
Such as, this graphic code can by the second terminal according to the second terminal registered address in the server, such as URL(uniform resource locator) (URL, UniformResourceLocator), generate by encoding, wherein, the end message of the second terminal in this registered address, can be comprised, and be used to indicate and allow other equipment and the second terminal to set up the indication information binding annexation; Such as, for this URL be " http://sc.qq.com/fx/qr? guid=%s ", wherein, field " http://sc.qq.com/fx/qr? " instruction allows other equipment and the second terminal to set up the indication information binding annexation, " guid=%s " is then the end message of the second terminal, such as terminal iidentification etc., this terminal iidentification is server is each terminal distribution, and ensure the terminal iidentification of each terminal within the specific limits, as the uniqueness of " GUID (GUID, GloballyUniqueIdentifier) ".
Optionally, the mode of scanning can have multiple, such as, specifically can be scanned by the camera or scan module starting first terminal, etc., do not repeat them here.
102, first terminal is according to the bind request between this graphic code generation first terminal and the second terminal, and wherein, bind request carries the information such as the end message of first terminal and the end message of the second terminal, such as, and specifically can be as follows:
First terminal resolves this graphic code, obtain resolution data, according to this resolution data determine can with the second terminal set up bind annexation time, from this resolution data, extract the end message of the second terminal, generate the bind request between first terminal and the second terminal according to the end message of first terminal and the end message of the second terminal.
Such as, or for this graphic code be according to URL " http://sc.qq.com/fx/qr? guid=%s " coding generate, see Fig. 1 c, then first terminal resolves this graphic code, obtain resolution data " http://sc.qq.com/fx/qr? guid=%s ", according to this URL parsed preamble " http://sc.qq.com/fx/qr? " determine to set up with the second terminal and bind annexation, so extract the end message of the second terminal from the URL that this parses, i.e. " guid=%s ", then by the end message of first terminal self, " guid " of such as first terminal encodes in the lump, generate the bind request between first terminal and the second terminal.Optionally, can also by other end message, the device name of such as first terminal, the device name of the second terminal, binding mode, binding relationship content, binding relationship title and/or other user profile etc. are also coded in this bind request in the lump, do not repeat them here.
103, first terminal sends this bind request to server, so that server sets up the binding annexation between first terminal and the second terminal according to this bind request.
Such as, server, after receiving this bind request, can resolve this bind request, and the binding data that buffer memory parses, set up the binding annexation between first terminal and the second terminal according to the binding data parsed.
After this, server can also return binding response to first terminal, to inform its concrete implementation status of binding, namely after step " first terminal sends this bind request (i.e. step 103) to server ", the connection establishment method between this multiple terminals can also comprise:
First terminal receives the binding success response that this server returns;
First terminal obtains apparatus bound list according to the response of this binding success from server, and wherein, this apparatus bound list comprises the end message of the second terminal.
Like this, first terminal just can learn the situation with oneself with each terminal of binding annexation.
In addition, when binding annexation and changing, such as, when binding connection is cancelled, server also can notify first terminal, make first terminal can refresh local apparatus bound list in time, namely after step " first terminal sends this bind request (i.e. step 103) to server ", the connection establishment method between this multiple terminals can also comprise:
The binding cancellation notice that first terminal reception server sends, refreshes the apparatus bound list in first terminal according to this binding cancellation notice.
It should be noted that, first terminal also can cancel the binding relationship between the second terminal at any time, such as, can send binding and cancel request to server, etc., do not repeat them here.
As from the foregoing, the present embodiment adopts the graphic code being scanned the second terminal generation by first terminal, wherein, this graphic code carries the end message of the second terminal, and instruction allows other equipment and the second terminal to set up binds annexation, then, by first terminal according to the bind request between this graphic code generation first terminal and the second terminal, this bind request carries the end message of first terminal and the end message of the second terminal, and send described bind request to server, so that this server sets up the binding annexation between first terminal and the second terminal according to this bind request, due in this scenario, the end message of the second terminal is carried in the graphic code that second terminal generates, and include the instruction (namely instruction allows other equipment and the second terminal to set up and binds annexation) carrying out bindings, therefore, first terminal only need scan down this graphic code, just the end message of the second terminal can be obtained, and can determine that current operation is bindings, and then only need first terminal one direction server transmission bind request just can complete the foundation of the binding relationship between first terminal and the second terminal, same account is logged in respectively relative to needing first terminal and the second terminal in prior art, so that server gets the scheme setting up binding annexation information needed respectively from first terminal and the second terminal, not only realize more easy, and input log-on message by hand to log in without the need to user, error rate can be reduced, and raise the efficiency.
Embodiment two,
Angle from server is described by the present embodiment, and this server is specifically as follows the equipment such as binding server.
A connection establishment method between multiple terminals, comprising: receive the bind request between the first terminal of first terminal transmission and the second terminal, this bind request carries the end message of first terminal and the end message of the second terminal; Set up the binding annexation between first terminal and the second terminal according to this bind request, generate according to this binding annexation or upgrade the apparatus bound list of first terminal and the apparatus bound list of the second terminal.
As shown in Figure 2, the connection establishment method between this multiple terminals specifically can be as follows:
201, receive the bind request between the first terminal of first terminal transmission and the second terminal, wherein, this bind request carries the information such as the end message of first terminal and the end message of the second terminal.
Wherein, the graphic code that this bind request is generated by scanning second terminal by first terminal and generating, specifically see embodiment one, can not repeat them here.
202, the binding annexation between first terminal and the second terminal is set up according to this bind request.
Such as, at server after receiving this bind request, this bind request can be resolved, and the binding data that buffer memory parses, then set up the binding annexation between first terminal and the second terminal according to the binding data parsed.
203, generate according to this binding annexation or upgrade the apparatus bound list of first terminal and the apparatus bound list of the second terminal.
Such as, if saved the apparatus bound list of first terminal in server, then in the apparatus bound list of first terminal, add the binding informations such as the end message of the second terminal, if and there is not the apparatus bound list of first terminal in server, then generate the apparatus bound list of first terminal, and add the binding informations such as the end message of the second terminal in the apparatus bound list of this first terminal; In like manner, if saved the apparatus bound list of the second terminal in server, then in the apparatus bound list of the second terminal, add the binding informations such as the end message of first terminal, if and there is not the apparatus bound list of the second terminal in server, then generate the apparatus bound list of the second terminal, and add the binding informations such as the end message of first terminal in the apparatus bound list of this first terminal.
After this, server can also return binding response to first terminal, to inform its concrete implementation status of binding, namely, after step " generates according to this binding annexation or upgrades the apparatus bound list of first terminal and the apparatus bound list (i.e. step 203) of the second terminal ", the connection establishment method between this multiple terminals can also comprise:
Binding success response is sent to first terminal, receive the apparatus bound list acquisition request that first terminal sends according to the response of this binding success, the apparatus bound list of request to first terminal transmission first terminal is obtained according to this apparatus bound list, wherein, this apparatus bound list comprises the end message of the second terminal, and this apparatus bound list can also comprise the end message of the terminal that other and first terminal have been bound, in addition, other information can also be comprised, do not repeat them here.
In like manner, server also can return binding response to the second terminal, such as to inform its concrete implementation status of binding, namely, after step " generates according to this binding annexation or upgrades the apparatus bound list of first terminal and the apparatus bound list (i.e. step 203) of the second terminal ", the connection establishment method between this multiple terminals can also comprise:
Send the first binding to the second terminal and change response, wherein, the end message that first terminal is carried in response is changed in this binding, so that the second terminal changes response according to this first binding upgrade local apparatus bound list; Or,
Send the second binding to the second terminal and change response, receive the second terminal changes response transmission apparatus bound list acquisition request according to described second binding, the apparatus bound list asking to send the second terminal to the second terminal is obtained according to this apparatus bound list, wherein, this apparatus bound list comprises the end message of first terminal, this apparatus bound list can also comprise the end message of the terminal of other and the second terminal binding, in addition, other information can also be comprised, like this, second terminal receives this apparatus bound list, just can according to the apparatus bound list of this apparatus bound list update second terminal local.
In addition, first terminal can cancel the binding relationship between the second terminal at any time, and the second terminal is as the passive terminal accepting binding, also the binding relationship between first terminal can be cancelled at any time, namely, after step " generates according to this binding annexation or upgrades the apparatus bound list of first terminal and the apparatus bound list (i.e. step 203) of the second terminal ", the connection establishment method between this multiple terminals can also comprise:
Receive the binding cancellation request that the second terminal sends, wherein, request is cancelled in this binding can carry the end message of first terminal and the end message of the second terminal, cancel the binding annexation between request deletion first terminal and the second terminal according to this binding, and upgrade the apparatus bound list of first terminal and the apparatus bound list of the second terminal.
Server is after eliminating the binding annexation between first terminal and the second terminal, first terminal and the second terminal can also be notified, namely step " cancel request according to this binding and delete binding annexation between first terminal and the second terminal; and upgrade the apparatus bound list of first terminal and the apparatus bound list of the second terminal " after, the connection establishment method between this multiple terminals can also comprise:
Binding cancellation notice is sent, so that first terminal and the second terminal upgrade local apparatus bound list respectively respectively to first terminal and the second terminal.
As from the foregoing, the present embodiment adopts the bind request being received first terminal transmission by server, this bind request carries the end message of first terminal and the end message of the second terminal, then set up the binding annexation between first terminal and the second terminal according to this bind request, and generate according to this binding annexation or upgrade the apparatus bound list of first terminal and the apparatus bound list of the second terminal; Due in this scenario, server only need receive the bind request that first terminal folk prescription sends just can complete the foundation of the binding relationship between first terminal and the second terminal, same account is logged in respectively relative to needing first terminal and the second terminal in prior art, so that server gets the scheme setting up binding annexation information needed respectively from first terminal and the second terminal, not only realize more easy, and input log-on message by hand to log in without the need to user, error rate can be reduced and raise the efficiency.
Embodiment three,
According to the method described by embodiment one and two, below citing is described in further detail.
In embodiments of the present invention, will be specially terminal A with terminal A, terminal B is specially terminal B, and it is that example is described that binding server is specially binding server.
As described in Fig. 3 a, a kind of connection establishment method between multiple terminals, idiographic flow can be as follows:
301, terminal B generates graphic code, such as generates Quick Response Code or bar code etc.
Such as, terminal B can according to the registered address of terminal B in binding server, such as URL, generate by encoding, wherein, the end message of terminal B in this registered address, can be comprised, and be used to indicate and allow other equipment and terminal B to set up the indication information binding annexation.
Such as, for this URL be " http://sc.qq.com/fx/qr? guid=%s ", wherein, field " http://sc.qq.com/fx/qr? " instruction allows other equipment and terminal B to set up the indication information binding annexation, " guid=%s " is then the end message of terminal B, such as terminal iidentification etc., and this terminal iidentification is binding server is each terminal distribution, and ensure the terminal iidentification of each terminal within the specific limits, as the uniqueness of " guid ".
302, the graphic code of terminal A sweep terminal B generation, such as, Quick Response Code or bar code etc.
Wherein, the mode of scanning can have multiple, such as, specifically can be scanned by the camera or scan module starting terminal A, etc., do not repeat them here.
303, terminal A is according to the bind request between this graphic code generation terminal A and terminal B, namely this bind request server terminal A and terminal B binds, wherein, and the information such as the end message of bind request carried terminal A and the end message of terminal B, such as, specifically can be as follows:
Terminal A resolves this graphic code, obtain resolution data, according to this resolution data determine can with terminal B set up bind annexation time, from this resolution data, extract the end message of terminal B, generate the bind request between terminal A and terminal B according to the end message of terminal A and the end message of terminal B.
Such as, or for this graphic code be according to URL " http://sc.qq.com/fx/qr? guid=%s " coding generate, then terminal A resolves this graphic code, obtain resolution data " http://sc.qq.com/fx/qr? guid=%s ", according to this URL parsed preamble " http://sc.qq.com/fx/qr? " determine to set up with terminal B and bind annexation, so extract the end message of terminal B from the URL that this parses, i.e. " guid=%s ", then by the end message of terminal A self, " guid " of such as terminal A encodes in the lump, generate the bind request between terminal A and terminal B.Optionally, can also by other end message, the device name of such as terminal A, the device name of terminal B, binding mode, binding relationship content, binding relationship title and/or other user profile etc. are also coded in this bind request in the lump, do not repeat them here.
304, terminal A sends this bind request to binding server.
305, after binding server receives the bind request of terminal A transmission, the binding annexation between terminal A and terminal B is set up according to this bind request.
Such as, at binding server after receiving this bind request, this bind request can be resolved, and the binding data that buffer memory parses, then set up the binding annexation between terminal A and terminal B according to the binding data parsed.
306, binding server generates or the more apparatus bound list of new terminal A and the apparatus bound list of terminal B according to this binding annexation.
Such as, if saved the apparatus bound list of terminal A in binding server, then in the apparatus bound list of terminal A, add the binding informations such as the end message of terminal B, if and there is not the apparatus bound list of terminal A in binding server, then generate the apparatus bound list of terminal A, and add the binding informations such as the end message of terminal B in the apparatus bound list of this terminal A; In like manner, if saved the apparatus bound list of terminal B in binding server, then in the apparatus bound list of terminal B, add the binding informations such as the end message of terminal A, if and there is not the apparatus bound list of terminal B in binding server, then generate the apparatus bound list of terminal B, and add the binding informations such as the end message of terminal A in the apparatus bound list of this terminal A.
307, binding server sends binding success response to terminal A, then performs step 308.
308, the apparatus bound list that terminal A sends to binding server according to the response of this binding success obtains request.
309, binding server is after the apparatus bound list receiving terminal A transmission obtains request, obtains the apparatus bound list of request to terminal A transmitting terminal A according to this apparatus bound list.
Wherein, this apparatus bound list comprises the end message of terminal B, this apparatus bound list can also comprise the end message of the terminal that other and terminal A have bound, the such as end message of terminal C1, terminal D 1 and/or terminal E1 etc. equipment, in addition, other information can also be comprised, do not repeat them here.
310, after terminal A receives the apparatus bound list of this terminal A, local apparatus bound list is upgraded.
Such as, the information such as the end message of terminal B specifically can be added in local apparatus bound list by terminal A, etc., such as, see Fig. 3 b, if the equipment of terminal B is called " ZIFENGSHANG-PC4 ", then after terminal A receives the apparatus bound list of this terminal A, the information automatic powder adding of terminal B can be added in local apparatus bound list, and show the device name " ZIFENGSHANG-PC4 " of this terminal B, so that user learns current new interpolation bound device: " ZIFENGSHANG-PC4 ".
311, binding server sends the first binding to terminal B and changes response, and wherein, the end message of response carried terminal A is changed in this binding.
312, after terminal B receives this first binding change response, change the local apparatus bound list of response renewal according to this first binding, terminal B upgrades local apparatus bound listing field terminal category-A seemingly, does not repeat them here.
It should be noted that, in figure 3, only change response exemplarily to send the first binding, should be understood that, binding server also can send the second binding to terminal B and change response, the apparatus bound list that receiving terminal B changes response transmission according to described second binding obtains request, the apparatus bound list of request to terminal B transmitting terminal B is obtained according to this apparatus bound list, wherein, this apparatus bound list comprises the end message of terminal A, this apparatus bound list can also comprise the end message of the terminal that other and terminal B have bound, such as terminal C2, the end message of terminal D 2 and/or terminal E2 etc. equipment, in addition, other information can also be comprised, like this, terminal B receives this apparatus bound list, just can according to the apparatus bound list of this apparatus bound list update terminal B this locality.
Also it should be noted that, step 307 and 311 execution can be in no particular order.
In addition, terminal A can cancel the binding relationship between terminal B at any time, and terminal B is as the passive terminal accepting binding, also can cancel the binding relationship between terminal A at any time, namely can also perform step 311, as follows:
313, terminal B sends binding cancellation request to binding server, and the information such as the end message of request carried terminal A and the end message of terminal B is cancelled in this binding.
Such as, the triggering key of " request is cancelled in binding " specifically can be set in one side of the implementor name of shown apparatus bound list, such as, see Fig. 3 c, all there is the triggering key of a "off" one side of each implementor name of shown apparatus bound list, for implementor name " ZIFENGSHANG-PC4 ", if user triggers the "off" key of its one side, the binding that then terminal B will send request to binding server the binding relationship cancelled between this terminal and implementor name " ZIFENGSHANG-PC4 " is cancelled asks, certainly, other triggering mode also can be set, do not repeat them here.
314, binding server is cancelled request according to this binding and is deleted binding annexation between terminal A and terminal B, and the apparatus bound list of terminal A in update server and the apparatus bound list of terminal B.
315, binding server sends binding cancellation notice respectively to terminal A and terminal B, so that terminal A and terminal B upgrades local apparatus bound list respectively, does not repeat them here.
As from the foregoing, the present embodiment adopts the graphic code generated by terminal A sweep terminal B, wherein, the end message of this graphic code carried terminal B, and instruction allows other equipment and terminal B to set up binds annexation, then, by terminal A according to the bind request between this graphic code generation terminal A and terminal B, the end message of this bind request carried terminal A and the end message of terminal B, and send described bind request to binding server, so that this binding server sets up the binding annexation between terminal A and terminal B according to this bind request, due in this scenario, the end message of terminal B is carried in the graphic code that terminal B generates, and include the instruction (namely instruction allows other equipment and terminal B to set up and binds annexation) carrying out bindings, therefore, terminal A only need scan down this graphic code, just the end message of terminal B can be obtained, and can determine that current operation is bindings, and then only need terminal A one direction binding server transmission bind request just can complete the foundation of the binding relationship between terminal A and terminal B, same account is logged in respectively relative to needing terminal A and terminal B in prior art, so that binding server gets the scheme setting up binding annexation information needed respectively from terminal A and terminal B, not only realize more easy, and input log-on message by hand to log in without the need to user, error rate can be reduced, and raise the efficiency.
Embodiment four,
In order to implement above method better, the embodiment of the present invention also provides a kind of terminal, can as the first terminal of the embodiment of the present invention, and as shown in Figure 4, this terminal can comprise scanning element 401, generation unit 402 and transmitting element 403, as follows:
Scanning element 401, for scanning the graphic code that the second terminal generates, such as, Quick Response Code or bar code etc.
Wherein, this graphic code can be generated by the second terminal, and this graphic code carries the end message of the second terminal, and instruction allows other equipment and the second terminal to set up binds annexation.Wherein, end message can comprise terminal iidentification, can also comprise the information such as device name and/or terminal type of terminal, specifically see embodiment above, can not repeat them here.
Optionally, the mode of scanning can have multiple, such as, specifically can be scanned by the camera or scan module starting first terminal, etc., do not repeat them here.
Generation unit 402, the graphic code for obtaining according to scanning generates the bind request between first terminal and the second terminal, and wherein, this bind request carries the end message of first terminal and the end message of the second terminal.Such as, specifically can be as follows:
Generation unit 402 resolves this graphic code, obtain resolution data, according to this resolution data determine can with the second terminal set up bind annexation time, from this resolution data, extract the end message of the second terminal, generate the bind request between first terminal and the second terminal according to the end message of first terminal and the end message of the second terminal.
Transmitting element 403, for sending this bind request to server, so that this server sets up the binding annexation between first terminal and the second terminal according to described bind request.
Such as, server, after receiving this bind request, can resolve this bind request, and the binding data that buffer memory parses, set up the binding annexation between first terminal and the second terminal according to the binding data parsed.
After this, server can also return binding response to first terminal, and to inform its concrete implementation status of binding, namely this terminal can also comprise receiving element and acquiring unit, as follows:
Receiving element, for the binding success response that described server returns;
Acquiring unit, for obtaining apparatus bound list according to described binding success response from server, wherein, this apparatus bound list comprises the end message of the second terminal.
Like this, first terminal just can learn the situation with oneself with each terminal of binding annexation.
In addition, when binding annexation and changing, such as, when binding connection is cancelled, server also can notify first terminal, and make first terminal can refresh local apparatus bound list in time, namely this terminal can also comprise refresh unit, as follows:
Receiving element, also for the binding cancellation notice of reception server transmission;
Refresh unit, the binding cancellation notice for receiving according to this refreshes described apparatus bound list.
First terminal also can cancel the binding relationship between the second terminal at any time, such as, can send binding cancel request to server by transmitting element, etc., do not repeat them here.
It should be noted that, this terminal also as the second terminal, if as the second terminal, then can also comprise graphic code generation unit, as follows:
Graphic code generation unit, for generating graphic code, this graphic code carries the end message of the second terminal, and instruction allows other equipment and the second terminal to set up binds annexation.
During concrete enforcement, above unit can realize as independently entity, and can carry out combination in any yet, realize as same or several entities, the concrete enforcement of each unit above see embodiment above, can not repeat them here.
This terminal is specifically as follows the equipment such as mobile phone, panel computer and PC.
As from the foregoing, the terminal of the present embodiment can as first terminal, its scanning element 401 can scan the graphic code that the second terminal generates, wherein, this graphic code carries the end message of the second terminal, and instruction allows other equipment and the second terminal to set up binds annexation, then, by generation unit 402 according to the bind request between this graphic code generation first terminal and the second terminal, this bind request carries the end message of first terminal and the end message of the second terminal, and send described bind request by transmitting element 403 to server, so that this server sets up the binding annexation between first terminal and the second terminal according to this bind request, due in this scenario, the end message of the second terminal is carried in the graphic code that second terminal generates, and include the instruction (namely instruction allows other equipment and the second terminal to set up and binds annexation) carrying out bindings, therefore, first terminal only need scan down this graphic code, just the end message of the second terminal can be obtained, and can determine that current operation is bindings, and then only need first terminal one direction server transmission bind request just can complete the foundation of the binding relationship between first terminal and the second terminal, same account is logged in respectively relative to needing first terminal and the second terminal in prior art, so that server gets the scheme setting up binding annexation information needed respectively from first terminal and the second terminal, not only realize more easy, and input log-on message by hand to log in without the need to user, error rate can be reduced, and raise the efficiency.
Embodiment five,
The embodiment of the present invention also provides a kind of server, and as shown in Figure 5, this server comprises receiving element 501, sets up unit 502 and list maintenance unit 503, as follows:
Receiving element 501, for receiving the bind request between the first terminal of first terminal transmission and the second terminal, wherein, this bind request carries the information such as the end message of first terminal and the end message of the second terminal.
Wherein, the graphic code that this bind request is generated by scanning second terminal by first terminal and generating, specifically see embodiment above, can not repeat them here.
Set up unit 502, for setting up the binding annexation between first terminal and the second terminal according to this bind request.
Such as, at server after receiving this bind request, this bind request can be resolved, and the binding data that buffer memory parses, then set up the binding annexation between first terminal and the second terminal according to the binding data parsed.
List maintenance unit 503, for generating according to this binding annexation or upgrading the apparatus bound list of first terminal and the apparatus bound list of the second terminal.
Such as, if saved the apparatus bound list of first terminal in server, then list maintenance unit 503 can add the binding informations such as the end message of the second terminal in the apparatus bound list of this first terminal, if and there is not the apparatus bound list of first terminal in server, then list maintenance unit 503 can generate the apparatus bound list of first terminal, and adds the binding informations such as the end message of the second terminal in the apparatus bound list of this first terminal; In like manner, if saved the apparatus bound list of the second terminal in server, then list maintenance unit 503 can add the binding informations such as the end message of first terminal in the apparatus bound list of the second terminal, if and there is not the apparatus bound list of the second terminal in server, then list maintenance unit 503 can generate the apparatus bound list of the second terminal, and adds the binding informations such as the end message of first terminal in the apparatus bound list of this first terminal.
After this, server can also return binding response to first terminal, and to inform its concrete implementation status of binding, namely this server can also comprise the first transmitting element, as follows:
First transmitting element, for sending binding success response to first terminal.
Receiving element 501, can also be used for receiving first terminal and obtain request according to the apparatus bound list of this binding success response transmission.
First transmitting element, can also be used for obtaining the apparatus bound list of request to first terminal transmission first terminal according to this apparatus bound list.
Wherein, this apparatus bound list comprises the end message of the second terminal, and this apparatus bound list can also comprise the end message of the terminal that other and first terminal have been bound, and in addition, can also comprise other information, not repeat them here.
In like manner, server also can return binding response to the second terminal, and such as to inform its concrete implementation status of binding, namely this server can also comprise the second transmitting element, as follows:
Second transmitting element, change response for sending the first binding to the second terminal, wherein, the end message that first terminal is carried in response is changed in this binding, so that the second terminal changes response according to this first binding upgrade local apparatus bound list; Or,
Second transmitting element, response is changed for sending the second binding to the second terminal, receive the second terminal and change the apparatus bound list acquisition request responding and send according to described second binding, obtain the apparatus bound list asking to send the second terminal to the second terminal according to this apparatus bound list.
Wherein, this apparatus bound list comprises the end message of first terminal.This apparatus bound list can also comprise the end message of the terminal of other and the second terminal binding, in addition, other information can also be comprised, like this, second terminal receives this apparatus bound list, just can according to the apparatus bound list of this apparatus bound list update second terminal local.
In addition, first terminal can cancel the binding relationship between the second terminal at any time, and the second terminal is as the passive terminal accepting binding, and also can cancel the binding relationship between first terminal at any time, namely this server can also comprise delete cells, as follows:
Receiving element 501, request is cancelled in the binding that can also be used for receiving the second terminal transmission.Wherein, this binding cancellation request can carry the end message of first terminal and the end message of the second terminal.
Delete cells, may be used for cancelling according to this binding asking to delete the binding annexation between first terminal and the second terminal, and upgrades the apparatus bound list of first terminal and the apparatus bound list of the second terminal.
Server, after eliminating the binding annexation between first terminal and the second terminal, can also notify first terminal and the second terminal, that is:
First transmitting element, can also be used for sending binding cancellation notice to first terminal, so that first terminal upgrades local apparatus bound list.
Second transmitting element, can also be used for sending binding cancellation notice to the second terminal, so that the second terminal upgrades local apparatus bound list.
During concrete enforcement, above unit can realize as independently entity, and can carry out combination in any yet, realize as same or several entities, the concrete enforcement of each unit above see embodiment above, can not repeat them here.
This server is specifically as follows the equipment such as binding server, does not repeat them here.
As from the foregoing, the receiving element 501 of the server of the present embodiment can receive the bind request of first terminal transmission, this bind request carries the end message of first terminal and the end message of the second terminal, then set up binding annexation between first terminal and the second terminal by setting up unit 502 according to this bind request, and to be generated according to this binding annexation by list maintenance unit 503 or upgrade the apparatus bound list of first terminal and the apparatus bound list of the second terminal; Due in this scenario, server only need receive the bind request that first terminal folk prescription sends just can complete the foundation of the binding relationship between first terminal and the second terminal, same account is logged in respectively relative to needing first terminal and the second terminal in prior art, so that server gets the scheme setting up binding annexation information needed respectively from first terminal and the second terminal, not only realize more easy, and input log-on message by hand to log in without the need to user, error rate can be reduced and raise the efficiency.
Embodiment six,
Accordingly, the embodiment of the present invention also provides a kind of communication system, comprises any one terminal and any one server that the embodiment of the present invention provides, such as, comprises first terminal, the second terminal and server for this communication system, specifically can be as follows:
Second terminal, for generating graphic code, such as, generate Quick Response Code or bar code etc., wherein, this graphic code carries the end message of the second terminal, and instruction allows other equipment and the second terminal to set up binds annexation.
First terminal, for scanning the graphic code that this second terminal generates, generate the bind request between first terminal and the second terminal according to this graphic code, wherein, this bind request carries the end message of first terminal and the end message of the second terminal, sends this bind request to server.
Server, for receiving the bind request that first terminal sends, set up the binding annexation between first terminal and the second terminal according to this bind request, and generate according to this binding annexation or upgrade the apparatus bound list of first terminal and the apparatus bound list of the second terminal.
After this, server, can also be used for returning binding success and respond to first terminal; And, return binding and change response (response is changed in such as the first binding or response is changed in the second binding) to the second terminal.
And follow-up first terminal or the second terminal also can cancel this binding relationship, such as, the second terminal can also be used for sending binding and cancel request to server, etc.
The concrete enforcement of each equipment see embodiment above, can not repeat them here above.
Because this communication system can comprise any one terminal and server that the embodiment of the present invention provides, therefore, terminal that the embodiment of the present invention provides and the beneficial effect achieved by server can be realized equally, refer to embodiment above, do not repeat them here.
Embodiment seven,
The embodiment of the present invention also provides another kind of server, as shown in Figure 6, it illustrates the structural representation of the server involved by the embodiment of the present invention, specifically:
This server can comprise processor 601, the memory 602 of one or more computer-readable recording mediums, radio frequency (RadioFrequency, RF) circuit 603, power supply 604, the parts such as input unit 605 and display unit 606 that more than or processes core.It will be understood by those skilled in the art that the server architecture shown in Fig. 6 does not form the restriction to server, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
Processor 601 is control centres of this server, utilize the various piece of various interface and the whole server of connection, software program in memory 602 and/or module is stored in by running or performing, and call the data be stored in memory 602, perform various function and the deal with data of server, thus integral monitoring is carried out to server.Optionally, processor 601 can comprise one or more process core; Preferably, processor 601 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 601.
Memory 602 can be used for storing software program and module, and processor 601 is stored in software program and the module of memory 602 by running, thus performs the application of various function and data processing.Memory 602 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data etc. created according to the use of server.In addition, memory 602 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 602 can also comprise Memory Controller, to provide the access of processor 601 pairs of memories 602.
RF circuit 603 can be used in the process of receiving and sending messages, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfers to more than one or one processor 601 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 603 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, low noise amplifier (LNA, LowNoiseAmplifier), duplexer etc.In addition, RF circuit 603 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to global system for mobile communications (GSM, GlobalSystemofMobilecommunication), general packet radio service (GPRS, GeneralPacketRadioService), code division multiple access (CDMA, CodeDivisionMultipleAccess), Wideband Code Division Multiple Access (WCDMA) (WCDMA, WidebandCodeDivisionMultipleAccess), Long Term Evolution (LTE, LongTermEvolution), Email, Short Message Service (SMS, ShortMessagingService) etc.
Server also comprises the power supply 604 (such as battery) of powering to all parts, preferably, power supply 604 can be connected with processor 601 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 604 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
This server also can comprise input unit 605, and this input unit 605 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Particularly, in a specific embodiment, input unit 605 can comprise Touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface or near Touch sensitive surface such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, Touch sensitive surface can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 601, and the order that energy receiving processor 601 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface.Except Touch sensitive surface, input unit 605 can also comprise other input equipments.Particularly, other input equipments can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
This server also can comprise display unit 606, this display unit 606 can be used for the various graphical user interface showing information or the information being supplied to user and the server inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 606 can comprise display floater, optionally, the form such as liquid crystal display (LCD, LiquidCrystalDisplay), Organic Light Emitting Diode (OLED, OrganicLight-EmittingDiode) can be adopted to configure display floater.Further, Touch sensitive surface can cover display floater, when Touch sensitive surface detects thereon or after neighbouring touch operation, sends processor 601 to determine the type of touch event, provide corresponding vision to export with preprocessor 601 on a display panel according to the type of touch event.Although in figure 6, Touch sensitive surface and display floater be as two independently parts realize inputting and input function, in certain embodiments, can by Touch sensitive surface and display floater integrated and realize input and output function.
Although not shown, server can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, processor 601 in server can according to following instruction, executable file corresponding for the process of one or more application program is loaded in memory 602, and run storage application program in the memory 602 by processor 601, thus realize various function, as follows:
Receive the bind request between the first terminal of first terminal transmission and the second terminal, this bind request carries the end message of first terminal and the end message of the second terminal; Set up the binding annexation between first terminal and the second terminal according to this bind request, generate according to this binding annexation or upgrade the apparatus bound list of first terminal and the apparatus bound list of the second terminal.
After this, server can also return binding response to first terminal, to inform its concrete implementation status of binding, namely, after operation " generates according to this binding annexation or upgrades the apparatus bound list of first terminal and the apparatus bound list of the second terminal ", processor 601 can also perform as given an order:
Binding success response is sent to first terminal, receive the apparatus bound list acquisition request that first terminal sends according to the response of this binding success, the apparatus bound list of request to first terminal transmission first terminal is obtained according to this apparatus bound list, wherein, this apparatus bound list comprises the end message of the second terminal, and this apparatus bound list can also comprise the end message of the terminal that other and first terminal have been bound, in addition, other information can also be comprised, do not repeat them here.
In like manner, server also can return binding response to the second terminal, such as to inform its concrete implementation status of binding, namely, after " generating according to this binding annexation in operation or upgrade the apparatus bound list of first terminal and the apparatus bound list of the second terminal ", processor 601 can also perform as given an order:
Send the first binding to the second terminal and change response, wherein, the end message that first terminal is carried in response is changed in this binding, so that the second terminal changes response according to this first binding upgrade local apparatus bound list; Or,
Send the second binding to the second terminal and change response, receive the second terminal changes response transmission apparatus bound list acquisition request according to described second binding, the apparatus bound list asking to send the second terminal to the second terminal is obtained according to this apparatus bound list, wherein, this apparatus bound list comprises the end message of first terminal, this apparatus bound list can also comprise the end message of the terminal of other and the second terminal binding, in addition, other information can also be comprised, like this, second terminal receives this apparatus bound list, just can according to the apparatus bound list of this apparatus bound list update second terminal local.
In addition, first terminal can cancel the binding relationship between the second terminal at any time, and the second terminal is as the passive terminal accepting binding, also the binding relationship between first terminal can be cancelled at any time, namely, after operation " generates according to this binding annexation or upgrades the apparatus bound list of first terminal and the apparatus bound list of the second terminal ", processor 601 can also perform as given an order:
Receive the binding cancellation request that the second terminal sends, wherein, request is cancelled in this binding can carry the end message of first terminal and the end message of the second terminal, cancel the binding annexation between request deletion first terminal and the second terminal according to this binding, and upgrade the apparatus bound list of first terminal and the apparatus bound list of the second terminal.
Server is after eliminating the binding annexation between first terminal and the second terminal, first terminal and the second terminal can also be notified, namely operation " cancel request according to this binding and delete binding annexation between first terminal and the second terminal; and upgrade the apparatus bound list of first terminal and the apparatus bound list of the second terminal " after, processor 601 can also perform as given an order:
Binding cancellation notice is sent, so that first terminal and the second terminal upgrade local apparatus bound list respectively respectively to first terminal and the second terminal.
The concrete enforcement of each operation see embodiment above, can not repeat them here above.
As from the foregoing, the server of the present embodiment can receive the bind request of first terminal transmission, this bind request carries the end message of first terminal and the end message of the second terminal, then set up the binding annexation between first terminal and the second terminal according to this bind request, and generate according to this binding annexation or upgrade the apparatus bound list of first terminal and the apparatus bound list of the second terminal; Due in this scenario, server only need receive the bind request that first terminal folk prescription sends just can complete the foundation of the binding relationship between first terminal and the second terminal, same account is logged in respectively relative to needing first terminal and the second terminal in prior art, so that server gets the scheme setting up binding annexation information needed respectively from first terminal and the second terminal, not only realize more easy, and input log-on message by hand to log in without the need to user, error rate can be reduced and raise the efficiency.
Embodiment eight,
Accordingly, the embodiment of the present invention also provides another kind of terminal, as the first terminal of the embodiment of the present invention, as shown in Figure 7, this terminal can comprise radio frequency (RF, RadioFrequency) circuit 701, the memory 702 including one or more computer-readable recording mediums, input unit 703, display unit 704, transducer 705, voicefrequency circuit 706, Wireless Fidelity (WiFi, WirelessFidelity) module 707, include the parts such as processor 708 and power supply 709 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 7, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 701 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 708 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 701 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, SIM card, transceiver, coupler, LNA, duplexer etc.In addition, RF circuit 701 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, includes but not limited to GSM, GPRS, CDMA, WCDMA, LTE, Email, SMS etc.
Memory 702 can be used for storing software program and module, and processor 708 is stored in software program and the module of memory 702 by running, thus performs the application of various function and data processing.Memory 702 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal.In addition, memory 702 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 702 can also comprise Memory Controller, to provide the access of processor 708 and input unit 703 pairs of memories 702.
Input unit 703 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Particularly, in a specific embodiment, input unit 703 can comprise Touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface or near Touch sensitive surface such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, Touch sensitive surface can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 708, and the order that energy receiving processor 708 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface.Except Touch sensitive surface, input unit 703 can also comprise other input equipments.Particularly, other input equipments can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 704 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 704 can comprise display floater, optionally, the forms such as LCD, OLED can be adopted to configure display floater.Further, Touch sensitive surface can cover display floater, when Touch sensitive surface detects thereon or after neighbouring touch operation, sends processor 708 to determine the type of touch event, provide corresponding vision to export with preprocessor 708 on a display panel according to the type of touch event.Although in the figure 7, Touch sensitive surface and display floater be as two independently parts realize inputting and input function, in certain embodiments, can by Touch sensitive surface and display floater integrated and realize input and output function.
Terminal also can comprise at least one transducer 705, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater, and proximity transducer at fast mobile terminal to time in one's ear, can cut out display floater and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for terminal also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 706, loud speaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 706 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker, by loud speaker be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone, voice data is converted to after being received by voicefrequency circuit 706, after again voice data output processor 708 being processed, through RF circuit 701 to send to such as another terminal, or export voice data to memory 702 to process further.Voicefrequency circuit 706 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal.
WiFi belongs to short range wireless transmission technology, and by WiFi module 707, terminal can help that user sends and receive e-mail, browsing page and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 7 shows WiFi module 707, be understandable that, it does not belong to must forming of terminal, can omit in the scope of essence not changing invention as required completely.
Processor 708 is control centres of terminal, utilize the various piece of various interface and the whole mobile phone of connection, software program in memory 702 and/or module is stored in by running or performing, and call the data be stored in memory 702, perform various function and the deal with data of terminal, thus integral monitoring is carried out to mobile phone.Optionally, processor 708 can comprise one or more process core; Preferably, processor 708 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 708.
Terminal also comprises the power supply 709 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 708 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 709 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, processor 708 in terminal can according to following instruction, executable file corresponding for the process of one or more application program is loaded in memory 702, and the application program be stored in memory 702 is run by processor 708, thus realize various function:
Scan the graphic code that the second terminal generates, wherein, this graphic code carries the end message of the second terminal, and instruction allows other equipment and the second terminal to set up binds annexation, the bind request between first terminal and the second terminal is generated according to this graphic code, wherein, this bind request carries the end message of this terminal (i.e. first terminal) and the end message of the second terminal, this bind request is sent, so that this server sets up the binding annexation between this terminal and the second terminal according to this bind request to server.
After this, server can also return binding response to this terminal, and to inform its concrete implementation status of binding, namely after " sending this bind request to server ", processor 708 can also perform as given an order:
Receive the binding success response that this server returns, obtain apparatus bound list according to the response of this binding success from server, wherein, this apparatus bound list comprises the end message of the second terminal.
In addition, when binding annexation and changing, such as, when binding connection is cancelled, server also can notify this terminal, make this terminal can refresh local apparatus bound list in time, namely after " sending this bind request to server ", processor 708 can also perform as given an order:
The binding cancellation notice that reception server sends, refreshes the apparatus bound list in first terminal according to this binding cancellation notice.
The concrete enforcement of each operation see embodiment above, can not repeat them here above.
As from the foregoing, the terminal of the present embodiment can scan the graphic code of the second terminal generation, wherein, this graphic code carries the end message of the second terminal, and instruction allows other equipment and the second terminal to set up binds annexation, then, according to the bind request between the raw cost terminal of this graphic code and the second terminal, this bind request carries the end message of this terminal and the end message of the second terminal, and send described bind request to server, so that this server sets up the binding annexation between this terminal and the second terminal according to this bind request, due in this scenario, the end message of the second terminal is carried in the graphic code that second terminal generates, and include the instruction (namely instruction allows other equipment and the second terminal to set up and binds annexation) carrying out bindings, therefore, this terminal only need scan down this graphic code, just the end message of the second terminal can be obtained, and can determine that current operation is bindings, and then only need this terminal one direction server to send bind request just can the foundation of binding relationship between complete cost terminal and the second terminal, same account is logged in respectively relative to needing this terminal and the second terminal in prior art, so that server gets the scheme setting up binding annexation information needed respectively from this terminal and the second terminal, not only realize more easy, and input log-on message by hand to log in without the need to user, error rate can be reduced, and raise the efficiency.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium can comprise: read-only memory (ROM, ReadOnlyMemory), random access memory (RAM, RandomAccessMemory), disk or CD etc.
Connection establishment methods, devices and systems between a kind of multiple terminals provided the embodiment of the present invention are above described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for those skilled in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (18)

1. the connection establishment method between multiple terminals, is characterized in that, comprising:
First terminal scans the graphic code that the second terminal generates, and described graphic code carries the end message of the second terminal, and instruction allows other equipment and the second terminal to set up binds annexation;
First terminal generates the bind request between first terminal and the second terminal according to described graphic code, and described bind request carries the end message of first terminal and the end message of the second terminal;
First terminal sends described bind request to server, so that described server sets up the binding annexation between first terminal and the second terminal according to described bind request.
2. method according to claim 1, is characterized in that, described first terminal generates the bind request between first terminal and the second terminal according to described graphic code, comprising:
First terminal resolves described graphic code, obtains resolution data;
First terminal according to described resolution data determine can with the second terminal set up bind annexation time, from described resolution data, extract the end message of the second terminal;
First terminal generates the bind request between first terminal and the second terminal according to the end message of the end message of first terminal and described second terminal.
3. method according to claim 1 and 2, is characterized in that, described first terminal, to after server sends described bind request, also comprises:
First terminal receives the binding success response that described server returns;
First terminal obtains apparatus bound list according to described binding success response from server, and described apparatus bound list comprises the end message of the second terminal.
4. method according to claim 3, is characterized in that, described first terminal, to after server sends described bind request, also comprises:
The binding cancellation notice that first terminal reception server sends;
First terminal refreshes described apparatus bound list according to described binding cancellation notice.
5. the connection establishment method between multiple terminals, is characterized in that, comprising:
Receive the bind request between the first terminal of first terminal transmission and the second terminal, described bind request carries the end message of first terminal and the end message of the second terminal;
The binding annexation between first terminal and the second terminal is set up according to described bind request;
Generate according to described binding annexation or upgrade the apparatus bound list of first terminal and the apparatus bound list of the second terminal.
6. method according to claim 5, is characterized in that, described according to after the generation of this binding annexation or the renewal apparatus bound list of first terminal and the apparatus bound list of the second terminal, also comprises:
Binding success response is sent to first terminal;
Receive the apparatus bound list acquisition request that first terminal sends according to described binding success response;
Obtain the apparatus bound list of request to first terminal transmission first terminal according to described apparatus bound list, described apparatus bound list comprises the end message of the second terminal.
7. method according to claim 5, is characterized in that, described according to after the generation of this binding annexation or the renewal apparatus bound list of first terminal and the apparatus bound list of the second terminal, also comprises:
Send the first binding to the second terminal and change response, the end message that first terminal is carried in response is changed in described binding, so that the second terminal changes response according to described first binding upgrade local apparatus bound list; Or,
Send the second binding to the second terminal and change response, receive the second terminal changes response transmission apparatus bound list acquisition request according to described second binding, obtain the apparatus bound list asking to send the second terminal to the second terminal according to described apparatus bound list, described apparatus bound list comprises the end message of first terminal.
8. the method according to any one of claim 5 to 7, is characterized in that, described according to after the generation of this binding annexation or the renewal apparatus bound list of first terminal and the apparatus bound list of the second terminal, also comprises:
Receive the binding cancellation request that the second terminal sends;
Cancel the binding annexation between request deletion first terminal and the second terminal according to described binding, and upgrade the apparatus bound list of first terminal and the apparatus bound list of the second terminal.
9. method according to claim 8, it is characterized in that, described cancellation according to described binding asks to delete the binding annexation between first terminal and the second terminal, and after upgrading the apparatus bound list of first terminal and the apparatus bound list of the second terminal, also comprises:
Binding cancellation notice is sent, so that first terminal and the second terminal upgrade local apparatus bound list respectively respectively to first terminal and the second terminal.
10. a terminal, is characterized in that, as first terminal, comprising:
Scanning element, for scanning the graphic code that the second terminal generates, described graphic code carries the end message of the second terminal, and instruction allows other equipment and the second terminal to set up binds annexation;
Generation unit, for generating the bind request between first terminal and the second terminal according to described graphic code, described bind request carries the end message of first terminal and the end message of the second terminal;
Transmitting element, for sending described bind request to server, so that described server sets up the binding annexation between first terminal and the second terminal according to described bind request.
11. terminals according to claim 10, is characterized in that, described generation unit, specifically for:
Resolve described graphic code, obtain resolution data;
According to described resolution data determine can with the second terminal set up bind annexation time, from described resolution data, extract the end message of the second terminal;
The bind request between first terminal and the second terminal is generated according to the end message of first terminal and the end message of described second terminal.
12. terminals according to claim 10 or 11, is characterized in that, also comprise receiving element and acquiring unit;
Described receiving element, for the binding success response that described server returns;
Described acquiring unit, for obtaining apparatus bound list according to described binding success response from server, described apparatus bound list comprises the end message of the second terminal.
13. terminals according to claim 12, is characterized in that, also comprise refresh unit;
Described receiving element, also for the binding cancellation notice of reception server transmission;
Described refresh unit, for refreshing described apparatus bound list according to described binding cancellation notice.
14. 1 kinds of servers, is characterized in that, comprising:
Receiving element, for receiving the bind request between the first terminal of first terminal transmission and the second terminal, described bind request carries the end message of first terminal and the end message of the second terminal;
Set up unit, for setting up the binding annexation between first terminal and the second terminal according to described bind request;
List maintenance unit, for generating according to described binding annexation or upgrading the apparatus bound list of first terminal and the apparatus bound list of the second terminal.
15. servers according to claim 14, is characterized in that, also comprise the first transmitting element;
Described first transmitting element, for sending binding success response to first terminal;
Described receiving element, the apparatus bound list also sent according to described binding success response for receiving first terminal obtains request;
Described first transmitting element, also for obtaining the apparatus bound list of request to first terminal transmission first terminal according to described apparatus bound list, described apparatus bound list comprises the end message of the second terminal.
16. servers according to claim 14, is characterized in that, also comprise the second transmitting element;
Described second transmitting element, change response for sending the first binding to the second terminal, the end message that first terminal is carried in response is changed in described binding, so that the second terminal changes response according to described first binding upgrade local apparatus bound list; Or,
Described second transmitting element, response is changed for sending the second binding to the second terminal, receive the second terminal changes response transmission apparatus bound list acquisition request according to described second binding, obtain the apparatus bound list asking to send the second terminal to the second terminal according to described apparatus bound list, described apparatus bound list comprises the end message of first terminal.
17., according to claim 14 to the server described in 16 any one, is characterized in that, also comprise delete cells;
Described receiving element, request is cancelled in the binding also sent for receiving the second terminal;
Described delete cells, for cancelling the binding annexation between request deletion first terminal and the second terminal according to described binding, and upgrades the apparatus bound list of first terminal and the apparatus bound list of the second terminal.
18. 1 kinds of communication systems, is characterized in that, comprise any one terminal described in claim 10 to 13 and any one server described in claim 14 to 17.
CN201410513794.1A 2014-09-29 2014-09-29 Connection method for building up between multiple terminals, device and system Active CN105530222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410513794.1A CN105530222B (en) 2014-09-29 2014-09-29 Connection method for building up between multiple terminals, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410513794.1A CN105530222B (en) 2014-09-29 2014-09-29 Connection method for building up between multiple terminals, device and system

Publications (2)

Publication Number Publication Date
CN105530222A true CN105530222A (en) 2016-04-27
CN105530222B CN105530222B (en) 2019-03-05

Family

ID=55772210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410513794.1A Active CN105530222B (en) 2014-09-29 2014-09-29 Connection method for building up between multiple terminals, device and system

Country Status (1)

Country Link
CN (1) CN105530222B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106803981A (en) * 2016-12-30 2017-06-06 广州高清视信数码科技股份有限公司 The binding of mobile terminal and TV set-top box, information interacting method and system
CN107222498A (en) * 2017-06-30 2017-09-29 江西博瑞彤芸科技有限公司 The binding processing method of shared data
WO2017174026A1 (en) * 2016-04-08 2017-10-12 腾讯科技(深圳)有限公司 Client connection method and system
CN108401037A (en) * 2018-01-23 2018-08-14 阿里巴巴集团控股有限公司 User terminal and the binding method of equipment, device and system
CN110115572A (en) * 2019-04-12 2019-08-13 铂元智能科技(北京)有限公司 The enquiry control method and system of sphygmomanometer
CN115632897A (en) * 2022-10-14 2023-01-20 深圳市凯迪仕智能科技股份有限公司 Communication control method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611753A (en) * 2012-03-21 2012-07-25 张雷 System and method for controlling controlled equipment through mobile terminal based on cloud platform
CN102868696A (en) * 2012-09-18 2013-01-09 广州市动景计算机科技有限公司 Method and system for communication and information synchronization among equipments
CN103699988A (en) * 2013-11-26 2014-04-02 小米科技有限责任公司 Numeric value transfer method, terminal, server and system
CN104519485A (en) * 2013-09-29 2015-04-15 腾讯科技(深圳)有限公司 Communication method between terminals, devices and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611753A (en) * 2012-03-21 2012-07-25 张雷 System and method for controlling controlled equipment through mobile terminal based on cloud platform
CN102868696A (en) * 2012-09-18 2013-01-09 广州市动景计算机科技有限公司 Method and system for communication and information synchronization among equipments
CN104519485A (en) * 2013-09-29 2015-04-15 腾讯科技(深圳)有限公司 Communication method between terminals, devices and system
CN103699988A (en) * 2013-11-26 2014-04-02 小米科技有限责任公司 Numeric value transfer method, terminal, server and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017174026A1 (en) * 2016-04-08 2017-10-12 腾讯科技(深圳)有限公司 Client connection method and system
US10958735B2 (en) 2016-04-08 2021-03-23 Tencent Technology (Shenzhen) Company Limited Client connection method and system
CN106803981A (en) * 2016-12-30 2017-06-06 广州高清视信数码科技股份有限公司 The binding of mobile terminal and TV set-top box, information interacting method and system
CN107222498A (en) * 2017-06-30 2017-09-29 江西博瑞彤芸科技有限公司 The binding processing method of shared data
CN108401037A (en) * 2018-01-23 2018-08-14 阿里巴巴集团控股有限公司 User terminal and the binding method of equipment, device and system
WO2019144742A1 (en) * 2018-01-23 2019-08-01 阿里巴巴集团控股有限公司 Binding method for user terminal and device, apparatus, and system
CN110115572A (en) * 2019-04-12 2019-08-13 铂元智能科技(北京)有限公司 The enquiry control method and system of sphygmomanometer
CN115632897A (en) * 2022-10-14 2023-01-20 深圳市凯迪仕智能科技股份有限公司 Communication control method and related device

Also Published As

Publication number Publication date
CN105530222B (en) 2019-03-05

Similar Documents

Publication Publication Date Title
CN104142862B (en) The overload protection method of server and device
CN104168340B (en) The method of domain name mapping, server, terminal and system
CN103716331B (en) Method, terminal, server and system for numerical value transfer
CN104519485A (en) Communication method between terminals, devices and system
CN104765591A (en) Method and system for updating software configuration parameter, and terminal server
CN104518953A (en) Message deleting method, instant messaging terminal and system
CN104618217A (en) Method, terminal, server and system for sharing resource
CN104519197A (en) User login method, user login device and terminal devices
CN105024984A (en) Permission setting method, apparatus and system
CN104426962A (en) Multi-terminal binding method, binding server, terminal and multi-terminal binding system
CN104376353A (en) Two-dimension code generating method, terminal and server and two-dimension code reading method, terminal and server
CN103607713A (en) Method, apparatus, device and system for network access
CN103294515A (en) Method, device and system for acquiring application programs
CN105530222A (en) Method for establishing connection among terminals, and device and system
CN104135728B (en) Method for connecting network and device
CN104980455A (en) Multi-terminal data synchronization method based on cloud storage, device and system thereof
CN105471931A (en) Method, device and system for querying service data
CN103179026B (en) Communication means in user interactive system, system and server and client side
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN104301315A (en) Method and device for limiting information access
CN104426963A (en) Terminal associating method and terminal
CN105162591A (en) Equipment registration method and device
CN104717341A (en) Message prompting method and terminal
CN103491525A (en) Method for achieving card-free mobile phone, mobile phone and server
CN103607431B (en) Mobile terminal resource processing method, device and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant