CN107318100A - Method, apparatus and system for binding phone number - Google Patents

Method, apparatus and system for binding phone number Download PDF

Info

Publication number
CN107318100A
CN107318100A CN201710407291.XA CN201710407291A CN107318100A CN 107318100 A CN107318100 A CN 107318100A CN 201710407291 A CN201710407291 A CN 201710407291A CN 107318100 A CN107318100 A CN 107318100A
Authority
CN
China
Prior art keywords
bind request
phone number
terminal
passage
channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710407291.XA
Other languages
Chinese (zh)
Other versions
CN107318100B (en
Inventor
朱忠磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710407291.XA priority Critical patent/CN107318100B/en
Publication of CN107318100A publication Critical patent/CN107318100A/en
Priority to PCT/CN2018/088787 priority patent/WO2018219260A1/en
Application granted granted Critical
Publication of CN107318100B publication Critical patent/CN107318100B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of method, apparatus and system for being used to bind phone number, this method includes:Terminal generates bind request, and the bind request includes user account number;The terminal sends the bind request to server by first passage, and the first passage is one kind in short message channel and data channel;The terminal generates informative abstract corresponding with the bind request;The terminal sends the corresponding informative abstract of the bind request to the server by second channel, the second channel is another in the short message channel and the data channel, and the second channel is different from the first passage, the server is used to the user account number and first phone number are set up into binding relationship when verifying that the bind request and described information summary match, so that user only needs to triggering generation bind request and can complete binding procedure, operation of the user in binding procedure is simplified, man-machine interaction efficiency is improved.

Description

Method, apparatus and system for binding phone number
Technical field
The present embodiments relate to field of mobile terminals, more particularly to a kind of method, device for being used to bind phone number And system.
Background technology
In the terminal, many application programs are required for binding a phone number for user account number, pass through the mobile phone Number realizes that identifying code receive capabilities, short message (Short Message, SMS) push function, short message control function etc. are added Function.
In correlation technique, the flow for being user account number binding phone number is usually:Application program shows registered user circle Phone number input frame is provided with face, the registered user interface, identifying code button, identifying code input frame is obtained and submits and press Button;User's input handset number in phone number input frame, and click on identifying code acquisition button;Application program is by cell-phone number Code is sent to server, and server sends a short message for carrying identifying code to the phone number;User checks short message After breath, by identifying code input validation code input frame, and submitting button is clicked on;Application program by user account number, phone number and Identifying code is sent to server, server when verifying phone number and identifying code matching, by user account number and phone number it Between set up binding relationship.
The above method needs user's input handset number, clicks on submitting button, input validation code and clicks on submitting button common Four operating procedures, the man-machine interaction of whole flow process is less efficient.
The content of the invention
In order to solve in correlation technique for user account number bind phone number when man-machine interaction it is less efficient the problem of, this Inventive embodiments provide a kind of phone number binding method, apparatus and system.The technical scheme is as follows:
In a first aspect, the embodiments of the invention provide a kind of method for binding phone number, methods described includes:
Terminal generates bind request, and the bind request includes user account number;
The terminal sends the bind request to server by first passage, and the first passage is short message channel With one kind in data channel;The short message channel is the passage that data are sent by the short message of the first phone number, described Data channel is the passage that data are sent by mobile communications network or wireless fidelity network;
The terminal generates informative abstract corresponding with the bind request;
The terminal sends the corresponding informative abstract of the bind request to the server by second channel, described Second channel is one kind in the short message channel and the data channel, and the second channel and the first passage are not Together, the server is used for the user account number and described when verifying that the bind request and described information summary match First phone number sets up binding relationship.
In an optional embodiment, the terminal generates bind request, including:
The terminal receives the first trigger action;
The terminal obtains the user account number according to first trigger action;
The terminal generates the bind request according to the user account number.
In an optional embodiment, the terminal is generated according to the user account number before the bind request, also Including:
The terminal obtains operation demonstration information;
The terminal generates the bind request according to the user account number, including:
The terminal generates the bind request according to the user account number and the operation demonstration information, and the operation is tested Card information is used for the validity for verifying this binding procedure.
In an optional embodiment, the operation demonstration information includes:Bill and/or login token;
The bill is bill corresponding with bindings, and the login token is after the user account number is logined successfully The token of the generation and login token has period of validity.
Second aspect, the embodiments of the invention provide a kind of method for binding phone number, methods described includes:
The bind request sent by first passage receiving terminal, during the first passage is short message channel and data channel One kind;The short message channel is the passage that data are sent by the short message of the first phone number, and the data channel is logical Cross mobile communications network or wireless fidelity network sends the passage of data, the bind request includes user account number, described first Phone number is the corresponding phone number of the terminal;
The informative abstract for the bind request that the terminal is sent is received by second channel;The second channel is institute One kind in short message channel and the data channel is stated, and the second channel is different from the first passage;
Verify whether the informative abstract of the bind request and the bind request matches;
When the bind request and described information digests match, the user account number and first phone number are built Vertical binding relationship.
It is described that the user account number and first phone number are set up into binding relationship in an optional embodiment Before, in addition to:
Operation demonstration information is obtained from the bind request;
According to the validity of this binding procedure of the operation demonstration Information Authentication;
When this described binding procedure is effective, perform described by the user account number and first phone number foundation The step of binding relationship.
In an optional embodiment, the operation demonstration information includes:Bill;
The validity according to this binding procedure of the operation demonstration Information Authentication, including:
Verify bill bill whether corresponding with bindings.
In an optional embodiment, the operation demonstration information includes:Log in token;
The validity according to this binding procedure of the operation demonstration Information Authentication, including:
Whether the checking effective time for logging in token is expired.
The third aspect, the embodiments of the invention provide a kind of device for being used to bind phone number, described device includes:
Generation module, for generating bind request, the bind request includes user account number;
Sending module, for the bind request to be sent to server by first passage, the first passage is short Believe one kind in passage and data channel;The short message channel is to send the logical of data by the short message of the first phone number Road, the data channel is the passage that data are sent by mobile communications network or wireless fidelity network;
The generation module, is additionally operable to generation informative abstract corresponding with the bind request;
The sending module, is additionally operable to by second channel send the corresponding informative abstract of the bind request to described Server, the second channel is another in the short message channel and the data channel, and the server is used to test Demonstrate,prove the bind request and described information is made a summary to set up the user account number and first phone number when matching and bound Relation.
In an optional embodiment, the generation module, for receiving the first trigger action;Touched according to described first Hair operation obtains the user account number;The bind request is generated according to the user account number.
In an optional embodiment, described device also includes:
Acquisition module, for obtaining operation demonstration information;
The generation module, being additionally operable to please according to the user account number and the operation demonstration information generation binding Ask, the operation demonstration information is used for the validity for verifying this binding procedure.
In an optional embodiment, the operation demonstration information includes:Bill and/or login token;
The bill is bill corresponding with bindings, and the login token is after the user account number is logined successfully The token of the generation and login token has period of validity.
Fourth aspect includes there is provided a kind of device for being used to bind phone number, described device:
Receiving module, for the bind request sent by first passage receiving terminal, the first passage is that short message is led to One kind in road and data channel;The short message channel is the passage that data are sent by the short message of the first phone number, institute It is the passage that data are sent by mobile communications network or wireless fidelity network to state data channel, and the bind request includes user Account number, first phone number is the corresponding phone number of the terminal;
The receiving module, is additionally operable to pluck by the information that second channel receives the bind request that the terminal is sent Will;The second channel is one kind in the short message channel and the data channel, and the second channel and described first Passage is different;
Authentication module, is additionally operable to verify whether the informative abstract of the bind request and the bind request matches;
Binding module, for when the bind request and described information digests match, by the user account number and described First phone number sets up binding relationship.
In an optional embodiment, described device also includes:
Acquisition module, for obtaining operation demonstration information from the bind request;
The authentication module, is additionally operable to the validity according to this binding procedure of the operation demonstration Information Authentication;
The binding module, is additionally operable to when this described binding procedure is effective, perform it is described by the user account number and The step of first phone number sets up binding relationship.
In an optional embodiment, the operation demonstration information includes:Bill;
The authentication module, for verifying bill bill whether corresponding with bindings.
In an optional embodiment, the operation demonstration information includes:Log in token;
The authentication module, for verifying whether the effective time of the login token is expired.
5th aspect is there is provided a kind of terminal, and the terminal includes:Stored in processor and memory, the memory There is at least one instruction, the instruction is loaded by the processor and performed to realize that as above first aspect or first aspect are any The method for binding phone number described in optional implementation.
6th aspect is there is provided a kind of server, and the server includes:In processor and memory, the memory Be stored with least one instruction, and the instruction is loaded by the processor and performed to realize as above second aspect or second aspect The method for binding phone number described in any optional implementation.
7th aspect is there is provided a kind of computer-readable storage medium, and be stored with least one instruction in the storage medium, institute Instruction is stated to be loaded by processor and performed to realize described in as above first aspect or any optional implementation of first aspect Method for binding phone number.
Eighth aspect is there is provided a kind of computer-readable storage medium, and be stored with least one instruction, institute in the storage medium Instruction is stated to be loaded by processor and performed to realize described in as above second aspect or any optional implementation of second aspect Method for binding phone number.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
By using the SMS (Short Message Service) of the first phone number as a passage, by mobile communications network or WiFi networks It is used as another passage;The eap-message digest of bind request and the bind request is sent to service by respective passage respectively Device, by server when verifying that bind request and informative abstract match, user account number and the first phone number is set up and bound Relation.So that user only needs to triggering generation bind request, other steps are performed by premises automation, you can complete user's account Number and the first phone number binding procedure, it is not necessary to user requests verification code and input validation code, simplify user in binding During operation, improve man-machine interaction efficiency.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of structural representation for being used to bind the system of phone number involved by each embodiment of the invention;
Fig. 2 is the flow chart for being used to bind the method for phone number that one embodiment of the invention is provided;
Fig. 3 is the flow chart for being used to bind the method for phone number that another embodiment of the present invention is provided;
Fig. 4 is interface schematic diagram of the method when implementing for binding phone number that Fig. 3 embodiments of the present invention are provided;
Fig. 5 is the block diagram for being used to bind the device of phone number that one embodiment of the invention is provided;
Fig. 6 is the block diagram for being used to bind the device of phone number that another embodiment of the present invention is provided;
Fig. 7 is the structural representation for the terminal that one embodiment of the invention is provided;
Fig. 8 is the structural representation for the server that one embodiment of the invention is provided.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is the structural representation for being used for shown in one exemplary embodiment of the present invention binding the system of phone number Figure.The system for being used to bind phone number can be that, with the system for providing service for terminal by short message, service includes At least one of remote control, identifying code checking and information push.The system for being used to bind phone number includes:Terminal 120 and server 140.
Terminal 120 can be mobile phone, tablet personal computer, wearable electronic, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio aspect 4) terminal such as player and pocket computer on knee.
Alternatively, operation has predetermined application in terminal 120, and the predetermined application is included in following function at least It is a kind of:The function of remote control is carried out by short message, the function of identifying code checking is carried out by short message, entered by short message The function that row information is pushed.Different users are distinguished with user account number in predetermined application, each user account number needs to tie up Fixed each self-corresponding phone number.Alternatively, each user account number can bind at least one phone number.
Alternatively, terminal 120 is connected and communicated with server 140 by cable network or wireless network.On the one hand, take It can be communicated between business device 140 and terminal 120 by short message channel, short message channel is by the currently active in terminal 120 Phone number SMS (Short Message Service) carry out data transmit-receive passage, generally by the circuit commutative field in mobile communications network (Circuit Switching Domain, CS) is realized;On the other hand, data can be passed through between server 140 and terminal 120 Passage is communicated, and data channel is the packet-switched domain (Packet Switching Domain, PS) in mobile communications network Or the passage of Wireless Fidelity (Wireless Fidelity, WiFi) real-time performance.
Server 140 is the background server of predetermined application, and server 140 can be a server, many clothes The server cluster or cloud computing center of business device composition.Server 140, which has, to be directly transmitted short message and/or receives short message Function, or the work(that there is server 140 SMS platform provided by mobile operator to send and/or receive short message Energy.
Fig. 2 is the flow chart for being used for shown in one exemplary embodiment of the present invention binding the method for phone number.This Embodiment is applied to illustrate between the terminal 120 of the system shown in Fig. 1 and server 140 in this way.This method bag Include:
Step 201, terminal generation bind request, the bind request includes user account number;
The bind request is used to be bound user account number and phone number to server request.In different embodiments In, the bind request is also possible to other titles such as registration request, association request, and the present embodiment is not limited to this.
The bind request carries user account number.Alternatively, the bind request also carries the first cell-phone number for needing to be bound Code, the first phone number is the corresponding phone number of terminal.In various embodiments, the information content entrained by bind request Can be with different.
Step 202, terminal sends bind request to server by first passage;
First passage is one kind in short message channel and data channel.Short message channel is taken by the short message of phone number Business sends and/or received the passage of data, and data channel is to send and/or receive number by mobile communications network or WiFi network According to passage.
Step 203, server receives the bind request sent by first passage receiving terminal;
Step 204, terminal generates informative abstract corresponding with bind request;
Informative abstract can be by MD5 (Message Digest Algorithm 5, the generation of message digest algorithm the 5th), The information that hash algorithm, other irreversible encryption algorithms or signature algorithm are obtained after calculating bind request.Generally, it is each The corresponding informative abstract of individual bind request is all unique.
Alternatively, step 204 can be with performing before step 202, and the present embodiment does not limit step 202 and step 204 Between sequencing.
Step 205, terminal sends the informative abstract of bind request to server by second channel;
Second channel is one kind in short message channel and data channel, and second channel is different from first passage.
Step 206, the corresponding informative abstract of bind request that server is sent by second channel receiving terminal;
Step 207, whether server authentication bind request and informative abstract match;
The informative abstract that server is received, can be described as first information summary.
Alternatively, server is plucked according to calculating the second information with terminal identical algorithm to the bind request that receives Will, first information summary and the second informative abstract are compared;If two informative abstracts are identical, then it is assumed that binding please Ask and the message digest matches;If two informative abstracts are incomplete same or differ completely, then it is assumed that bind request and should Informative abstract is mismatched.
Step 208, when bind request and message digest matches, server sets up user account number and the first phone number Binding relationship.
Alternatively, server obtains user account number and the first phone number from bind request, by user account number and first Phone number is bound.Or, server obtains user account number from bind request, the short message received from short message channel The first phone number of middle acquisition (namely sender of short message), is then bound user account number and the first phone number.
The present embodiment is not limited the context of two forwarding steps shown by above-mentioned steps 202 and step 205 Fixed, step 202 can simultaneously be performed with step 205, and step 202 can also be performed after 205.
In the present embodiment offer for binding in the method for phone number, by the way that the short message of the first phone number is taken Business regard mobile communications network or WiFi network as another passage as a passage;By bind request and the bind request Eap-message digest sent respectively by respective passage to server, by server in checking bind request and informative abstract phase Timing, binding relationship is set up by user account number and the first phone number.So that user only needs to triggering generation bind request, it is other Step is performed by premises automation, you can complete the binding procedure of user account number and the first phone number, it is not necessary to which user please Identifying code and input validation code are asked, operation of the user in binding procedure is simplified, improves man-machine interaction efficiency.
Fig. 3 is the flow chart for being used for shown in another exemplary embodiment of the present invention binding the method for phone number. The present embodiment is applied to illustrate between terminal 120 and server 140 in the system shown in Fig. 1 in this way.This method Including:
Step 301, terminal to server sends in logging request, the logging request and carries user account number and password;
In terminal in needs and server communication, logging request is generated using user account number registered in advance and password, Logging request is sent to server.
Schematically, so that the predetermined application in terminal is to look for handset program as an example, illustrated with reference to Fig. 4 left side, Input user account number zhangsan@xxx.com and password in input frame 41 of the user in the login interface for searching handset program, Then click on after " login " button 42, terminal to server sends logging request.
Accordingly, the logging request that server receiving terminal is sent.
Step 302, server is verified to user account number and password;And after being proved to be successful, feed back and log in terminal Token.
Log in a kind of digital token by server-assignment to terminal when token (token) is logged on successfully.Log in token Generally there is period of validity (in such as 10 minutes), it is necessary to carry the login in the information when SS later is with server communication Token, so that server identifies that the terminal is the terminal in effective logging status.
There is corresponding relation between user account number, login password and login token.Table one schematically illustrates the correspondence Relation.
Table one
User name Login password Log in token token Period of validity
Zhang San 128568 1F4Gsdfa 11:02-11:12
Li Si 865986 5548asdf1 10:59-11:09
King five 1155336 2146451af 11:04-11:14
Accordingly, terminal storage login token.
Terminal is after login token is received, Successful login.
Step 303, terminal receives the first trigger action;
Alternatively, the first trigger action is the operation for generating bind request.
With reference to the right diagram with reference to Fig. 4, terminal is jumped to from login interface opens lookup mobile phone interface, if user is uncommon Lookup functions of the equipments are opened in prestige, then are opening the click of lookup mobile phone interface " opening lookup mobile phone " button 43.This opens lookup hand Machine process may be considered the binding procedure for being bound user account number and the first phone number.
Step 304, terminal obtains user account number and operation demonstration information according to the first trigger action;
User account number is to register and be used for the account number for identifying user identity in the server.Operation demonstration information is used to verify The validity of this binding procedure.
Alternatively, terminal also obtains the first phone number, and the first phone number is the corresponding phone number of terminal.
Step 305, terminal generates bind request according to user account number and operation demonstration information;
Alternatively, operation demonstration information includes:Bill and/or login token (token).Wherein, bill is with binding The corresponding bill of journey, the bill can be a character string, such as character string A1.Bill is used to represent that this is operated to server It is a bindings;And logging in token is the token that is generated after logining successfully and logs in token have period of validity, this One login token can be by the token of server feedback or after step 302 by server update in step 302 The token crossed.
Alternatively, bind request=(user account number, bill log in token).
In a possible implementation, if terminal also obtains the first phone number, terminal is according to user account number, One phone number and operation demonstration information generation bind request.Such as, terminal tests user account number, the first phone number and operation Card information sorts successively, and adds comma between each two information, obtains bind request=(user account number, the first cell-phone number Code, bill logs in token).
In another possible implementation, if terminal also obtains operation demonstration information, bind request=(use Family account number, terminal iidentification, the first phone number, bill logs in token).When terminal is mobile phone, terminal iidentification can be IMEI (International Mobile Equipment Identity, International Mobile Equipment Identity code).
Step 306, terminal sends bind request to server by first passage;
Schematically, bind request is sent to server by terminal by data channel.Alternatively, terminal is by bind request After encryption, server is then forwarded to.
Step 307, the bind request that server is sent by first passage receiving terminal;
The bind request that server is sent by data channel receiving terminal.If the letter that the bind request, which is terminal encryption, to be crossed Breath, then the bind request is decrypted in the same way for server, to obtain the particular content of bind request.
Step 308, the corresponding informative abstract of terminal generation bind request;
In one embodiment, the informative abstract of bind request is by MD5 (Message Digest Algorithm 5, the generation of message digest algorithm the 5th), hash algorithm, other irreversible encryption algorithms or signature algorithm calculated bind request The information obtained afterwards.Generally, the corresponding informative abstract of each bind request is unique.
Step 309, terminal sends the informative abstract of bind request to server by second channel;
Schematically, terminal is sent informative abstract to server by short message channel.Short message channel is terminal by The SMS (Short Message Service) of one phone number sends the passage of data to server.
Server can bind two short message services number on the SMS platform that operator provides in advance:Uplink short message is serviced Number and downlink short message service number, the uplink short message service number be used for receiving terminal send short message, downlink short message service number use In to terminal send short message.Such as, uplink short message service number is:10600x, downlink short message service number is:10602x.
Uplink short message service number 10600x is previously stored with terminal, terminal regard the first phone number as short message outbox People, short message sending is carried out using uplink short message service number 10600x as short message addressee, using informative abstract as short message content, SMS platform is transmitted to server after the short message is received.
Step 310, the corresponding informative abstract of bind request that server is sent by second channel receiving terminal;
Server receives the informative abstract that control terminal is sent by short message channel.Alternatively, because the informative abstract is Carry in short message, the sender of the short message is the first phone number, and server preserves first phone number and informative abstract Between corresponding relation.
The informative abstract that server is received, can be described as first information summary.
Step 311, server obtains user account number and operation demonstration information from bind request;
Alternatively, server is parsed to bind request, is obtained user account number, bill and is logged in token.
Alternatively, server is parsed to bind request, obtains user account number, the first phone number, bill and login Token;
Alternatively, server is parsed to bind request, obtains user account number, terminal iidentification, the first phone number, ticket According to log in token.
Step 312, whether server detection bill is bill corresponding with binding procedure;
Due to there may be a variety of operating process between terminal and server:Binding procedure, log off procedure, replacing SIM card Process, different operating process corresponds to respective bill respectively, and server needs to detect whether the bill parsed is and binds The corresponding bill of process, if the bill is bill corresponding with binding procedure, into step 313;If the bill is not with tying up Determine the corresponding bill of process, but bill corresponding with other processes, then perform other processes (such as log off procedure or updated Journey).
Step 313, when bill is bill corresponding with binding procedure, whether server detection logs in token in effective Time limit;
Each token that logs in has certain period of validity, such as 10 minutes, 30 minutes, 2 hours etc..
Whether the login token that server detection is parsed is in period of validity;If in period of validity, into step 314;If being not in period of validity, Bind Failed information is sent to terminal.
It should be noted that the execution sequencing of step 312 and step 313 can be exchanged or performed side by side, only In the case where the testing result of step 312 and step 313 is "Yes", just into step 314.
Step 314, when logging in token and being in period of validity, server authentication bind request and informative abstract whether Match somebody with somebody;
Alternatively, server is plucked according to calculating the second information with terminal identical algorithm to the bind request that receives Will, first information summary and the second informative abstract are compared;If two informative abstracts are identical, then it is assumed that binding please Ask with the message digest matches, into step 315;If two informative abstracts are incomplete same or differ completely, then it is assumed that Bind request and the informative abstract are mismatched, and Bind Failed information is fed back to terminal.
Alternatively, if server storage has the corresponding relation between the first phone number and first information summary, service Device generates the second informative abstract according to the corresponding bind request of the first mobile phone number inquiry according to the bind request inquired.Or Person, server is not stored with the corresponding relation between the first phone number and first information summary, and server is only stored with first During informative abstract, all bind requests received (can be in nearest a period of time) are generated corresponding by server Two informative abstracts, inquiry whether there is second informative abstract completely the same with first information summary, if existing completely the same Second informative abstract, it is determined that both match.
Step 315, when bind request and message digest matches, server set up user account number and the first phone number it Between binding relationship;
Each terminal iidentification can bind at least one first phone number.That is, the first phone number can be with more than one.
In a possible embodiment, when server is that terminal opens lookup functions of the equipments, user's account can be set up simultaneously Number, the binding relationship between terminal iidentification and the first phone number.Table two schematically illustrates the binding relationship.
Table two
User account number Terminal iidentification (IMEI) Cell-phone number
Zhang San xxxxxx0601472104 134xxxx8888
Li Si Xxxxxx121272105 135xxxx6666
Li Si xxxxxx0701472234 186xxxx7777
Step 316, server sends binding success message to terminal.
Server sends binding success message after terminal successfully opens lookup cell-phone function to terminal.Alternatively, bind Success message can be transmitted by short message channel or data channel.
Server is fed back after binding success message to terminal, and terminal jumps to lookup mobile phone work(from lookup mobile phone interface is opened Energy interface, the lookup cell-phone function interface is provided with position display of the terminal in map, the title " mobile phone of Zhang San " of terminal And state " online ", hereafter, user can carry out the operation such as jingle bell, locked, data of erasing with control terminal.
In the method that the present embodiment is provided, by the way that the SMS (Short Message Service) of the first phone number, as a passage, is incited somebody to action Mobile communications network or WiFi network are used as another passage;The eap-message digest of bind request and the bind request is passed through respectively Respective passage is sent to server, by server when verifying that bind request and informative abstract match, by user account number and First phone number sets up binding relationship.So that user only needs to triggering generation bind request, other steps are automatic by terminal Change and perform, you can complete the binding procedure of user account number and the first phone number.
In the method that the present embodiment is provided, user only needs to trigger the first trigger action in binding procedure, no User's requests verification code and input validation code are needed, operation of the user in binding procedure is simplified, man-machine interaction effect is improved Rate.
In the method that the present embodiment is provided, also by increasing operation demonstration information, server is enabled to tie up this The validity for determining process is detected, just carries out user account number and the first phone number only when this binding procedure is effective Binding, improves the security of binding procedure.
Following is apparatus of the present invention embodiment, can be used for performing the inventive method embodiment.It is real for apparatus of the present invention The details not disclosed in example is applied, the inventive method embodiment is refer to.
Fig. 5 shows the block diagram for being used to bind the device of phone number that an illustrative embodiment of the invention is provided, should Device can by software, hardware or both be implemented in combination with as terminal all or part of.Described device includes:
Generation module 510, for generating bind request, the bind request includes user account number;
Sending module 520, for the bind request to be sent to server by first passage, the first passage is One kind in short message channel and data channel;The short message channel is to send the logical of data by the short message of the first phone number Road, the data channel is the passage that data are sent by mobile communications network or wireless fidelity network;
The generation module 510, is additionally operable to generation informative abstract corresponding with the bind request;
The sending module 520, be additionally operable to by the corresponding informative abstract of the bind request by second channel send to The server, the second channel is another in the short message channel and the data channel, and the server is used for The user account number and first phone number are set up when verifying that the bind request and described information summary match Binding relationship.
In an optional embodiment, the generation module 510, for receiving the first trigger action;According to described One trigger action obtains the user account number;The bind request is generated according to the user account number.
In an optional embodiment, described device also includes:
Acquisition module 530, for obtaining operation demonstration information;
The generation module 510, is additionally operable to generate the binding according to the user account number and the operation demonstration information Request, the operation demonstration information is used for the validity for verifying this binding procedure.
In an optional embodiment, the operation demonstration information includes:Bill and/or login token;
The bill is bill corresponding with bindings, and the login token is after the user account number is logined successfully The token of the generation and login token has period of validity.
Fig. 6 shows the block diagram for being used to bind the device of phone number that another exemplary embodiment of the invention is provided. The device can by software, hardware or both be implemented in combination with as server all or part of.Described device bag Include:
Receiving module 610, for the bind request sent by first passage receiving terminal, the first passage is short message One kind in passage and data channel;The short message channel is the passage that data are sent by the short message of the first phone number, The data channel is the passage that data are sent by mobile communications network or wireless fidelity network, and the bind request includes using Family account number, first phone number is the corresponding phone number of the terminal;
The receiving module 610, is additionally operable to receive the letter for the bind request that the terminal is sent by second channel Breath summary;The second channel is one kind in the short message channel and the data channel, and the second channel with it is described First passage is different;
Authentication module 620, is additionally operable to verify whether the informative abstract of the bind request and the bind request matches;
Binding module 630, for when the bind request and described information digests match, by the user account number and institute State the first phone number and set up binding relationship.
In an optional embodiment, described device also includes:
Acquisition module 640, for obtaining operation demonstration information from the bind request;
The authentication module 620, is additionally operable to the validity according to this binding procedure of the operation demonstration Information Authentication;
The binding module 630, is additionally operable to when this described binding procedure is effective, performs described by the user account number The step of binding relationship being set up with first phone number.
In an optional embodiment, the operation demonstration information includes:Bill;
The authentication module 620, for verifying bill bill whether corresponding with bindings.
In an optional embodiment, the operation demonstration information includes:Log in token;
The authentication module 620, for verifying whether the effective time of the login token is expired.
It should be noted that:What above-described embodiment was provided is used for the device for binding phone number when binding phone number, Only with the division progress of above-mentioned each functional module for example, in practical application, as needed can distribute above-mentioned functions Completed by different functional module, i.e., the internal structure of terminal or server be divided into different functional modules, with complete with The all or part of function of upper description.In addition, being used for of providing of above-described embodiment binds the device of phone number and tied up with being used for The embodiment of the method for determining phone number belongs to same design, and it implements process and refers to embodiment of the method, repeats no more here.
Above-mentioned the embodiment of the present application sequence number is for illustration only, and the quality of embodiment is not represented.
Fig. 7 shows the structural representation of the terminal involved by an illustrative embodiment of the invention.The terminal includes:Should Terminal includes:Processor 711, receiver 712, transmitter 713, memory 714 and bus 715.
Processor 711 includes one or more than one processing core, and memory 714 passes through bus 715 and processor 711 Be connected, memory 714 be used for store at least one instruct, processor 711 perform memory 714 in instruction when realize Fig. 2 and In embodiment of the method shown in Fig. 3 the step of the method for binding phone number of end side.
Receiver 712 and transmitter 713 can be implemented as a communication component, and the communication component can be one piece of communication core Piece, for being modulated and/or demodulating to information, and by reception of wireless signals or sends the information.
In addition, memory 714 can be by any kind of volatibility or non-volatile memory device or combinations thereof Realize, such as static access memory (SRAM) at any time, Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Said structure signal is only that terminal is schematically illustrated, and terminal can include more or less parts, such as Terminal can not include receiver, or, terminal also includes other parts such as sensor, display screen, power supply, and the present embodiment is no longer Repeat.
The embodiment of the present invention also provides a kind of computer-readable medium, is stored thereon with least one instruction, the instruction quilt Processor 711 realizes the step for being used to bind the method for phone number of end side in embodiment of the method shown in Fig. 2 and Fig. 3 when performing Suddenly.
Fig. 8 shows the structural representation for the server that one exemplary embodiment of the application is provided, and the server includes: Processor 811, receiver 812, transmitter 813, memory 814, bus 815 and network interface 816.
Processor 811 includes one or more than one processing core, and memory 814 passes through bus 815 and processor 811 Be connected, memory 814 be used for store at least one instruct, processor 811 perform memory 814 in instruction when realize Fig. 2 and In embodiment of the method shown in Fig. 3 the step of the method for binding phone number of server side.
Receiver 812 and transmitter 813 can be implemented as a communication component, and the communication component can be one piece of communication core Piece, for being modulated and/or demodulating to information, and by reception of wireless signals or sends the information.In other embodiments, Receiver 812 and transmitter 813 is alternative is implemented as network interface 816, server passes through the network interface 816 and short message Send platform to be connected, send platform to receive and dispatch short message by short message.
In addition, memory 814 can be by any kind of volatibility or non-volatile memory device or combinations thereof Realize, such as static access memory (SRAM) at any time, Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Said structure signal is only that server is schematically illustrated, and server can include more or less parts, Such as server also other parts such as I/O interfaces, power supply including keyboard and mouse etc, the present embodiment is repeated no more.
The embodiment of the present invention also provides a kind of computer-readable medium, is stored thereon with least one instruction, the instruction quilt Processor 811 realizes the method for being used to bind phone number of server side in embodiment of the method shown in Fig. 2 and Fig. 3 when performing Step.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only the preferred embodiment of the application, not to limit the application, it is all in spirit herein and Within principle, any modification, equivalent substitution and improvements made etc. should be included within the protection domain of the application.

Claims (21)

1. a kind of method for binding phone number, it is characterised in that methods described includes:
Terminal generates bind request, and the bind request includes user account number;
The terminal sends the bind request to server by first passage, and the first passage is short message channel sum According to one kind in passage;The short message channel is the passage that data are sent by the short message of the first phone number, the data Passage is the passage that data are sent by mobile communications network or wireless fidelity network;
The terminal generates informative abstract corresponding with the bind request;
The terminal sends the corresponding informative abstract of the bind request to the server, described second by second channel Passage is one kind in the short message channel and the data channel, and the second channel is different from the first passage, institute Stating server is used for the user account number and described first when verifying that the bind request and described information summary match Phone number sets up binding relationship.
2. according to the method described in claim 1, it is characterised in that the terminal generates bind request, including:
The terminal receives the first trigger action;
The terminal obtains the user account number according to first trigger action;
The terminal generates the bind request according to the user account number.
3. method according to claim 2, it is characterised in that the terminal generates the binding according to the user account number Before request, in addition to:
The terminal obtains operation demonstration information;
The terminal generates the bind request according to the user account number, including:
The terminal generates the bind request, the operation demonstration letter according to the user account number and the operation demonstration information Cease the validity for verifying this binding procedure.
4. method according to claim 3, it is characterised in that the operation demonstration information includes:Bill and/or login order Board;
The bill is bill corresponding with bindings, and the login token is generated after the user account number is logined successfully Token and the login token has period of validity.
5. a kind of method for binding phone number, it is characterised in that methods described includes:
The bind request sent by first passage receiving terminal, the first passage is one in short message channel and data channel Kind;The short message channel is the passage that data are sent by the short message of the first phone number, and the data channel is by moving Dynamic communication network or wireless fidelity network send the passage of data, and the bind request includes user account number, first mobile phone Number is the corresponding phone number of the terminal;
The informative abstract for the bind request that the terminal is sent is received by second channel;The second channel is described short Believe one kind in passage and the data channel, and the second channel is different from the first passage;
Verify whether the informative abstract of the bind request and the bind request matches;
When the bind request and described information digests match, the user account number and first phone number are set up and tied up Determine relation.
6. method according to claim 5, it is characterised in that described by the user account number and first phone number Set up before binding relationship, in addition to:
Operation demonstration information is obtained from the bind request;
According to the validity of this binding procedure of the operation demonstration Information Authentication;
When this described binding procedure is effective, performs described set up the user account number and first phone number and bind The step of relation.
7. method according to claim 6, it is characterised in that the operation demonstration information includes:Bill;
The validity according to this binding procedure of the operation demonstration Information Authentication, including:
Verify bill bill whether corresponding with bindings.
8. method according to claim 6, it is characterised in that the operation demonstration information includes:Log in token;
The validity according to this binding procedure of the operation demonstration Information Authentication, including:
Whether the checking effective time for logging in token is expired.
9. a kind of device for being used to bind phone number, it is characterised in that described device includes:
Generation module, for generating bind request, the bind request includes user account number;
Sending module, for the bind request to be sent to server by first passage, the first passage is that short message is led to One kind in road and data channel;The short message channel is the passage that data are sent by the short message of the first phone number, institute It is the passage that data are sent by mobile communications network or wireless fidelity network to state data channel;
The generation module, is additionally operable to generation informative abstract corresponding with the bind request;
The sending module, is additionally operable to by second channel send the corresponding informative abstract of the bind request to the service Device, the second channel is another in the short message channel and the data channel, and the server is used in checking institute State bind request and described information is made a summary and the user account number and first phone number are set up into binding relationship when matching.
10. device according to claim 9, it is characterised in that the generation module, for receiving the first trigger action; The user account number is obtained according to first trigger action;The bind request is generated according to the user account number.
11. device according to claim 10, it is characterised in that described device also includes:
Acquisition module, for obtaining operation demonstration information;
The generation module, is additionally operable to generate the bind request, institute according to the user account number and the operation demonstration information State the validity that operation demonstration information is used to verify this binding procedure.
12. device according to claim 11, it is characterised in that the operation demonstration information includes:Bill and/or login Token;
The bill is bill corresponding with bindings, and the login token is generated after the user account number is logined successfully Token and the login token has period of validity.
13. a kind of device for being used to bind phone number, it is characterised in that described device includes:
Receiving module, for the bind request sent by first passage receiving terminal, the first passage be short message channel and One kind in data channel;The short message channel is the passage that data are sent by the short message of the first phone number, the number It is the passage that data are sent by mobile communications network or wireless fidelity network according to passage, the bind request includes user's account Number, first phone number is the corresponding phone number of the terminal;
The receiving module, is additionally operable to receive the informative abstract for the bind request that the terminal is sent by second channel; The second channel is one kind in the short message channel and the data channel, and the second channel and the first passage It is different;
Authentication module, is additionally operable to verify whether the informative abstract of the bind request and the bind request matches;
Binding module, for when the bind request and described information digests match, by the user account number and described first Phone number sets up binding relationship.
14. device according to claim 13, it is characterised in that described device also includes:
Acquisition module, for obtaining operation demonstration information from the bind request;
The authentication module, is additionally operable to the validity according to this binding procedure of the operation demonstration Information Authentication;
The binding module, is additionally operable to when this described binding procedure is effective, performs described by the user account number and described The step of first phone number sets up binding relationship.
15. device according to claim 14, it is characterised in that the operation demonstration information includes:Bill;
The authentication module, for verifying bill bill whether corresponding with bindings.
16. device according to claim 14, it is characterised in that the operation demonstration information includes:Log in token;
The authentication module, for verifying whether the effective time of the login token is expired.
17. a kind of terminal, it is characterised in that the terminal includes:It is stored with least in processor and memory, the memory One instruction, the instruction loaded as the processor and performed with realize such as Claims 1-4 it is any as described in for binding The method of phone number.
18. a kind of server, it is characterised in that the server includes:It is stored with processor and memory, the memory At least one instruction, it is described instruction loaded as the processor and performed with realize such as claim 5 to 8 it is any as described in be used for The method for binding phone number.
19. a kind of computer-readable storage medium, it is characterised in that be stored with least one instruction in the storage medium, the finger Order load as processor and is performed with realization Claims 1-4 it is any as described in the method for binding phone number.
20. a kind of computer-readable storage medium, it is characterised in that be stored with least one instruction in the storage medium, the finger Order load as processor and is performed with realization claim 5 to 8 it is any as described in the method for binding phone number.
21. a kind of system for binding phone number, it is characterised in that the system includes terminal and server;
The terminal includes the device as described in claim 5 to 12 is any, and the server includes such as claim 13 to 16 Any described device;
Or,
The terminal includes terminal as claimed in claim 17, and the server includes service as claimed in claim 18 Device.
CN201710407291.XA 2017-06-02 2017-06-02 Method, device and system for binding mobile phone number Active CN107318100B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710407291.XA CN107318100B (en) 2017-06-02 2017-06-02 Method, device and system for binding mobile phone number
PCT/CN2018/088787 WO2018219260A1 (en) 2017-06-02 2018-05-29 Method, device and system for binding mobile phone number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710407291.XA CN107318100B (en) 2017-06-02 2017-06-02 Method, device and system for binding mobile phone number

Publications (2)

Publication Number Publication Date
CN107318100A true CN107318100A (en) 2017-11-03
CN107318100B CN107318100B (en) 2020-01-14

Family

ID=60183968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710407291.XA Active CN107318100B (en) 2017-06-02 2017-06-02 Method, device and system for binding mobile phone number

Country Status (2)

Country Link
CN (1) CN107318100B (en)
WO (1) WO2018219260A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108923948A (en) * 2018-08-01 2018-11-30 上海小蚁科技有限公司 Camera binding method, device and its medium
WO2018219260A1 (en) * 2017-06-02 2018-12-06 Oppo广东移动通信有限公司 Method, device and system for binding mobile phone number
CN111030984A (en) * 2019-10-22 2020-04-17 上海泰宇信息技术股份有限公司 Data safety transmission system and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984261A (en) * 2012-12-04 2013-03-20 中国联合网络通信集团有限公司 Network service login method, equipment and system based on mobile telephone terminal
CN103152331A (en) * 2013-02-07 2013-06-12 百度在线网络技术(北京)有限公司 Method and system for logging in/registering through mobile terminal and cloud server
CN103313245A (en) * 2013-05-28 2013-09-18 中国联合网络通信集团有限公司 Network service access method, equipment and system based on mobile phone terminal
CN104717261A (en) * 2013-12-17 2015-06-17 华为技术有限公司 Login method and desktop management device
CN104954383A (en) * 2015-06-24 2015-09-30 深圳市兰丁科技有限公司 Application program login method and system
CN105812413A (en) * 2014-12-29 2016-07-27 深圳市腾讯计算机系统有限公司 Communication method and device
CN106453263A (en) * 2016-09-19 2017-02-22 惠州Tcl移动通信有限公司 Method and system of binding cellphone number with APP

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8478310B2 (en) * 2006-10-05 2013-07-02 Verizon Patent And Licensing Inc. Short message service (SMS) data transfer
CN102299930B (en) * 2011-09-19 2014-09-10 北京无限新锐网络科技有限公司 Method for ensuring security of client software
CN103178906B (en) * 2011-12-22 2018-04-17 国民技术股份有限公司 Communication system and communication means
CN104917586B (en) * 2014-03-11 2019-06-07 腾讯科技(深圳)有限公司 Transmit method of calibration, the apparatus and system of data
CN105898728A (en) * 2015-10-22 2016-08-24 乐视致新电子科技(天津)有限公司 Mobile phone account member rights and interests binding method, mobile phone device, server and system
CN105848119A (en) * 2016-03-22 2016-08-10 赵莉莉 Method for providing short message reception confirmation display, mobile terminal, server and system
CN107318100B (en) * 2017-06-02 2020-01-14 Oppo广东移动通信有限公司 Method, device and system for binding mobile phone number

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984261A (en) * 2012-12-04 2013-03-20 中国联合网络通信集团有限公司 Network service login method, equipment and system based on mobile telephone terminal
CN103152331A (en) * 2013-02-07 2013-06-12 百度在线网络技术(北京)有限公司 Method and system for logging in/registering through mobile terminal and cloud server
CN103313245A (en) * 2013-05-28 2013-09-18 中国联合网络通信集团有限公司 Network service access method, equipment and system based on mobile phone terminal
CN104717261A (en) * 2013-12-17 2015-06-17 华为技术有限公司 Login method and desktop management device
CN105812413A (en) * 2014-12-29 2016-07-27 深圳市腾讯计算机系统有限公司 Communication method and device
CN104954383A (en) * 2015-06-24 2015-09-30 深圳市兰丁科技有限公司 Application program login method and system
CN106453263A (en) * 2016-09-19 2017-02-22 惠州Tcl移动通信有限公司 Method and system of binding cellphone number with APP

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018219260A1 (en) * 2017-06-02 2018-12-06 Oppo广东移动通信有限公司 Method, device and system for binding mobile phone number
CN108923948A (en) * 2018-08-01 2018-11-30 上海小蚁科技有限公司 Camera binding method, device and its medium
CN111030984A (en) * 2019-10-22 2020-04-17 上海泰宇信息技术股份有限公司 Data safety transmission system and method
CN111030984B (en) * 2019-10-22 2022-08-19 上海泰宇信息技术股份有限公司 Data safety transmission system and method

Also Published As

Publication number Publication date
WO2018219260A1 (en) 2018-12-06
CN107318100B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN105871867B (en) Identity identifying method, system and equipment
CN104767613B (en) Signature verification method, apparatus and system
CN110826043B (en) Digital identity application system and method, identity authentication system and method
CN104199654B (en) The call method and device of open platform
CN110519115A (en) Gateway interface test method, terminal device, storage medium and device
CN109413096B (en) A kind of login method and device more applied
CN106412862A (en) Short message reinforcement method, apparatus and system
CN104767714B (en) A kind of ID and the correlating method of user resources information, terminal and system
CN103905194B (en) Identity traceability authentication method and system
CN111176794B (en) Container management method, device and readable storage medium
CN108616360A (en) User identity verification, register method and device
CN104820944A (en) Method and system for bank self-service terminal authentication, and device
CN107317807A (en) A kind of apparatus bound method, apparatus and system
CN104168117B (en) A kind of speech digit endorsement method
CN112953970A (en) Identity authentication method and identity authentication system
CN109995710A (en) A kind of lan device management system and method
CN109040122A (en) The method, apparatus and related accessory of a kind of new user's registration and binding service equipment
CN105591745A (en) Method and system for performing identity authentication on user using third-party application
CN109639719A (en) A kind of auth method and device based on temporary identifier
CN107318100A (en) Method, apparatus and system for binding phone number
CN106169993A (en) A kind of safety certifying method, equipment and server
CN109242663A (en) A kind of bookkeeping methods and system based on block chain technology
CN107995200A (en) A kind of certificate issuance method, identity identifying method and system based on smart card
CN105516054B (en) A kind of method and device of subscriber authentication
CN109726571A (en) Electronic signature method, device, storage medium and the electronic equipment of document

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant