CN104796385B - Terminal binding method, apparatus and system - Google Patents
Terminal binding method, apparatus and system Download PDFInfo
- Publication number
- CN104796385B CN104796385B CN201410026023.XA CN201410026023A CN104796385B CN 104796385 B CN104796385 B CN 104796385B CN 201410026023 A CN201410026023 A CN 201410026023A CN 104796385 B CN104796385 B CN 104796385B
- Authority
- CN
- China
- Prior art keywords
- terminal
- information
- identifying code
- verification information
- sent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of terminal binding methods, apparatus and system, belong to field of computer technology.The method is in first terminal, comprising: the bind request for carrying the unique identification of target terminal is sent to server;If target terminal is first terminal, the verification information for carrying identifying code that server is sent according to bind request is received;Identifying code is identified from verification information, and receives the first binding information of input;Identifying code and the first binding information are sent to server, so that server is to after being verified of identifying code, the unique identification of user account and first terminal in the first binding information is bound.The present invention, which is solved, is switched to the application for checking verification information from webpage to allow user to check identifying code, the efficiency for improving first terminal binding procedure the problem of allowing user to input the inefficiency of first terminal binding procedure caused by identifying code, is achieved the effect that from the application switching of verification information is checked to webpage.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of terminal binding method, apparatus and system.
Background technique
Terminal binding, which refers to, is associated user account and terminal, so that user is executing sensitive behaviour using user account
When making, sensitive operation can be authorized by terminal.For example, the unique identification of points account and terminal is bound, then use
During exchanging integral using points account, being sent by terminal to server corresponding with points account includes terminal at family
Unique identification, the redemption information of the integral score value and target item exchanged, server the unique identification that detects terminal with
When points account is associated with, target item is exchanged using the integral score value of exchange.
By taking the unique identification of terminal is phone number as an example, a kind of terminal binding method includes: that terminal to server is sent
The bind request of phone number for user bound account and terminal, server send user's account to terminal according to bind request
The acquisition request at family and phone number, terminal are shown in webpage for inputting user account and phone number according to acquisition request
Input frame and identifying code obtain button, user inputs user account and phone number in input frame, and clicks identifying code
Button is obtained, terminal receives the short message for carrying identifying code that server generates and sends, and terminal is switched to short message from webpage and answers
It is shown with to short message content, then so that user inputs identifying code from short message application switching to webpage, by user account, mobile phone
Number and identifying code are sent to server, and server is when determining that the identifying code received is identical as the identifying code of granting by user
Account and phone number are bound, and terminal binding is completed.
In the implementation of the present invention, discovery at least has the following deficiencies: inventor in the prior art
In terminal binding procedure, terminal needs to be switched to short message application from webpage, then from short message application switching to webpage,
Since switching of the terminal between webpage and short message application needs to waste the plenty of time, reduce terminal binding procedure
Efficiency.
Summary of the invention
Short message application is switched in order to solve terminal from webpage to allow user to check identifying code, from short message application switching to net
Page is come the problem of allowing user to input the inefficiency of terminal binding procedure caused by identifying code, the embodiment of the invention provides one kind
Terminal binding method, apparatus and system.The technical solution is as follows:
In a first aspect, being used in first terminal, the method packet the embodiment of the invention provides a kind of terminal binding method
It includes:
The bind request for carrying the unique identification for having purpose terminal is sent to server;
If the target terminal is the first terminal, receives the server and taken according to what the bind request was sent
Verification information with identifying code;
The identifying code is identified from the verification information, and receives the first binding information of input, and described first ties up
Determine the unique identification that information includes user account and the first terminal;
The identifying code and first binding information are sent to the server, so that the server is tested described
After card being verified of code, to the unique identification of the user account and the first terminal in first binding information into
Row binding.
Second aspect, the embodiment of the invention provides a kind of terminal binding methods, are used in server, the method packet
It includes:
Receiving the carrying that first terminal is sent has the bind request of unique identification of purpose terminal;
If the target terminal is the first terminal, is sent and carried to the first terminal according to the bind request
There is the verification information of identifying code;
The identifying code and the first binding information that the first terminal is sent are received, the identifying code is whole by described first
End is identified from the verification information to be obtained, and first binding information is obtained from received input by the first terminal,
First binding information includes the unique identification of user account and the first terminal;
The identifying code is verified, and to the identifying code when being verified, to first binding information
In the user account and the unique identification of the first terminal bound.
The third aspect, the embodiment of the invention provides a kind of terminal binding devices, are used in first terminal, described device packet
It includes:
Request sending module, for sending the bind request for carrying the unique identification for having purpose terminal to server;
When information receiving module for the target terminal is the first terminal, the server is received according to
The verification information for carrying identifying code that the bind request that request sending module is sent is sent;
First obtains module, for identifying described test from the verification information that the information receiving module receives
Demonstrate,prove code, and receive the first binding information of input, first binding information include user account and the first terminal only
One mark;
First sending module, the identifying code and first binding for getting the first acquisition module are believed
Breath is sent to the server, so that the server is to after being verified of the identifying code, to first binding information
In the user account and the unique identification of the first terminal bound.
Fourth aspect, the embodiment of the invention provides a kind of terminal binding devices, are used in server, described device packet
It includes:
Request receiving module, the carrying for receiving first terminal transmission have the binding of the unique identification of purpose terminal to ask
It asks;
First sending module, for when the target terminal is the first terminal, according to the request receiving module
The bind request received sends the verification information for carrying identifying code to the first terminal;
First receiving module, the identifying code and the first binding information sent for receiving the first terminal are described
Identifying code is identified from the verification information that first sending module is sent by the first terminal and is obtained that described first ties up
Determine information and obtained from received input by the first terminal, first binding information includes user account and described first
The unique identification of terminal;
First binding module, the identifying code for receiving to first receiving module are verified, and right
After being verified of the identifying code, in first binding information the user account and the first terminal it is unique
Mark is bound.
5th aspect, the embodiment of the invention provides a kind of terminal binding systems, and the system comprises first terminal kimonos
Business device, passes through cable network or wireless network connection between the first terminal and the server;
The first terminal, for sending the bind request for carrying the unique identification of target terminal to the server;
The server is tied up described in the unique identification of target terminal for receiving the carrying for first terminal transmission
Fixed request;If the target terminal is the first terminal, is sent and carried to the first terminal according to the bind request
There is the verification information of identifying code;
The first terminal is also used to receive the server according to what the bind request was sent and carries identifying code
Verification information;The identifying code is identified from the verification information, and receives the first binding information of input, and described first ties up
Determine the unique identification that information includes user account and the first terminal;The identifying code and first binding information are sent
To the server;
The server is also used to receive the identifying code and first binding information that the first terminal is sent;
The identifying code is verified, and after to being verified of the identifying code, described in first binding information
The unique identification of user account and the first terminal is bound.
By identifying identifying code from verification information, and receive the first binding information of input;By identifying code and first
Binding information is sent to server, by server to after being verified of identifying code, to the user account in the first binding information
It is bound with the unique identification of first terminal, first terminal is allowed directly to identify identifying code from verification information, and
It does not need user and is input in webpage again from being checked in verification information after identifying code, solve first terminal and be switched to from webpage
It checks that the application of verification information allows user to check identifying code, makes the user defeated from the application switching of verification information is checked to webpage
The problem of entering the inefficiency of first terminal binding procedure caused by identifying code has reached the effect for improving first terminal binding procedure
The effect of rate.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the method flow diagram of terminal binding method provided by one embodiment of the present invention;
Fig. 2 is the method flow diagram of terminal binding method provided by one embodiment of the present invention;
Fig. 3 A be another embodiment of the present invention provides terminal binding method method flow diagram;
Fig. 3 B is the interface schematic diagram at terminal binding triggering interface provided in an embodiment of the present invention;
Fig. 3 C is the interface schematic diagram that binding information provided in an embodiment of the present invention obtains interface;
Fig. 3 D is the interface schematic diagram of short message reception interface provided in an embodiment of the present invention;
Fig. 4 is the structural framing figure of terminal binding device provided by one embodiment of the present invention;
Fig. 5 is the structural framing figure for the terminal binding device that yet another embodiment of the invention provides;
Fig. 6 is the structural framing figure of terminal provided by one embodiment of the present invention;
Fig. 7 is the structural framing figure of terminal binding device provided by one embodiment of the present invention;
Fig. 8 is the structural framing figure for the terminal binding device that yet another embodiment of the invention provides;
Fig. 9 is the structural framing figure of server provided by one embodiment of the present invention;
Figure 10 is the structural framing figure of terminal binding system provided by one embodiment of the present invention;
Figure 11 is the structural framing figure for the terminal binding system that yet another embodiment of the invention provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Referring to FIG. 1, it illustrates the method flow diagram of terminal binding method provided by one embodiment of the present invention, the end
End binding method can be applied in first terminal, which can be smart television, smart phone or tablet computer
Etc..The terminal binding method, comprising:
Step 101, the bind request for carrying the unique identification of target terminal is sent to server;
Bind request binds the unique identification of user account and target terminal for request server.User account
It is the account that user passes through that terminal is applied in the server, for example, microblogging account, wechat account, instant messaging account and bank
Account etc..The unique identification of target terminal can be the IMEI(International Mobile of telephone number, target terminal
Equipment Identity, International Mobile Equipment Identity identification) and target terminal in SIM(Subscriber Identity
Module, user identification module) card mark etc..Target terminal can be the first terminal for sending bind request, can also
To be the second terminal in addition to first terminal.
Due between first terminal and server by cable network or wireless network connection, first terminal can be with
Bind request is sent to server by network.
Step 102, if target terminal is first terminal, server is received according to what bind request was sent and carries verifying
The verification information of code;
When target terminal is first terminal, in order to determine that bindings are triggered by the user of first terminal, to mention
Safety of the height to the binding procedure of first terminal, server can also be sent out after receiving bind request to first terminal
The verification information for carrying identifying code is sent, first terminal is proved to be the user of first terminal touching by being handled identifying code
The bindings of hair.Wherein, verification information can include but is not limited to short message.
When the unique identification that verification information is short message and first terminal is not telephone number, it is also necessary to establish first terminal
Unique identification and telephone number corresponding relationship, so that server determines first terminal according to the unique identification of first terminal
Telephone number, to send short message to first terminal.
Step 103, identifying code is identified from verification information, and receives the first binding information of input, first binding
Information includes the unique identification of user account and first terminal;
In the present embodiment, first terminal can directly identify identifying code from verification information, without user from net
Page, which is switched to, checks the application of verification information to check identifying code, then inputs from checking the application switching of verification information to webpage
Identifying code improves first terminal by saving handoff procedure of the first terminal between webpage and the application for checking verification information
The efficiency of binding procedure.
Specifically, the available verification information content of first terminal is searched in verification information content according to predetermined policy
Identifying code.For example, the number of predetermined figure can be determined as identifying code by first terminal;Or, first terminal can be believed in verifying
The text for searching " identifying code " in content is ceased, the number before or after " identifying code " is determined as identifying code etc., the present embodiment
The mode of identification identifying code is not limited.
In addition, first terminal also needs to obtain the first binding letter of the unique identification including user account and first terminal
Breath, is bound the unique identification of which user account and which first terminal with clearly requiring.Specifically, first terminal can
To show the input frame for inputting the first binding information in interface, and input of the user received in input frame is true
It is set to the first binding information.
Step 104, identifying code and the first binding information are sent to server, so that verifying of the server to identifying code is logical
Later, the unique identification of user account and first terminal in the first binding information is bound.
Identifying code and the first binding information are sent to server by first terminal, and server carries out the identifying code received
Verifying, the verifying when determining that the identifying code received is identical as the identifying code that carrying is sent in verification information, to identifying code
Pass through, that is, determines that bindings are user's triggerings of first terminal, at this point, server is by user's account in the first binding information
The unique identification of family and first terminal is bound, and the binding procedure to first terminal is completed.
In conclusion terminal binding method provided in an embodiment of the present invention, by identifying identifying code from verification information,
And receive the first binding information of input;Identifying code and the first binding information are sent to server, by server to identifying code
Be verified after, the unique identification of user account and first terminal in the first binding information is bound, so that first
Terminal can directly identify identifying code from verification information, be inputted again without user from being checked after identifying code in short message
It into webpage, solves first terminal and is switched to from webpage and check that the application of verification information allows user to check identifying code, from looking into
See the inefficiency that the application switching of verification information allows user to input first terminal binding procedure caused by identifying code to webpage
The problem of, achieve the effect that the efficiency for improving first terminal binding procedure.
Referring to FIG. 2, it illustrates the method flow diagram of terminal binding method provided by one embodiment of the present invention, the end
End binding method can be applied in server.The terminal binding method, comprising:
Step 201, the bind request for the unique identification for carrying target terminal that first terminal is sent is received;
Bind request binds the unique identification of user account and target terminal for request server.User can be with
Apply for user account in the server by terminal.For example, user account can be microblogging account, wechat account, instant messaging
Account and bank account etc..The unique identification of target terminal can be in the IMEI and target terminal of telephone number, target terminal
The mark etc. of SIM card.Target terminal can be the first terminal for sending bind request, be also possible to the in addition to first terminal
Two terminals.
Due to passing through cable network or wireless network connection between first terminal and server, server can lead to
It crosses network and receives the bind request that first terminal is sent.
Step 202, if target terminal is first terminal, identifying code is carried to first terminal transmission according to bind request
Verification information;
When target terminal is first terminal, in order to determine that bindings are triggered by the user of first terminal, to mention
Safety of the height to the binding procedure of first terminal, server can also be sent out after receiving bind request to first terminal
The verification information for carrying identifying code is sent, first terminal is proved to be the user of first terminal touching by being handled identifying code
The bindings of hair.Wherein, verification information can include but is not limited to short message.
When the unique identification that verification information is short message and first terminal is telephone number, server can be directly to first
Terminal sends short message;When the unique identification of first terminal is not telephone number, server can also be according to pre-established
The unique identification of one terminal and the corresponding relationship of telephone number determine the telephone number of first terminal, to send to first terminal
Short message.
Further, short message can be generated in server, short message is sent to first terminal further according to telephone number, or, service
The telephone number of first terminal can also be sent to third party device by device, and control third party device generation short message is simultaneously whole to first
End sends short message, and the present embodiment is said so that server generates short message and sends short message to first terminal according to telephone number as an example
It is bright.
Step 203, identifying code and the first binding information that first terminal is sent are received, the identifying code is by first terminal from testing
It identifies and obtains in card information, which is obtained from the input received by first terminal, first binding information
Unique identification including user account and first terminal;
In the present embodiment, what server received is the identifying code that first terminal is identified from verification information, rather than
User is switched to from webpage checks the application of verification information to check identifying code, then from checking the application switching of verification information to net
Page is mentioned come the identifying code inputted by saving handoff procedure of the first terminal between webpage and the application for checking verification information
The efficiency of high first terminal binding procedure.The first binding information that server receives is that first terminal shows in interface and is used for
It inputs the input frame of the first binding information and is obtained in the input in input frame from the user received.
Step 204, identifying code is verified, and to the identifying code when being verified, in the first binding information
User account and the unique identification of first terminal bound.
Whether the identifying code that server detection receives and the identifying code that carrying is sent in verification information are identical, if connect
The identifying code received is identical as the identifying code that sends in verification information is carried, then is verified to identifying code, at this point, by the
The unique identification of user account and first terminal in one binding information is bound, and the binding procedure to first terminal is completed;
If the identifying code received is different from the identifying code that sends in verification information is carried, to the authentication failed of identifying code, this
When the unique identification of user account and first terminal in the first binding information is not bound, process terminates.
In conclusion terminal binding method provided in an embodiment of the present invention, the identifying code sent by receiving first terminal
With the first binding information, which is identified from verification information by first terminal and is obtained, and first binding information is whole by first
End is obtained from the input received, is verified to identifying code, and when being verified, is being bound to first to the identifying code
The unique identification of user account and first terminal in information is bound, and allows server to directly from verification information
The identifying code identified is verified, rather than is obtained to user from checking after identifying code to be input in webpage again in verification information
The identifying code got is verified, and is solved first terminal and is switched to from webpage and checks that the application of verification information allows user to check
Identifying code allows user to input first terminal binding procedure caused by identifying code from the application switching of verification information is checked to webpage
Inefficiency the problem of, achieved the effect that improve first terminal binding procedure efficiency.
Please refer to Fig. 3 A, it illustrates another embodiment of the present invention provides terminal binding method method flow diagram, should
Terminal binding method can be applied to include in the terminal binding system of first terminal and server, which can be intelligence
Energy TV, smart phone or tablet computer etc..The terminal binding method, comprising:
Step 301, first terminal sends the bind request for carrying the unique identification of target terminal to server;
Bind request binds the unique identification of user account and target terminal for request server.User account
It is the account that user passes through that terminal is applied in the server, for example, microblogging account, wechat account, instant messaging account and bank
Account etc..The unique identification of target terminal can be the mark of SIM card in the IMEI and target terminal of telephone number, target terminal
Deng.Target terminal can be the first terminal for sending bind request, be also possible to the second terminal in addition to first terminal.
First terminal can show that the binding option for carrying out target terminal binding, the binding option include binding in webpage
First terminal and binding second terminal please refer to the interface schematic diagram at the binding triggering of terminal shown in Fig. 3 B interface.
When target terminal is first terminal, in order to be identified to the first terminal for sending bind request, first terminal
It also needs to carry the unique identification of first terminal in bind request, therefore, carries target terminal only to server transmission
The bind request of one mark, comprising:
The unique identification of first terminal is obtained by application programming interface;Or, acquisition is defeated in the unique identification of displaying
Enter the unique identification of the first terminal inputted in frame;
The unique identification addition of first terminal is sent to server in bind request, so that server is whole according to first
The unique identification at end sends verification information to first terminal.
Wherein, if being provided with unique identification in first terminal or SIM card, first terminal can pass through application programming
Interface reads the unique identification of setting;If first terminal is not provided with unique identification, first terminal can be shown in webpage
Unique identification input frame, and obtain the unique identification that user inputs in unique identification input frame.It is phone number with unique identification
It is illustrated for code, then please refers to the interface schematic diagram that binding information shown in Fig. 3 C obtains interface, illustrate electricity in Fig. 3 C
Talk about number input box.
After first terminal gets unique identification, the unique identification of first terminal can be added in bind request
It is sent to server.Due to passing through cable network or wireless network connection between first terminal and server, first terminal
Bind request can be sent to server by network.
Step 302, server receives the bind request for the unique identification for carrying target terminal that first terminal is sent, if
Target terminal is first terminal, thens follow the steps 303, if target terminal is second terminal, thens follow the steps 311;
The sending method of bind request is sent corresponding to first terminal, server can receive first terminal hair by network
The bind request sent.
Step 303, server sends the verification information for carrying identifying code according to bind request to first terminal;
When target terminal is first terminal, in order to determine that bindings are triggered by the user of first terminal, to mention
Safety of the height to the binding procedure of first terminal, server can also be sent out after receiving bind request to first terminal
The verification information for carrying identifying code is sent, first terminal is proved to be the user of first terminal touching by being handled identifying code
The bindings of hair.Wherein, verification information can include but is not limited to short message.
In the present embodiment, server can be generated verification information and be sent out according to the unique identification of first terminal to first terminal
Verification information is sent, or, the unique identification of first terminal can also be sent to third party device by server, controls third party device
It generates verification information and sends verification information to first terminal, the present embodiment is with server generation verification information and whole according to first
The unique identification at end is illustrated for sending verification information to first terminal.
Therefore, before the verification information for carrying identifying code to first terminal transmission according to bind request, further includes:
The characteristic information of identifying code and verification information is generated according to bind request;
The verification information for carrying identifying code is sent to first terminal according to bind request, comprising:
The verification information including identifying code and characteristic information is sent to first terminal according to bind request.
Wherein, identifying code can be the combination of at least one of number, letter and symbol, and the mode for generating identifying code can
There are many kinds of, for example, generating identifying code by random algorithm, or, generating identifying code etc. according to current time, the present embodiment is not
Limit the generating mode of identifying code.
Characteristic information is for uniquely identifying a verification information.Specifically, characteristic information may include verification information
The sequence number of sender's unique identification and verification information.Wherein, sender's unique identification is used for the sender of identity verification information,
It can be the identification information etc. of telephone number or server.Sequence number is for identifying sender indicated by sender's unique identification
Issue the serial number of the verification information of first terminal, it is assumed that this sequence number for being sent to the verification information of first terminal of sender is
3, then it is 4 that sender is sent to the sequence number of the verification information of the first terminal next time.Further, characteristic information can be with
Including verification information content and verification information sending time etc., the present embodiment is not limited the content of characteristic information.
When server will include that the verification information of identifying code and characteristic information is sent to first terminal, it is also necessary to according to tying up
Fixed request determines therefore needing to receive the first terminal of verification information will include identifying code and characteristic information according to bind request
Verification information be sent to first terminal, comprising:
The unique identification of the first terminal in bind request is obtained, the unique identification of the first terminal is passed through by first terminal
Application programming interface acquires;Or, the unique identification of the first terminal by first terminal by obtain displaying only
Input in one mark input frame obtains;
The verification information for carrying identifying code and characteristic information is sent to first terminal according to the unique identification of first terminal.
Server can read the unique identification of the first terminal carried in bind request, when verification information is short message and
When the unique identification of one terminal is telephone number, server directly can send the short message generated to first terminal;When the first end
When the unique identification at end is not telephone number, server can also be according to the unique identification and phone of the first terminal pre-established
The corresponding relationship of number determines the telephone number of first terminal, to send the short message generated to first terminal.
Step 304, server sends the first webpage information to first terminal according to bind request, which uses
It verifies in whether first terminal is corresponding with bind request to the verification information received;
If first terminal only receives a verification information after sending bind request to server, first terminal can be with
It determines that the verification information is the verification information that server is sent according to bind request, which can be handled;If
First terminal receives at least two verification informations after sending bind request to server, then which first terminal can not determine
Verification information is the verification information that server is sent according to bind request.
Which, in order to make the clear verification information of first terminal be the verification information that server is sent according to bind request, take
Being engaged in device can be according to bind request the first webpage information of generation, and the first webpage information is sent to first terminal, at this point, first
Webpage information is verified for whether first terminal to be corresponding with bind request to the verification information received.
Specifically, after according to bind request generation identifying code and the characteristic information of verification information, further includes: believe feature
Breath is added in the first webpage information.
Since characteristic information can be used to uniquely identify a verification information, server can be by the spy of generation
Reference breath, which is added in the first webpage information, is sent to first terminal, so that first terminal is according to the feature in the first webpage information
Information determines verification information corresponding with bind request.
It should be added that the present embodiment do not limit step 303 and step 304 execute sequence.I.e. server exists
After generating identifying code and characteristic information, the verification information including identifying code and characteristic information first can be sent to first terminal,
The first webpage information including characteristic information is sent to first terminal afterwards;Can also first send to first terminal includes characteristic information
The first webpage information, after to first terminal send include identifying code and characteristic information verification information;It can also be simultaneously to the
It includes the verification information of identifying code and characteristic information and the first webpage information including characteristic information that one terminal, which is sent,.
Step 305, first terminal receives the verification information for carrying identifying code that server is sent according to bind request;
Wherein, verification information can only carry identifying code;Or, verification information is removed in order to be identified to verification information
Identifying code is carried, can also carry the characteristic information of verification information.First terminal stores the verification information received
In the inbox for the application for checking verification information.
The interface schematic diagram of short message reception interface shown in Fig. 3 D is please referred to, is illustrated in Fig. 3 D for having prompted server
Through the prompt information for sending short message to first terminal.For example, prompt information can be " user bound account needs SMS confirmation,
Identifying code has been sent to terminal, please operates by prompt ".
Step 306, first terminal receives the first webpage information that server is sent according to bind request, first webpage letter
Breath is verified for whether first terminal to be corresponding with bind request to the verification information received;Detect the first webpage information with
Whether the verification information received matches;If testing result is that the first webpage information is matched with the verification information received, really
Surely step 307 is executed;
If first terminal does not receive verification information before receiving the first webpage information, it is determined that first terminal does not connect also
Receive verification information corresponding with bind request, only need at this time to the verification information received after the first webpage information into
Row matching;If verification information has been received before receiving the first webpage information in first terminal, first terminal can be to receipts
Verification information in part case in predetermined amount of time is matched, i.e., carries out to the verification information received after transmission bind request
Matching.
For each verification information to be matched, the first webpage information and the verifying that first terminal detection receives are believed
Whether breath matches.If it is detected that the first webpage information is matched with the verification information, it is determined that the verification information and bind request pair
It answers, executes step 307;If it is detected that the first webpage information and the verification information mismatch, next verifying letter is continued to test
Breath, until detecting verification information corresponding with bind request.
Specifically, whether the first webpage information of detection matches with the verification information received, comprising:
The characteristic information of verification information is obtained from the first webpage information, and the feature of verification information is obtained from verification information
Information;
It detects the characteristic information obtained from the first webpage information and whether the characteristic information obtained from verification information is identical;
If testing result is the characteristic information obtained from the first webpage information and the characteristic information obtained from verification information
It is identical, it is determined that the first webpage information is matched with the verification information received.
Since characteristic information can be used to uniquely identify a verification information, first terminal can detecte from the
Whether the characteristic information obtained in one webpage information and the characteristic information obtained from verification information are identical.If it is detected that from first
The characteristic information obtained in webpage information is identical as the characteristic information obtained from verification information, it is determined that the verification information and the
The matching of one webpage information;If it is detected that the characteristic information obtained from the first webpage information and the feature obtained from verification information
Information is different, it is determined that the verification information and the first webpage information mismatch.
When characteristic information include verification information sender's unique identification and verification information sequence number when, can be from first
The sequence number of verification information and sender's unique identification of verification information are obtained in webpage information, and are obtained and verified from verification information
The sequence number of information and sender's unique identification of verification information;Detect the sequence number that is obtained from the first webpage information with from testing
Whether the sequence number for demonstrate,proving acquisition of information identical, and detect sender's unique identification for being obtained from the first webpage information with from verifying
Whether sender's unique identification of acquisition of information is identical;If testing result be the sequence number that is obtained from the first webpage information with from
The sequence number that verification information obtains is identical and sender's unique identification for obtaining from the first webpage information is obtained with from verification information
The sender's unique identification taken is identical, it is determined that the first webpage information is matched with the verification information received.
It receives verification information it should be added that the present embodiment does not limit first terminal and receives the first webpage information
Execute sequence.I.e. first terminal can first receive verification information and receive the first webpage information again, can also first receive the first net
Page information receives verification information again, can also receive verification information and the first webpage information simultaneously.
Step 307, first terminal identifies identifying code from verification information, and receives the first binding information of input, should
First binding information includes the unique identification of user account and first terminal;
In the present embodiment, first terminal can directly identify identifying code from verification information, without user from net
Page, which is switched to, checks the application of verification information to check identifying code, then inputs from checking the application switching of verification information to webpage
Identifying code improves first terminal by saving handoff procedure of the first terminal between webpage and the application for checking verification information
The efficiency of binding procedure.
Specifically, the available verification information content of first terminal is searched in verification information content according to predetermined policy
Identifying code.For example, the number of predetermined figure can be determined as identifying code by first terminal;Or, first terminal can be believed in verifying
The text for searching " identifying code " in content is ceased, the number before or after " identifying code " is determined as identifying code etc., the present embodiment
The mode of identification identifying code is not limited.
In addition, first terminal also needs to obtain the first binding letter of the unique identification including user account and first terminal
Breath, is bound the unique identification of which user account and which first terminal with clearly requiring.Specifically, first terminal can
To show the input frame for inputting the first binding information in interface, and input of the user received in input frame is true
It is set to the first binding information.The present embodiment does not limit the opportunity that first terminal obtains the first binding information, for example, first terminal can
To obtain the first binding information when sending bind request, first binding information etc. can also be obtained when sending identifying code.
The present embodiment is illustrated for the information that the information input frame of displaying inputs by first terminal acquisition user, then
Please refer to Fig. 3 C.Since the first binding information further includes user account, user account input frame is also illustrated in Fig. 3 C.
Optionally, the first binding information can also include therefore the information such as name, ID card No., password can also be shown in Fig. 3 C
The input frame of above- mentioned information.
Step 308, identifying code and the first binding information are sent to server by first terminal, so that server is to identifying code
Be verified after, the unique identification of user account and first terminal in the first binding information is bound;
Identifying code and the first binding information are sent to server by first terminal, so that verifying of the server to identifying code is logical
Later, the unique identification of user account and first terminal in the first binding information is bound, is completed to first terminal
Binding procedure.
In order to further increase first terminal binding procedure safety, verification time threshold can also be arranged in server
Value, the i.e. timing since when first terminal sends bind request, if after timing duration reaches verification time threshold value, server is still
It is not received by identifying code, then server determines this identifying code failure, fails to the bindings of first terminal.Therefore,
In order to improve first terminal binding procedure success rate, can also be shown in webpage identifying code failure countdown.It please join
Fig. 3 D is examined, in addition to showing the prompt information for prompting server to send short message to first terminal, can also show verifying
The countdown of code failure.For example, identifying code there are also failure in 24 seconds, then can show " obtaining identifying code (24s) ".
Since first terminal can identify identifying code from verification information, first terminal can not be opened up in webpage
Show identifying code input frame, or, as shown in Figure 3D, first terminal can show identifying code input frame in webpage, so as to user couple
The identifying code that first terminal is automatically filled in is modified, and the identifying code mistake for avoiding first terminal identification leads to first terminal
The problem of binding procedure fails, has achieved the effect that the success rate for the binding procedure for further increasing first terminal.
Step 309, server receives the identifying code and the first binding information that first terminal is sent, and the identifying code is whole by first
End is identified from verification information to be obtained, which is obtained from received input by first terminal, first binding
Information includes the unique identification of user account and first terminal;
Wherein, what server received is the identifying code that first terminal is identified from verification information.
Step 310, server verifies identifying code, and when being verified, is binding to first to the identifying code
The unique identification of user account and first terminal in information is bound;
Whether the identifying code that server detection receives and the identifying code that carrying is sent in verification information are identical, if connect
The identifying code received is identical as the identifying code that sends in verification information is carried, then is verified to identifying code, at this point, by the
The unique identification of user account and first terminal in one binding information is bound, and the binding procedure to first terminal is completed,
And the information in the first binding information is stored in the database of server, for subsequent calls, process terminates;If received
To identifying code it is different from the identifying code that sends in verification information is carried, then to the authentication failed of identifying code, at this time not to the
The unique identification of user account and first terminal in one binding information is bound, and process terminates.
Further, server can also be bound into the unique identification of first terminal feedback user account and first terminal
The prompt of function.
Step 311, server is taken according to the unique identification of the second terminal carried in bind request to second terminal transmission
Verification information with identifying code;The second webpage information is sent to first terminal according to bind request;
When target terminal is second terminal, server can be taken receiving the rear of bind request to second terminal transmission
Verification information with identifying code, second terminal are proved to be the user of second terminal triggering by being handled identifying code
Bindings, to improve the safety to the binding procedure of second terminal.Wherein, second terminal is carried in bind request only
One mark, the unique identification of the second terminal can be second terminal and got by application programming interface and be sent to the
One terminal, it is also possible to second terminal and receives input of the user in the input frame shown in interface to obtain and be sent to
One terminal, it can also be that first terminal receives input of the user in the input frame shown in interface and obtains.
In the present embodiment, server can be generated verification information and be sent out according to the unique identification of second terminal to second terminal
Verification information is sent, or, the unique identification of second terminal can also be sent to third party device by server, controls third party device
It generates verification information and sends verification information to second terminal, wherein verification information can only carry identifying code;Or, in order to
Verification information is identified, verification information can also carry the characteristic information of verification information in addition to carrying identifying code.The
The verification information received is stored in the inbox for the application for checking verification information by two terminals.Server generation is sent to the
The method of the verification information of two terminals is identical as the method for verification information that server generation is sent to first terminal, is detailed in step
Description in 303.
Further, in order to make which clear verification information of second terminal be that server is tested according to what bind request was sent
Information is demonstrate,proved, server can generate the second webpage information according to bind request, and the second webpage information is sent to first terminal,
The second webpage information is transmitted to second terminal by first terminal to handle, at this point, the second webpage information is used for second terminal
It is whether corresponding with bind request to the verification information received to verify.Server generates the method and clothes of the second webpage information
The method that business device generates the first webpage information is identical, the description being detailed in step 304.
It should be added that server can first to second terminal send verification information, after to first terminal send
Second webpage information;Can also first to first terminal send the second webpage information, after to second terminal send verification information;May be used also
To send the second webpage information to first terminal while sending verification information to second terminal.
Step 312, first terminal receives the second webpage information that server is sent according to bind request, second webpage letter
Whether breath is verify corresponding with bind request to verification information for second terminal;By what is obtained from the second webpage information
The characteristic information of verification information is sent to second terminal;
In the present embodiment, the second webpage information can be sent to second terminal by first terminal, by second terminal according to
Two webpage informations determine verification information corresponding with bind request.Preferably, in order to which the transmission for saving the second webpage information is opened
Pin, first terminal can obtain the characteristic information of the second webpage information from the second webpage information, and characteristic information is sent to
Second terminal.Wherein, characteristic information can be used to uniquely identify a verification information.
Step 313, second terminal obtains the characteristic information of verification information from verification information, is detecting from the second webpage
The characteristic information got in information with from the characteristic information got in verification information it is identical after, identified from verification information
Identifying code is sent to first terminal;
The spy that second terminal can detecte the characteristic information obtained from the second webpage information and obtain from verification information
Whether reference breath is identical.If it is detected that the characteristic information obtained from the second webpage information and the feature obtained from verification information
Information is identical, it is determined that the verification information is matched with the second webpage information, and second terminal can be identified from verification information and be tested
Card code is sent to first terminal;If it is detected that the characteristic information obtained from the second webpage information with obtain from verification information
Characteristic information is different, it is determined that the verification information and the second webpage information mismatch.
When second terminal sends identifying code to first terminal, if second terminal and first terminal are closer, the
Identifying code can be broadcast to first terminal by short distance broadcast technology by two terminals, which includes but unlimited
In WiFi(Wireless Fidelity, Wireless Fidelity) technology, Bluetooth technology and NFC(Near Field
Communication, close range wireless communication) technology.For example, second terminal directly chooses signal after identifying identifying code
The transmission channel that preferable or current time has built up connection sends identifying code to first terminal, or, second terminal is identifying
The prompt information for whether sending identifying code to first terminal is shown after identifying code in interface, is tested if user determines to need to send
Code is demonstrate,proved, then shows the sending method for sending identifying code in interface, is sent according to the sending method of user's selection to first terminal
Identifying code.If at a distance from first terminal farther out, second terminal can be sent to first by modes such as short messages to second terminal
Terminal.For example, second terminal shows whether test by short message to first terminal transmission after identifying identifying code in interface
The prompt information of code is demonstrate,proved, if user's determination needs to send identifying code, identifying code is added in short message and is sent to first terminal,
It or directly will be that the verification information of short message is sent to first terminal.
It should be added that the present embodiment does not limit, second terminal receives verification information and first terminal receives second
Webpage information executes sequence.I.e. second terminal can first receive verification information, and first terminal receives the second webpage information again,
The second webpage information can be first received with first terminal, second terminal receives verification information again, can also receive and test in second terminal
First terminal receives the second webpage information while demonstrate,proving information.
Step 314, first terminal receives the identifying code that second terminal is identified and sent from verification information, and receives input
The second binding information, which is that server is sent to according to the unique identification of the second terminal carried in bind request
Second terminal, which includes the unique identification of user account and second terminal;Identifying code and second are bound
Information is sent to server;
First terminal chooses corresponding reception mode according to the sending method that second terminal sends identifying code, according to corresponding
Reception mode receives identifying code.If second terminal sends identifying code to first terminal by short message mode, first terminal is also needed
Identifying code is identified from short message.
First terminal also needs to obtain the second binding information of the unique identification including user account and second terminal, with bright
Which which really need to bind user account and the unique identification of second terminal.Specifically, first terminal can be on boundary
It is shown in face for inputting the input frame of the second binding information, and input of the user received in input frame is determined as the
Two binding informations.The present embodiment does not limit the opportunity that first terminal obtains the second binding information, for example, first terminal can sent out
The second binding information is obtained when sending bind request, can also obtain second binding information etc. when sending identifying code.
First terminal identifying code that second terminal is identified and sent and is got after getting the second binding information
The second binding information be sent to server, identifying code and the second binding information are handled by server.
Step 315, server receives the identifying code and the second binding information that first terminal is sent, and the identifying code is whole by second
End identifies from the verification information received and is sent to first terminal, and second binding information is by second terminal from received defeated
First terminal is obtained and is sent in entering, which includes the unique identification of user account and second terminal;To testing
Card code is verified, after to being verified of identifying code, in the second binding information user account and second terminal only
One mark is bound.
Whether the identifying code that server detection receives and the identifying code that carrying is sent in verification information are identical, if connect
The identifying code received is identical as the identifying code that sends in verification information is carried, then is verified to identifying code, at this point, by the
The unique identification of user account and second terminal in two binding informations is bound, and the binding procedure to second terminal is completed,
And the information in the second binding information is stored in the database of server, for subsequent calls, process terminates;If received
To identifying code it is different from the identifying code that sends in verification information is carried, then to the authentication failed of identifying code, at this time not to the
The unique identification of user account and second terminal in two binding informations is bound, and process terminates.
In conclusion terminal binding method provided in an embodiment of the present invention, by identifying identifying code from verification information,
And receive the first binding information of input;Identifying code and the first binding information are sent to server, by server to identifying code
Be verified after, the unique identification of user account and first terminal in the first binding information is bound, so that first
Terminal can directly identify identifying code from verification information, without user from being checked after identifying code in verification information again
It is input in webpage, solves first terminal and be switched to from webpage and check that the application of verification information allows user to check identifying code,
User is allowed to input the efficiency of first terminal binding procedure caused by identifying code from the application switching of verification information is checked to webpage
Low problem has achieved the effect that the efficiency for improving first terminal binding procedure.In addition, receiving server by first terminal
The first webpage information sent according to bind request;Detect whether the first webpage information matches with the verification information received, it can
It to find verification information corresponding with bind request, then from the verification information identifies identifying code, solves and tested from other
The problem of identifying code authentication failed caused by identifying code leads to first terminal Bind Failed is identified in card information, has reached raising
The effect of the success rate of first terminal binding procedure.
Referring to FIG. 4, it illustrates the structural framing figure of terminal binding device provided by one embodiment of the present invention, the end
End binding device can be applied in first terminal, which can be smart television, smart phone or tablet computer
Etc..The terminal binding device, comprising:
Request sending module 401, for sending the bind request for carrying the unique identification of target terminal to server;
When information receiving module 402 for target terminal is first terminal, server is received according to request sending module
The verification information for carrying identifying code that 401 bind requests sent are sent;
First obtains module 403, for identifying identifying code from the verification information that information receiving module 402 receives,
And the first binding information of input is received, the first binding information includes the unique identification of user account and first terminal;
First sending module 404, identifying code and the first binding information for getting the first acquisition module 403 are sent
To server, so that server is to after being verified of identifying code, to the user account and first terminal in the first binding information
Unique identification bound.
In conclusion terminal binding device provided in an embodiment of the present invention, by identifying identifying code from verification information,
And receive the first binding information of input;Identifying code and the first binding information are sent to server, by server to identifying code
Be verified after, the unique identification of user account and first terminal in the first binding information is bound, so that first
Terminal can directly identify identifying code from verification information, without user from being checked after identifying code in verification information again
It is input in webpage, solves first terminal and be switched to from webpage and check that the application of verification information allows user to check identifying code,
User is allowed to input the efficiency of first terminal binding procedure caused by identifying code from the application switching of verification information is checked to webpage
Low problem has achieved the effect that the efficiency for improving first terminal binding procedure.
Referring to FIG. 5, the structural framing figure of the terminal binding device provided it illustrates yet another embodiment of the invention, the end
End binding device can be applied in first terminal, which can be smart television, smart phone or tablet computer
Etc..The terminal binding device, comprising: request sending module 401, information receiving module 402, first obtain module 403 and the
One sending module 404.
Request sending module 401, for sending the bind request for carrying the unique identification of target terminal to server;
When information receiving module 402 for target terminal is first terminal, server is received according to request sending module
The verification information for carrying identifying code that 401 bind requests sent are sent;
First obtains module 403, for identifying identifying code from the verification information that information receiving module 402 receives,
And the first binding information of input is received, the first binding information includes the unique identification of user account and first terminal;
First sending module 404, identifying code and the first binding information for getting the first acquisition module 403 are sent
To server, so that server is to after being verified of identifying code, to the user account and first terminal in the first binding information
Unique identification bound.
Optionally, device further include:
First receiving module 405 obtains module 403 before identifying identifying code in verification information for first, receives
The first webpage information that server is sent according to bind request, the first webpage information believe the verifying received for first terminal
Whether breath is corresponding with bind request to be verified;
Information detecting module 406, for detecting the first webpage information that the first receiving module 405 receives and receiving
Whether verification information matches;
Information determination module 407, result for detecting in information detecting module 406 are the first webpage information and receive
Verification information matching after, determine that verification information is corresponding with bind request, trigger execution identifying code is identified from verification information
The step of.
Optionally, information detecting module 406, comprising:
Information acquisition unit 4061, for obtaining the characteristic information of verification information from the first webpage information, and from verifying
The characteristic information of acquisition of information verification information;
Information detecting unit 4062, the feature letter obtained from the first webpage information for Detection information acquisition unit 4061
Whether breath and the characteristic information obtained from verification information are identical;
Information determination unit 4063, the result for detecting in information detecting unit 4062 are to obtain from the first webpage information
The characteristic information taken with from the characteristic information that verification information obtains it is identical after, determine that the first webpage information is believed with the verifying that receives
Breath matching.
Optionally, if target terminal is first terminal, request sending module 401, comprising:
Mark acquiring unit 4011, for obtaining the unique identification of first terminal by application programming interface;Or, obtaining
Take the unique identification of the first terminal inputted in the unique identification input frame of displaying;
Request transmitting unit 4012, the unique identification addition of the first terminal for getting mark acquiring unit 4011
It is sent to server, in bind request so that server sends verifying letter to first terminal according to the unique identification of first terminal
Breath.
Optionally, if target terminal is second terminal, device further include:
Second obtains module 408, sends the unique mark for carrying target terminal to server for request sending module 401
After the bind request of knowledge, the identifying code that second terminal is identified and sent from verification information is received, and receive the second of input
Binding information, verification information are that server according to the unique identification of the second terminal carried in bind request is sent to second terminal
, the second binding information includes the unique identification of user account and second terminal;
Second sending module 409, identifying code and the second binding information for getting the second acquisition module 408 are sent
To server, so that server is to after being verified of identifying code, to the user account and second terminal in the second binding information
Unique identification bound.
Optionally, device further include:
Second receiving module 410 receives second terminal for the second acquisition module 408 and identifies and send from verification information
Identifying code before, receive the second webpage information for sending according to bind request of server, the second webpage information is for the second end
Whether end is verify corresponding with bind request to verification information;
Third sending module 411, for being tested what is obtained from the second webpage information that the second receiving module 410 receives
The characteristic information of card information is sent to second terminal, so that second terminal obtains the feature letter of verification information from verification information
Breath, is detecting that the characteristic information got from the second webpage information is identical as the characteristic information got from verification information
Afterwards, identify that identifying code is sent to first terminal from verification information.
In conclusion terminal binding device provided in an embodiment of the present invention, by identifying identifying code from verification information,
And receive the first binding information of input;Identifying code and the first binding information are sent to server, by server to identifying code
Be verified after, the unique identification of user account and first terminal in the first binding information is bound, so that first
Terminal can directly identify identifying code from verification information, without user from being checked after identifying code in verification information again
It is input in webpage, solves first terminal and be switched to from webpage and check that the application of verification information allows user to check identifying code,
User is allowed to input the inefficiency of terminal binding procedure caused by identifying code from the application switching of verification information is checked to webpage
The problem of, achieve the effect that the efficiency for improving first terminal binding procedure.In addition, by first terminal receive server according to
The first webpage information that bind request is sent;Detect whether the first webpage information matches with the verification information received, Ke Yicha
Verification information corresponding with bind request is found, then identifies identifying code from the verification information, is solved from other verifying letters
The problem of identifying code authentication failed caused by identifying code leads to first terminal Bind Failed is identified in breath, has reached raising first
The effect of the success rate of terminal binding procedure.
Referring to FIG. 6, the structural block diagram of the terminal provided it illustrates an embodiment of the present disclosure, the terminal is for real
Terminal binding method provided by the above embodiment is applied, the terminal in the embodiment of the present disclosure may include one or more following compositions
Part: completing the processor of various processes and method for executing computer program instructions, refers to for information and storage program
Enable random access memory (RAM) and read-only memory (ROM), for storing data with the memory of information, I/O equipment, boundary
Face, antenna etc..Specifically:
Terminal 600 may include RF(Radio Frequency, radio frequency) circuit 610, memory 620, input unit 630,
Display unit 640, sensor 650, voicefrequency circuit 660, WiFi (wireless fidelity, Wireless Fidelity) module 670, place
Manage the components such as device 680, power supply 682, camera 690.It will be understood by those skilled in the art that terminal structure shown in Fig. 6 is simultaneously
The not restriction of structure paired terminal may include perhaps combining certain components or different than illustrating more or fewer components
Component layout.
It is specifically introduced below with reference to each component parts of the Fig. 6 to terminal 600:
RF circuit 610 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, handled to processor 680;In addition, the data for designing uplink are sent to base station.In general, RF circuit packet
Include but be not limited to antenna, at least one amplifier, transceiver, coupler, LNA(Low Noise Amplifier, low noise
Amplifier), duplexer etc..In addition, RF circuit 610 can also be communicated with network and other equipment by wireless communication.The nothing
Any communication standard or agreement, including but not limited to GSM (Global System of Mobile can be used in line communication
Communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet without
Line service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code
Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), electronics
Mail, SMS (Short Messaging Service, short message service) etc..
Memory 620 can be used for storing software program and module, and processor 680 is stored in memory 620 by operation
Software program and module, thereby executing the various function application and data processing of terminal 600.Memory 620 can be main
Including storing program area and storage data area, wherein storing program area can answer needed for storage program area, at least one function
With program (such as sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses institute according to terminal 600
Data (such as audio data, phone directory etc.) of creation etc..In addition, memory 620 may include high-speed random access memory,
It can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-states are deposited
Memory device.
Input unit 630 can be used for receiving the number or character information of input, and generate the user setting with terminal 600
And the related key signals input of function control.Specifically, input unit 630 may include touch panel 631 and other inputs
Equipment 632.Touch panel 631, also referred to as touch screen, collecting the touch operation of user on it or nearby, (for example user makes
With the operation of any suitable object or attachment such as finger, stylus on touch panel 631 or near touch panel 631), and
Corresponding attachment device is driven according to preset formula.Optionally, touch panel 631 may include touch detecting apparatus and touching
Touch two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring letter
Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into
Contact coordinate, then give processor 680, and order that processor 680 is sent can be received and executed.Furthermore, it is possible to using
The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize touch panel 631.It is defeated in addition to touch panel 631
Entering unit 630 can also include other input equipments 632.Specifically, other input equipments 632 can include but is not limited to physics
One of keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 640 can be used for showing information input by user or the information and terminal 600 that are supplied to user
Various menus.Display unit 640 may include display panel 641, optionally, can use LCD (Liquid Crystal
Display, liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) come
Configure display panel 641.Further, touch panel 631 can cover display panel 641, when touch panel 631 is detected at it
On or near touch operation after, send processor 680 to determine the type of touch event, be followed by subsequent processing device 680 according to touching
The type for touching event provides corresponding visual output on display panel 641.Although in Fig. 6, touch panel 631 and display surface
Plate 641 is the input and input function for realizing terminal 600 as two independent components, but in certain embodiments, it can
That terminal 600 is realized so that touch panel 631 and display panel 641 is integrated outputs and inputs function.
Terminal 600 may also include at least one sensor 650, such as gyro sensor, magnetic induction sensor, light sensing
Device, motion sensor and other sensors.Specifically, optical sensor may include ambient light sensor and proximity sensor,
In, ambient light sensor can adjust the brightness of display panel 641 according to the light and shade of ambient light, and proximity sensor can be in terminal
600 when being moved in one's ear, closes display panel 641 and/or backlight.As a kind of motion sensor, acceleration transducer can
The size for detecting (generally three axis) acceleration in all directions, can detect that size and the direction of gravity, can be used for when static
The application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of identification terminal posture, Vibration identification correlation function
(such as pedometer, percussion) etc.;Barometer, hygrometer, thermometer, infrared sensor for can also configure as terminal 600 etc.
Other sensors, details are not described herein.
Voicefrequency circuit 660, loudspeaker 661, microphone 662 can provide the audio interface between user and terminal 600.Audio
Electric signal after the audio data received conversion can be transferred to loudspeaker 661, be converted to sound by loudspeaker 661 by circuit 660
Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 662, after being received by voicefrequency circuit 660
Audio data is converted to, then by after the processing of audio data output processor 680, such as another end is sent to through RF circuit 610
End, or audio data is exported to memory 620 to be further processed.
WiFi belongs to short range wireless transmission technology, and terminal 600 can help user's transceiver electronics by WiFi module 670
Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 6 is shown
WiFi module 670, but it is understood that, and it is not belonging to must be configured into for terminal 600, it can according to need completely
Do not change in the range of disclosed essence and omits.
Processor 680 is the control centre of terminal 600, utilizes each portion of various interfaces and the entire terminal of connection
Point, by running or execute the software program and/or module that are stored in memory 620, and calls and be stored in memory 620
Interior data execute the various functions and processing data of terminal 600, to carry out integral monitoring to terminal.Optionally, processor
680 may include one or more processing units;Preferably, processor 680 can integrate application processor and modem processor,
Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing
Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 680.
Terminal 600 further includes the power supply 682(such as battery powered to all parts), it is preferred that power supply can pass through electricity
Management system and processor 680 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.
Camera 690 is generally by groups such as camera lens, imaging sensor, interface, digital signal processor, CPU, display screens
At.Wherein, camera lens is fixed on the top of imaging sensor, can change focusing by manually adjusting camera lens;Imaging sensor
It is equivalent to " film " of traditional camera, is the heart of camera collection image;Interface is used for camera using winding displacement, plate to plate
Connector, spring connection type are connect with terminal mainboard, and the image of acquisition is sent to the memory 620;Digital signal
Processor is handled by image of the mathematical operation to acquisition, the analog image of acquisition is converted to digital picture and by connecing
Mouth is sent to memory 620.
Although being not shown, terminal 600 can also be including bluetooth module etc., and details are not described herein.
Terminal 600 in addition to include one or more processor 680, further include have memory and one or more
Module, one or more module are stored in memory, and are configured to be executed by one or more processor.On
One or more module is stated with following function:
The bind request for carrying the unique identification of target terminal is sent to server;
If target terminal is first terminal, the verifying for carrying identifying code that server is sent according to bind request is received
Information;
Identifying code is identified from verification information, and receives the first binding information of input, and the first binding information includes using
The unique identification of family account and first terminal;
Identifying code and the first binding information are sent to server, it is right so that server is to after being verified of identifying code
The unique identification of user account and first terminal in first binding information is bound.
Optionally, before identifying identifying code in verification information, further includes:
The first webpage information that server is sent according to bind request is received, the first webpage information is docked for first terminal
Whether the verification information received is corresponding with bind request to be verified;
Detect whether the first webpage information matches with the verification information received;
If testing result is that the first webpage information is matched with the verification information received, it is determined that verification information is asked with binding
Ask corresponding, triggering executes the step of identifying code is identified from verification information.
Optionally, whether the first webpage information of detection matches with the verification information received, comprising:
The characteristic information of verification information is obtained from the first webpage information, and the feature of verification information is obtained from verification information
Information;
It detects the characteristic information obtained from the first webpage information and whether the characteristic information obtained from verification information is identical;
If testing result is the characteristic information obtained from the first webpage information and the characteristic information obtained from verification information
It is identical, it is determined that the first webpage information is matched with the verification information received.
Optionally, the bind request for carrying the unique identification of target terminal is sent to server, comprising:
The unique identification of first terminal is obtained by application programming interface;Or, acquisition is defeated in the unique identification of displaying
Enter the unique identification of the first terminal inputted in frame;
The unique identification of first terminal is added and is sent to server in the first bind request, so that server is according to the
The unique identification of one terminal sends verification information to first terminal.
Optionally, if target terminal is second terminal, the unique identification for carrying target terminal is sent to server
After bind request, further includes:
The identifying code that second terminal is identified and sent from verification information is received, and receives the second binding information of input,
Verification information is that server according to the unique identification of the second terminal carried in bind request is sent to second terminal, and second ties up
Determine the unique identification that information includes user account and second terminal;
Identifying code and the second binding information are sent to server, it is right so that server is to after being verified of identifying code
The unique identification of user account and second terminal in second binding information is bound.
Optionally, second terminal is received before the identifying code for identifying and sending in verification information, further includes:
Receive the second webpage information for sending according to bind request of server, the second webpage information is used for second terminal to testing
Demonstrate,prove whether information is verified corresponding with bind request;
The characteristic information of the verification information obtained from the second webpage information is sent to second terminal, so as to second terminal
The characteristic information that verification information is obtained from verification information, the characteristic information that detects to get from the second webpage information with
From the characteristic information got in verification information it is identical after, identify that identifying code is sent to first terminal from verification information.
Referring to FIG. 7, it illustrates the structural framing figure of terminal binding device provided by one embodiment of the present invention, the end
End binding device can be applied in server.The terminal binding device, comprising:
Request receiving module 701, the binding of the unique identification for carrying target terminal for receiving first terminal transmission
Request;
First sending module 702, for being connect according to request receiving module 701 when the target terminal is first terminal
The bind request received sends the verification information for carrying identifying code to first terminal;
First receiving module 703, for receiving the identifying code and the first binding information of first terminal transmission, identifying code is by the
One terminal identifies from the verification information that the first sending module 702 is sent and obtains, and the first binding information is by first terminal from reception
Input in obtain, the first binding information includes the unique identification of user account and first terminal;
First binding module 704, the identifying code for receiving to the first receiving module 703 are verified, and to testing
After card being verified of code, the unique identification of user account and first terminal in the first binding information is bound.
In conclusion terminal binding device provided in an embodiment of the present invention, the identifying code sent by receiving first terminal
With the first binding information, which is identified from verification information by first terminal and is obtained, and first binding information is whole by first
End is obtained from the input received, is verified to identifying code, and when being verified, is being bound to first to the identifying code
The unique identification of user account and first terminal in information is bound, and allows server to directly from verification information
The identifying code identified is verified, rather than is obtained to user from checking after identifying code to be input in webpage again in verification information
The identifying code got is verified, and is solved first terminal and is switched to from webpage and checks that the application of verification information allows user to check
Identifying code allows user to input first terminal binding procedure caused by identifying code from the application switching of verification information is checked to webpage
Inefficiency the problem of, achieved the effect that improve first terminal binding procedure efficiency.
Referring to FIG. 8, the structural framing figure of the terminal binding device provided it illustrates yet another embodiment of the invention, the end
End binding device can be applied in server.The terminal binding device, comprising: request receiving module 701, the first sending module
702, the first receiving module 703 and the first binding module 704.
Request receiving module 701, the bind request of the unique identification for carrying target terminal for receiving terminal transmission;
First sending module 702, for being received according to request receiving module 701 when target terminal is first terminal
Bind request sent to first terminal and carry the verification information of identifying code;
First receiving module 703, for receiving the identifying code and the first binding information of first terminal transmission, identifying code is by the
One terminal identifies from the verification information that the first sending module 702 is sent and obtains, and the first binding information is by first terminal from reception
Input in obtain, the first binding information includes the unique identification of user account and first terminal;
First binding module 704, the identifying code for receiving to the first receiving module 703 are verified, and to testing
After card being verified of code, the unique identification of user account and first terminal in the first binding information is bound.
Optionally, device further include:
Second sending module 705 receives the identifying code and the first binding that first terminal is sent for the first receiving module 703
Before information, the first webpage information is sent to first terminal according to the first bind request, so that first terminal is detecting first
It determines that verification information is corresponding with bind request after webpage information and the verification information matching received, is identified from verification information
Identifying code, for first terminal, to combining, whether the verification information searched out is corresponding with bind request to be tested the first webpage information
Card.
Optionally, device further include:
Information generating module 706 is carried to first terminal transmission according to bind request for the first sending module 702 and is tested
Before the verification information for demonstrate,proving code, the characteristic information of identifying code and verification information is generated according to bind request;
First sending module 702, specifically for according to bind request by the verification information including identifying code and characteristic information
It is sent to first terminal.
Optionally, device further include:
Auto-building html files module 707 generates identifying code and verification information according to bind request for information generating module 706
After characteristic information, characteristic information is added in the first webpage information.
Optionally, the first sending module 702, comprising:
Receiving unit 7021 is identified, for obtaining the unique identification of the first terminal in bind request, first terminal is only
One mark is acquired by first terminal by application programming interface;Or, the unique identification of first terminal is by first terminal
It is obtained by obtaining the input in the unique identification input frame of displaying;
Information transmitting unit 7022, the unique identification of first terminal for being got according to mark receiving unit 7021 to
First terminal sends the verification information for carrying identifying code and characteristic information.
Optionally, if target terminal is second terminal, device further include:
Third sending module 708 carries target terminal for what request receiving module 701 received that first terminal sends
After the bind request of unique identification, taken according to the unique identification of the second terminal carried in bind request to second terminal transmission
Verification information with identifying code;
Second receiving module 709, for receiving the identifying code and the second binding information of first terminal transmission, identifying code is by the
Two terminals identify and are sent to first terminal from the verification information that third sending module 708 is sent, and the second binding information is by
Two terminals obtain from received input and are sent to first terminal, and the second binding information includes user account and second terminal
Unique identification;
Second binding module 710, the identifying code for receiving to the second receiving module 709 is verified, to verifying
Code be verified after, the unique identification of user account and second terminal in the second binding information is bound.
Optionally, device further include:
4th sending module 711 receives the identifying code and the second binding that first terminal is sent for the second receiving module 709
Before information, the second webpage information is sent to first terminal according to bind request, so that first terminal will be from the second webpage information
The characteristic information of the verification information of middle acquisition is sent to second terminal, and second terminal obtains the spy of verification information from verification information
Reference breath, in the characteristic information for detecting the characteristic information got from the second webpage information with being got from verification information
After identical, identify that identifying code is sent to first terminal from verification information, identifying code is sent to server by first terminal.
In conclusion terminal binding device provided in an embodiment of the present invention, the identifying code sent by receiving first terminal
With the first binding information, which is identified from verification information by first terminal and is obtained, and first binding information is whole by first
End is obtained from the input received, is verified to identifying code, and when being verified, is being bound to first to the identifying code
The unique identification of user account and first terminal in information is bound, and allows server to directly from verification information
The identifying code identified is verified, rather than is obtained to user from checking after identifying code to be input in webpage again in verification information
The identifying code got is verified, and is solved first terminal and is switched to from webpage and checks that the application of verification information allows user to check
Identifying code allows user to input first terminal binding procedure caused by identifying code from the application switching of verification information is checked to webpage
Inefficiency the problem of, achieved the effect that improve first terminal binding procedure efficiency.In addition, by according to bind request
The first webpage information is sent to first terminal, so that first terminal is in the verification information for detecting the first webpage information Yu receiving
Identifying code is identified when matching from verification information, first terminal can be made to find verification information corresponding with bind request,
Identifying code is identified from the verification information again, is solved caused by reading identifying code from other verification informations first terminal
Identifying code authentication failed leads to the problem of first terminal Bind Failed, has reached the success rate for improving first terminal binding procedure
Effect.
Referring to FIG. 9, it illustrates the structural schematic diagrams of server provided by one embodiment of the present invention.The server
900 include central processing unit (CPU) 901, including random-access memory (ram) 902 and read-only memory (ROM) 903
System storage 904, and the system bus 905 of connection system storage 904 and central processing unit 901.The server
900 further include the basic input/output (I/O system) 906 of transmission information between each device helped in computer, and
Mass-memory unit 907 for storage program area 913, application program 910 and other program modules 915.
The basic input/output 906 includes display 908 for showing information and inputs letter for user
The input equipment 909 of such as mouse, keyboard etc of breath.Wherein the display 908 and input equipment 909 are all by being connected to
The input and output controller 910 of system bus 905 is connected to central processing unit 901.The basic input/output 906
Can also include input and output controller 910 with for receive and handle from keyboard, mouse or electronic touch pen etc. it is multiple its
The input of his equipment.Similarly, input and output controller 910 also provides output to display screen, printer or other kinds of defeated
Equipment out.
The mass-memory unit 907 is by being connected to the bulk memory controller (not shown) of system bus 905
It is connected to central processing unit 901.The mass-memory unit 907 and its associated computer-readable medium are server
900 provide non-volatile memories.That is, the mass-memory unit 907 may include such as hard disk or CD-ROM
The computer-readable medium (not shown) of driver etc.
Without loss of generality, the computer-readable medium may include computer storage media and communication media.Computer
Storage medium includes information such as computer readable instructions, data structure, program module or other data for storage
The volatile and non-volatile of any method or technique realization, removable and irremovable medium.Computer storage medium includes
RAM, ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, tape
Box, tape, disk storage or other magnetic storage devices.Certainly, skilled person will appreciate that the computer storage medium
It is not limited to above-mentioned several.Above-mentioned system storage 904 and mass-memory unit 907 may be collectively referred to as memory.
According to various embodiments of the present invention, the server 900 can also be arrived by network connections such as internets
Remote computer operation on network.Namely server 900 can be by the network interface that is connected on the system bus 905
Unit 911 is connected to network 912, in other words, Network Interface Unit 911 also can be used be connected to other kinds of network or
Remote computer system (not shown).
The memory further includes that one or more than one program, the one or more programs are stored in
In memory, the one or more programs have following function:
Receive the bind request for the unique identification for carrying target terminal that first terminal is sent;
If target terminal is first terminal, the verifying letter for carrying identifying code is sent to first terminal according to bind request
Breath;
Identifying code and the first binding information that first terminal is sent are received, identifying code is known from verification information by first terminal
It does not obtain, the first binding information is obtained from received input by first terminal, and the first binding information includes user account and
The unique identification of one terminal;
Identifying code is verified, and to identifying code when being verified, to the user account in the first binding information
It is bound with the unique identification of first terminal.
Optionally, before the identifying code and the first binding information that receive first terminal transmission, further includes:
The first webpage information is sent to first terminal according to bind request, so that first terminal is detecting the first webpage letter
It ceases and determines that verification information is corresponding with bind request with after the verification information matching received, verifying is identified from verification information
Code, the first webpage information are verified for whether first terminal to be corresponding with bind request to the verification information received.
Optionally, before the verification information for carrying identifying code to first terminal transmission according to bind request, further includes:
The characteristic information of identifying code and verification information is generated according to bind request;
The verification information for carrying identifying code is sent to first terminal according to bind request, comprising:
The verification information including identifying code and characteristic information is sent to first terminal according to bind request.
Optionally, after according to bind request generation identifying code and the characteristic information of verification information, further includes:
Characteristic information is added in the first webpage information.
Optionally, the verification information including identifying code and characteristic information is sent to by first terminal according to bind request, wrapped
It includes:
The unique identification of the first terminal in bind request is obtained, the unique identification of first terminal is by first terminal by answering
It is acquired with Program Interfaces;Or, the unique identification of first terminal is by first terminal by obtaining unique mark in displaying
The input known in input frame obtains;
The verification information for carrying identifying code and characteristic information is sent to first terminal according to the unique identification of first terminal.
Optionally, if target terminal is second terminal, receive first terminal transmission carries the unique of target terminal
After the bind request of mark, further includes:
Testing for identifying code is carried to second terminal transmission according to the unique identification of the second terminal carried in bind request
Demonstrate,prove information;
Identifying code and the second binding information that first terminal is sent are received, identifying code is by second terminal from the verifying received
First terminal is identified and is sent in information, and the second binding information is obtained from received input by second terminal and is sent to
One terminal, the second binding information include the unique identification of user account and second terminal;
Identifying code is verified, after to being verified of identifying code, in the second binding information user account and
The unique identification of second terminal is bound.
Optionally, before the identifying code and the second binding information that receive first terminal transmission, further includes:
The second webpage information is sent to first terminal according to bind request, so that first terminal will be from the second webpage information
The characteristic information of the verification information of acquisition is sent to second terminal, and second terminal obtains the feature of verification information from verification information
Information, in the characteristic information phase for detecting the characteristic information got from the second webpage information with being got from verification information
With after, identify that identifying code is sent to first terminal from verification information, identifying code is sent to server by first terminal.
Referring to FIG. 10, the structural block diagram of the terminal binding system provided it illustrates an embodiment of the present disclosure.It should
Terminal binding system may include: first terminal 1001 and server 1002, lead between first terminal 1001 and server 1002
Cross cable network or wireless network connection.
First terminal 1001, for sending the bind request for carrying the unique identification of target terminal to server 1002;
Server 1002 is asked for receiving the binding for the unique identification for carrying target terminal of the transmission of first terminal 1001
It asks;If target terminal is first terminal 1001, testing for identifying code is carried to the transmission of first terminal 1001 according to bind request
Demonstrate,prove information;
First terminal 1001 is also used to receive the verifying for carrying identifying code that server 1002 is sent according to bind request
Information;Identifying code is identified from verification information, and receives the first binding information of input, and the first binding information includes user's account
The unique identification at family and first terminal 1001;Identifying code and the first binding information are sent to server 1002;
Server 1002 is also used to receive the identifying code and the first binding information of the transmission of first terminal 1001;To identifying code
It is verified, and after to being verified of identifying code, to the user account and first terminal 1001 in the first binding information
Unique identification is bound.
In conclusion terminal binding system provided in an embodiment of the present invention, by identifying identifying code from verification information,
And receive the first binding information of input;Identifying code and the first binding information are sent to server, by server to identifying code
Be verified after, the unique identification of user account and first terminal in the first binding information is bound, so that first
Terminal can directly identify identifying code from verification information, without user from being checked after identifying code in verification information again
It is input in webpage, solves first terminal and be switched to from webpage and check that the application of verification information allows user to check identifying code,
User is allowed to input the efficiency of first terminal binding procedure caused by identifying code from the application switching of verification information is checked to webpage
Low problem has achieved the effect that the efficiency for improving first terminal binding procedure.
Figure 11 is please referred to, it illustrates the structural framing figures for the terminal binding system that yet another embodiment of the invention provides.It should
Terminal binding system may include: first terminal 1001, server 1002 and second terminal 1003, first terminal 1001, service
Pass through cable network or wireless network connection between device 1002 and second terminal 1003.
First terminal 1001, for sending the bind request for carrying the unique identification of target terminal to server 1002;
Server 1002 is asked for receiving the binding for the unique identification for carrying target terminal of the transmission of first terminal 1001
It asks;If target terminal is first terminal 1001, testing for identifying code is carried to the transmission of first terminal 1001 according to bind request
Demonstrate,prove information;
First terminal 1001 is also used to receive the verifying for carrying identifying code that server 1002 is sent according to bind request
Information;Identifying code is identified from verification information, and receives the first binding information of input, and the first binding information includes user's account
The unique identification at family and first terminal 1001;Identifying code and the first binding information are sent to server 1002;
Server 1002 is also used to receive the identifying code and the first binding information of the transmission of first terminal 1001;To identifying code
It is verified, and after to being verified of identifying code, to the user account and first terminal 1001 in the first binding information
Unique identification is bound.
Optionally, server 1002 are also used to send the first webpage information to first terminal 1001 according to bind request, the
One webpage information is verified for whether first terminal 1001 to be corresponding with bind request to the verification information received;
First terminal 1001 is also used to receive the first webpage information that server 1002 is sent according to bind request;Detection
Whether the first webpage information matches with the verification information received;If testing result is the first webpage information and the verifying received
Information matches, it is determined that verification information is corresponding with bind request, and triggering executes the step of identifying code is identified from verification information.
Optionally, first terminal 1001, specifically for obtaining the characteristic information of verification information from the first webpage information, and
The characteristic information of verification information is obtained from verification information;The characteristic information obtained from the first webpage information is detected to believe with from verifying
Whether identical cease the characteristic information obtained;If testing result is that the characteristic information obtained from the first webpage information is believed with from verifying
It is identical to cease the characteristic information obtained, it is determined that the first webpage information is matched with the verification information received.
Optionally, if target terminal is second terminal 1003, server 1002 is also used to carry according in bind request
The unique identification of second terminal 1003 sent to second terminal 1003 and carry the verification information of identifying code;
First terminal 1001 is also used to receive the identifying code that second terminal 1003 is identified and sent from verification information, and
The second binding information of input is received, the second binding information includes the unique identification of user account and second terminal 1003;It will test
Card code and the second binding information are sent to server 1002;
Server 1002 is also used to receive the identifying code and the second binding information of the transmission of first terminal 1001;To identifying code
Verified, after to being verified of identifying code, in the second binding information user account and second terminal 1003 only
One mark is bound.
Optionally, server 1002 are also used to send the second webpage information to first terminal 1001 according to bind request, the
Whether two webpage informations are verify corresponding with bind request to verification information for second terminal 1003;
First terminal 1001 is also used to receive the second webpage information that server 1002 is sent according to bind request;It will be from
The characteristic information of the verification information obtained in second webpage information is sent to second terminal 1003, so that second terminal 1003 is from testing
Demonstrate,prove the characteristic information that verification information is obtained in information, detect the characteristic information got from the second webpage information with from testing
After the characteristic information got in card information is identical, identify that identifying code is sent to first terminal 1001 from verification information.
Further, first terminal 1101 can be the first terminal as shown in Fig. 4 or 5 or 6, and server 1002 can be
The server as shown in Fig. 7 or 8 or 9.
In conclusion terminal binding system provided in an embodiment of the present invention, by identifying identifying code from verification information,
And receive the first binding information of input;Identifying code and the first binding information are sent to server, by server to identifying code
Be verified after, the unique identification of user account and first terminal in the first binding information is bound, so that first
Terminal can directly identify identifying code from verification information, without user from being checked after identifying code in verification information again
It is input in webpage, solves first terminal and be switched to from webpage and check that the application of verification information allows user to check identifying code,
User is allowed to input the efficiency of first terminal binding procedure caused by identifying code from the application switching of verification information is checked to webpage
Low problem has achieved the effect that the efficiency for improving first terminal binding procedure.In addition, receiving server by first terminal
The first webpage information sent according to bind request;Detect whether the first webpage information matches with the verification information received, it can
It to find verification information corresponding with bind request, then from the verification information identifies identifying code, solves and tested from other
Identifying code authentication failed the problem of leading to first terminal Bind Failed caused by identifying code is read in card information, has reached raising the
The effect of the success rate of one terminal binding procedure.
It should be understood that terminal binding device provided by the above embodiment is when carrying out terminal binding, only with above-mentioned each
The division progress of functional module can according to need and for example, in practical application by above-mentioned function distribution by different function
Energy module is completed, i.e., the internal structure of terminal binding device is divided into different functional modules, described above complete to complete
Portion or partial function.In addition, terminal binding device provided by the above embodiment belong to terminal binding method embodiment it is same
Design, specific implementation process are detailed in embodiment of the method, and which is not described herein again.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (19)
1. a kind of terminal binding method, which is characterized in that in first terminal, which comprises
The bind request for carrying the unique identification of target terminal is sent to server;
If the target terminal is the first terminal, receives the server and carried according to what the bind request was sent
The verification information of identifying code;
The first webpage information that the server is sent according to the bind request is received, first webpage information is for described
Whether first terminal is corresponding with the bind request to the verification information received to be verified;
Obtain the characteristic information of the verification information from first webpage information, and from the verification information obtain described in test
Demonstrate,prove the characteristic information of information;The characteristic information includes sender's unique identification of verification information and the sequence of the verification information
Number;
If the characteristic information obtained from first webpage information is believed with the feature obtained from the verification information
Manner of breathing is same, it is determined that first webpage information is matched with the verification information received;
If first webpage information is matched with the verification information received, it is determined that the verification information and the binding
Request corresponds to, and triggering identifies the identifying code from the verification information, and receives the first binding information of input, and described the
One binding information includes the unique identification of user account and the first terminal;
The identifying code and first binding information are sent to the server, so that the server is to the identifying code
Be verified after, the unique identification of the user account and the first terminal in first binding information is tied up
It is fixed.
2. described the method according to claim 1, wherein if the target terminal is the first terminal
The bind request for carrying the unique identification of target terminal is sent to server, comprising:
The unique identification of the first terminal is obtained by application programming interface;Or, acquisition is defeated in the unique identification of displaying
Enter the unique identification of the first terminal inputted in frame;
The unique identification addition of the first terminal is sent to the server in the bind request, so as to the service
Device sends the verification information to the first terminal according to the unique identification of the first terminal.
3. method according to claim 1 or 2, which is characterized in that if the target terminal is second terminal, it is described to
Server is sent after the bind request for the unique identification for carrying target terminal, further includes:
The identifying code that the second terminal is identified and sent from verification information is received, and receives the second binding information of input,
The verification information is that the server is sent to according to the unique identification of the second terminal carried in the bind request
The second terminal, second binding information includes the unique identification of the user account and the second terminal;
The identifying code and second binding information are sent to the server, so that the server is to the identifying code
Be verified after, the unique identification of the user account and the second terminal in second binding information is tied up
It is fixed.
4. the method according to claim 1, wherein the reception second terminal is identified from verification information
And before the identifying code sent, further includes:
The second webpage information that the server is sent according to the bind request is received, second webpage information is for described
Whether second terminal is verify corresponding with the bind request to the verification information;
The characteristic information of the verification information obtained from second webpage information is sent to the second terminal, so as to
The second terminal obtains the characteristic information of the verification information from the verification information, is detecting from second webpage
The characteristic information got in information with from the characteristic information got in the verification information it is identical after, from described
Identify that the identifying code is sent to the first terminal in verification information.
5. a kind of terminal binding method, which is characterized in that in server, which comprises
Receive the bind request for the unique identification for carrying target terminal that first terminal is sent;
If the target terminal is the first terminal, the feature of identifying code and verification information is generated according to the bind request
Information;
The verifying including the identifying code and the characteristic information is sent to the first terminal according to the bind request
Information;
The characteristic information is added in the first webpage information;
First webpage information is sent to the first terminal according to the bind request, so that the first terminal is detecting
The characteristic information out in first webpage information is identical as the characteristic information in the verification information received
After determine that the verification information is corresponding with the bind request, identify the identifying code from the verification information, described
One webpage information is tested for whether the first terminal to be corresponding with the bind request to the verification information received
Card;The characteristic information includes sender's unique identification of verification information and the sequence number of the verification information;
Receive the identifying code and the first binding information that the first terminal is sent, the identifying code by the first terminal from
Identification obtains in the verification information, and first binding information is obtained from received input by the first terminal, described
First binding information includes the unique identification of user account and the first terminal;
The identifying code is verified, and after to being verified of the identifying code, in first binding information
The unique identification of the user account and the first terminal is bound.
6. according to the method described in claim 5, it is characterized in that, described according to the bind request will include the identifying code
The first terminal is sent to the verification information of the characteristic information, comprising:
The unique identification of the first terminal in the bind request is obtained, the unique identification of the first terminal is by described
One terminal is acquired by application programming interface;Or, the unique identification of the first terminal is led to by the first terminal
The input obtained in the unique identification input frame of displaying is crossed to obtain;
The identifying code and feature letter are carried to first terminal transmission according to the unique identification of the first terminal
The verification information of breath.
7. method according to claim 5 or 6, which is characterized in that described to connect if the target terminal is second terminal
After the bind request for receiving the unique identification for carrying target terminal that first terminal is sent, further includes:
It is carried and is tested to second terminal transmission according to the unique identification of the second terminal carried in the bind request
Demonstrate,prove the verification information of code;
Receive the identifying code and the second binding information that the first terminal is sent, the identifying code by the second terminal from
The first terminal is identified and is sent in the verification information received, and second binding information is by the second terminal
Obtain and be sent to the first terminal from received input, second binding information includes the user account and described
The unique identification of second terminal;
The identifying code is verified, after to being verified of the identifying code, to the institute in second binding information
The unique identification for stating user account and the second terminal is bound.
8. according to the method described in claim 5, it is characterized in that, the identifying code for receiving the first terminal and sending
Before the second binding information, further includes:
The second webpage information is sent to the first terminal according to the bind request, so that the first terminal will be from described the
The characteristic information of the verification information obtained in two webpage informations is sent to the second terminal, and the second terminal is from described
The characteristic information that the verification information is obtained in verification information, described in detecting to get from second webpage information
Characteristic information with from the characteristic information got in the verification information it is identical after, institute is identified from the verification information
It states identifying code and is sent to the first terminal, the identifying code is sent to the server by the first terminal.
9. a kind of terminal binding device, which is characterized in that in first terminal, described device to include:
Request sending module, for sending the bind request for carrying the unique identification of target terminal to server;
When information receiving module for the target terminal is the first terminal, the server is received according to the request
The verification information for carrying identifying code that the bind request that sending module is sent is sent;
First obtains module, for identifying the verifying from the verification information that the information receiving module receives
Code, and receives the first binding information of input, and first binding information includes the unique of user account and the first terminal
Mark;
First sending module, the identifying code and first binding information for getting the first acquisition module are sent out
The server is given, so that the server is to after being verified of the identifying code, in first binding information
The unique identification of the user account and the first terminal is bound;
Described device further include:
First receiving module obtains module before identifying the identifying code in the verification information for described first, connects
The first webpage information that the server is sent according to the bind request is received, first webpage information is whole for described first
Hold verify whether corresponding with the bind request to the verification information received;
Information detecting module, for detecting first webpage information that first receiving module receives and the institute received
State whether verification information matches;
Information determination module, result first webpage information for being detected in the information detecting module with receive
After the verification information matching, determine that the verification information is corresponding with the bind request, triggering executes described from the verifying
The step of identifying code is identified in information;
The information detecting module, comprising:
Information acquisition unit, for obtaining the characteristic information of the verification information from first webpage information, and from described
Verification information obtains the characteristic information of the verification information;The characteristic information include verification information sender's unique identification and
The sequence number of the verification information;
Information detecting unit, the feature letter obtained from first webpage information for detecting the information acquisition unit
Whether breath and the characteristic information obtained from the verification information are identical;
Information determination unit, for being obtained from first webpage information in the result that the information detecting unit detects
The characteristic information with from the characteristic information that the verification information obtains it is identical after, determine first webpage information and connect
The verification information matching received.
10. device according to claim 9, which is characterized in that described if the target terminal is the first terminal
Request sending module, comprising:
Mark acquiring unit, for obtaining the unique identification of the first terminal by application programming interface;Or, obtaining
The unique identification of the first terminal inputted in the unique identification input frame of displaying;
The unique identification of request transmitting unit, the first terminal for getting the mark acquiring unit is added in institute
State and be sent to the server in bind request, so as to the server according to the unique identification of the first terminal to described
One terminal sends the verification information.
11. device according to claim 9 or 10, which is characterized in that described if the target terminal is second terminal
Device further include:
Second obtains module, sends tying up for the unique identification for carrying target terminal to server for the request sending module
After fixed request, the identifying code that the second terminal is identified and sent from verification information is received, and receive the second of input and tie up
Determine information, the verification information is unique identification of the server according to the second terminal carried in the bind request
It is sent to the second terminal, second binding information includes unique mark of the user account and the second terminal
Know;
Second sending module, the identifying code and second binding information for getting the second acquisition module are sent out
The server is given, so that the server is to after being verified of the identifying code, in second binding information
The unique identification of the user account and the second terminal is bound.
12. device according to claim 9, which is characterized in that described device further include:
Second receiving module receives the second terminal for the second acquisition module and identifies from verification information and send
Before identifying code, the second webpage information that the server is sent according to the bind request, second webpage information are received
It whether is verify corresponding with the bind request to the verification information for the second terminal;
Third sending module, for it will be obtained from second webpage information that second receiving module receives described in
The characteristic information of verification information is sent to the second terminal, obtained from the verification information so as to the second terminal described in
The characteristic information of verification information is detecting that the characteristic information got from second webpage information tests with from described
After the characteristic information got in card information is identical, it is described to identify that the identifying code is sent to from the verification information
First terminal.
13. a kind of terminal binding device, which is characterized in that in server, described device to include:
Request receiving module, the bind request of the unique identification for carrying target terminal for receiving first terminal transmission;
First sending module, for being received according to the request receiving module when the target terminal is the first terminal
To the bind request sent to the first terminal and carry the verification information of identifying code;
First receiving module, the identifying code and the first binding information sent for receiving the first terminal, the verifying
Code is identified from the verification information that first sending module is sent by the first terminal to be obtained, the first binding letter
Breath is obtained from received input by the first terminal, and first binding information includes user account and the first terminal
Unique identification;
First binding module, the identifying code for receiving to first receiving module are verified, and to described
After being verified of identifying code, to the unique identification of the user account and the first terminal in first binding information
It is bound;
Described device further include:
Second sending module receives the identifying code and first that the first terminal is sent for first receiving module and ties up
Before determining information, the first webpage information is sent to the first terminal according to first bind request, eventually so as to described first
The verification information and institute are determined after holding when detecting that first webpage information is matched with the verification information received
It is corresponding to state bind request, identifies that the identifying code, first webpage information are used for described first from the verification information
Whether the verification information that end-on receives is corresponding with the bind request to be verified;
Described device further include:
Information generating module is carried according to the bind request to first terminal transmission for first sending module
Before the verification information of identifying code, the characteristic information of the identifying code and the verification information is generated according to the bind request;
The characteristic information includes sender's unique identification of verification information and the sequence number of the verification information;
First sending module, specifically for will include the identifying code and the characteristic information according to the bind request
The verification information is sent to the first terminal;
Described device further include:
Auto-building html files module generates the identifying code and the verifying according to the bind request for the information generating module
After the characteristic information of information, the characteristic information is added in first webpage information.
14. device according to claim 13, which is characterized in that first sending module, comprising:
Receiving unit is identified, for obtaining the unique identification of the first terminal in the bind request, the first terminal
Unique identification acquired by the first terminal by application programming interface;Or, unique mark of the first terminal
Know and is obtained by the first terminal by obtaining the input in the unique identification input frame of displaying;
Information transmitting unit, the unique identification of the first terminal for being got according to the mark receiving unit is to described
First terminal sends the verification information for carrying the identifying code and the characteristic information.
15. device described in 3 or 14 according to claim 1, which is characterized in that if the target terminal is second terminal, institute
State device further include:
Third sending module receives the unique mark for carrying target terminal that first terminal is sent for the request receiving module
After the bind request of knowledge, according to the unique identification of the second terminal carried in the bind request to the second terminal
Send the verification information for carrying identifying code;
Second receiving module, the identifying code and the second binding information sent for receiving the first terminal, the verifying
Code is identified from the verification information that the third sending module is sent by the second terminal and is sent to described first eventually
End, second binding information is obtained from received input by the second terminal and is sent to the first terminal, described
Second binding information includes the unique identification of the user account and the second terminal;
Second binding module, the identifying code for receiving to second receiving module are verified, are tested to described
After card being verified of code, to the unique identification of the user account and the second terminal in second binding information into
Row binding.
16. device according to claim 13, which is characterized in that described device further include:
4th sending module receives the identifying code and second that the first terminal is sent for second receiving module and ties up
Before determining information, the second webpage information is sent to the first terminal according to the bind request, so that the first terminal will
The characteristic information of the verification information obtained from second webpage information is sent to the second terminal, and described second eventually
End obtains the characteristic information of the verification information from the verification information, is detecting to obtain from second webpage information
To the characteristic information with from the characteristic information got in the verification information it is identical after, from the verification information
Identify that the identifying code is sent to the first terminal, the identifying code is sent to the server by the first terminal.
17. a kind of terminal binding system, which is characterized in that the system comprises first terminal and server, the first terminal
Pass through cable network or wireless network connection between the server;
The first terminal, for sending the bind request for carrying the unique identification of target terminal to the server;
The server, the binding for receiving the unique identification for carrying target terminal that the first terminal is sent are asked
It asks;If the target terminal is the first terminal, is carried and tested to first terminal transmission according to the bind request
Demonstrate,prove the verification information of code;
The first terminal is also used to receive the verifying for carrying identifying code that the server is sent according to the bind request
Information;The identifying code is identified from the verification information, and receives the first binding information of input, the first binding letter
Breath includes the unique identification of user account and the first terminal;The identifying code and first binding information are sent to institute
State server;
The server is also used to receive the identifying code and first binding information that the first terminal is sent;To institute
It states identifying code to be verified, and after to being verified of the identifying code, to the user in first binding information
Account and the unique identification of the first terminal are bound;
The server, be also used to according to the bind request to the first terminal send the first webpage information, described first
Webpage information is verified for whether the first terminal to be corresponding with the bind request to the verification information received;
The first terminal is also used to receive first webpage information that the server is sent according to the bind request;
Detect whether first webpage information matches with the verification information received;If testing result is first webpage letter
It ceases and is matched with the verification information received, it is determined that the verification information is corresponding with the bind request, and triggering executes institute
State the step of identifying the identifying code from the verification information;
The first terminal, specifically for obtaining the characteristic information of the verification information from first webpage information, and from
The verification information obtains the characteristic information of the verification information;Detect the feature obtained from first webpage information
Whether information and the characteristic information obtained from the verification information are identical;If testing result is from first webpage information
The characteristic information of middle acquisition is identical as the characteristic information obtained from the verification information, it is determined that first webpage
Information is matched with the verification information received;The characteristic information includes sender's unique identification of verification information and described
The sequence number of verification information.
18. system according to claim 17, which is characterized in that if the target terminal is second terminal, the clothes
Business device is also used to be taken according to the unique identification of the second terminal carried in the bind request to second terminal transmission
Verification information with identifying code;
The first terminal is also used to receive the identifying code that the second terminal is identified and sent from the verification information, and
The second binding information of input is received, second binding information includes unique mark of the user account and the second terminal
Know;The identifying code and second binding information are sent to the server;
The server is also used to receive the identifying code and second binding information that the first terminal is sent;To institute
It states identifying code to be verified, after to being verified of the identifying code, to user's account in second binding information
The unique identification of family and the second terminal is bound.
19. system according to claim 17, which is characterized in that the server is also used to according to the bind request
The second webpage information is sent to the first terminal, second webpage information is for the second terminal to the verification information
It whether is verified corresponding with the bind request;
The first terminal is also used to receive the second webpage information that the server is sent according to the bind request;It will be from
The characteristic information of the verification information obtained in second webpage information is sent to the second terminal, so as to described second
Terminal obtains the characteristic information of the verification information from the verification information, is detecting to obtain from second webpage information
The characteristic information got with from the characteristic information got in the verification information it is identical after, from the verification information
In identify that the identifying code is sent to the first terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410026023.XA CN104796385B (en) | 2014-01-20 | 2014-01-20 | Terminal binding method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410026023.XA CN104796385B (en) | 2014-01-20 | 2014-01-20 | Terminal binding method, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104796385A CN104796385A (en) | 2015-07-22 |
CN104796385B true CN104796385B (en) | 2019-04-16 |
Family
ID=53560898
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410026023.XA Active CN104796385B (en) | 2014-01-20 | 2014-01-20 | Terminal binding method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104796385B (en) |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11966907B2 (en) * | 2014-10-25 | 2024-04-23 | Yoongnet Inc. | System and method for mobile cross-authentication |
CN104780155B (en) * | 2015-03-16 | 2018-03-06 | 小米科技有限责任公司 | Apparatus bound method and device |
KR102381369B1 (en) * | 2015-09-23 | 2022-03-31 | 삼성전자주식회사 | Portable apparatus and method for network setup of audio apparatus |
CN105376636B (en) * | 2015-10-08 | 2018-05-01 | 青岛海信电器股份有限公司 | Fill in method, householder method, smart television and the intelligent mobile terminal of identifying code |
CN105577648A (en) * | 2015-12-11 | 2016-05-11 | 北京奇虎科技有限公司 | Method for obtaining and sending short message identifying code, calculating device and mobile terminal |
CN105554735A (en) * | 2015-12-18 | 2016-05-04 | Tcl集团股份有限公司 | Method and system for binding intelligent device |
CN105635142A (en) * | 2015-12-29 | 2016-06-01 | 深圳市瑞铭无限科技有限公司 | Account association relation establishment method and server |
CN109040010A (en) | 2015-12-31 | 2018-12-18 | 华为技术有限公司 | A kind of identifying code acquisition methods, device and terminal |
CN105812491B (en) * | 2016-05-12 | 2020-06-16 | 腾讯科技(深圳)有限公司 | Equipment remote binding method and device |
CN106375096B (en) * | 2016-09-09 | 2019-12-06 | 北京小米移动软件有限公司 | short message verification method and device |
CN108737366B (en) * | 2017-04-17 | 2022-04-22 | 王正伟 | Binding method |
CN111278000B (en) * | 2017-06-13 | 2022-10-28 | Oppo广东移动通信有限公司 | Method, device, terminal and storage medium for binding mobile phone number |
CN107317807A (en) * | 2017-06-22 | 2017-11-03 | 北京洋浦伟业科技发展有限公司 | A kind of apparatus bound method, apparatus and system |
CN107277017A (en) * | 2017-06-22 | 2017-10-20 | 北京洋浦伟业科技发展有限公司 | Purview certification method, apparatus and system based on encryption key and device-fingerprint |
CN107369231B (en) * | 2017-06-29 | 2023-09-12 | 山东千沐云物联科技股份有限公司 | Intelligent lock control method and device |
CN107222498B (en) * | 2017-06-30 | 2020-02-21 | 江西博瑞彤芸科技有限公司 | Binding processing method for shared data |
CN107786569A (en) * | 2017-11-06 | 2018-03-09 | 维沃移动通信有限公司 | A kind of identifying code sending method, method of reseptance and relevant device |
CN108541078B (en) * | 2017-12-28 | 2021-07-06 | Tcl家用电器(合肥)有限公司 | Terminal binding method, system, terminal and server |
CN109886375B (en) * | 2019-02-17 | 2022-06-03 | 北京意锐新创科技有限公司 | Method and system for replacing bound two-dimensional code reading devices in batches |
CN112235177B (en) * | 2020-08-29 | 2021-12-24 | 上海量明科技发展有限公司 | Method, device and system for sending authentication information through instant messaging |
CN113596005B (en) * | 2021-07-22 | 2023-07-14 | 杭州华橙软件技术有限公司 | Binding method, binding device, binding system, storage medium and binding electronic device for equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101159753A (en) * | 2007-09-12 | 2008-04-09 | 傅海波 | Novel network advertisement of implementing enterprise business card download through mobile instrument |
CN102143482A (en) * | 2011-04-13 | 2011-08-03 | 中国工商银行股份有限公司 | Method and system for authenticating mobile banking client information, and mobile terminal |
CN102958022A (en) * | 2012-11-23 | 2013-03-06 | 深圳市朗科科技股份有限公司 | Short message verification method, device and system |
CN103401685A (en) * | 2013-07-24 | 2013-11-20 | 惠州Tcl移动通信有限公司 | Mobile terminal and information processing method thereof |
-
2014
- 2014-01-20 CN CN201410026023.XA patent/CN104796385B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101159753A (en) * | 2007-09-12 | 2008-04-09 | 傅海波 | Novel network advertisement of implementing enterprise business card download through mobile instrument |
CN102143482A (en) * | 2011-04-13 | 2011-08-03 | 中国工商银行股份有限公司 | Method and system for authenticating mobile banking client information, and mobile terminal |
CN102958022A (en) * | 2012-11-23 | 2013-03-06 | 深圳市朗科科技股份有限公司 | Short message verification method, device and system |
CN103401685A (en) * | 2013-07-24 | 2013-11-20 | 惠州Tcl移动通信有限公司 | Mobile terminal and information processing method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104796385A (en) | 2015-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104796385B (en) | Terminal binding method, apparatus and system | |
CN104468464B (en) | verification method, device and system | |
CN104468463B (en) | Verification method, device and system | |
CN103400108B (en) | Face identification method, device and mobile terminal | |
CN105306199B (en) | Auth method, apparatus and system | |
CN104901805B (en) | A kind of identification authentication methods, devices and systems | |
CN104967593B (en) | A kind of auth method, device and system | |
CN104735657B (en) | Security terminal verification method, wireless access point binding method, apparatus and system | |
CN107992728A (en) | Face verification method and device | |
CN104573437B (en) | Information authentication method, device and terminal | |
CN105468952A (en) | Authentication method and apparatus | |
CN106912048A (en) | Access-in point information sharing method and device | |
CN109558718A (en) | Application program login method, computer end, mobile terminal, system and storage medium | |
CN109102297A (en) | Revocable payment method and device | |
CN106130735A (en) | The processing method of a kind of communication information, device and mobile terminal | |
CN107786569A (en) | A kind of identifying code sending method, method of reseptance and relevant device | |
CN104901806B (en) | A kind of virtual resource processing method, device and system | |
CN110457888A (en) | A kind of verifying code imput method, device, electronic equipment and storage medium | |
CN107682359A (en) | One kind is using register method, mobile terminal | |
CN108196762A (en) | A kind of terminal control method, terminal and computer readable storage medium | |
CN108234124A (en) | Auth method, device and system | |
CN110474864A (en) | A kind of method and electronic equipment registered, log in mobile applications | |
CN104899488B (en) | Numeric value transfer and device | |
CN110418311A (en) | A kind of interconnected method based on multiple terminals, device and terminal | |
CN110096320A (en) | The display methods and device of authentication window |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |