WO2015096483A1 - 一种终端应用的注册方法、装置和*** - Google Patents

一种终端应用的注册方法、装置和*** Download PDF

Info

Publication number
WO2015096483A1
WO2015096483A1 PCT/CN2014/083794 CN2014083794W WO2015096483A1 WO 2015096483 A1 WO2015096483 A1 WO 2015096483A1 CN 2014083794 W CN2014083794 W CN 2014083794W WO 2015096483 A1 WO2015096483 A1 WO 2015096483A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
registration
authentication
information
download address
Prior art date
Application number
PCT/CN2014/083794
Other languages
English (en)
French (fr)
Inventor
邹现军
尹欣
李亮
李自军
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP14875030.0A priority Critical patent/EP3079329B1/en
Priority to US14/586,237 priority patent/US9680814B2/en
Publication of WO2015096483A1 publication Critical patent/WO2015096483A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for registering a terminal application. Background technique
  • the terminal application In order to promote terminal applications, when a user uses a terminal application, the terminal application usually provides a short message recommendation function to facilitate the user to The information such as the download address of the terminal application is recommended to the relevant friend through the short message, so that the recommended user can download the terminal application through the download address in the short message, and the recommended user often needs the user after downloading the application to the terminal. Sign up.
  • the application server generally acquires the user's mobile phone.
  • the number is sent to the user according to the mobile phone number, and then the user sends a registration request to the application server according to the authentication code to complete the service registration process.
  • the application server After receiving the registration request of the user, the application server provides the address of the short message gateway to the user, and then the user sends an uplink short message to the application server according to the address of the short message gateway through the short message gateway, and the application server After obtaining the uplink short message, the short message content is compared with the registration request sent by the client, and if the verification is successful, the user is allowed to register the service.
  • the embodiment of the invention provides a method, a device and a system for registering a terminal application, which are not only time-consuming, Moreover, the high registration success rate is beneficial to improve the user's application activation rate.
  • the embodiment of the present invention provides a method for registering a terminal application, including: receiving a request for downloading a download address information sent by a first terminal, where the request for downloading the address information carries a terminal identifier of the second terminal;
  • the download address information includes a terminal application download address and authentication information for performing registration
  • the first terminal sends a recommendation message carrying the recommended download address information to the second terminal, so that the second terminal downloads the address according to the terminal application and the The authentication information used for registration is registered.
  • the method further includes:
  • the registration information is returned to the second terminal.
  • the requesting after acquiring the downloading address of the terminal application according to the recommended download address information, and generating the authentication information for performing registration , Also includes:
  • the authenticating according to the terminal identifier of the first terminal and the authentication information includes:
  • the registration information includes a terminal identifier and an authentication password of the second terminal.
  • the key after returning the registration information to the second terminal, further includes:
  • the login operation is authenticated according to the login request, and a login response is returned to the second terminal.
  • the embodiment of the present invention further provides a method for registering a terminal application, including: receiving a recommendation message sent by a first terminal, where the recommendation message carries recommended download address information, where the recommended download address information includes a terminal application downloading An address and an authentication information for performing registration; downloading the terminal application from the application server according to the terminal application download address, and installing the terminal application;
  • the terminal application When the terminal application is started, acquiring a terminal identifier of the first terminal, generating a registration request according to the terminal identifier of the first terminal and the authentication information used for registration, and sending a registration request message to the application server, where The registration request message carries the terminal identifier of the first terminal and the authentication information; and receives registration information returned by the application server according to the terminal identifier of the first terminal and the authentication information.
  • the terminal application When the terminal application is started, acquiring a terminal identifier of the first terminal, and extracting, by using the recommendation message, the authentication information used for registration;
  • the registration request message carries the terminal identifier of the first terminal and the authentication information.
  • the registration information includes the terminal identifier and the authentication key of the second terminal, and the receiving the application server performs authentication after returning according to the terminal identifier of the first terminal and the authentication information.
  • the registration information it also includes:
  • an embodiment of the present invention further provides an apparatus for registering, including a receiving unit, a generating unit, and a sending unit;
  • the receiving unit is configured to receive a recommended download address information request sent by the first terminal, where the recommended download address information request carries the terminal identifier of the second terminal;
  • the generating unit is configured to request to acquire a terminal application download address according to the recommended download address information received by the receiving unit, and generate authentication information for performing registration, according to the terminal application download address and authentication for performing registration
  • the information generates recommended download address information, where the recommended download address information includes a terminal application download address and authentication information for performing registration;
  • the sending unit is configured to return the recommended download address information to the first terminal, so that the first terminal sends a recommendation message carrying the recommended download address information to the second terminal, so that the second terminal is configured according to the The terminal application download address and the authentication information for registration are registered.
  • the device for registering further includes an authentication unit;
  • the receiving unit is further configured to receive a download request sent by the second terminal according to the download address of the terminal application;
  • the sending unit is further configured to return an installation package of the terminal application to the second terminal according to the download request, so that the second terminal installs the terminal application;
  • the receiving unit is further configured to receive a registration request message sent by the second terminal, where the registration request message carries a terminal identifier of the first terminal and the authentication information;
  • the authentication unit is configured to perform authentication according to the terminal identifier of the first terminal and the authentication information.
  • the sending unit sends a response message indicating that the authentication fails, to the second terminal.
  • the registration information is returned to the second terminal by the sending unit;
  • the sending unit is further configured to: when the authentication fails, send a response message indicating that the authentication fails And returning registration information to the second terminal to the second terminal, and when the authentication unit passes the authentication.
  • the device for registering further includes a recording unit;
  • the recording unit is configured to record a mapping relationship between the authentication information, a terminal identifier of the first terminal, and a terminal identifier of the second terminal.
  • the authentication unit is specifically configured to determine whether the terminal identifier of the first terminal, the authentication information, and the terminal identifier in the second terminal are consistent with the recorded mapping relationship; if they are consistent, the authentication is passed; If they are inconsistent, the authentication will not pass.
  • the receiving unit is further configured to receive a login request that is sent by the second terminal according to the registration information, where the registration information includes a terminal identifier and an authentication key of the second terminal;
  • the sending unit is further configured to authenticate the login operation according to the login request, and return a login response to the second terminal.
  • a terminal in a fourth aspect, includes a receiving unit, a downloading unit, a generating unit, and a sending unit, where the receiving unit is configured to receive a recommendation message sent by the first terminal, where the recommendation message carries recommended download address information,
  • the recommended download address information includes a terminal application download address and authentication information for performing registration;
  • the downloading unit is configured to download a terminal application from an application server according to the terminal application download address, and install the terminal application;
  • the generating unit is configured to: when the terminal application is started, acquire a terminal identifier of the first terminal, and generate a registration request according to the terminal identifier of the first terminal and the authentication information used for registration, the registration request message Carrying the terminal identifier of the first terminal and the authentication information;
  • the sending unit is configured to send a registration request message to the application server
  • the receiving unit is further configured to receive registration information that is returned after the application server performs authentication according to the terminal identifier of the first terminal and the authentication information.
  • the fourth aspect is combined, wherein:
  • the generating unit is configured to: when the terminal application is started, acquire a terminal identifier of the first terminal, and extract, from the recommendation message, the authentication information used for registration, according to the terminal of the first terminal.
  • the identifier and the authentication information used for registration generate a registration request, where the registration request message carries the terminal identifier of the first terminal and the authentication information.
  • the sending unit is further configured to send a login request to the application server according to the registration information, where the registration information includes a terminal identifier and an authentication key of the second terminal;
  • the receiving unit is further configured to receive a login response returned by the application server according to the login request.
  • the embodiment of the present invention further provides a communication system, which includes any device for registration and a terminal provided by the embodiment of the present invention.
  • the embodiment of the present invention uses the recommended download address information request for receiving the terminal identifier of the second terminal sent by the first terminal, and then requests the terminal application download address according to the recommended download address information, and generates authentication information for performing registration. And returning the recommended download address information to the first terminal, where the recommended download address information includes a terminal application download address and authentication information for performing registration, so that the first terminal sends the recommended download to the second terminal.
  • the recommendation message of the address information is such that the second terminal registers according to the terminal application download address and the authentication information used for registration.
  • the authentication information may be obtained by the registered first terminal, and the authentication information is carried therein when the recommendation message is sent to the second terminal, so the second terminal may directly according to the authentication information.
  • the registration is initiated, and the user does not need to perform multiple interactions with the application server through the short message. Therefore, compared with the prior art, the time is not short, and the registration success rate is high, which is beneficial to improving the application activation rate of the user, and It can also save users' fees.
  • FIG. 1 is a flowchart of a method for registering a terminal application according to an embodiment of the present invention
  • FIG. 2 is another flowchart of a method for registering a terminal application according to an embodiment of the present invention.
  • FIG. 2 is another flowchart of a method for registering a terminal application according to an embodiment of the present invention
  • FIG. 3 is still another flowchart of a method for registering a terminal application according to an embodiment of the present invention
  • FIG. 4 is still another flowchart of a method for registering a terminal application according to an embodiment of the present invention
  • FIG. 5 is another schematic diagram of a device for registering according to an embodiment of the present invention
  • FIG. 7 is another schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an application server according to an embodiment of the present invention.
  • FIG. 10 is still another schematic structural diagram of a terminal according to an embodiment of the present invention. detailed description
  • Embodiments of the present invention provide a method, an apparatus, and a system for registering a terminal application. The following is a detailed description.
  • the device for registration may specifically be a device such as an application server.
  • a method for registering a terminal application comprising: receiving a request for downloading a download address information sent by a first terminal, wherein the request for downloading the address information carries a terminal identifier of the second terminal; and requesting, according to the recommended download address information, a download address of the terminal application And generating authentication information for performing registration, and returning recommended download address information to the first terminal, where the recommended download address information includes a terminal application download address and authentication information for performing registration, so that the first Transmitting, by the terminal, a recommendation message carrying the recommended download address information to the second terminal, and receiving, by the second terminal, the download address according to the terminal application Sending a download request; returning the installation package of the terminal application to the second terminal according to the download request, so that the second terminal installs the terminal application; receiving a registration request message sent by the second terminal, where the registration request message carries the first The terminal identifier of the terminal and the authentication information; performing authentication according to the terminal identifier and the authentication information of the first terminal; and returning the registration information to the second terminal when the
  • a method for registering a terminal application may be applied to an application server, and the specific process may include the following steps:
  • the recommended download address information request may carry information such as a terminal identifier of the second terminal.
  • the terminal identifier of the second terminal may be obtained by the first terminal, and the terminal identifier may be represented in various forms, such as an International Mobile Subscriber Identification Number (IMSI), and an International Mobile Subscriber Integrated Service Digital Network.
  • IMSI International Mobile Subscriber Identification Number
  • MSISDN Mobile Subscriber International ISDN/PSTN number
  • NMSI National Mobile Subscriber Identification
  • these terminal identifiers may be referred to as mobile phone numbers.
  • the recommended download address information includes a terminal application download address and authentication information for performing registration.
  • the mapping relationship between the authentication information, the terminal identifier of the first terminal, and the terminal identifier of the second terminal may also be recorded.
  • the recommended download address information may include a terminal application download address and authentication information for performing registration, so that the first terminal sends a recommendation message carrying the recommended download address information to the second terminal, so that the second terminal is configured according to the terminal.
  • the application download address and the authentication information used for registration are registered.
  • the subsequent downloading address information can be carried in the recommendation message, so that the terminal application download address can be provided not only to the second terminal, but also At the same time, the authentication information for registration is also provided to the second terminal, so that the second terminal does not need to obtain the authentication information for registration.
  • the present embodiment uses the recommended download address information request for receiving the terminal identifier of the second terminal sent by the first terminal, and then requests the terminal application download address according to the recommended download address information, and generates a registration for registration. And authenticating the information, and returning the recommended download address information to the first terminal, where the recommended download address information includes a terminal application download address and authentication information for performing registration, so that the first terminal sends the carrying information to the second terminal.
  • the recommendation downloads the recommendation message of the address information, so that the second terminal registers according to the terminal application download address and the authentication information used for registration.
  • the authentication information may be obtained by the registered first terminal, and the authentication information is carried therein when the recommendation message is sent to the second terminal, so the second terminal may directly according to the authentication information.
  • the registration method of the terminal application may further include steps S104 to S108.
  • a registration method of a terminal application may be as follows:
  • S104 Receive a download request sent by the second terminal according to the download address of the terminal application.
  • the second terminal may download the terminal application according to the terminal application download address in the recommended download address information carried in the recommendation message. For example, the second terminal may download according to the terminal application.
  • the address sends a download request to a network device such as an application server, and the like.
  • the registration request message may carry the terminal identifier and the authentication information of the first terminal, where the authentication information is the authentication information included in the recommended download address information, and details are not described herein.
  • step S108 When the authentication fails, do not act or return a response message regarding the authentication failure to the second.
  • a terminal for example, the step "authenticating according to the terminal identifier and authentication information of the first terminal" Can be under 3 ⁇ 4:
  • step S108 Determining whether the terminal identifier of the first terminal, the authentication information, and the terminal identifier in the second terminal are consistent with the recorded mapping relationship. If the mapping is consistent, the user (ie, the second terminal) requesting registration is legally authenticated. If yes, step S108 is performed; if not, it indicates that the user (ie, the second terminal) that is requesting registration is invalid, and the authentication fails, and the response message for failing to pass the authentication may be returned to the second. terminal.
  • the registration information may include information such as a terminal identifier and a service key of the second terminal. Then, after returning the registration information to the second terminal, the method may further include: receiving the second terminal.
  • the login operation is performed according to the login identifier sent by the terminal identifier of the second terminal and the authentication key, and the login operation is authenticated according to the login request, and the login response is returned to the second terminal, and details are not described herein.
  • the authentication key is an initial password when the user logs in to the terminal application account.
  • the present embodiment uses the recommended download address information request for receiving the terminal identifier of the second terminal sent by the first terminal, and then requests the terminal application download address according to the recommended download address information, and generates a registration for registration. And authenticating the information, and returning the recommended download address information to the first terminal, where the recommended download address information includes a terminal application download address and authentication information for performing registration, so that the first terminal sends the carrying information to the second terminal.
  • the recommended message for downloading the address information is recommended, and thereafter, the download request sent by the second terminal according to the download address of the terminal application is received, and the installation package of the terminal application is returned to the second terminal, so that the second terminal installs the terminal application.
  • the embodiment of the invention further provides a registration method for a terminal application, and the method can be applied to the terminal.
  • the terminal may specifically be a device such as a smartphone or a tablet.
  • the terminal can be used as the second terminal in the embodiment of the present invention.
  • a method for registering a terminal application comprising: receiving a recommendation message that is sent by a first terminal and carrying a recommended download address information, where the recommended download address information includes a terminal application download address and authentication information used for registration, according to the terminal application
  • the downloading address downloads the terminal application from the application server, and installs the terminal application.
  • the application server sends a registration request message carrying the terminal identifier of the first terminal and the authentication information, and receives the application server.
  • the registration information returned after the authentication is performed according to the terminal identifier of the first terminal and the authentication information.
  • a method for registering a terminal application may be applied to a second terminal, and the specific process may be as follows:
  • the recommended message may be a message format such as a short message, a multimedia message, or a WeChat.
  • the recommended message may carry the recommended download address information, where the recommended download address information may include the terminal application download address and the authentication information used for registration. .
  • the step can be specifically as follows:
  • the network side device such as an application server
  • the network side device such as an application server
  • the terminal application When the terminal application is started, acquiring a terminal identifier of the first terminal, generating a registration request according to the terminal identifier of the first terminal and the authentication information used for registration, and sending a registration request message to the application server, where
  • the registration request message may carry information such as the terminal identifier of the first terminal and the authentication information (that is, the authentication information carried in the recommendation message), for example, the step may be specifically as follows:
  • the terminal application is started, the first is obtained.
  • a terminal identifier of the terminal and extracting the authentication information used for registration from the recommendation message, and then generating a registration request according to the terminal identifier of the first terminal and the authentication information used for registration, and sending the registration request to the application server Sending a registration request message, where the registration request carries the terminal identifier of the first terminal and the authentication information used for registration.
  • the terminal identifier may be embodied in various forms, such as IMSI, MSISDN, and NMSI.
  • the startup of the terminal application may be initiated by the user, or may be self-starting of the terminal application, for example, listening to the network switching broadcast to be awakened, and the like.
  • the registration information may include information such as a terminal identifier and an authentication key of the second terminal, so that after receiving the registration information, the second terminal may perform a login operation according to the registration information, that is, in the step of receiving the
  • the registration method of the terminal application may further include: performing a login operation according to the registration information, for example, after the application server performs the authentication information returned by the terminal identifier and the authentication information of the first terminal (ie, step 204).
  • the second terminal in this embodiment can receive the recommendation message that is sent by the first terminal and that carries the recommended download address information, where the recommended download address information includes the terminal application download address and the authentication information used for registration, so that The second terminal may download the terminal application from the application server for installation according to the download address of the terminal application.
  • the terminal application when the terminal application is started, the application may be directly initiated to the application server according to the authentication information without the user.
  • the authentication information is obtained by multiple interactions with the application server through the short message, so that it is not only time-consuming, but also avoids the registration failure caused by the mistake of a certain step in the multiple interactions.
  • This embodiment will further provide another method for registering a terminal application, and the method may be applied to a terminal, and the terminal may be a device such as a smart phone or a tablet computer.
  • the terminal can be specifically used as the first terminal of the embodiment of the present invention.
  • a method for registering a terminal application comprising: acquiring a terminal identifier of a second terminal, sending a request for downloading a recommended address information of the terminal identifier of the second terminal to the application server, and receiving a recommendation that the application server requests to return according to the recommended download address information Downloading the address information, wherein the recommended download address information includes a terminal application download address and authentication information for performing registration, and sending a recommendation message carrying the recommended download address information to the second terminal, so that the second terminal downloads the address according to the recommendation Application service
  • the server downloads the terminal application and registers it.
  • a method for registering a terminal application the method may be applied to the first terminal, and the specific process may be as follows:
  • the request for downloading the address information may carry information such as the terminal identifier of the second terminal.
  • the terminal identifier may be embodied in various forms, such as IMSI, MSISDN, and NMSI.
  • the recommended download address information may include a terminal application download address and authentication information for performing registration.
  • the recommendation message may carry the recommended download address information, so that the second terminal downloads the terminal application from the application server according to the recommended download address and performs registration.
  • the first terminal in this embodiment can obtain the terminal identifier of the second terminal, and generate a recommended download address information request according to the terminal identifier of the second terminal, and then send the terminal identifier carrying the second terminal to the application server.
  • the downloading address information request is recommended to obtain the recommended download address information, where the recommended download address information includes the terminal application download address and the authentication information used for registration, so that the second terminal can be sent with the recommended download address information.
  • the recommendation message is such that the second terminal can download the terminal application from the application server according to the recommended download address, and directly initiate registration with the application server according to the authentication information, without requiring the user to perform multiple interactions with the application server through the short message to obtain the authentication information.
  • the first terminal is specifically the terminal A
  • the second terminal is specifically the terminal B
  • the application is specifically the terminal application K
  • the device used for registration is specifically an application server.
  • a registration method of a terminal application may be as follows:
  • the terminal A and the terminal B are specifically used as the mobile phone.
  • the terminal A can obtain the terminal identifier such as the mobile phone number of the terminal B.
  • terminal A is a registered user of terminal application K
  • terminal B is an unregistered user of terminal application K.
  • the terminal A generates a recommended download address information request according to the terminal identifier of the terminal B, and sends a recommended download address information request to the application server.
  • the request for downloading the address information may carry the information such as the terminal identifier of the terminal B.
  • the terminal A and the terminal B are specifically used as the mobile phone.
  • the recommended download address information request may carry the mobile phone number of the terminal B. And other information.
  • the application server After receiving the recommended download address information request sent by the terminal A, the application server requests to obtain the download address of the terminal application K according to the recommended download address information, and generates the registered authentication information, and records the authentication information, and the terminal A The mapping relationship between the terminal identifier and the terminal identifier of the terminal B.
  • the application server generates recommended download address information according to the terminal application download address and the authentication information used for registration, and returns the recommended download address information to the terminal A.
  • the recommended download address information may include a download address of the terminal application K, authentication information for registering, and the like.
  • the recommended message may be a message format such as a short message, a multimedia message, or a WeChat.
  • the recommended message may carry recommended download address information, where the recommended download address information may include a download address of the terminal application K and authentication information used for registration. Wait.
  • the recommendation message is specifically a short message, and at this time, the terminal A can send the recommendation message to the terminal B through the short message gateway.
  • the terminal B After receiving the recommendation message sent by the terminal A, the terminal B sends a download request to the application server at the download address of the terminal application K. 5407.
  • the application server returns an installation package of the terminal application K to the terminal B according to the download request.
  • the terminal B After receiving the installation package of the terminal application K, the terminal B runs the installation package of the terminal application K to install the terminal application K.
  • the terminal B When the terminal B starts the application, the terminal B sends a registration request message to the application server, where the registration request message may carry the terminal identifier of the terminal A and the authentication information (that is, the authentication information carried in the recommendation message)
  • the registration request message may carry the terminal identifier of the terminal A and the authentication information (that is, the authentication information carried in the recommendation message)
  • the specific steps can be as follows:
  • the terminal B When the terminal B starts the terminal application, the terminal B extracts the authentication information for registering from the recommendation message, and sends a registration request message to the application server, where the registration request carries the terminal A identifier of the terminal and the Authentication information used for registration.
  • the startup of the terminal application may be initiated by the user, or may be self-starting of the terminal application, for example, listening to the network switching broadcast to be awakened, and the like.
  • the application server After receiving the registration request message sent by the terminal B, the application server performs authentication according to the terminal identifier and the authentication information of the terminal A. If the authentication is passed, the process proceeds to S411. If the authentication fails, the application may return a report. The response message of the failure of the right is sent to the terminal B, and the process ends.
  • the step can be specifically:
  • the application server returns the registration information to the terminal B, where the registration information may include information such as the terminal identifier and the authentication key of the terminal B.
  • the authentication key is a password when the user logs in to the terminal application account.
  • the terminal B sends a login request to the application server according to the terminal identifier and the authentication key of the terminal B.
  • the application server authenticates the login operation of the terminal B according to the login request, that is, determines whether the terminal B can log in, and returns a login response to the terminal B. For example, when it is determined that the login is possible, returning to the terminal B indicating that the login is successful. In response to the message, when it is determined that the login is not possible, a response message indicating that the login failed is returned to the terminal B, and so on, and details are not described herein.
  • the authentication information is obtained by the registered user terminal A, that is, the application server returns the recommended download address information including the terminal application download address and the authentication information for registration to the terminal A,
  • the terminal application can carry the download address and the authentication information therein, so that the terminal B can download the terminal application from the application server to install according to the terminal application download address.
  • the authentication information can be directly initiated to the application server according to the authentication information, and the user does not need to perform multiple interactions with the application server through the short message to obtain the authentication information, so the prior art is compared with the prior art.
  • the embodiment of the present invention further provides a device for registration.
  • the device for registration includes a receiving unit 501, a generating unit 502, and a sending unit 503.
  • the receiving unit 501 is configured to receive a recommended download address information request sent by the first terminal.
  • the recommended download address information request may carry information such as a terminal identifier of the second terminal.
  • the terminal identifier of the second terminal may be obtained by the first terminal, and the terminal identifier may be in various forms, such as IMSI, MSISDN, and NMSI.
  • the generating unit 502 is configured to request to acquire a terminal application download address according to the recommended download address information received by the receiving unit, and generate authentication information for performing registration, according to the terminal application download address and the authentication information used for registration
  • the download address information is recommended, wherein the recommended download address information includes a terminal application download address and authentication information for performing registration.
  • the sending unit 503 is configured to return recommended download address information to the first terminal.
  • the recommended download address information may include a terminal application download address and authentication information for performing registration, so that the first terminal sends a recommendation message carrying the recommended download address information to the second terminal, so that the second terminal is configured according to the The terminal application download address and the authentication information for registration are registered.
  • the subsequent downloading address information can be carried in the recommendation message, so that the terminal application download address can be provided not only to the second terminal, but also At the same time, the authentication information for registration is also provided to the second terminal, so that the second terminal does not need to obtain the authentication information for registration.
  • the device for registration may further include an authentication unit 504, which may be as follows:
  • the receiving unit 501 is further configured to receive a download request sent by the second terminal according to the download address of the terminal application.
  • the second terminal may download the terminal application according to the terminal application download address in the recommended download address information carried in the recommendation message.
  • the second terminal may be based on the terminal.
  • the application download address sends a download request to a network device such as an application server, and the like.
  • the sending unit 503 is further configured to return, according to the download request, an installation package of the terminal application to the second terminal, so that the second terminal installs the terminal application;
  • the receiving unit 501 is further configured to receive a registration request message sent by the second terminal.
  • the registration request message may carry the terminal identifier and the authentication information of the first terminal, where the authentication information is the authentication information included in the recommended download address information, and details are not described herein.
  • the authentication unit 504 is configured to perform authentication according to the terminal identifier of the first terminal and the authentication information.
  • the sending unit 503 sends a response message indicating that the authentication fails, to the second terminal.
  • the registration information is returned to the second terminal by the sending unit 503.
  • the sending unit 503 is configured to: when the authentication fails, send a response message indicating that the authentication fails, to the second terminal, and return the registration information to the second terminal when the authentication is passed.
  • the registration information may include information such as a terminal identifier and a service key of the second terminal. Then, after returning the registration information to the second terminal, the second terminal may further receive the second terminal according to the second The terminal identifier of the terminal and the login request sent by the authentication key, the login operation is authenticated according to the login request, and the login response is returned to the second terminal, that is, the receiving unit 501 and the sending unit 503 can respectively perform the following operations:
  • the receiving unit 501 is further configured to receive a login request sent by the second terminal according to the terminal identifier of the second terminal and the authentication key;
  • the sending unit 503 is further configured to authenticate the login operation according to the login request, and return a login response to the second terminal.
  • the authentication key is an initial password when the user logs in to the terminal application account.
  • the recording information may also be recorded.
  • a recording unit configured to record a mapping relationship between the authentication information, a terminal identifier of the first terminal, and a terminal identifier of the second terminal.
  • the authentication unit 504 is specifically configured to determine whether the terminal identifier, the authentication information, and the terminal identifier in the second terminal are consistent with the recorded mapping relationship.
  • the user ie, the second terminal
  • the sending unit 503 may send a response message indicating that the authentication fails, to the second terminal. If not, the user who requested the registration (ie, the second) The identity of the terminal is invalid, and the authentication fails.
  • the registration information may be returned to the second terminal by the sending unit 503.
  • the network side device may specifically be a device such as an application server.
  • the foregoing units may be implemented as an independent entity, or may be implemented in any combination, and may be implemented as the same entity or a plurality of entities.
  • the foregoing refer to the foregoing embodiments, and details are not described herein.
  • the receiving unit 501 of the network side device of the embodiment can receive the recommended download address information request of the terminal identifier of the second terminal that is sent by the first terminal, and then the generating unit 502 requests to acquire the terminal application according to the recommended download address information. Downloading an address, and generating authentication information for performing registration, and returning recommended download address information to the first terminal by the sending unit 503, wherein the recommended download address information includes a terminal application download address and an authentication for performing registration The information is sent to the second terminal to send the recommendation message carrying the recommended download address information to the second terminal. Thereafter, the receiving unit 501 can further receive the download request sent by the second terminal according to the download address of the terminal application, and the sending unit is sent by the sending unit.
  • the sending unit 503 returns the registration information to the second terminal.
  • the authentication information may be obtained by the registered first terminal, and the authentication information is carried therein when the recommendation message is sent to the second terminal, so the second terminal may directly according to the authentication information.
  • the embodiment of the present invention further provides a terminal, which can be used as the second terminal in the embodiment of the present invention.
  • the terminal includes a receiving unit 601, a downloading unit 602, a generating unit 603, and a sending unit 604.
  • the receiving unit 601 is configured to receive a recommendation message sent by the first terminal.
  • the recommended message may be a message format such as a short message, a multimedia message, or a WeChat.
  • the recommended message may carry the recommended download address information, where the recommended download address information may include the terminal application download address and the authentication information used for registration. .
  • the downloading unit 602 is configured to download the terminal application from the application server according to the downloading address of the terminal application, and install the terminal application; for example, the following may be specifically:
  • the downloading unit 602 is specifically configured to send a download request to the application server according to the download address of the terminal application, receive an installation package of the terminal application returned by the application server according to the download request, and run an installation package of the terminal application to perform the terminal application. installation.
  • the generating unit 603 is configured to: when the terminal application is started, acquire a terminal identifier of the first terminal, and generate a registration request according to the terminal identifier of the first terminal and the authentication information, that is, the authentication information carried in the recommendation message, where
  • the registration request message may carry information such as the terminal identifier of the first terminal and the authentication information (that is, the authentication information carried in the recommendation message).
  • the details can be as follows:
  • the generating unit 603 may be configured to: when the terminal application is started, acquire the terminal identifier of the first terminal, and extract the authentication information used for registration from the recommendation message, according to the terminal identifier and the label of the first terminal.
  • the right information ie, the authentication information carried in the recommendation message
  • the terminal identifier may be in various forms, such as IMSI, MSISDN, and NMSI.
  • the startup of the terminal application may be initiated by the user, or may be initiated by the terminal application, such as listening to the network switching broadcast and being awakened.
  • the sending unit 604 is configured to send a registration request message to the application server, where the registration request message may carry information such as the terminal identifier of the first terminal and the authentication information (that is, the authentication information carried in the recommendation message).
  • the receiving unit 601 is further configured to receive, by the application server, a terminal identifier and a reference according to the first terminal.
  • the registration information returned after the right information is authenticated.
  • the registration information may include information such as a terminal identifier and an authentication key of the second terminal, so that after receiving the registration information, the second terminal may perform a login operation according to the registration information, that is, the sending unit 604,
  • the method may be configured to send a login request to the application server according to the terminal identifier and the authentication key of the second terminal.
  • the receiving unit 601 is further configured to receive a login response that is returned by the application server according to the login request, and details are not described herein.
  • the terminal may specifically be a device such as a smartphone or a tablet.
  • the foregoing units may be implemented as an independent entity, or may be implemented in any combination, and may be implemented as the same entity or a plurality of entities.
  • the foregoing refer to the foregoing embodiments, and details are not described herein.
  • the receiving unit 601 of the terminal in this embodiment can receive the recommendation message that carries the recommended download address information sent by the first terminal, where the recommended download address information includes the terminal application download address and the authentication information used for registration.
  • the terminal can download the terminal application from the application server for downloading according to the terminal application download address, and on the other hand, when the terminal application is started, the generating unit 603 can also be based on the terminal of the first terminal.
  • the identification and authentication information ie, the authentication information carried in the recommendation message
  • the sending unit 604 directly initiates the registration to the application server, without the user interacting with the application server through the short message to obtain the authentication information.
  • the embodiment of the present invention further provides a terminal, which may be the second terminal of the embodiment of the present invention.
  • the terminal includes a generating unit 701, a sending unit 702, and a receiving unit 703.
  • the generating unit 701 is configured to obtain a terminal identifier of the second terminal, and generate a recommended download address information request according to the terminal identifier of the second terminal.
  • the request for downloading the address information may carry information such as the terminal identifier of the second terminal.
  • the terminal identifier may be embodied in multiple forms, such as IMSI, MSISDN, and NMSI.
  • the sending unit 702 is configured to send a recommended download address information request to the application server.
  • the receiving unit 703 is configured to receive recommended download address information returned by the application server according to the recommended download address information request.
  • the recommended download address information may include a terminal application download address and authentication information for performing registration.
  • the sending unit 702 is further configured to send a recommendation message to the second terminal.
  • the recommendation message may carry the recommended download address information, so that the second terminal downloads the terminal application from the application server according to the recommended download address and performs registration.
  • the foregoing units may be implemented as an independent entity, or may be implemented in any combination, and may be implemented as the same entity or a plurality of entities.
  • the foregoing refer to the foregoing embodiments, and details are not described herein.
  • the generating unit 701 of the terminal in this embodiment can obtain the terminal identifier of the second terminal, and generate a recommended download address information request according to the terminal identifier of the second terminal, and then the sending unit 702 sends the second terminal to the application server.
  • the recommended download address information request of the terminal identifier of the terminal is used to obtain the recommended download address information, wherein the recommended download address information includes the terminal application download address and the authentication information used for registration, so that the sending unit 702 can be used to perform the second
  • the terminal sends a recommendation message carrying the recommended download address information, so that the second terminal can download the terminal application from the application server according to the recommended download address, and directly initiate registration with the application server according to the authentication information, without the user sending the short message to the application server.
  • the embodiment of the present invention further provides a communication system, including any device for registration and any terminal provided by the embodiment of the present invention.
  • the device for registration is specifically an application server.
  • the communication system may include an application server 801, a first terminal 802, and a second terminal 803.
  • the application server 801 is configured to receive a recommended download address information request sent by the first terminal 802, where
  • the downloading address information request carries the terminal identifier of the second terminal 803; requesting to acquire the terminal application download address according to the recommended download address information, and generating authentication information for performing registration, according to the terminal application download address and for registering
  • the authentication information generates the recommended download address information, and returns the recommended download address information to the first terminal 801, where the recommended download address information includes the terminal application download address and the authentication information used for registration, so that the first terminal
  • the 801 sends a recommendation message carrying the recommended download address information to the second terminal 803; receiving a download request sent by the second terminal 803 according to the download address of the terminal application; and returning the installation package of the terminal application to the second terminal according to the download request 803, the second terminal 803 is configured to install the terminal application, and the registration request message sent by the second terminal 803 is received, where the registration request message carries the terminal identifier of the first terminal 802 and the authentication information; 802 terminal identification
  • the first terminal 802 is configured to acquire the terminal identifier of the second terminal 803, and send a request for downloading the recommended address information of the terminal identifier of the second terminal 803 to the application server 801, and the receiving application server 801 returns a request according to the recommended download address information.
  • the recommended download address information includes a terminal application download address and authentication information for performing registration, and sends a recommendation message carrying the recommended download address information to the second terminal 803, so that the second terminal 803 is recommended according to the recommendation.
  • the download address downloads the terminal application from the application server 801 and registers.
  • the second terminal 803 is configured to receive a recommendation message that is sent by the first terminal 802 and that carries the recommended download address information, where the recommended download address information includes a terminal application download address and authentication information used for registration, and the download address is used according to the terminal application. Downloading the terminal application from the application server 801, and installing the terminal application, when the terminal application is started, sending a registration request message carrying the terminal identifier of the first terminal 802 and the authentication information to the application server 801, and receiving the application The server 801 performs registration information returned after authentication according to the terminal identifier of the first terminal 802 and the authentication information.
  • the communication system includes any of the network side devices and the terminal provided by the embodiment of the present invention. Therefore, the beneficial effects of any of the network side devices and the terminal provided by the embodiments of the present invention are also implemented. For details, refer to the foregoing embodiment. I will not repeat them here.
  • an embodiment of the present invention further provides an application server, as shown in FIG. 9, the application server.
  • the processor 901 can be connected to the transceiver interface 902 and the memory 903 through a bus (BUS) 900.
  • BUS bus
  • the receiving and receiving interface 902 is configured to receive a recommended download address information request sent by the first terminal, where the recommended download address information request carries the terminal identifier of the second terminal.
  • the processor 901 is configured to request, according to the recommended download address information received by the transceiver interface 902, the terminal application download address, and generate the registered authentication information, and generate a recommended download according to the terminal application download address and the authentication information used for registration.
  • Address information, and the recommended download address information is returned to the first terminal through the transceiver interface 902, wherein the recommended download address information includes a terminal application download address and authentication information for performing registration, so that the first terminal is to the second terminal.
  • the memory 903 is configured to store data and is accessible by the processor 901 and the transceiver interface 902, etc., and the memory 903 may include a high speed random access memory, and may further include a nonvolatile memory, such as one or more magnetic disk storage devices. , flash memory devices, or other volatile solid-state storage devices.
  • the transceiver interface 902 is further configured to receive a download request sent by the second terminal according to the download address of the terminal application, and receive a registration request message sent by the second terminal, where the registration request message carries the terminal of the first terminal. Identification and the authentication information.
  • the processor 901 is further configured to: according to the download request received by the transceiver interface 902, return the installation package of the terminal application to the second terminal by using the transceiver module, so that the second terminal installs the terminal application; and, according to the first terminal, The terminal identifier and the authentication information are authenticated; when the authentication is passed, the registration information is returned to the second terminal through the transceiver interface 902.
  • the mapping relationship between the authentication information, the terminal identifier of the first terminal, and the terminal identifier of the second terminal may also be recorded, so that the subsequent The mapping relationship authenticates the identity of the user requesting registration, ie:
  • the processor 901 is further configured to record, after generating the registered authentication information, a mapping relationship between the authentication information, the terminal identifier of the first terminal, and the terminal identifier of the second terminal.
  • the processor 901 is configured to perform authentication according to the terminal identifier and the authentication information of the first terminal.
  • the entity may be used to determine whether the terminal identifier of the first terminal, the authentication information, and the terminal identifier in the second terminal are consistent with the recorded mapping relationship. If they are consistent, the identity of the user (ie, the second terminal) requesting registration is determined. If it is inconsistent, it indicates that the user who requested the registration (ie, the second terminal) is illegal and the authentication fails.
  • the transceiver interface 902 can be further configured to receive a login request sent by the second terminal according to the terminal identifier and the authentication key of the second terminal, and return a login response to the second terminal.
  • the processor 901 can also be configured to authenticate the login operation according to the login request received by the transceiver interface 902, and control the transceiver module to return a login response to the second terminal.
  • the application server in this embodiment uses the recommended download address information request for receiving the terminal identifier of the second terminal sent by the first terminal, and then requests the terminal application download address according to the recommended download address information, and generates the And performing the registered authentication information, and returning the recommended download address information to the first terminal, where the recommended download address information includes the terminal application download address and the authentication information used for registration, so that the first terminal is to the second
  • the terminal sends a recommendation message carrying the recommended download address information, and thereafter, receiving a download request sent by the second terminal according to the download address of the terminal application, and returning the installation package of the terminal application to the second terminal, so that the second terminal is installed.
  • the terminal application then receives a registration request message that is sent by the second terminal and carries the terminal identifier of the first terminal and the authentication information, performs authentication according to the terminal identifier and the authentication information of the first terminal, and passes the authentication.
  • the registration information is returned to the second terminal.
  • the authentication information may be obtained by the registered first terminal, and when the recommendation message is sent to the second terminal, the authentication information is carried therein, so the second terminal may directly according to the authentication information.
  • the registration is initiated, and the user does not need to perform multiple interactions with the application server through the short message. Therefore, compared with the prior art, the time is not short, and the registration success rate is high, which is beneficial to improving the application activation rate of the user, and It can also save users' fees.
  • the embodiment of the present invention further provides a terminal, which may be the second terminal of the embodiment of the present invention.
  • the terminal may include a processor 1001, a transceiver interface 1002, and a memory 1003, where the processor 1001 The connection between the transceiver interface 1002 and the memory 1003 is performed through the bus 1000.
  • the functions of the various parts of the application server may be specifically as follows:
  • the receiving and receiving interface 1002 is configured to receive a recommendation message that is sent by the first terminal and that carries the recommended download address information, where the recommended download address information includes the terminal application download address and the authentication information used for registration; and under the control of the processor 1001 And sending, to the application server, a registration request message carrying the terminal identifier of the first terminal and the authentication information, and receiving registration information returned by the application server according to the terminal identifier of the first terminal and the authentication information.
  • the registration information may include information such as a terminal identifier and an authentication key of the second terminal.
  • the processor 1001 is configured to download a terminal application from the application server according to the terminal application download address received by the transceiver interface 1002, and install the terminal application, and when the terminal application is started, acquire the terminal identifier of the first terminal, according to the The terminal identifier of the terminal and the authentication information (that is, the authentication information carried in the recommendation message) generate a registration request, and the control transceiver interface 1002 sends a registration request message carrying the terminal identifier of the first terminal and the authentication information to the application server.
  • the memory 1003 is configured to store data and is accessible by the processor 1001 and the transceiver interface 1002, etc., and the memory 1003 may include a high speed random access memory, and may further include a nonvolatile memory, such as one or more magnetic disk storage devices. , flash memory devices, or other volatile solid-state storage devices.
  • the transceiver interface 1002 is further configured to receive an installation package of the terminal application returned by the application server according to the download request.
  • the processor 1001 is specifically configured to: control the transceiver interface 1002 to send a download request to the application server according to the download address of the terminal application, and run the terminal after the transceiver interface 1002 receives the installation package of the terminal application returned by the application server according to the download request.
  • the installation package of the application to install the terminal application is specifically configured to: control the transceiver interface 1002 to send a download request to the application server according to the download address of the terminal application, and run the terminal after the transceiver interface 1002 receives the installation package of the terminal application returned by the application server according to the download request.
  • the installation package of the application to install the terminal application.
  • the terminal in this embodiment can receive the recommendation message that is sent by the first terminal and that carries the recommended download address information, where the recommended download address information includes the terminal application download address and the authentication information used for registration, so that the second
  • the terminal can download the terminal application from the application server for installation according to the download address of the terminal application.
  • the terminal when the terminal application is started, the terminal can also directly initiate registration according to the authentication information without the user sending the short message. Performing multiple interactions with the application server to obtain the authentication information, so that it is not only time-consuming, but also avoids the registration failure caused by the mistake of a certain step in the multiple interactions. Occur
  • the high registration success rate is beneficial to improve the user's application activation rate.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明实施例公开了一种终端应用的注册方法、装置和***。本发明实施例采用接收第一终端发送的携带第二终端的终端标识的推荐下载地址信息请求,向第一终端返回推荐下载地址信息,该推荐下载地址信息包括终端应用下载地址和用于进行注册的鉴权信息,以便第一终端向第二终端发送携带推荐下载地址信息的推荐消息,使得第二终端根据所述终端应用下载地址和所述用于进行注册的鉴权信息进行注册。该方案不仅耗时较短,而且注册成功率高,有利于提高用户的应用激活率。

Description

一种终端应用的注册方法、 装置和***
本申请要求于 2013年 12月 25 日提交中国专利局、 申请号为 201310727135. 3、 发明 名称为 "一种终端应用的注册方法、 装置和***" 的中国专利申请的优先权, 其全部内容 通过引用结合在本申请中。 技术领域
本发明涉及通信技术领域, 具体涉及一种终端应用的注册方法、装置和系 统。 背景技术
随着通信技术的迅速发展,各种终端应用也随着蓬勃发展起来, 为了对终 端应用进行推广, 用户在使用某个终端应用时, 该终端应用通常会提供一个短 信推荐功能,以方便用户将此终端应用的下载地址等信息通过短信推荐到给相 关的好友,使得被推荐用户通过短信中的下载地址就可以下载该终端应用, 而 被推荐用户在下载到该终端应用之后, 往往还需要用户进行注册。
在现有技术中 ,一般会釆用如下两种方式进行注册,一种为下行短信注册, 另一种为上行短信注册; 其中, 在下行短信注册的方案中, 一般由应用服务器 获取用户的手机号码, 并根据该手机号码下发鉴权码给用户, 然后由用户根据 该鉴权码向应用服务器发送注册请求来完成业务注册流程。而在下行短信注册 方案中,应用服务器在接收到用户的注册请求后,会向用户提供短信网关的地 址,然后由用户根据该短信网关的地址通过短信网关向应用服务器发送一条上 行短信,应用服务器获取到该上行短信后,将短信内容与客户端发送过来的注 册请求进行比较验证, 若验证成功则允许该用户进行业务注册。
在对现有技术的研究和实践过程中, 本发明的发明人发现,现有的这两种 方案均需用户通过短信与应用服务器之间进行多次交互, 才能验证(或确认) 用户的身份, 不仅耗时较长, 而且注册成功率较低, 不利于提高用户的应用激 活率。 发明内容
本发明实施例提供一种终端应用的注册方法、装置和***,不仅耗时较短, 而且注册成功率高, 有利于提高用户的应用激活率。
第一方面, 本发明实施例提供一种终端应用的注册方法, 包括: 接收第一终端发送的推荐下载地址信息请求,所述推荐下载地址信息请求 中携带第二终端的终端标识;
根据所述推荐下载地址信息请求获取终端应用下载地址,以及生成用于进 行注册的鉴权信息,根据所述终端应用下载地址和用于进行注册的鉴权信息生 成推荐下载地址信息,所述推荐下载地址信息包括终端应用下载地址和用于进 行注册的鉴权信息;
向所述第一终端返回推荐下载地址信息,以便所述第一终端向所述第二终 端发送携带所述推荐下载地址信息的推荐消息,使得第二终端根据所述终端应 用下载地址和所述用于进行注册的鉴权信息进行注册。
在第一种可能的实施方式中, 结合第一方面, 所述向所述第一终端返回推 荐下载地址信息之后, 还包括:
接收所述第二终端根据所述终端应用下载地址发送的下载请求; 根据所述下载请求返回终端应用的安装包给所述第二终端,以便所述第二 终端安装所述终端应用;
接收所述第二终端发送的注册请求消息,所述注册请求消息中携带第一终 端的终端标识和所述鉴权信息;
根据所述第一终端的终端标识和所述鉴权信息进行鉴权;
在鉴权通过时, 返回注册信息给所述第二终端。
在第二种可能的实施方式中, 结合第一方面的第一种可能的实施方式, 所 述根据所述推荐下载地址信息请求获取终端应用下载地址,以及生成用于进行 注册的鉴权信息之后, 还包括:
记录所述鉴权信息、第一终端的终端标识和第二终端的终端标识之间的映 射关系。
在第三种可能的实施方式中, 结合第一方面的第二种可能的实施方式, 所 述根据所述第一终端的终端标识和所述鉴权信息进行鉴权, 包括:
确定所述第一终端的终端标识、所述鉴权信息和所述第二终端中的终端标 识是否与记录的映射关系一致;
若一致, 则鉴权通过;
若不一致, 则鉴权不通过。
在第四种可能的实施方式中, 结合第一方面、 第一方面的第一、 第二或第 三种可能的实施方式, 所述注册信息包括所述第二终端的终端标识和鉴权密 钥, 则在返回注册信息给所述第二终端之后, 还包括:
接收所述第二终端根据所述第二终端的终端标识和鉴权密钥发送的登录 请求;
根据所述登录请求对登录操作进行鉴权, 并向所述第二终端返回登录响 应。
第二方面, 本发明实施例还提供一种终端应用的注册方法, 包括: 接收第一终端发送的推荐消息, 所述推荐消息中携带推荐下载地址信息, 所述推荐下载地址信息包括终端应用下载地址和用于进行注册的鉴权信息; 根据所述终端应用下载地址从应用服务器下载终端应用,并对所述终端应 用进行安装;
在启动所述终端应用时, 获取第一终端的终端标识,根据所述第一终端的 终端标识和用于进行注册的鉴权信息生成注册请求,向所述应用服务器发送注 册请求消息, 所述注册请求消息中携带第一终端的终端标识和所述鉴权信息; 接收所述应用服务器根据所述第一终端的终端标识和所述鉴权信息进行 鉴权后返回的注册信息。
在第一种可能的实施方式中,结合第二方面,所述在启动所述终端应用时, 获取第一终端的终端标识,根据所述第一终端的终端标识和用于进行注册的鉴 权信息生成注册请求, 包括:
在启动所述终端应用时, 获取第一终端的终端标识, 并从所述推荐消息中 提取所述用于进行注册的鉴权信息;
根据所述第一终端的终端标识和用于进行注册的鉴权信息生成注册请求, 所述注册请求消息中携带第一终端的终端标识和所述鉴权信息。
在第二种可能的实施方式中,结合第二方面或第二方面的第一种可能的实 施方式, 所述注册信息包括所述第二终端的终端标识和鉴权密钥, 则所述接收 所述应用服务器根据所述第一终端的终端标识和所述鉴权信息进行鉴权后返 回的注册信息之后, 还包括:
根据所述第二终端的终端标识和鉴权密钥向应用服务器发送登录请求; 接收应用服务器根据所述登录请求返回的登录响应。
第三方面, 本发明实施例还提供一种用于注册的设备, 包括接收单元、 生 成单元和发送单元;
所述接收单元, 用于接收第一终端发送的推荐下载地址信息请求, 所述推 荐下载地址信息请求中携带第二终端的终端标识;
所述生成单元,用于根据接收单元接收到的推荐下载地址信息请求获取终 端应用下载地址, 以及生成用于进行注册的鉴权信息,根据所述终端应用下载 地址和用于进行注册的鉴权信息生成推荐下载地址信息,所述推荐下载地址信 息包括终端应用下载地址和用于进行注册的鉴权信息;
所述发送单元, 用于向所述第一终端返回推荐下载地址信息, 以便所述第 一终端向所述第二终端发送携带所述推荐下载地址信息的推荐消息,使得第二 终端根据所述终端应用下载地址和所述用于进行注册的鉴权信息进行注册。
在第一种可能的实施方式中, 结合第三方面, 所述用于注册的设备还包括 鉴权单元;
所述接收单元,还用于接收所述第二终端根据所述终端应用下载地址发送 的下载请求;
所述发送单元,还用于根据所述下载请求返回终端应用的安装包给所述第 二终端, 以便所述第二终端安装所述终端应用;
所述接收单元,还用于接收所述第二终端发送的注册请求消息, 所述注册 请求消息中携带第一终端的终端标识和所述鉴权信息;
所述鉴权单元,用于根据所述第一终端的终端标识和所述鉴权信息进行鉴 权,在鉴权不通过时,通过发送单元发送表示鉴权不通过的响应消息给第二终 端, 在鉴权通过时, 通过发送单元返回注册信息给所述第二终端;
所述发送单元,还用于在鉴权不通过时,发送表示鉴权不通过的响应消息 给第二终端, 以及在鉴权单元鉴权通过时, 返回注册信息给所述第二终端。 在第二种可能的实施方式中, 结合第三方面的第一种可能的实施方式, 所 述用于注册的设备还包括记录单元;
所述记录单元, 用于记录所述鉴权信息、第一终端的终端标识和第二终端 的终端标识之间的映射关系。
在第三种可能的实施方式中, 结合第三方面的第二种可能的实施方式, 其 中:
所述鉴权单元, 具体用于确定所述第一终端的终端标识、 所述鉴权信息和 所述第二终端中的终端标识是否与记录的映射关系一致;若一致,则鉴权通过; 若不一致, 则鉴权不通过。
在第四种可能的实施方式中, 结合第三方面、 第三方面的第一、 第二或第 三种可能的实施方式, 其中:
所述接收单元,还用于接收所述第二终端根据所述注册信息发送的登录请 求, 所述注册信息包括所述第二终端的终端标识和鉴权密钥;
所述发送单元,还用于根据所述登录请求对登录操作进行鉴权, 并向所述 第二终端返回登录响应。
第四方面, 一种终端, 包括接收单元、 下载单元、 生成单元和发送单元; 所述接收单元, 用于接收第一终端发送的推荐消息, 所述推荐消息中携带 推荐下载地址信息,所述推荐下载地址信息包括终端应用下载地址和用于进行 注册的鉴权信息;
所述下载单元,用于根据所述终端应用下载地址从应用服务器下载终端应 用, 并对所述终端应用进行安装;
所述生成单元, 用于在启动所述终端应用时, 获取第一终端的终端标识, 根据所述第一终端的终端标识和用于进行注册的鉴权信息生成注册请求,所述 注册请求消息中携带第一终端的终端标识和所述鉴权信息;
所述发送单元, 用于向所述应用服务器发送注册请求消息;
所述接收单元,还用于接收所述应用服务器根据所述第一终端的终端标识 和所述鉴权信息进行鉴权后返回的注册信息。 在第一种可能的实施方式中, 结合第四方面, 其中:
所述生成单元, 具体用于在启动所述终端应用时, 获取第一终端的终端标 识,从所述推荐消息中提取所述用于进行注册的鉴权信息,根据所述第一终端 的终端标识和用于进行注册的鉴权信息生成注册请求,所述注册请求消息中携 带第一终端的终端标识和所述鉴权信息。
在第二种可能的实施方式中,结合第四方面或第四方面的第一种可能的实 施方式, 其中:
发送单元,还用于根据所述注册信息向应用服务器发送登录请求, 所述注 册信息包括所述第二终端的终端标识和鉴权密钥;
所述接收单元, 还用于接收应用服务器根据所述登录请求返回的登录响 应。
第五方面, 本发明实施例还提供一种通信***, 包括本发明实施例提供的 任一种用于注册的设备和本发明实施例提供的任一种终端。
本发明实施例釆用接收第一终端发送的携带第二终端的终端标识的推荐 下载地址信息请求, 然后根据该推荐下载地址信息请求获取终端应用下载地 址, 以及生成用于进行注册的鉴权信息, 并向该第一终端返回推荐下载地址信 息, 其中, 该推荐下载地址信息包括终端应用下载地址和用于进行注册的鉴权 信息, 以便该第一终端向该第二终端发送携带该推荐下载地址信息的推荐消 息,使得第二终端根据所述终端应用下载地址和所述用于进行注册的鉴权信息 进行注册。 由于在该方案中, 可以由已注册的第一终端来获取鉴权信息, 并在 向第二终端发送推荐消息时,将鉴权信息携带在其中, 所以第二终端可以直接 根据该鉴权信息发起注册,期间无需用户通过短信与应用服务器之间进行多次 交互, 因此, 相对于现有技术而言, 不仅耗时较短, 而且注册成功率高, 有利 于提高用户的应用激活率, 而且, 还可以节省用户的资费。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创 造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 la是本发明实施例提供的终端应用的注册方法的流程图;
图 lb是本发明实施例提供的终端应用的注册方法的另一流程图; 图 2是本发明实施例提供的终端应用的注册方法的又一流程图;
图 3是本发明实施例提供的终端应用的注册方法的又一流程图;
图 4是本发明实施例提供的终端应用的注册方法的又一流程图; 图 5b是本发明实施例提供的用于注册的设备的另一结构示意图; 图 6是本发明实施例提供的终端的结构示意图;
图 7是本发明实施例提供的终端的另一结构示意图;
图 8是本发明实施例提供的通信***的结构示意图;
图 9是本发明实施例提供的应用服务器的结构示意图;
图 10是本发明实施例提供的终端的又一结构示意图。 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域技术人员在没有作出创造性劳 动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
本发明实施例提供一种终端应用的注册方法、装置和***。 以下分别进行 详细说明。
本实施例将从用于注册的设备的角度进行描述,该用于注册的设备具体可 以为应用服务器等设备。
一种终端应用的注册方法, 包括: 接收第一终端发送的推荐下载地址信息 请求, 该推荐下载地址信息请求中携带第二终端的终端标识; 根据所述推荐下 载地址信息请求获取终端应用下载地址, 以及生成用于进行注册的鉴权信息, 并向该第一终端返回推荐下载地址信息, 其中, 该推荐下载地址信息包括终端 应用下载地址和用于进行注册的鉴权信息,以便该第一终端向第二终端发送携 带该推荐下载地址信息的推荐消息;接收该第二终端根据该终端应用下载地址 发送的下载请求; 根据该下载请求返回终端应用的安装包给该第二终端, 以便 该第二终端安装该终端应用; 接收该第二终端发送的注册请求消息, 该注册请 求消息中携带第一终端的终端标识和所述鉴权信息;根据该第一终端的终端标 识和鉴权信息进行鉴权; 在鉴权通过时, 返回注册信息给该第二终端。
如图 l a所示, 本发明实施例提供的一种终端应用的注册方法, 该方法可以 应用在应用服务器, 具体流程可以包括如下步骤:
S101、 接收第一终端发送的推荐下载地址信息请求。
其中, 该推荐下载地址信息请求中可以携带第二终端的终端标识等信息。 其中, 第二终端的终端标识可以由第一终端来获取, 该终端标识具体可以表现 为多种形式, 比如国际移动用户识别码 ( IMSI , International Mobile Subscriber Identification Number )、 国际移动用户综合业务数字网号码( MSISDN, Mobile Subscriber International ISDN/PSTN number )和国家移动用户识别码( NMSI , National Mobile Subscriber Identification )等, 以手机为例, 则这些终端标识可 以称为手机号码。
S 102、根据接收到的推荐下载地址信息请求获取终端应用下载地址, 以及 生成用于进行注册的鉴权信息,并根据该终端应用下载地址和用于进行注册的 鉴权信息生成推荐下载地址信息,该推荐下载地址信息包括终端应用下载地址 和用于进行注册的鉴权信息。
其中, 在生成用于进行注册的鉴权信息之后, 还可以记录该鉴权信息、 第 一终端的终端标识和第二终端的终端标识之间的映射关系。
S103、 向该第一终端返回推荐下载地址信息。
其中,该推荐下载地址信息可以包括终端应用下载地址和用于进行注册的 鉴权信息,以便该第一终端向第二终端发送携带该推荐下载地址信息的推荐消 息,使得第二终端根据该终端应用下载地址和该用于进行注册的鉴权信息进行 注册。 也就是说, 后续发送端终端在向第二终端推荐该终端应用时, 就可以在 推荐消息中携带该推荐下载地址信息, 这样, 不仅可以将终端应用下载地址提 供给第二终端, 而且, 与此同时也将用于进行注册的鉴权信息提供给了第二终 端, 使得第二终端无需再去获取用于进行注册的鉴权信息。 由上可知,本实施例釆用接收第一终端发送的携带第二终端的终端标识的 推荐下载地址信息请求,然后根据该推荐下载地址信息请求获取终端应用下载 地址, 以及生成用于进行注册的鉴权信息, 并向该第一终端返回推荐下载地址 信息, 其中, 该推荐下载地址信息包括终端应用下载地址和用于进行注册的鉴 权信息,以便该第一终端向该第二终端发送携带该推荐下载地址信息的推荐消 息,使得第二终端根据该终端应用下载地址和该用于进行注册的鉴权信息进行 注册。 由于在该方案中, 可以由已注册的第一终端来获取鉴权信息, 并在向第 二终端发送推荐消息时, 将鉴权信息携带在其中, 所以第二终端可以直接根据 该鉴权信息发起注册, 期间无需用户通过短信与应用服务器之间进行多次交 互, 因此, 相对于现有技术而言, 不仅耗时较短, 而且注册成功率高, 有利于 提高用户的应用激活率, 而且, 还可以节省用户的资费。 此外, 在向该第一终端返回推荐下载地址信息(即步骤 S103 )之后, 该终 端应用的注册方法还可以包括步骤 S104 S108。
如图 lb所示, 一种终端应用的注册方法, 具体流程可以如下:
其中, S101 103可参见前面实施例, 在此不再赘述。
5104、 接收该第二终端根据该终端应用下载地址发送的下载请求。
第二终端在接收到第一终端发送的推荐消息之后,可以根据该推荐消息中 携带的推荐下载地址信息中的终端应用下载地址来下载该终端应用, 比如, 第 二终端可以根据该终端应用下载地址向网络设备如应用服务器发送下载请求, 等等。
5105、根据接收到的下载请求返回终端应用的安装包给该第二终端, 以便 该第二终端安装该终端应用。
5106、 接收该第二终端发送的注册请求消息。
其中,该注册请求消息中可以携带第一终端的终端标识和鉴权信息,其中, 该鉴权信息为推荐下载地址信息中所包括的鉴权信息, 在此不再赘述。
5107、 根据该第一终端的终端标识和鉴权信息进行鉴权, 在鉴权通过时, 执行步骤 S108 ,在鉴权不通过时, 不动作或返回关于鉴权不通过的响应消息给 第二终端; 例如, 步骤 "据该第一终端的终端标识和鉴权信息进行鉴权" 具体 可以 ¾口下:
确定该第一终端的终端标识、鉴权信息和该第二终端中的终端标识是否与 记录的映射关系一致, 若一致, 则表明该请求注册的用户 (即第二终端)身份 合法,鉴权通过,于是执行步骤 S108;若不一致,则表明该请求注册的用户(即 第二终端)身份不合法, 鉴权不通过, 此时可以不动作或返回关于鉴权不通过 的响应消息给第二终端。
S108、 在鉴权通过时, 返回注册信息给该第二终端。
其中,该注册信息可以包括第二终端的终端标识和鉴权密钥( servicetoken ) 等信息, 则此时, 在返回注册信息给该第二终端之后, 该方法还可以包括: 接收该第二终端根据该第二终端的终端标识和鉴权密钥发送的登录请求, 根据该登录请求对登录操作进行鉴权, 并向该第二终端返回登录响应, 在此不 再赘述。
其中, 鉴权密钥为用户登录该终端应用账户时的初始密码。
由上可知,本实施例釆用接收第一终端发送的携带第二终端的终端标识的 推荐下载地址信息请求,然后根据该推荐下载地址信息请求获取终端应用下载 地址, 以及生成用于进行注册的鉴权信息, 并向该第一终端返回推荐下载地址 信息, 其中, 该推荐下载地址信息包括终端应用下载地址和用于进行注册的鉴 权信息,以便该第一终端向该第二终端发送携带该推荐下载地址信息的推荐消 息, 此后, 可以接收该第二终端根据该终端应用下载地址发送的下载请求, 并 返回终端应用的安装包给该第二终端, 以便该第二终端安装该终端应用, 然后 接收该第二终端发送的携带第一终端的终端标识和该鉴权信息的注册请求消 息, 根据该第一终端的终端标识和鉴权信息进行鉴权, 并在鉴权通过时, 返回 注册信息给该第二终端。 由于在该方案中, 可以由已注册的第一终端来获取鉴 权信息, 并在向第二终端发送推荐消息时, 将鉴权信息携带在其中, 所以第二 终端可以直接根据该鉴权信息发起注册,期间无需用户通过短信与应用服务器 之间进行多次交互, 因此, 相对于现有技术而言, 不仅耗时较短, 而且注册成 功率高, 有利于提高用户的应用激活率, 而且, 还可以节省用户的资费。 本发明实施例还提供一种终端应用的注册方法, 该方法可以应用在终端 中, 该终端具体可以为智能手机或平板电脑等设备。该终端可以作为本发明实 施例中的第二终端。
一种终端应用的注册方法, 包括: 接收第一终端发送的携带推荐下载地址 信息的推荐消息, 其中,推荐下载地址信息包括终端应用下载地址和用于进行 注册的鉴权信息,根据该终端应用下载地址从应用服务器下载终端应用, 并对 所述终端应用进行安装, 在启动该终端应用时, 向应用服务器发送携带第一终 端的终端标识和该鉴权信息的注册请求消息,接收该应用服务器根据该第一终 端的终端标识和该鉴权信息进行鉴权后返回的注册信息。
如图 2所示, 本发明实施例提供的一种终端应用的注册方法, 该方法可以 应用在应用于第二终端中, 具体流程可以如下:
5201、 接收第一终端发送的推荐消息。
其中, 该推荐消息具体可以为短信、 彩信或微信等信息格式, 该推荐消息 中可以携带推荐下载地址信息,该推荐下载地址信息可以包括终端应用下载地 址和用于进行注册的鉴权信息等信息。
5202、根据该终端应用下载地址从应用服务器下载终端应用, 并对该终端 应用进行安装。 例如, 该步骤具体可以如下:
根据该终端应用下载地址向网络侧设备(如应用服务器)发送下载请求, 接收网络侧设备(如应用服务器)根据该下载请求返回的终端应用的安装包, 并运行该终端应用的安装包, 以对终端应用进行安装。
5203、在启动该终端应用时, 获取第一终端的终端标识, 根据该第一终端 的终端标识和用于进行注册的鉴权信息生成注册请求,并向该应用服务器发送 注册请求消息, 其中, 该注册请求消息中可以携带第一终端的终端标识和鉴权 信息(即推荐消息中所携带的鉴权信息)等信息,例如,该步骤具体可以如下: 在启动该终端应用时, 获取第一终端的终端标识, 并从该推荐消息中提取 所该用于进行注册的鉴权信息,然后根据该第一终端的终端标识和用于进行注 册的鉴权信息生成注册请求, 并向该应用服务器发送注册请求消息, 其中, 该 注册请求中携带第一终端的终端标识和该用于进行注册的鉴权信息。
该终端标识具体可以表现为多种形式,比如 IMSI、 MSISDN和 NMSI等, 而 终端应用的启动可以是用户主动启动, 也可以是终端应用的自启动, 例如监听 网络切换广播从而被唤醒等等。
S204、接收该应用服务器根据该第一终端的终端标识和鉴权信息进行鉴权 后返回的注册信息。
其中,该注册信息可以包括第二终端的终端标识和鉴权密钥等信息,这样, 第二终端在接收该注册信息后,便可以根据该注册信息进行登录操作, 即在步 骤"接收所述应用服务器根据所述第一终端的终端标识和鉴权信息进行鉴权后 返回的注册信息 (即步骤 204 )之后, 该终端应用的注册方法还可以包括: 根据该注册信息进行登录操作, 例如, 具体可以如下:
根据该第二终端的终端标识和鉴权密钥向应用服务器发送登录请求,接收 应用服务器根据该登录请求返回的登录响应, 在此不再赘述。
由上可知,本实施例的第二终端可以接收第一终端发送的携带推荐下载地 址信息的推荐消息, 其中, 该推荐下载地址信息包括终端应用下载地址和用于 进行注册的鉴权信息,使得第二终端一方面可以根据该终端应用下载地址从应 用服务器下载终端应用以进行安装, 另一方面, 在启动该终端应用时, 还可以 根据该鉴权信息向应用服务器直接发起注册,而无需用户通过短信与应用服务 器进行多次交互来获取鉴权信息, 所以相对于现有技术而言, 不仅耗时较短, 而且可以避免在多次交互中的某个步骤的失误所导致的注册失败的情况的发 生, 提高注册成功率, 有利于提高用户的应用激活率, 进一步的, 还可以节省 用户的资费。 本实施例将还提供另一种终端应用的注册方法, 该方法可以应用于终端 中, 该终端具体可以为智能手机或平板电脑等设备。该终端具体可以作为本发 明实施例的第一终端。
一种终端应用的注册方法, 包括: 获取第二终端的终端标识, 向应用服务 器发送携带该第二终端的终端标识的推荐下载地址信息请求,接收应用服务器 根据该推荐下载地址信息请求返回的推荐下载地址信息, 其中,推荐下载地址 信息包括终端应用下载地址和用于进行注册的鉴权信息,向第二终端发送携带 该推荐下载地址信息的推荐消息,以便第二终端根据该推荐下载地址从应用服 务器下载终端应用并进行注册。
如图 3所示, 一种终端应用的注册方法, 该方法可以应用于第一终端中, 具体流程可以如下:
5301、获取第二终端的终端标识, 并根据该第二终端的终端标识生成推荐 下载地址信息请求。
其中, 该推荐下载地址信息请求中可以携带该第二终端的终端标识等信 息。 该终端标识具体可以表现为多种形式, 比如 IMSI、 MSISDN和 NMSI等。
5302、 向应用服务器发送推荐下载地址信息请求。
S303、接收应用服务器根据该推荐下载地址信息请求返回的推荐下载地址 信息。
其中,该推荐下载地址信息可以包括终端应用下载地址和用于进行注册的 鉴权信息。
S304、 向第二终端发送推荐消息。
其中, 该推荐消息中可以携带推荐下载地址信息, 以便该第二终端根据该 推荐下载地址从应用服务器下载终端应用并进行注册, 具体可参见实施例二, 在此不再赘述。
由上可知, 本实施例的第一终端可以获取第二终端的终端标识, 并根据该 第二终端的终端标识生成推荐下载地址信息请求,然后向应用服务器发送携带 该第二终端的终端标识的推荐下载地址信息请求, 以获取推荐下载地址信息 , 其中, 推荐下载地址信息包括终端应用下载地址和用于进行注册的鉴权信息, 这样, 就可以向第二终端发送携带该推荐下载地址信息的推荐消息,使得第二 终端可以根据该推荐下载地址从应用服务器下载终端应用,并根据该鉴权信息 向应用服务器直接发起注册,而无需用户通过短信与应用服务器进行多次交互 来获取鉴权信息, 所以相对于现有技术而言, 不仅耗时较短, 而且可以避免在 多次交互中的某个步骤的失误所导致的注册失败的情况的发生,提高注册成功 率, 有利于提高用户的应用激活率, 进一步的, 还可以节省用户的资费。 根据前面实施例所所描述的方法, 以下将举例作进一步详细说明。
在本实施例中, 将以第一终端具体为终端 A、 第二终端具体为终端 B, 终 端应用具体为终端应用 K, 用于注册的设备具体为应用服务器为例进行说明。 如图 4所示, 一种终端应用的注册方法, 具体流程可以如下:
5401、 终端 A确定需要向终端 B发送关于终端应用 K的推荐消息时, 获取 终端 B的终端标识。
比如, 以终端 A和终端 B具体为手机为例, 则此时, 终端 A可以获取终端 B 的手机号码等终端标识。 其中, 终端 A为终端应用 K的已注册用户, 终端 B为终 端应用 K的未注册用户。
5402、 终端 A根据终端 B的终端标识生成推荐下载地址信息请求, 并向应 用服务器发送推荐下载地址信息请求。
其中, 该推荐下载地址信息请求中可以携带终端 B的终端标识等信息, 比 如, 终端 A和终端 B具体为手机为例, 则此时, 该推荐下载地址信息请求中可 以携带终端 B的手机号码等信息。
5403、 应用服务器在接收到终端 A发送的推荐下载地址信息请求后, 根据 该推荐下载地址信息请求获取终端应用 K的下载地址, 以及生成注册的鉴权信 息, 并记录该鉴权信息、 终端 A的终端标识和终端 B的终端标识之间的映射关 系。
5404、应用服务器根据该终端应用下载地址和用于进行注册的鉴权信息生 成推荐下载地址信息, 并向终端 A返回推荐下载地址信息。
其中, 该推荐下载地址信息可以包括终端应用 K的下载地址和用于进行注 册的鉴权信息等。
5405、 终端 A接收到应用服务器发送的推荐下载地址信息后, 向终端 B发 送推荐消息。
其中, 该推荐消息具体可以为短信、 彩信或微信等信息格式, 该推荐消息 中可以携带推荐下载地址信息, 该推荐下载地址信息可以包括终端应用 K的下 载地址和用于进行注册的鉴权信息等。
例如, 以该推荐消息具体为短信为例, 则此时, 终端 A可以通过短信网关 将推荐消息发送给终端 B。
5406、 终端 B接收到终端 A发送的推荐消息后, 居该终端应用 K的下载 地址向应用服务器发送下载请求。 5407、 应用服务器根据该下载请求向终端 B返回终端应用 K的安装包。
5408、 终端 B接收到该终端应用 K的安装包后, 运行该终端应用 K的安装 包, 以对终端应用 K进行安装。
5409、 终端 B在启动该终端应用时, 向该应用服务器发送注册请求消息, 其中, 该注册请求消息中可以携带终端 A的终端标识和鉴权信息(即推荐消息 中所携带的鉴权信息)等信息, 例如, 该步骤具体可以如下:
终端 B在启动该终端应用时, 从该推荐消息中提取所该用于进行注册的鉴 权信息, 并向该应用服务器发送注册请求消息, 其中, 该注册请求中携带终端 的终端 A标识和该用于进行注册的鉴权信息。
终端应用的启动可以是用户主动启动, 也可以是终端应用的自启动, 例如 监听网络切换广播从而被唤醒等等。
5410、 应用服务器接收到终端 B发送的注册请求消息后, 根据该终端 A的 终端标识和鉴权信息进行鉴权, 若鉴权通过, 则执行 S411 , 若鉴权不通过, 则 可以返回表示鉴权失败的响应消息给终端 B, 流程结束, 例如, 该步骤具体可 以 ¾口下:
确定该终端 A的终端标识、 鉴权信息和该终端 B中的终端标识是否与记录 的映射关系一致, 若一致, 则表明该请求注册的用户 (即终端 B ) 身份合法, 鉴权通过, 于是执行 S411 ; 若不一致, 则表明该请求注册的用户 (即终端 B ) 身份不合法, 鉴权不通过。
5411、 应用服务器返回注册信息给终端 B, 其中, 该注册信息可以包括终 端 B的终端标识和鉴权密钥等信息。
其中, 鉴权密钥为用户登录该终端应用账户时的密码。
5412、 终端 B根据该终端 B的终端标识和鉴权密钥向应用服务器发送的登 录请求。
5413、 应用服务器根据该登录请求对终端 B的登录操作进行鉴权, 即判断 终端 B是否可以登录, 并向终端 B返回登录响应, 比如, 在确定可以登录时, 向终端 B返回表示登录成功的响应消息, 而在确定不可以登录时, 向终端 B返 回表示登录失败的响应消息, 等等, 在此不再赘述。 由上可知, 本实施例釆用由已注册用户终端 A来获取鉴权信息, 即由应用 服务器向终端 A返回包括了终端应用下载地址和用于进行注册的鉴权信息的 推荐下载地址信息, 这样, 终端 A在向终端 B发送推荐消息时, 就可以将该终 端应用下载地址和鉴权信息携带在其中, 使得终端 B—方面可以根据该终端应 用下载地址从应用服务器下载终端应用以进行安装, 另一方面,在启动该终端 应用时,还可以根据该鉴权信息向应用服务器直接发起注册, 而无需用户通过 短信与应用服务器进行多次交互来获取鉴权信息, 所以相对于现有技术而言, 该方案不仅耗时较短,而且可以避免在多次交互中的某个步骤的失误所导致的 注册失败的情况的发生, 提高注册成功率, 有利于提高用户的应用激活率, 进 一步的, 还可以节省用户的资费。 为了更好地实现以上方法, 本发明实施例还提供一种用于注册的设备, 如 图 5a所示, 该用于注册的设备包括接收单元 501、生成单元 502和发送单元 503。
接收单元 501 , 用于接收第一终端发送的推荐下载地址信息请求。
其中, 该推荐下载地址信息请求中可以携带第二终端的终端标识等信息。 其中, 第二终端的终端标识可以由第一终端来获取, 该终端标识具体可以表现 为多种形式, 比如 IMSI、 MSISDN和 NMSI等。
生成单元 502, 用于根据接收单元接收到的推荐下载地址信息请求获取终 端应用下载地址, 以及生成用于进行注册的鉴权信息,根据该终端应用下载地 址和用于进行注册的鉴权信息生成推荐下载地址信息, 其中,推荐下载地址信 息包括终端应用下载地址和用于进行注册的鉴权信息。
发送单元 503 , 用于向第一终端返回推荐下载地址信息。
其中,该推荐下载地址信息可以包括终端应用下载地址和用于进行注册的 鉴权信息,以便该第一终端向第二终端发送携带该推荐下载地址信息的推荐消 息,使得第二终端根据所述终端应用下载地址和所述用于进行注册的鉴权信息 进行注册。 也就是说, 后续发送端终端在向第二终端推荐该终端应用时, 就可 以在推荐消息中携带该推荐下载地址信息, 这样, 不仅可以将终端应用下载地 址提供给第二终端, 而且, 与此同时也将用于进行注册的鉴权信息提供给了第 二终端, 使得第二终端无需再去获取用于进行注册的鉴权信息。 如图 5b所示, 该用于注册的设备还可以包括鉴权单元 504 , 则可以如下: 接收单元 501 , 还用于接收该第二终端根据改终端应用下载地址发送的下 载请求。
其中, 第二终端在接收到第一终端发送的推荐消息之后, 可以根据该推荐 消息中携带的推荐下载地址信息中的终端应用下载地址来下载该终端应用,比 如 ,第二终端可以根据该终端应用下载地址向网络设备如应用服务器发送下载 请求, 等等。
发送单元 503 ,还用于根据该下载请求返回终端应用的安装包给第二终端, 以便第二终端安装该终端应用;
接收单元 501 , 还用于接收该第二终端发送的注册请求消息。
其中,该注册请求消息中可以携带第一终端的终端标识和鉴权信息,其中, 该鉴权信息为推荐下载地址信息中所包括的鉴权信息, 在此不再赘述。
鉴权单元 504, 用于根据第一终端的终端标识和所述鉴权信息进行鉴权, 在鉴权不通过时, 通过发送单元 503发送表示鉴权不通过的响应消息给第二终 端, 在鉴权通过时, 通过发送单元 503返回注册信息给所述第二终端。
发送单元 503 , 用于在鉴权不通过时, 发送表示鉴权不通过的响应消息给 第二终端, 以及在鉴权通过时, 返回注册信息给第二终端。
其中,该注册信息可以包括第二终端的终端标识和鉴权密钥( servicetoken ) 等信息, 则此时, 在返回注册信息给该第二终端之后, 还可以接收该第二终端 根据该第二终端的终端标识和鉴权密钥发送的登录请求,根据该登录请求对登 录操作进行鉴权, 并向该第二终端返回登录响应, 即接收单元 501和发送单元 503分别还可以执行如下操作:
接收单元 501 , 还用于接收第二终端根据第二终端的终端标识和鉴权密钥 发送的登录请求;
发送单元 503 , 还用于根据登录请求对登录操作进行鉴权, 并向第二终端 返回登录响应。
其中, 鉴权密钥为用户登录该终端应用账户时的初始密码。
可选的, 在生成单元 502生成用于进行注册的鉴权信息之后, 还可以记录 该鉴权信息、第一终端的终端标识和第二终端的终端标识之间的映射关系。 即 该用于注册的设备还可以记录单元, 如下:
记录单元, 用于记录所述鉴权信息、第一终端的终端标识和第二终端的终 端标识之间的映射关系。
则此时, 鉴权单元 504 , 具体可以用于确定该第一终端的终端标识、 鉴权 信息和该第二终端中的终端标识是否与记录的映射关系一致, 若一致, 则表明 该请求注册的用户 (即第二终端)身份合法, 鉴权通过, 此时可以通过发送单 元 503发送表示鉴权不通过的响应消息给第二终端; 若不一致, 则表明该请求 注册的用户 (即第二终端)身份不合法, 鉴权不通过, 此时可以通过发送单元 503返回注册信息给所述第二终端。
该网络侧设备具体可以为应用服务器等设备。
具体实现时, 以上各个单元可以作为独立的实体来实现, 也可以进行任意 组合,作为同一或若干个实体来实现, 以上各个单元的具体实现可参见前面的 实施例, 在此不再赘述。
由上可知, 本实施例的网络侧设备的接收单元 501可以接收第一终端发送 的携带第二终端的终端标识的推荐下载地址信息请求, 然后生成单元 502根据 该推荐下载地址信息请求获取终端应用下载地址,以及生成用于进行注册的鉴 权信息, 并由发送单元 503向该第一终端返回推荐下载地址信息, 其中, 该推 荐下载地址信息包括终端应用下载地址和用于进行注册的鉴权信息,以便该第 一终端向该第二终端发送携带该推荐下载地址信息的推荐消息, 此后,接收单 元 501还可以接收该第二终端根据该终端应用下载地址发送的下载请求, 并由 发送单元 503返回终端应用的安装包给该第二终端, 以便该第二终端安装该终 端应用, 然后由接收单元 501接收该第二终端发送的携带第一终端的终端标识 和该鉴权信息的注册请求消息, 再由鉴权单元 504根据该第一终端的终端标识 和鉴权信息进行鉴权, 并在鉴权通过时, 由发送单元 503返回注册信息给该第 二终端。 由于在该方案中, 可以由已注册的第一终端来获取鉴权信息, 并在向 第二终端发送推荐消息时,将鉴权信息携带在其中, 所以第二终端可以直接根 据该鉴权信息发起注册,期间无需用户通过短信与应用服务器之间进行多次交 互, 因此, 相对于现有技术而言, 不仅耗时较短, 而且注册成功率高, 有利于 提高用户的应用激活率, 而且, 还可以节省用户的资费。 相应的, 本发明实施例还提供一种终端, 可以作为本发明实施例的第二终 端, 如图 6所示, 该终端包括接收单元 601、 下载单元 602、 生成单元 603和发送 单元 604。
接收单元 601 , 用于接收第一终端发送的推荐消息。
其中, 该推荐消息具体可以为短信、 彩信或微信等信息格式, 该推荐消息 中可以携带推荐下载地址信息,该推荐下载地址信息可以包括终端应用下载地 址和用于进行注册的鉴权信息等信息。
下载单元 602, 用于根据终端应用下载地址从应用服务器下载终端应用, 并对该终端应用进行安装; 例如, 具体可以如下:
下载单元 602 , 具体可以用于根据该终端应用下载地址向应用服务器发送 下载请求,接收应用服务器根据该下载请求返回的终端应用的安装包, 并运行 该终端应用的安装包, 以对终端应用进行安装。
生成单元 603 , 用于在启动所述终端应用时, 获取第一终端的终端标识, 根据第一终端的终端标识和鉴权信息(即推荐消息中所携带的鉴权信息)生成 注册请求, 其中, 该注册请求消息中可以携带第一终端的终端标识和鉴权信息 (即推荐消息中所携带的鉴权信息)等信息。 例如, 具体可以如下:
生成单元 603 , 具体可以用于在启动该终端应用时, 获取第一终端的终端 标识, 并从该推荐消息中提取所该用于进行注册的鉴权信息,根据第一终端的 终端标识和鉴权信息(即推荐消息中所携带的鉴权信息)生成注册请求,其中, 该注册请求中携带第一终端的终端标识和该用于进行注册的鉴权信息。
该终端标识具体可以表现为多种形式, 比如 IMSI、 MSISDN和 NMSI等 , 而终端应用的启动可以是用户主动启动,也可以是终端应用的自启动, 例如监 听网络切换广播从而被唤醒等等。
发送单元 604, 用于向应用服务器发送注册请求消息, 其中, 该注册请求 消息中可以携带第一终端的终端标识和鉴权信息(即推荐消息中所携带的鉴权 信息)等信息。
接收单元 601 , 还用于接收应用服务器根据所述第一终端的终端标识和鉴 权信息进行鉴权后返回的注册信息。
其中,该注册信息可以包括第二终端的终端标识和鉴权密钥等信息,这样, 第二终端在接收该注册信息后, 便可以根据该注册信息进行登录操作, 即: 发送单元 604, 还可以用于根据该第二终端的终端标识和鉴权密钥向应用 服务器发送登录请求。
接收单元 601 , 还可以用于接收应用服务器根据所述登录请求返回的登录 响应, 在此不再赘述。
该终端具体可以为智能手机或平板电脑等设备。
具体实现时, 以上各个单元可以作为独立的实体来实现, 也可以进行任意 组合,作为同一或若干个实体来实现, 以上各个单元的具体实现可参见前面的 实施例, 在此不再赘述。
由上可知, 本实施例的终端的接收单元 601可以接收第一终端发送的携带 推荐下载地址信息的推荐消息, 其中, 该推荐下载地址信息包括终端应用下载 地址和用于进行注册的鉴权信息, 使得该终端一方面可以由下载单元 602根据 该终端应用下载地址从应用服务器下载终端应用以进行安装, 另一方面, 在启 动该终端应用时, 还可以由生成单元 603根据第一终端的终端标识和鉴权信息 (即推荐消息中所携带的鉴权信息)生成注册请求, 然后由发送单元 604向应 用服务器直接发起注册,而无需用户通过短信与应用服务器进行多次交互来获 取鉴权信息, 所以相对于现有技术而言, 不仅耗时较短, 而且可以避免在多次 交互中的某个步骤的失误所导致的注册失败的情况的发生, 提高注册成功率, 有利于提高用户的应用激活率, 进一步的, 还可以节省用户的资费。 相应的, 本发明实施例还提供一种终端, 可以作为本发明实施例的第二终 端, 如图 7所示, 该终端包括生成单元 701、 发送单元 702和接收单元 703。
生成单元 701 , 用于获取第二终端的终端标识, 并根据第二终端的终端标 识生成推荐下载地址信息请求。
其中, 该推荐下载地址信息请求中可以携带该第二终端的终端标识等信 息。其中, 该终端标识具体可以表现为多种形式, 比如 IMSI、 MSISDN和 NMSI 等。 发送单元 702, 用于向应用服务器发送推荐下载地址信息请求。 接收单元 703 , 用于接收应用服务器根据该推荐下载地址信息请求返回的 推荐下载地址信息。
其中,该推荐下载地址信息可以包括终端应用下载地址和用于进行注册的 鉴权信息。
发送单元 702, 还可以用于向第二终端发送推荐消息。
其中, 该推荐消息中可以携带推荐下载地址信息, 以便该第二终端根据该 推荐下载地址从应用服务器下载终端应用并进行注册, 具体可参见前面的实, 在此不再赘述。
具体实现时, 以上各个单元可以作为独立的实体来实现, 也可以进行任意 组合,作为同一或若干个实体来实现, 以上各个单元的具体实现可参见前面的 实施例, 在此不再赘述。
由上可知,本实施例的终端的生成单元 701可以获取第二终端的终端标识, 并根据第二终端的终端标识生成推荐下载地址信息请求, 然后由发送单元 702 向应用服务器发送携带该第二终端的终端标识的推荐下载地址信息请求,以获 取推荐下载地址信息, 其中,推荐下载地址信息包括终端应用下载地址和用于 进行注册的鉴权信息, 这样, 就可以由发送单元 702向第二终端发送携带该推 荐下载地址信息的推荐消息,使得第二终端可以根据该推荐下载地址从应用服 务器下载终端应用, 并根据该鉴权信息向应用服务器直接发起注册, 而无需用 户通过短信与应用服务器进行多次交互来获取鉴权信息,所以相对于现有技术 而言, 不仅耗时较短, 而且可以避免在多次交互中的某个步骤的失误所导致的 注册失败的情况的发生, 提高注册成功率, 有利于提高用户的应用激活率, 进 一步的, 还可以节省用户的资费。 相应的, 本发明实施例还提供一种通信***, 包括本发明实施例提供的任 一种用于注册的设备和任一种终端。例如, 以该用于注册的设备具体为应用服 务器为例, 则如图 8所示, 该通信***可以包括应用服务器 801、 第一终端 802 和第二终端 803 , 具体可以如下:
应用服务器 801 , 用于接收第一终端 802发送的推荐下载地址信息请求, 该 推荐下载地址信息请求中携带第二终端 803的终端标识; 根据该推荐下载地址 信息请求获取终端应用下载地址, 以及生成用于进行注册的鉴权信息,根据该 终端应用下载地址和用于进行注册的鉴权信息生成推荐下载地址信息,并向该 第一终端 801返回推荐下载地址信息, 其中, 该推荐下载地址信息包括终端应 用下载地址和用于进行注册的鉴权信息, 以便该第一终端 801向第二终端 803 发送携带该推荐下载地址信息的推荐消息; 接收该第二终端 803根据所述终端 应用下载地址发送的下载请求;根据该下载请求返回终端应用的安装包给该第 二终端 803 , 以便该第二终端 803安装该终端应用; 接收该第二终端 803发送的 注册请求消息, 该注册请求消息中携带第一终端 802的终端标识和所述鉴权信 息; 根据该第一终端 802的终端标识和鉴权信息进行鉴权; 在鉴权通过时, 返 回注册信息给该第二终端 803。
第一终端 802, 用于获取第二终端 803的终端标识, 向应用服务器 801发送 携带该第二终端 803的终端标识的推荐下载地址信息请求,接收应用服务器 801 根据该推荐下载地址信息请求返回的推荐下载地址信息, 其中,推荐下载地址 信息包括终端应用下载地址和用于进行注册的鉴权信息, 向第二终端 803发送 携带该推荐下载地址信息的推荐消息, 以便第二终端 803根据该推荐下载地址 从应用服务器 801下载终端应用并进行注册。
第二终端 803 ,用于接收第一终端 802发送的携带推荐下载地址信息的推荐 消息, 其中,推荐下载地址信息包括终端应用下载地址和用于进行注册的鉴权 信息, 根据该终端应用下载地址从应用服务器 801下载终端应用, 并对所述终 端应用进行安装, 在启动该终端应用时, 向应用服务器 801发送携带第一终端 802的终端标识和该鉴权信息的注册请求消息 ,接收该应用服务器 801根据该第 一终端 802的终端标识和该鉴权信息进行鉴权后返回的注册信息。
以上各个设备的具体实施可参见前面的实施例, 在此不再赘述。
由于该通信***包括本发明实施例提供的任一种网络侧设备和终端, 因 此, 同样可以实现本发明实施例提供的任一种网络侧设备和终端的有益效果, 详见前面的实施例, 在此不再赘述。 此外, 本发明实施例还提供一种应用服务器, 如图 9所示, 该应用服务器 可以包括处理器 901、 收发接口 902和存储器 903 , 其中, 处理器 901通过总线 ( BUS ) 900与收发接口 902和存储器 903进行连接, 其中, 该应用服务器中各 个部分的功能具体可以如下:
收发接口 902, 用于接收第一终端发送的推荐下载地址信息请求, 该推荐 下载地址信息请求中携带第二终端的终端标识。
处理器 901,用于根据收发接口 902接收到的推荐下载地址信息请求获取终 端应用下载地址, 以及生成注册的鉴权信息,根据该终端应用下载地址和用于 进行注册的鉴权信息生成推荐下载地址信息, 并通过收发接口 902向该第一终 端返回推荐下载地址信息, 其中, 该推荐下载地址信息包括终端应用下载地址 和用于进行注册的鉴权信息,以便该第一终端向第二终端发送携带该推荐下载 地址信息的推荐消息,使得第二终端根据所述终端应用下载地址和所述用于进 行注册的鉴权信息进行注册。
存储器 903 , 用于存储数据, 并可以被处理器 901和收发接口 902等访问, 所述存储器 903可以包括高速随机存取存储器, 还可以包括非易失性存储器, 例如一个或多个磁盘存储器件、 闪存器件、 或其他易失性固态存储器件。
此外, 收发接口 902 , 还用于接收该第二终端根据所述终端应用下载地址 发送的下载请求, 以及, 接收该第二终端发送的注册请求消息, 该注册请求消 息中携带第一终端的终端标识和所述鉴权信息。
处理器 901 ,还用于根据收发接口 902接收到的下载请求, 通过收发模块返 回终端应用的安装包给该第二终端, 以便该第二终端安装该终端应用; 以及, 根据该第一终端的终端标识和鉴权信息进行鉴权; 在鉴权通过时, 通过收发接 口 902返回注册信息给该第二终端。
可选的,在处理器 901生成注册的鉴权信息之后,还可以记录该鉴权信息、 第一终端的终端标识和第二终端的终端标识之间的映射关系,以便后续可以根 据该记录的映射关系对请求注册的用户的身份进行鉴权, 即:
该处理器 901 ,还可以用于在生成注册的鉴权信息之后,记录该鉴权信息、 第一终端的终端标识和第二终端的终端标识之间的映射关系。
则在根据该第一终端的终端标识和鉴权信息进行鉴权时, 该处理器 901具 体可以用于确定该第一终端的终端标识、鉴权信息和该第二终端中的终端标识 是否与记录的映射关系一致,若一致,则表明该请求注册的用户(即第二终端) 身份合法, 鉴权通过; 若不一致, 则表明该请求注册的用户 (即第二终端)身 份不合法, 鉴权不通过。
此外, 该收发接口 902 , 还可以用于接收该第二终端根据该第二终端的终 端标识和鉴权密钥发送的登录请求, 以及向该第二终端返回登录响应。
则此时, 该处理器 901 ,还可以用于根据收发接口 902接收到的登录请求对 登录操作进行鉴权, 并控制收发模块向该第二终端返回登录响应。
以上各个部分的具体实施可参见前面的实施例, 在此不再赘述。
由上可知,本实施例的应用服务器釆用接收第一终端发送的携带第二终端 的终端标识的推荐下载地址信息请求,然后根据该推荐下载地址信息请求获取 终端应用下载地址, 以及生成用于进行注册的鉴权信息, 并向该第一终端返回 推荐下载地址信息, 其中, 该推荐下载地址信息包括终端应用下载地址和用于 进行注册的鉴权信息,以便该第一终端向该第二终端发送携带该推荐下载地址 信息的推荐消息, 此后, 可以接收该第二终端根据该终端应用下载地址发送的 下载请求, 并返回终端应用的安装包给该第二终端, 以便该第二终端安装该终 端应用,然后接收该第二终端发送的携带第一终端的终端标识和该鉴权信息的 注册请求消息,根据该第一终端的终端标识和鉴权信息进行鉴权, 并在鉴权通 过时, 返回注册信息给该第二终端。 由于在该方案中, 可以由已注册的第一终 端来获取鉴权信息,并在向第二终端发送推荐消息时,将鉴权信息携带在其中, 所以第二终端可以直接根据该鉴权信息发起注册,期间无需用户通过短信与应 用服务器之间进行多次交互, 因此, 相对于现有技术而言, 不仅耗时较短, 而 且注册成功率高, 有利于提高用户的应用激活率, 而且, 还可以节省用户的资 费。 相应的, 本发明实施例还提供一种终端, 可以作为本发明实施例的第二终 端, 如图 10所示, 该终端可以包括处理器 1001、 收发接口 1002和存储器 1003 , 其中,处理器 1001通过总线 1000与收发接口 1002和存储器 1003进行连接,其中, 该应用服务器中各个部分的功能具体可以如下: 收发接口 1002,用于接收第一终端发送的携带推荐下载地址信息的推荐消 息, 其中,推荐下载地址信息包括终端应用下载地址和用于进行注册的鉴权信 息; 以及在处理器 1001的控制下, 向应用服务器发送携带第一终端的终端标识 和该鉴权信息的注册请求消息 ,并接收该应用服务器根据该第一终端的终端标 识和该鉴权信息进行鉴权后返回的注册信息。
其中, 该注册信息可以包括第二终端的终端标识和鉴权密钥等信息。
处理器 1001 ,用于根据收发接口 1002接收到的终端应用下载地址从应用服 务器下载终端应用, 并对所述终端应用进行安装, 在启动该终端应用时, 获取 第一终端的终端标识,根据第一终端的终端标识和鉴权信息 (即推荐消息中所 携带的鉴权信息)生成注册请求,控制收发接口 1002向应用服务器发送携带第 一终端的终端标识和该鉴权信息的注册请求消息。
存储器 1003 ,用于存储数据,并可以被处理器 1001和收发接口 1002等访问, 所述存储器 1003可以包括高速随机存取存储器, 还可以包括非易失性存储器, 例如一个或多个磁盘存储器件、 闪存器件、 或其他易失性固态存储器件。
其中, 收发接口 1002,还可以用于接收应用服务器根据该下载请求返回的 终端应用的安装包。
处理器 1001 ,具体可以用于控制收发接口 1002根据该终端应用下载地址向 应用服务器发送下载请求,以及在收发接口 1002接收到应用服务器根据该下载 请求返回的终端应用的安装包后,运行该终端应用的安装包, 以对终端应用进 行安装。
以上各个部分的具体实施可参见前面的实施例, 在此不再赘述。
由上可知,本实施例的终端可以接收第一终端发送的携带推荐下载地址信 息的推荐消息, 其中, 该推荐下载地址信息包括终端应用下载地址和用于进行 注册的鉴权信息,使得第二终端一方面可以根据该终端应用下载地址从应用服 务器下载终端应用以进行安装, 另一方面, 在启动该终端应用时, 还可以根据 该鉴权信息向应用服务器直接发起注册,而无需用户通过短信与应用服务器进 行多次交互来获取鉴权信息, 所以相对于现有技术而言, 不仅耗时较短, 而且 可以避免在多次交互中的某个步骤的失误所导致的注册失败的情况的发生,提 高注册成功率, 有利于提高用户的应用激活率, 进一步的, 还可以节省用户的 资费。 本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读 存储介质中, 存储介质可以包括: 只读存储器(ROM, Read Only Memory ), 随机存取记忆体 ( RAM, Random Access Memory) , 磁盘或光盘等。
以上对本发明实施例所提供的一种终端应用的注册方法、装置和***进行 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时,对于 本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有 改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。

Claims

1、 一种终端应用的注册方法, 其特征在于, 包括:
接收第一终端发送的推荐下载地址信息请求,所述推荐下载地址信息请求 中携带第二终端的终端标识;
根据所述推荐下载地址信息请求获取终端应用下载地址,以及为第二终端 生成用于进行注册的鉴权信息,并根据所述终端应用下载地址和用于进行注册 的鉴权信息生成推荐下载地址信息,所述推荐下载地址信息包括终端应用下载 地址和用于进行注册的鉴权信息;
向所述第一终端返回推荐下载地址信息,以便所述第一终端向所述第二终 端发送携带所述推荐下载地址信息的推荐消息,使得第二终端根据所述终端应 用下载地址和所述用于进行注册的鉴权信息进行注册。
2、 根据权利要求 1所述的方法, 其特征在于, 所述向所述第一终端返回推 荐下载地址信息之后, 还包括:
接收所述第二终端根据所述终端应用下载地址发送的下载请求; 根据所述下载请求返回终端应用的安装包给所述第二终端,以便所述第二 终端安装所述终端应用;
接收所述第二终端发送的注册请求消息,所述注册请求消息中携带第一终 端的终端标识和所述鉴权信息;
根据所述第一终端的终端标识和所述鉴权信息进行鉴权;
在鉴权通过时, 返回注册信息给所述第二终端。
3、 根据权利要求 2所述的方法, 其特征在于, 所述根据所述推荐下载地址 信息请求获取终端应用下载地址, 以及生成用于进行注册的鉴权信息之后,还 包括:
记录所述鉴权信息、第一终端的终端标识和第二终端的终端标识之间的映 射关系。
4、 根据权利要求 3所述的方法, 其特征在于, 所述根据所述第一终端的终 端标识和所述鉴权信息进行鉴权, 包括:
确定所述第一终端的终端标识、所述鉴权信息和所述第二终端中的终端标 识是否与记录的映射关系一致; 若一致, 则鉴权通过;
若不一致, 则鉴权不通过。
5、 根据权利要求 1至 4任一项所述的方法, 其特征在于, 所述注册信息包 括所述第二终端的终端标识和鉴权密钥 ,则在返回注册信息给所述第二终端之 后, 还包括:
接收所述第二终端根据所述第二终端的终端标识和鉴权密钥发送的登录 请求;
根据所述登录请求对登录操作进行鉴权, 并向所述第二终端返回登录响 应。
6、 一种终端应用的注册方法, 其特征在于, 包括:
接收第一终端发送的推荐消息, 所述推荐消息中携带推荐下载地址信息, 所述推荐下载地址信息包括终端应用下载地址和用于进行注册的鉴权信息; 根据所述终端应用下载地址从应用服务器下载终端应用,并对所述终端应 用进行安装;
在启动所述终端应用时, 获取第一终端的终端标识,根据所述第一终端的 终端标识和用于进行注册的鉴权信息生成注册请求,向所述应用服务器发送注 册请求消息, 所述注册请求消息中携带第一终端的终端标识和所述鉴权信息; 接收所述应用服务器根据所述第一终端的终端标识和所述鉴权信息进行 鉴权后返回的注册信息。
7、根据权利要求 6所述的方法,其特征在于,所述在启动所述终端应用时, 获取第一终端的终端标识,根据所述第一终端的终端标识和用于进行注册的鉴 权信息生成注册请求, 包括:
在启动所述终端应用时, 获取第一终端的终端标识, 并从所述推荐消息中 提取所述用于进行注册的鉴权信息;
根据所述第一终端的终端标识和用于进行注册的鉴权信息生成注册请求, 所述注册请求消息中携带第一终端的终端标识和所述鉴权信息。
8、 根据权利要求 6或 7所述的方法, 其特征在于, 所述注册信息包括所述 第二终端的终端标识和鉴权密钥,则所述接收所述应用服务器根据所述第一终 端的终端标识和所述鉴权信息进行鉴权后返回的注册信息之后 , 还包括: 根据所述第二终端的终端标识和鉴权密钥向应用服务器发送登录请求; 接收应用服务器根据所述登录请求返回的登录响应。
9、 一种用于注册的设备, 其特征在于, 包括接收单元、 生成单元和发送 单元;
所述接收单元, 用于接收第一终端发送的推荐下载地址信息请求, 所述推 荐下载地址信息请求中携带第二终端的终端标识;
所述生成单元,用于根据接收单元接收到的推荐下载地址信息请求获取终 端应用下载地址, 以及生成用于进行注册的鉴权信息,根据所述终端应用下载 地址和用于进行注册的鉴权信息生成推荐下载地址信息,所述推荐下载地址信 息包括终端应用下载地址和用于进行注册的鉴权信息;
所述发送单元, 用于向所述第一终端返回推荐下载地址信息, 以便所述第 一终端向所述第二终端发送携带所述推荐下载地址信息的推荐消息,使得第二 终端根据所述终端应用下载地址和所述用于进行注册的鉴权信息进行注册。
10、 根据权利要求 9所述的用于注册的设备, 其特征在于, 还包括鉴权单 元;
所述接收单元,还用于接收所述第二终端根据所述终端应用下载地址发送 的下载请求;
所述发送单元,还用于根据所述下载请求返回终端应用的安装包给所述第 二终端, 以便所述第二终端安装所述终端应用;
所述接收单元,还用于接收所述第二终端发送的注册请求消息, 所述注册 请求消息中携带第一终端的终端标识和所述鉴权信息;
所述鉴权单元,用于根据所述第一终端的终端标识和所述鉴权信息进行鉴 权,在鉴权不通过时,通过发送单元发送表示鉴权不通过的响应消息给第二终 端, 在鉴权通过时, 通过发送单元返回注册信息给所述第二终端;
所述发送单元,还用于在鉴权不通过时,发送表示鉴权不通过的响应消息 给第二终端, 以及在鉴权单元鉴权通过时, 返回注册信息给所述第二终端。
11、 根据权利要求 9所述的用于注册的设备, 其特征在于, 还包括记录单 元;
所述记录单元, 用于记录所述鉴权信息、第一终端的终端标识和第二终端 的终端标识之间的映射关系。
12、 根据权利要求 10所述的用于注册的设备, 其特征在于,
所述鉴权单元, 具体用于确定所述第一终端的终端标识、 所述鉴权信息和 所述第二终端中的终端标识是否与记录的映射关系一致;若一致,则鉴权通过; 若不一致, 则鉴权不通过。
13、 根据权利要求 9至 12任一项所述的用于注册的设备, 其特征在于, 所述接收单元,还用于接收所述第二终端根据所述注册信息发送的登录请 求, 所述注册信息包括所述第二终端的终端标识和鉴权密钥;
所述发送单元,还用于根据所述登录请求对登录操作进行鉴权, 并向所述 第二终端返回登录响应。
14、 一种终端, 其特征在于, 包括接收单元、 下载单元、 生成单元和发送 单元;
所述接收单元, 用于接收第一终端发送的推荐消息, 所述推荐消息中携带 推荐下载地址信息,所述推荐下载地址信息包括终端应用下载地址和用于进行 注册的鉴权信息;
所述下载单元,用于根据所述终端应用下载地址从应用服务器下载终端应 用, 并对所述终端应用进行安装;
所述生成单元, 用于在启动所述终端应用时, 获取第一终端的终端标识, 根据所述第一终端的终端标识和用于进行注册的鉴权信息生成注册请求,所述 注册请求消息中携带第一终端的终端标识和所述鉴权信息;
所述发送单元, 用于向所述应用服务器发送注册请求消息;
所述接收单元,还用于接收所述应用服务器根据所述第一终端的终端标识 和所述鉴权信息进行鉴权后返回的注册信息。
15、 根据权利要求 14所述的终端, 其特征在于,
所述生成单元, 具体用于在启动所述终端应用时, 获取第一终端的终端标 识, 并从所述推荐消息中提取所述用于进行注册的鉴权信息,根据所述第一终 端的终端标识和用于进行注册的鉴权信息生成注册请求,所述注册请求消息中 携带第一终端的终端标识和所述鉴权信息。
16、 根据权利要求 14或 15所述的终端, 其特征在于,
发送单元,还用于根据所述注册信息向应用服务器发送登录请求, 所述注 册信息包括所述第二终端的终端标识和鉴权密钥;
所述接收单元, 还用于接收应用服务器根据所述登录请求返回的登录响 应。
17、 一种通信***, 其特征在于, 包括权利要求 9至 13所述的任一种用于 注册的设备和权利要求 14至 16所述的任一种终端。
PCT/CN2014/083794 2013-12-25 2014-08-06 一种终端应用的注册方法、装置和*** WO2015096483A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP14875030.0A EP3079329B1 (en) 2013-12-25 2014-08-06 Terminal application registration method, device and system
US14/586,237 US9680814B2 (en) 2013-12-25 2014-12-30 Method, device, and system for registering terminal application

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310727135.3 2013-12-25
CN201310727135.3A CN103747423B (zh) 2013-12-25 2013-12-25 一种终端应用的注册方法、装置和***

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/586,237 Continuation US9680814B2 (en) 2013-12-25 2014-12-30 Method, device, and system for registering terminal application

Publications (1)

Publication Number Publication Date
WO2015096483A1 true WO2015096483A1 (zh) 2015-07-02

Family

ID=50504403

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/083794 WO2015096483A1 (zh) 2013-12-25 2014-08-06 一种终端应用的注册方法、装置和***

Country Status (3)

Country Link
EP (1) EP3079329B1 (zh)
CN (1) CN103747423B (zh)
WO (1) WO2015096483A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9680814B2 (en) 2013-12-25 2017-06-13 Huawei Technologies Co., Ltd. Method, device, and system for registering terminal application
CN103747423B (zh) * 2013-12-25 2018-05-11 华为技术有限公司 一种终端应用的注册方法、装置和***
CN106293787A (zh) * 2015-05-26 2017-01-04 阿里巴巴集团控股有限公司 一种应用的获取方法、装置及***
CN107196909B (zh) * 2017-04-14 2020-11-17 创新先进技术有限公司 邀请注册方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697538A (zh) * 2009-10-21 2010-04-21 深圳市融创天下科技发展有限公司 一种网络***中海量用户快速传播注册的方法
CN102695146A (zh) * 2012-05-25 2012-09-26 深圳市龙视传媒有限公司 一种文件分享方法、***和终端
CN103297484A (zh) * 2012-03-05 2013-09-11 腾讯科技(深圳)有限公司 资源分享方法和装置
CN103747423A (zh) * 2013-12-25 2014-04-23 华为技术有限公司 一种终端应用的注册方法、装置和***

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100384128C (zh) * 2006-01-13 2008-04-23 华为技术有限公司 一种数据下载***及下载事务有效性控制方法
KR100837817B1 (ko) * 2006-06-30 2008-06-13 주식회사 케이티 망 접속과 응용서비스 접속 간의 연계를 위한 망/서비스접속 관리 시스템 및 그 방법
US20100005517A1 (en) * 2008-07-02 2010-01-07 Telefonaktiebolaget Lm Ericsson (Publ) Iptv content sharing in ims network
CN102111750A (zh) * 2011-02-25 2011-06-29 中兴通讯股份有限公司 一种实现内容下载的方法及***

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697538A (zh) * 2009-10-21 2010-04-21 深圳市融创天下科技发展有限公司 一种网络***中海量用户快速传播注册的方法
CN103297484A (zh) * 2012-03-05 2013-09-11 腾讯科技(深圳)有限公司 资源分享方法和装置
CN102695146A (zh) * 2012-05-25 2012-09-26 深圳市龙视传媒有限公司 一种文件分享方法、***和终端
CN103747423A (zh) * 2013-12-25 2014-04-23 华为技术有限公司 一种终端应用的注册方法、装置和***

Also Published As

Publication number Publication date
CN103747423B (zh) 2018-05-11
EP3079329A1 (en) 2016-10-12
EP3079329B1 (en) 2020-03-11
EP3079329A4 (en) 2016-10-26
CN103747423A (zh) 2014-04-23

Similar Documents

Publication Publication Date Title
EP3570515A1 (en) Method, device, and system for invoking network function service
CN112131021B (zh) 一种访问请求处理方法及装置
WO2014082555A1 (zh) 登录方法、装置及开放平台***
CN107241336B (zh) 身份验证方法和装置
WO2020134838A1 (zh) 权限验证方法及相关装置
US9680814B2 (en) Method, device, and system for registering terminal application
WO2012149840A1 (zh) 验证标识信息的方法及终端
CN102217280B (zh) 用户业务鉴权方法、***及服务器
WO2015039502A1 (zh) 通信认证方法及装置、终端设备
WO2018000568A1 (zh) 虚拟sim卡的管理方法、管理装置、服务器及终端
US10911605B2 (en) Provisioning a trial service to a mobile device
WO2017088634A1 (zh) 第三方应用认证方法、认证服务器、终端及管理服务器
WO2017041562A1 (zh) 一种识别终端设备用户身份的方法和装置
CN111404695B (zh) 令牌请求验证方法和装置
WO2018233726A1 (zh) 网络切片的认证方法及相应装置、***和介质
WO2017080231A1 (zh) 接入无线网络的方法及装置
CN111132305B (zh) 5g用户终端接入5g网络的方法、用户终端设备及介质
CN111355713A (zh) 一种代理访问方法、装置、代理网关及可读存储介质
WO2012024851A1 (zh) 空口引导设置处理方法及***
CN111949959B (zh) Oauth协议中的授权认证方法及装置
WO2015096483A1 (zh) 一种终端应用的注册方法、装置和***
WO2018099407A1 (zh) 账户认证登录方法及装置
CN114513829A (zh) 网络接入方法、装置、核心网、服务器及终端
JP6067005B2 (ja) OpenIDを電気通信ネットワークに統合するシステムおよび方法
US20130263232A1 (en) Method and device for proxy access of open platform

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14875030

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2014875030

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014875030

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE