[go: up one dir, main page]

CN104753872B - authentication method, authentication platform, service platform, network element and system - Google Patents

authentication method, authentication platform, service platform, network element and system Download PDF

Info

Publication number
CN104753872B
CN104753872B CN201310745612.9A CN201310745612A CN104753872B CN 104753872 B CN104753872 B CN 104753872B CN 201310745612 A CN201310745612 A CN 201310745612A CN 104753872 B CN104753872 B CN 104753872B
Authority
CN
China
Prior art keywords
authentication
service
terminal
platform
token
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310745612.9A
Other languages
Chinese (zh)
Other versions
CN104753872A (en
Inventor
陈心昕
王静
郭毅峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Corp
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 China Mobile Communications Corp filed Critical China Mobile Communications Corp
Priority to CN201310745612.9A priority Critical patent/CN104753872B/en
Publication of CN104753872A publication Critical patent/CN104753872A/en
Application granted granted Critical
Publication of CN104753872B publication Critical patent/CN104753872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
    • H04L9/3213Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides an authentication method, an authentication platform, a service platform, a network element and a system, when receiving terminal information which is triggered by a network element used for carrying out authentication initialization on a terminal in a specified network with a complete authentication mechanism and finishes the specified network authentication initialization terminal, the terminal information is stored, wherein the terminal information comprises terminal identification information; when a first service authentication request which is sent by a service platform and authenticates a request terminal requesting to log in the service platform is received, whether the request terminal completes authentication initialization of a specified network or not is determined according to stored terminal information; and when the request terminal is determined to finish the authentication initialization of the designated network, determining that the authentication result of the first service authentication request is successful, and sending the authentication result of the first service authentication request to the service platform. The problem of authentication inefficiency among the prior art is solved. The invention relates to the technical field of mobile communication.

Description

认证方法、认证平台、业务平台、网元及系统Authentication method, authentication platform, service platform, network element and system

技术领域technical field

本发明涉及移动通信技术领域,尤其涉及认证方法、认证平台、业务平台、网元及系统。The invention relates to the technical field of mobile communication, in particular to an authentication method, an authentication platform, a service platform, a network element and a system.

背景技术Background technique

现有技术中,为了保证用户数据安全,用户在使用数据业务之前通常需要通过安全机制的认证。以使用基于IP多媒体子系统(IMS,IP Multimedia Subsystem)网络数据业务和使用基于超文本传输协议(HTTP,Hypertext Transfer Protocol)协议开展的数据业务为例,基于IMS网络开展的数据业务,多为即时通信、视频通话、视频会议等数据业务。基于HTTP协议及相关通信机制开展的数据业务包括多种,例如:用于定位和导航的位置业务、基于客户端的和服务器的游戏业务等等。In the prior art, in order to ensure the security of user data, the user usually needs to pass the authentication of the security mechanism before using the data service. Taking the use of network data services based on IP Multimedia Subsystem (IMS, IP Multimedia Subsystem) and data services based on Hypertext Transfer Protocol (HTTP, Hypertext Transfer Protocol) protocol as an example, data services based on IMS networks are mostly real-time Communication, video call, video conferencing and other data services. Data services based on the HTTP protocol and related communication mechanisms include various types, such as location services for positioning and navigation, client-based and server-based game services, and so on.

为了保证用户数据的安全,在使用基于HTTP协议的数据业务以及基于IMS网络的数据业务时,通常均需要对客户端进行认证。对于基于HTTP协议的数据业务,一般在客户端使用对应业务之前,业务平台可以采用HTTP基本认证或者HTTP摘要HTTP Digest认证方式对客户端进行认证;对于基于IMS网络的业务,一般在客户端接入IMS网络时,IMS网络采用IMS会话初始协议摘要(Session Initiation Protocol Digest)认证方式或者IMS认证与密钥协商(AKA,Authentication and Key Agreement)认证方式对客户端进行认证,通过了基于HTTP协议的业务平台认证的客户端可以使用该业务,通过了IMS网络认证的客户端可以使用IMS网络中提供的多数IMS业务。In order to ensure the security of user data, when using the data service based on the HTTP protocol and the data service based on the IMS network, it is usually necessary to authenticate the client. For data services based on the HTTP protocol, before the client uses the corresponding service, the service platform can use HTTP basic authentication or HTTP digest HTTP Digest authentication to authenticate the client; for services based on the IMS network, the client access In the case of an IMS network, the IMS network uses the IMS Session Initiation Protocol Digest (Session Initiation Protocol Digest) authentication method or the IMS Authentication and Key Agreement (AKA, Authentication and Key Agreement) authentication method to authenticate the client and pass the service based on the HTTP protocol. Clients authenticated by the platform can use this service, and clients certified by the IMS network can use most IMS services provided by the IMS network.

进一步地,当一个终端上既有基于HTTP的客户端、又有基于IMS业务的客户端,且基于HTTP的业务平台对客户端进行认证时需要的认证信息,与IMS网络对客户端进行认证时需要的认证信息为同一套用户数据时,例如,终端号码、客户识别模块(SIM,SubscriberIdentity Model)卡中的信息、终端编号、用户名密码等,终端支持同一套用户数据,却需要支持不同的认证方式,即分别支持基于HTTP的业务平台的认证以及基于IMS网络的认证,而对于网络侧,即基于HTTP的业务平台和IMS网络也需要分别针对同一套用户数据提供不同的网元支持不同的认证机制,不管对终端还是对网络侧均存在开发复杂,认证功能重复,且认证效率低的问题。Further, when a terminal has both an HTTP-based client and an IMS-based service client, and the authentication information required for the HTTP-based service platform to authenticate the client is the same as when the IMS network authenticates the client When the required authentication information is the same set of user data, for example, terminal number, information in the SIM (Subscriber Identity Model) card, terminal number, user name and password, etc., the terminal supports the same set of user data, but needs to support different The authentication method supports HTTP-based service platform authentication and IMS network-based authentication respectively. For the network side, the HTTP-based service platform and IMS network also need to provide different network elements for the same set of user data to support different The authentication mechanism has the problems of complex development, duplication of authentication functions, and low authentication efficiency for both the terminal and the network side.

发明内容Contents of the invention

本发明实施例提供了认证方法、认证平台、业务平台、网元及系统,用以解决现有技术中,基于不同平台的数据业务需要分别针对同一套用户数据提供不同的网元支持不同的认证机制,认证功能重复、认证效率低的问题。The embodiment of the present invention provides an authentication method, an authentication platform, a service platform, a network element and a system to solve the problem in the prior art that data services based on different platforms need to provide different network elements for the same set of user data to support different authentications mechanism, duplication of authentication functions, and low authentication efficiency.

基于上述问题,本发明实施例提供的一种认证方法之一,包括:Based on the above problems, one of the authentication methods provided by the embodiment of the present invention includes:

当接收到具有完整认证机制的指定网络中用于对终端进行认证初始化的网元触发的、完成所述指定网络认证初始化终端的终端信息时,将所述终端信息保存,其中,所述终端信息包括终端标识信息;When receiving the terminal information of the terminal that completes the authentication initialization of the specified network triggered by the network element used for authentication initialization of the terminal in the specified network with a complete authentication mechanism, save the terminal information, wherein the terminal information Including terminal identification information;

当接收到业务平台发送的、对请求登录所述业务平台的请求终端进行认证的第一业务认证请求时,根据保存的所述终端信息,确定所述请求终端是否完成所述指定网络的认证初始化;When receiving the first service authentication request sent by the service platform to authenticate the requesting terminal requesting to log in to the service platform, determine whether the requesting terminal has completed the authentication initialization of the specified network according to the saved terminal information ;

当确定所述请求终端完成所述指定网络的认证初始化时,确定所述第一业务认证请求的认证结果为成功,并将所述第一业务认证请求的认证结果发送给所述业务平台。When it is determined that the requesting terminal completes the authentication initialization of the designated network, determine that the authentication result of the first service authentication request is successful, and send the authentication result of the first service authentication request to the service platform.

本发明实施例提供的一种认证方法之二,包括:The second authentication method provided by the embodiment of the present invention includes:

当接收到请求终端发送的登录请求时,向认证平台发送对所述请求终端进行认证的第一业务认证请求,其中,所述第一业务认证请求用于所述认证平台根据保存的完成所述指定网络认证初始化终端的终端信息,确定所述请求终端是否为完成所述指定网络的认证初始化的终端,所述终端信息包括终端标识信息;When the login request sent by the requesting terminal is received, a first service authentication request for authenticating the requesting terminal is sent to the authentication platform, wherein the first service authentication request is used by the authentication platform to complete the specifying terminal information of a network authentication initialization terminal, determining whether the requesting terminal is a terminal that has completed authentication initialization of the specified network, and the terminal information includes terminal identification information;

当所述认证平台确定所述请求终端完成所述指定网络的认证初始化时,接收所述认证平台发送的所述第一业务认证请求认证成功的认证结果。When the authentication platform determines that the requesting terminal has completed the authentication initialization of the specified network, it receives an authentication result sent by the authentication platform indicating that the authentication of the first service authentication request is successful.

本发明实施例提供的一种认证方法之三,包括:A third authentication method provided by an embodiment of the present invention includes:

在对终端进行认证初始化之后,将完成指定网络认证初始化终端的终端信息触发给认证平台,After the terminal is authenticated and initialized, the terminal information of the terminal that has completed the specified network authentication initialization is triggered to the authentication platform,

其中,所述终端信息用于所述认证平台将所述终端信息保存,当接收到业务平台发送的、对请求登录所述业务平台的请求终端进行认证的第一业务认证请求时,根据保存的所述终端信息,确定所述请求终端是否完成所述指定网络的认证初始化,且当确定所述请求终端完成所述指定网络的认证初始化时,确定所述第一业务认证请求的认证结果为成功,所述终端信息包括终端标识信息。Wherein, the terminal information is used for the authentication platform to save the terminal information, and when receiving the first service authentication request sent by the service platform to authenticate the requesting terminal requesting to log in to the service platform, according to the saved The terminal information determines whether the requesting terminal has completed the authentication initialization of the designated network, and when it is determined that the requesting terminal has completed the authentication initialization of the designated network, it is determined that the authentication result of the first service authentication request is successful , the terminal information includes terminal identification information.

本发明实施例提供的一种认证平台,包括:An authentication platform provided by an embodiment of the present invention includes:

存储模块,用于当接收到具有完整认证机制的指定网络中用于对终端进行认证初始化的网元触发的、完成所述指定网络认证初始化终端的终端信息时,将所述终端信息保存,其中,所述终端信息包括终端标识信息;A storage module, configured to save the terminal information when receiving terminal information of a terminal that completes the authentication initialization of the specified network triggered by a network element in the specified network with a complete authentication mechanism for performing authentication initialization on the terminal, wherein , the terminal information includes terminal identification information;

第一认证模块,用于当接收到业务平台发送的、对请求登录所述业务平台的请求终端进行认证的第一业务认证请求时,根据保存的所述终端信息,确定所述请求终端是否完成所述指定网络的认证初始化;The first authentication module is configured to, when receiving a first service authentication request sent by the service platform to authenticate a requesting terminal requesting to log in to the service platform, determine whether the requesting terminal is completed according to the saved terminal information authentication initialization of said specified network;

发送模块,用于当确定所述请求终端完成所述指定网络的认证初始化时,确定所述第一业务认证请求的认证结果为成功,并将所述第一业务认证请求的认证结果发送给所述业务平台。A sending module, configured to determine that the authentication result of the first service authentication request is successful when it is determined that the requesting terminal has completed the authentication initialization of the designated network, and send the authentication result of the first service authentication request to the business platform.

本发明实施例提供的一种业务平台,包括:A service platform provided by an embodiment of the present invention includes:

发送模块,用于当接收到请求终端发送的登录请求时,向认证平台发送对所述请求终端进行认证的第一业务认证请求,其中,所述第一业务认证请求用于所述认证平台根据保存的完成所述指定网络认证初始化终端的终端信息,确定所述请求终端是否为完成所述指定网络的认证初始化的终端,所述终端信息包括终端标识信息;A sending module, configured to send a first service authentication request for authenticating the requesting terminal to the authentication platform when receiving the login request sent by the requesting terminal, wherein the first service authentication request is used by the authentication platform according to The stored terminal information of the terminal that has completed the authentication initialization of the designated network, and determining whether the requesting terminal is a terminal that has completed the authentication initialization of the designated network, and the terminal information includes terminal identification information;

接收模块,用于当所述认证平台确定所述请求终端完成所述指定网络的认证初始化时,接收所述认证平台发送的所述第一业务认证请求认证成功的认证结果。A receiving module, configured to receive an authentication result of successful authentication of the first service authentication request sent by the authentication platform when the authentication platform determines that the requesting terminal has completed the authentication initialization of the designated network.

本发明实施例提供的一种指定网络的网元,包括:A network element of a designated network provided by an embodiment of the present invention includes:

认证初始化模块,用于对终端进行指定网络的认证初始化;The authentication initialization module is used to initialize the authentication of the specified network for the terminal;

触发模块,用于在所述认证初始化模块对终端进行认证初始化之后,将完成所述指定网络认证初始化终端的终端信息触发给认证平台,其中,所述终端信息用于所述认证平台将所述终端信息保存,当接收到业务平台发送的、对请求登录所述业务平台的请求终端进行认证的第一业务认证请求时,根据保存的所述终端信息,确定所述请求终端是否完成所述指定网络的认证初始化,且当确定所述请求终端完成所述指定网络的认证初始化时,确定所述第一业务认证请求的认证结果为成功,所述终端信息包括终端标识信息。The triggering module is configured to trigger the terminal information of the terminal that has completed the specified network authentication initialization to the authentication platform after the authentication initialization module performs authentication initialization on the terminal, wherein the terminal information is used by the authentication platform to Terminal information storage, when receiving the first service authentication request sent by the service platform to authenticate the requesting terminal requesting to log in to the service platform, according to the stored terminal information, determine whether the requesting terminal has completed the specified network authentication initialization, and when it is determined that the requesting terminal completes the specified network authentication initialization, determine that the authentication result of the first service authentication request is successful, and the terminal information includes terminal identification information.

本发明实施例提供的一种认证系统,包括:上述的认证平台、上述的业务平台、上述的指定网络的网元、以及多个终端。An authentication system provided by an embodiment of the present invention includes: the above-mentioned authentication platform, the above-mentioned service platform, the network elements of the above-mentioned specified network, and multiple terminals.

本发明实施例的有益效果包括:The beneficial effects of the embodiments of the present invention include:

本发明实施例提供的认证方法、认证平台、业务平台、网元及系统,当接收到具有完整认证机制的指定网络中用于对终端进行认证初始化的网元触发的、完成指定网络认证初始化终端的终端信息时,将终端信息保存,其中,终端信息包括终端标识信息;当接收到业务平台发送的、对请求登录业务平台的请求终端进行认证的第一业务认证请求时,根据保存的终端信息,确定请求终端是否完成指定网络的认证初始化;当确定请求终端完成指定网络的认证初始化时,确定第一业务认证请求的认证结果为成功,并将第一业务认证请求的认证结果发送给业务平台。当请求终端请求登录业务平台时,由保存有完成指定网络认证初始化终端的终端信息的认证平台确定该请求终端是否完成指定网络的认证初始化,如果请求终端已完成指定网络的认证初始化,则确定请求终端登录所述业务平台成功,即完成指定网络的认证初始化之后,就可以使用上市指定网络内及指定网络外的业务平台的业务,扩展认证结果既能为基于上述指定网络的数据业务使用,又能为基于所述指定网络之外的业务平台的数据业务使用,既有效的利用了已有网元提供的认证能力,避免了认证功能网元的重复建设,又避免了终端对于认证功能重复和复杂的开发。与现有技术中,基于不同平台的数据业务需要分别针对同一套用户数据提供不同的网元支持不同的认证机制相比,提高了认证效率。The authentication method, authentication platform, service platform, network element, and system provided by the embodiments of the present invention, when receiving a network element trigger for authentication initialization of a terminal in a specified network with a complete authentication mechanism, complete the specified network authentication initialization terminal When receiving the terminal information of the terminal information, save the terminal information, wherein the terminal information includes terminal identification information; when receiving the first service authentication request sent by the service platform to authenticate the requesting terminal requesting to log in to the service platform, according to the stored terminal information , determine whether the requesting terminal has completed the authentication initialization of the specified network; when it is determined that the requesting terminal has completed the authentication initialization of the specified network, determine that the authentication result of the first service authentication request is successful, and send the authentication result of the first service authentication request to the service platform . When the requesting terminal requests to log in to the service platform, the authentication platform that stores the terminal information of the terminal that has completed the authentication and initialization of the specified network determines whether the requesting terminal has completed the authentication initialization of the specified network. If the requesting terminal has completed the authentication initialization of the specified network, the request After the terminal successfully logs in to the service platform, that is, after the authentication initialization of the specified network is completed, the services of the service platform listed in the specified network and outside the specified network can be used, and the extended authentication result can be used for data services based on the above-mentioned specified network. It can be used for data services based on service platforms other than the specified network, which not only effectively utilizes the authentication capabilities provided by existing network elements, avoids repeated construction of network elements with authentication functions, but also avoids duplication and confusion of authentication functions by terminals. complex development. Compared with the prior art, where data services based on different platforms need to provide different network elements to support different authentication mechanisms for the same set of user data, the authentication efficiency is improved.

附图说明Description of drawings

图1为本发明实施例提供的一种认证方法之一的流程图;FIG. 1 is a flow chart of one of the authentication methods provided by the embodiment of the present invention;

图2为本发明实施例提供的一种认证方法之二的流程图;FIG. 2 is a flowchart of a second authentication method provided by an embodiment of the present invention;

图3为本发明实施例1提供的一种认证方法的流程图;FIG. 3 is a flowchart of an authentication method provided in Embodiment 1 of the present invention;

图4为本发明实施例2提供的一种认证方法的流程图;FIG. 4 is a flowchart of an authentication method provided by Embodiment 2 of the present invention;

图5为本发明实施例3提供的一种认证方法的流程图;FIG. 5 is a flowchart of an authentication method provided by Embodiment 3 of the present invention;

图6为本发明实施例4提供的一种认证方法的流程图;FIG. 6 is a flowchart of an authentication method provided by Embodiment 4 of the present invention;

图7为本发明实施例提供的一种认证平台的结构示意图;FIG. 7 is a schematic structural diagram of an authentication platform provided by an embodiment of the present invention;

图8为本发明实施例提供的一种业务平台的结构示意图;FIG. 8 is a schematic structural diagram of a service platform provided by an embodiment of the present invention;

图9为本发明实施例提供的一种指定网络网元的结构示意图。FIG. 9 is a schematic structural diagram of a designated network element provided by an embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例提供了认证方法、认证平台、业务平台、网元及系统,以下结合说明书附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。并且在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The embodiment of the present invention provides an authentication method, an authentication platform, a service platform, a network element and a system. The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only for illustration and explanation The present invention is not intended to limit the present invention. And in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

本发明实施例提供一种认证方法,应用于认证平台侧,如图1所示,包括:An embodiment of the present invention provides an authentication method, which is applied to the authentication platform side, as shown in Figure 1, including:

S101、当接收到具有完整认证机制的指定网络中用于对终端进行认证初始化的网元触发的、完成指定网络认证初始化终端的终端信息时,将该终端信息保存,其中,该终端信息包括终端标识信息。S101. When receiving the terminal information of the terminal that completes the authentication initialization of the designated network triggered by the network element used to initialize the terminal in the designated network with a complete authentication mechanism, save the terminal information, wherein the terminal information includes the terminal Identification information.

S102、当接收到业务平台发送的、对请求登录业务平台的请求终端进行认证的第一业务认证请求时,根据保存的上述终端信息,确定该请求终端是否完成指定网络的认证初始化。S102. When receiving a first service authentication request sent by the service platform to authenticate a requesting terminal requesting to log in to the service platform, determine whether the requesting terminal has completed authentication initialization of a designated network according to the stored terminal information.

S103、当确定上述请求终端完成指定网络的认证初始化时,确定第一业务认证请求的认证结果为成功,并将第一业务认证请求的认证结果发送给业务平台。S103. When it is determined that the requesting terminal completes the authentication initialization of the designated network, determine that the authentication result of the first service authentication request is successful, and send the authentication result of the first service authentication request to the service platform.

与图1提供的认证方法相应地,本发明实施例提供一种认证方法,应用于业务平台侧,如图2所示,包括:Corresponding to the authentication method provided in FIG. 1 , an embodiment of the present invention provides an authentication method applied to the service platform side, as shown in FIG. 2 , including:

S201、当接收到请求终端发送的登录请求时,向认证平台发送对请求终端进行认证的第一业务认证请求,其中,第一业务认证请求用于认证平台根据保存的完成指定网络认证初始化终端的终端信息,确定请求终端是否为完成指定网络的认证初始化的终端,终端信息包括终端标识信息。S201. When receiving the login request sent by the requesting terminal, send to the authentication platform a first service authentication request for authenticating the requesting terminal, wherein the first service authentication request is used for the authentication platform to designate the network authentication initialization terminal according to the saved completion The terminal information determines whether the requesting terminal is a terminal that has completed the authentication initialization of the specified network, and the terminal information includes terminal identification information.

S202、当认证平台确定上述请求终端完成指定网络的认证初始化时,接收认证平台发送的第一业务认证请求认证成功的认证结果。S202. When the authentication platform determines that the above-mentioned requesting terminal has completed the authentication initialization of the designated network, receive the authentication result of the authentication success of the first service authentication request sent by the authentication platform.

与图1、图2提供的认证方法相应地,本发明实施例提供一种认证方法,应用于指定网络的网元侧,包括:Corresponding to the authentication methods provided in Figures 1 and 2, an embodiment of the present invention provides an authentication method that is applied to the network element side of a designated network, including:

在对终端进行认证初始化之后,将完成指定网络认证初始化终端的终端信息触发给认证平台,After the terminal is authenticated and initialized, the terminal information of the terminal that has completed the specified network authentication initialization is triggered to the authentication platform,

其中,终端信息用于认证平台将该终端信息保存,当接收到业务平台发送的、对请求登录业务平台的请求终端进行认证的第一业务认证请求时,根据保存的终端信息,确定请求终端是否完成指定网络的认证初始化,且当确定请求终端完成指定网络的认证初始化时,确定第一业务认证请求的认证结果为成功,终端信息包括终端标识信息。Wherein, the terminal information is used for the authentication platform to store the terminal information. When receiving the first service authentication request sent by the service platform to authenticate the requesting terminal requesting to log in to the service platform, it is determined whether the requesting terminal is based on the stored terminal information. The authentication initialization of the specified network is completed, and when it is determined that the requesting terminal completes the authentication initialization of the specified network, it is determined that the authentication result of the first service authentication request is successful, and the terminal information includes terminal identification information.

进一步地,指定网络可以为已验证过、成熟的,具备完整安全认证机制的网络,具有完整的用户及终端信息管理机制,并能安全处理、存储用户信息、终端信息。以IMS网络系统为例,对于基于IMS网络开展的数据业务,一般都会使用IMS提供的码号、路由、以及安全认证机制,主要包括SIP Digest和IMS AKA的认证方式。IMS网络和网元建设完成后,就可以提供以上各种机制开展基于IMS的数据业务,但仅限于向基于IMS数据业务提供。对于非IMS开展的大多数HTTP类数据业务,无论是码号、路由或者安全认证机制都得重新建设。因为IMS网络有自己的路由机制、专有服务器和码号机制,是一个相对安全和封闭的网络系统,并有较安全的用户数据,因此如果能够使用IMS安全认证结果,并扩展认证结果既能为基于IMS的数据业务使用,又能为基于HTTP的数据业务使用,既有效的利用了已有网元提供的认证能力,避免了认证功能网元的重复建设,又避免了终端对于认证功能重复和复杂的开发。Furthermore, the designated network can be a verified and mature network with a complete security authentication mechanism, a complete user and terminal information management mechanism, and can safely process and store user information and terminal information. Taking the IMS network system as an example, for data services based on the IMS network, the code number, routing, and security authentication mechanisms provided by the IMS are generally used, mainly including SIP Digest and IMS AKA authentication methods. After the IMS network and network elements are constructed, the above mechanisms can be provided to carry out IMS-based data services, but only for IMS-based data services. For most of the HTTP data services carried out by non-IMS, no matter the code number, routing or security authentication mechanism has to be rebuilt. Because the IMS network has its own routing mechanism, dedicated server and code number mechanism, it is a relatively safe and closed network system with relatively safe user data. Therefore, if the IMS security authentication results can be used and the authentication results can be expanded It can be used for IMS-based data services and HTTP-based data services. It not only effectively utilizes the authentication capabilities provided by existing network elements, avoids the repeated construction of network elements with authentication functions, but also avoids duplication of authentication functions for terminals. and complex development.

下面结合附图,用具体实施例对本发明提供的方法及相关设备进行详细描述。The method and related equipment provided by the present invention will be described in detail below with specific embodiments in conjunction with the accompanying drawings.

实施例1:Example 1:

本发明实施例1中,提供了一种认证方法,应用于认证平台侧,如图3所示,具体包括如下步骤:In Embodiment 1 of the present invention, an authentication method is provided, which is applied to the authentication platform side, as shown in Figure 3, and specifically includes the following steps:

S301、当接收到具有完整认证机制的指定网络中用于对终端进行认证初始化的网元触发的、完成指定网络认证初始化终端的终端信息时,将该终端信息保存,其中,该终端信息包括终端标识信息。S301. When receiving the terminal information of the terminal that has completed the authentication initialization of the designated network triggered by the network element used to initialize the terminal in the designated network with a complete authentication mechanism, save the terminal information, wherein the terminal information includes the terminal Identification information.

进一步地,以IMS网络为例,在IMS网络中主要用到的网元,及这些网元在IMS认证初始化过程中的基本功能如下:Further, taking the IMS network as an example, the main network elements used in the IMS network, and the basic functions of these network elements in the IMS authentication initialization process are as follows:

呼叫会话控制功能(CSCF,Call Session Control Function),CSCF按其位置和功能又可分为P/S/I三种类型:代理呼叫会话控制功能(P-CSCF,Proxy CSCF):是IMS中与用户连接的第一个连接点,提供Proxy功能,即接受用户的业务请求并将业务请求转发;服务呼叫会话控制功能(S-CSCF,Serving CSCF):S-CSCF在IMS核心网中处于核心的控制地位,在IMS认证初始化过程中负责对UE的认证初始化鉴权和会话控制;协商呼叫会话控制功能(I-CSCF,Interrogating CSCF):I-CSCF是归属IMS网络的统一的初步入口点,是本地网络的第一个接入点;I-CSCF负责将用户呼叫请求转到合适的S-CSCF;P/S/I-CSCF在物理实体上可以是独立的也可以是合一的。Call Session Control Function (CSCF, Call Session Control Function), CSCF can be divided into P/S/I three types according to its location and function: Proxy Call Session Control Function (P-CSCF, Proxy CSCF): It is the IMS and The first connection point of the user connection provides the Proxy function, that is, accepts the user's service request and forwards the service request; Serving Call Session Control Function (S-CSCF, Serving CSCF): S-CSCF is at the core of the IMS core network Controlling position, responsible for UE authentication initialization authentication and session control during the IMS authentication initialization process; negotiation call session control function (I-CSCF, Interrogating CSCF): I-CSCF is the unified initial entry point of the IMS network, is The first access point of the local network; I-CSCF is responsible for transferring user call requests to the appropriate S-CSCF; P/S/I-CSCF can be independent or integrated in physical entities.

现有技术中,当终端完成IMS网络认证初始化之后,用于对终端进行认证初始化的网元可以将完成认证初始化终端的终端信息触发给IMS网络中的IMS业务平台,使得各IMS业务平台在后续接收到终端的使用IMS业务的请求时能够确定通过IMS网络认证初始化的终端,继续后续的IMS业务,本实施例中,可以预先从这些网元或者终端进行IMS网络认证初始化时涉及到的其他网元中确定一个网元,在终端完成IMS网络认证初始化之后,不但将完成认证初始化终端的终端信息触发给IMS网络中的IMS业务平台,也要将完成认证初始化终端的终端信息触发给认证平台,使得基于HTTP业务的业务平台可以通过认证平台对请求使用该业务平台的终端进行认证。In the prior art, after the terminal completes the IMS network authentication initialization, the network element used for authentication initialization of the terminal can trigger the terminal information of the terminal that has completed the authentication initialization to the IMS service platform in the IMS network, so that each IMS service platform When receiving the terminal's request to use the IMS service, it is possible to determine the terminal that has passed the IMS network authentication initialization and continue the subsequent IMS service. In this embodiment, other network elements involved in the IMS network authentication initialization can be performed from these network elements or terminals in advance. After the terminal completes the IMS network authentication initialization, not only the terminal information of the terminal that has completed the authentication initialization is triggered to the IMS service platform in the IMS network, but also the terminal information of the terminal that has completed the authentication initialization is triggered to the authentication platform. The service platform based on the HTTP service can authenticate the terminal requesting to use the service platform through the authentication platform.

进一步地,认证平台可以为独立于各业务平台的平台,也可以与各业务平台集成在一个物理实体上,当认证平台独立于各业务平台时,对终端进行认证初始化的网元可以将完成认证初始化终端的终端信息发送给该认证平台,当认证平台作为认证模块与各业务平台集成在一个物理实体上时,对终端进行认证初始化的网元可以将完成认证初始化终端的终端信息分别发送给各业务平台中的各认证模块。Furthermore, the authentication platform can be a platform independent of each service platform, or can be integrated with each service platform on a physical entity. When the authentication platform is independent of each service platform, the network element that initializes the authentication of the terminal can complete the authentication The terminal information of the initialization terminal is sent to the authentication platform. When the authentication platform is integrated with each service platform as an authentication module on a physical entity, the network element that performs authentication initialization on the terminal can send the terminal information of the terminal that has completed the authentication initialization to each Each authentication module in the business platform.

S302、当接收到业务平台发送的、对请求登录该业务平台的请求终端进行认证的、携带有该业务平台对应业务的业务标识的第一业务认证请求时,基于该业务标识生成第一令牌token,并将该第一token发送给该业务平台,S302. When receiving the first service authentication request sent by the service platform to authenticate the requesting terminal requesting to log in to the service platform and carrying the service identifier of the service corresponding to the service platform, generate a first token based on the service identifier token, and send the first token to the business platform,

其中,第一token用于业务平台将第一token发送给请求终端之后,请求终端以第一加密方式,使用第一token对请求终端的终端标识信息进行加密,将第一加密方式以及加密的终端标识信息发送给所述业务平台。Wherein, the first token is used after the service platform sends the first token to the requesting terminal, and the requesting terminal uses the first token to encrypt the terminal identification information of the requesting terminal in the first encryption method, and the first encryption method and the encrypted terminal The identification information is sent to the service platform.

进一步地,本步骤中,可以当业务平台接收到请求终端的登录请求之后,将对应的该请求终端的终端标识信息发送给认证平台,使认证平台直接使用该终端标识信息与自身保存的完成指定网络认证初始化终端的终端标识信息进行比对,确定该请求终端是否完成指定网络认证初始化,从而确定第一业务认证请求的认证结果是否为认证成功,但是,为了安全性,本步骤中认证平台通过签发第一token使请求终端上报终端标识信息。针对IMS网络,该终端标识信息可以为公共用户标识(IMPU,IMS Public User identity)。Further, in this step, after the service platform receives the login request of the requesting terminal, it can send the corresponding terminal identification information of the requesting terminal to the authentication platform, so that the authentication platform directly uses the terminal identification information and the completed specified information stored by itself. Compare the terminal identification information of the network authentication initialization terminal to determine whether the requesting terminal has completed the initialization of the specified network authentication, so as to determine whether the authentication result of the first service authentication request is authentication success. However, for security, the authentication platform in this step passes Issuing the first token enables the requesting terminal to report terminal identification information. For an IMS network, the terminal identity information may be a public user identity (IMPU, IMS Public User identity).

进一步地,第一业务认证请求中可以携带有业务平台对应业务的业务标识,第一业务认证请求中还可以携带请求终端的终端标识信息,请求终端的终端标识信息为业务平台预先保存的、且当接收到请求终端的登录请求时,根据请求终端携带的登录信息确定的,也就是说,请求终端对不同的业务平台进行登录时可能使用不同的登录信息,业务平台可以在请求终端申请业务时将该请求终端的终端标识信息以及请求终端的登录信息对应存储,当接收到该请求终端的登录请求时,可以根据登录信息确定请求终端的终端标识信息,并携带于第一业务认证请求中发送给认证平台,那么,本步骤中,基于业务标识生成第一token,可以被替换为:基于业务标识以及请求终端的终端标识信息生成第一token。Further, the first service authentication request may carry the service identifier of the service corresponding to the service platform, and the first service authentication request may also carry the terminal identification information of the requesting terminal, the terminal identification information of the requesting terminal is pre-saved by the service platform, and When receiving the login request of the requesting terminal, it is determined according to the login information carried by the requesting terminal, that is to say, the requesting terminal may use different login information when logging in to different service platforms, and the service platform can The terminal identification information of the requesting terminal and the login information of the requesting terminal are correspondingly stored, and when the login request of the requesting terminal is received, the terminal identification information of the requesting terminal can be determined according to the login information, and sent in the first service authentication request For the authentication platform, then, in this step, generating the first token based on the service identifier may be replaced by: generating the first token based on the service identifier and the terminal identification information of the requesting terminal.

进一步地,该第一token用于业务平台将第一token发送给请求终端之后,请求终端以第一加密方式,使用接收到的第一token对请求终端的终端标识信息以及请求终端的相关信息进行加密,将第一加密方式、加密的终端标识信息、以及加密的相关信息发送给业务平台,相关信息包括请求终端的编号和/或请求终端的介质访问控制(MAC,Media AccessControl)地址,也就是说,本步骤中,请求终端使用第一token进行加密时,为了提高安全性,可以加密更多信息。Further, after the first token is used by the service platform to send the first token to the requesting terminal, the requesting terminal uses the received first token to encrypt the terminal identification information of the requesting terminal and related information of the requesting terminal in a first encrypted manner. Encryption, sending the first encryption method, encrypted terminal identification information, and encrypted related information to the service platform. The related information includes the number of the requesting terminal and/or the media access control (MAC, Media Access Control) address of the requesting terminal, that is, That is, in this step, when requesting the terminal to use the first token for encryption, in order to improve security, more information can be encrypted.

S303、当接收到业务平台发送的携带第一加密方式以及加密的终端标识信息的第二业务认证请求时,根据与第一加密方式对应的第一解密方式,确定请求终端的终端标识信息,并根据保存的终端信息,确定请求终端是否完成指定网络的认证初始化。S303. When receiving the second service authentication request sent by the service platform and carrying the first encryption method and encrypted terminal identification information, determine the terminal identification information of the requesting terminal according to the first decryption method corresponding to the first encryption method, and According to the stored terminal information, it is determined whether the requesting terminal has completed the authentication initialization of the specified network.

本步骤中,当请求终端以第一加密方式,使用接收到的第一token对请求终端的终端标识信息以及请求终端的相关信息进行加密时,第二业务认证请求携带有第一加密方式、加密的终端标识信息以及加密的相关信息。In this step, when the requesting terminal uses the first encryption method to encrypt the terminal identification information of the requesting terminal and related information of the requesting terminal using the received first token, the second service authentication request carries the first encryption method, encrypted The terminal identification information and encrypted related information.

本步骤中,当业务平台接收到请求终端发送的第一加密方式以及加密的终端标识信息时,可以将第一加密方式以及加密的终端标识信息封装于第二业务认证请求中发送给认证平台,请认证平台进行认证。In this step, when the service platform receives the first encryption method and the encrypted terminal identification information sent by the requesting terminal, it may encapsulate the first encryption method and the encrypted terminal identification information in the second service authentication request and send it to the authentication platform, Please authenticate the platform.

进一步地,本步骤中,可以将解密得到的请求终端的终端标识信息与保存的完成指定网络认证初始化终端的终端信息做比对,若保存的终端信息中存在该请求终端的终端标识信息,则确定该请求终端已经完成指定网络的认证初始化。Further, in this step, the decrypted terminal identification information of the requesting terminal can be compared with the stored terminal information of the designated network authentication initialization terminal, and if the terminal identification information of the requesting terminal exists in the stored terminal information, then It is determined that the requesting terminal has completed authentication initialization of the specified network.

S304、当确定上述请求终端完成指定网络的认证初始化时,确定第一业务认证请求的认证结果为成功,并将第一业务认证请求的认证结果发送给业务平台。S304. When it is determined that the requesting terminal completes the authentication initialization of the specified network, determine that the authentication result of the first service authentication request is successful, and send the authentication result of the first service authentication request to the service platform.

S305、生成第二token并发送给业务平台,S305. Generate a second token and send it to the business platform,

其中,第二token用于业务平台将第二token发送给请求终端之后,请求终端以第二加密方式,使用第二token对业务信息进行加密,并将第二加密方式以及加密的业务信息发送给业务平台。Wherein, the second token is used after the service platform sends the second token to the requesting terminal, and the requesting terminal uses the second encryption method to encrypt the business information with the second token, and sends the second encryption method and the encrypted business information to business platform.

进一步地,在步骤S304中确定请求终端通过认证之后,在后续的步骤中可以使请求终端与业务平台进行交互,但是为了确保安全,可以将某些重要的业务信息进行加密,本步骤中,认证平台生成的第二token可以用于后续将比较重要的业务信息加密。Further, after it is determined in step S304 that the requesting terminal has passed the authentication, the requesting terminal can be interacted with the service platform in subsequent steps, but in order to ensure security, some important business information can be encrypted. In this step, the authentication The second token generated by the platform can be used to encrypt important business information later.

S306、当接收到业务平台发送的携带第二加密方式以及加密的业务信息的第三业务认证请求时,根据与第二加密方式对应的第二解密方式,确定第二token。S306. When receiving the third service authentication request sent by the service platform and carrying the second encryption method and the encrypted service information, determine the second token according to the second decryption method corresponding to the second encryption method.

本步骤中,当业务平台接收到请求终端发送的第二加密方式以及加密的业务信息时,可以将第二加密方式以及加密的业务信息封装于第三业务认证请求中发送给认证平台,请认证平台进行认证。In this step, when the service platform receives the second encryption method and encrypted service information sent by the requesting terminal, it can encapsulate the second encryption method and encrypted service information in the third service authentication request and send it to the authentication platform. Please authenticate The platform is certified.

S307、根据解密得到的第二token,确定第三业务认证请求的认证结果,并将得到的认证结果发送给业务平台,S307. Determine the authentication result of the third service authentication request according to the decrypted second token, and send the obtained authentication result to the service platform,

其中,认证结果用于当认证结果为认证成功时,业务平台对请求终端发送的业务信息进行响应。Wherein, the authentication result is used for the service platform to respond to the service information sent by the requesting terminal when the authentication result is that the authentication is successful.

本步骤中,当认证平台确定解密得到的第二token为自身生成的token时,可以确定本次认证的认证结果为认证成功,业务平台可以对请求终端发送的业务信息进行响应,并且后续的业务信息交互中,请求终端依然可以将比较重要的业务信息,例如:网上交易信息等,通过第二token进行加密,并由认证平台进行解密,认证成功后与业务平台继续后续的业务。In this step, when the authentication platform determines that the decrypted second token is a token generated by itself, it can determine that the authentication result of this authentication is successful, and the service platform can respond to the service information sent by the requesting terminal, and the subsequent business During information exchange, the requesting terminal can still encrypt important business information, such as online transaction information, through the second token, and decrypt it by the authentication platform. After successful authentication, continue subsequent business with the business platform.

实施例2:Example 2:

与实施例1相应地,本发明实施例2中,提供了一种认证方法,应用于业务平台侧,如图4所示,具体包括如下步骤:Corresponding to Embodiment 1, in Embodiment 2 of the present invention, an authentication method is provided, which is applied to the service platform side, as shown in FIG. 4 , and specifically includes the following steps:

S401、当接收到请求终端发送的登录请求时,向认证平台发送对请求终端进行认证的、携带有业务平台对应业务的业务标识的第一业务认证请求。S401. When a login request sent by the requesting terminal is received, send to the authentication platform a first service authentication request for authenticating the requesting terminal and carrying a service identifier of a service corresponding to the service platform.

进一步地,本步骤中,当接收到请求终端发送的登录请求时,业务平台可以先判断该请求终端是否已经通过认证平台的业务认证,业务平台可以保存访问自身的各请求终端的登录状态信息,当确定请求终端尚未经过认证平台的认证时,向认证平台发送对请求终端进行认证的、携带有业务平台对应业务的业务标识的第一业务认证请求。Further, in this step, when receiving the login request sent by the requesting terminal, the service platform can first judge whether the requesting terminal has passed the service authentication of the authentication platform, and the service platform can save the login status information of each requesting terminal that accesses itself, When it is determined that the requesting terminal has not been authenticated by the authentication platform, send to the authentication platform a first service authentication request for authenticating the requesting terminal and carrying the service identifier of the service corresponding to the service platform.

S402、当接收到认证平台发送的第一令牌token时,将第一token发送给请求终端,S402. When receiving the first token sent by the authentication platform, send the first token to the requesting terminal,

其中,第一token为认证平台接收到第一业务认证请求之后,基于业务标识生成的;第一token用于请求终端以第一加密方式,使用第一token对请求终端的终端标识信息进行加密,并将第一加密方式以及加密的终端标识信息发送给业务平台。Wherein, the first token is generated based on the service identifier after the authentication platform receives the first service authentication request; the first token is used for requesting the terminal to encrypt the terminal identification information of the requesting terminal in a first encryption manner using the first token, And send the first encryption method and the encrypted terminal identification information to the service platform.

进一步地,第一业务认证请求中还可以携带请求终端的终端标识信息,那么,本步骤中,第一token为认证平台接收到第一业务认证请求之后,基于业务标识生成的,可以为:第一token为认证平台接收到第一业务认证请求之后,基于业务标识以及请求终端的终端标识信息生成的。Further, the first service authentication request may also carry terminal identification information of the requesting terminal, then, in this step, the first token is generated based on the service identifier after the authentication platform receives the first service authentication request, and may be: A token is generated based on the service identifier and the terminal identification information of the requesting terminal after the authentication platform receives the first service authentication request.

进一步地,该第一token用于请求终端以第一加密方式,使用接收到的第一token对请求终端的终端标识信息以及请求终端的相关信息进行加密,将第一加密方式、加密的终端标识信息、以及加密的相关信息发送给业务平台,相关信息包括请求终端的编号和/或请求终端的MAC地址,也就是说,本步骤中,请求终端使用第一token进行加密时,为了提高安全性,可以加密更多信息。Further, the first token is used to request the terminal to use the first encryption method to encrypt the terminal identification information of the requesting terminal and related information of the requesting terminal using the received first token, and encrypt the first encryption method and the encrypted terminal identification Information and encrypted related information are sent to the service platform, and the related information includes the number of the requesting terminal and/or the MAC address of the requesting terminal, that is to say, in this step, when the requesting terminal uses the first token for encryption, in order to improve security , more information can be encrypted.

S403、接收请求终端发送的第一加密方式以及加密的终端标识信息,并将第一加密方式以及加密的终端标识信息携带于第二业务认证请求发送给认证平台,S403. Receive the first encryption method and encrypted terminal identification information sent by the requesting terminal, and carry the first encryption method and encrypted terminal identification information in the second service authentication request to the authentication platform,

其中,第二业务认证请求用于认证平台根据与第一加密方式对应的第一解密方式,确定请求终端的终端标识信息,并当根据保存的终端信息,确定请求终端完成指定网络的认证初始化时,确定第一业务认证请求的认证结果为认证成功。Wherein, the second service authentication request is used for the authentication platform to determine the terminal identification information of the requesting terminal according to the first decryption method corresponding to the first encryption method, and when determining that the requesting terminal completes the authentication initialization of the specified network according to the saved terminal information , determining that the authentication result of the first service authentication request is authentication success.

S404、当认证平台确定请求终端完成指定网络的认证初始化时,接收认证平台发送的第一业务认证请求认证成功的认证结果以及认证平台生成的第二token。S404. When the authentication platform determines that the requesting terminal completes the authentication initialization of the specified network, receive the authentication result of the first service authentication request authentication success sent by the authentication platform and the second token generated by the authentication platform.

本步骤还可以实施为:接收认证平台发送的认证平台生成的第二token。因为当认证平台向业务平台发送第二token时,可以表征默认第一业务认证请求的认证结果为认证成功。This step may also be implemented as: receiving the second token generated by the authentication platform sent by the authentication platform. Because when the authentication platform sends the second token to the service platform, it can represent that the default authentication result of the first service authentication request is authentication success.

S405、将第二token发送给请求终端,S405. Send the second token to the requesting terminal,

其中,第二token用于请求终端以第二加密方式,使用第二token对业务信息进行加密,并将第二加密方式以及加密的业务信息发送给业务平台。Wherein, the second token is used to request the terminal to use the second encryption method to encrypt the service information, and send the second encryption method and the encrypted service information to the service platform.

S406、接收请求终端发送的第二加密方式以及加密的业务信息,并将第二加密方式以及加密的业务信息携带于第三业务认证请求发送给认证平台,S406. Receive the second encryption method and the encrypted service information sent by the requesting terminal, carry the second encryption method and the encrypted service information in the third service authentication request and send it to the authentication platform,

其中,第三业务认证请求用于认证平台根据与第二加密方式对应的第二解密方式,确定第二token,并当确定第二token为认证平台生成的时,确定第三业务认证请求的认证结果为认证成功。Wherein, the third service authentication request is used for the authentication platform to determine the second token according to the second decryption method corresponding to the second encryption method, and when it is determined that the second token is generated by the authentication platform, determine the authentication of the third service authentication request The result is authentication successful.

S407、当接收到第三业务认证请求认证成功的认证结果时,对请求终端发送的业务信息进行响应。S407. Respond to the service information sent by the requesting terminal when receiving an authentication result indicating that the authentication of the third service authentication request is successful.

进一步地,在后续请求终端向业务平台发送比较重要的业务信息时,可以重复执行步骤S406-S407,以保证业务信息的安全。Further, when the subsequent requesting terminal sends more important service information to the service platform, steps S406-S407 may be repeated to ensure the security of the service information.

实施例3:Example 3:

与实施例1和实施例2相应地,本发明实施例3中,提供了一种认证方法,应用于终端侧,如图5所示,具体包括如下步骤:Corresponding to Embodiment 1 and Embodiment 2, in Embodiment 3 of the present invention, an authentication method is provided, which is applied to the terminal side, as shown in FIG. 5 , and specifically includes the following steps:

S501、向业务平台发送登录请求。S501. Send a login request to the service platform.

S502、接收业务平台发送的第一token。S502. Receive the first token sent by the service platform.

S503、以第一加密方式,使用第一token对请求终端的终端标识信息进行加密,并将第一加密方式以及加密的终端标识信息发送给业务平台。S503. Use the first token to encrypt the terminal identification information of the requesting terminal in a first encryption manner, and send the first encryption manner and the encrypted terminal identification information to the service platform.

S504、接收业务平台发送的第二token。S504. Receive the second token sent by the service platform.

S505、以第二加密方式,使用第二token对业务信息进行加密,并将第二加密方式以及加密的业务信息发送给业务平台。S505. Use the second token to encrypt the service information in a second encryption manner, and send the second encryption manner and the encrypted service information to the service platform.

S506、接收业务平台发送的对S505中发送的业务信息的响应。S506. Receive a response sent by the service platform to the service information sent in S505.

进一步地,本发明提供的实施例中,对终端进行如下说明:Further, in the embodiment provided by the present invention, the terminal is described as follows:

终端开机后应该主动向指定网络发起认证初始化过程,以IMS网络为例,终端需要包括以下功能:After the terminal is turned on, it should actively initiate the authentication initialization process to the designated network. Taking the IMS network as an example, the terminal needs to include the following functions:

终端开机完成终端升级或终端管理后,需要能够判断其自身是否已支持SIPAgent或者IMS客户端,若已支持,需要能够根据预置的IMS服务器地址,向IMS服务器发起认证初始化过程。After the terminal is turned on and completes terminal upgrade or terminal management, it needs to be able to determine whether it supports SIPAgent or IMS client. If it supports it, it needs to be able to initiate the authentication initialization process to the IMS server according to the preset IMS server address.

根据终端预置的IMS服务器地址,终端在升级等终端管理服务完成后,主动向IMS服务器发起认证初始化请求。根据终端为有卡或无卡终端,终端向IMS服务器发起不同的认证初始化请求,若终端为无卡终端,一般采用SIPDigest方式向IMS服务器发起认证初始化请求;若终端为有卡终端,一般采用IMS AKA方式向IMS服务器发起认证初始化请求。According to the IMS server address preset by the terminal, after the terminal management service such as upgrading is completed, the terminal actively initiates an authentication initialization request to the IMS server. Depending on whether the terminal is a terminal with a card or without a card, the terminal initiates different authentication initialization requests to the IMS server. If the terminal is a terminal without a card, generally SIPDigest is used to initiate an authentication initialization request to the IMS server; if the terminal is a terminal with a card, generally IMS is used. In AKA mode, an authentication initialization request is sent to the IMS server.

进一步地,无卡终端一般采用将用户名、密码作为用户信息的SIP Digest认证方式。用户名、密码可以由用户自己输入,但从安全性考虑实施,可以做到用户无感知,因此对于无卡终端,可以考虑由以下方式在用户无感知情况下存储用户名、密码:Furthermore, the cardless terminal generally adopts the SIP Digest authentication method that uses the user name and password as user information. The user name and password can be entered by the user, but from the perspective of security, the implementation can be done without the user's perception. Therefore, for the cardless terminal, the following methods can be considered to store the user name and password without the user's perception:

第一种方式:可以通过终端管理平台,远程通过安全通道,将用户账户信息配置到终端安全的存储空间。The first way: through the terminal management platform, remotely configure the user account information to the safe storage space of the terminal through a secure channel.

第二种方式:可以在终端出厂时,为每个终端随机分配用户账户信息,并出厂预置到终端安全的存储空间,将已分配的账户信息同时向平台侧也同步。The second method: when the terminal leaves the factory, user account information can be randomly assigned to each terminal, and factory preset to the safe storage space of the terminal, and the assigned account information can be synchronized to the platform side at the same time.

进一步地,安全存储区域包括以下存储方式:Further, the secure storage area includes the following storage methods:

第一种方式:存储用户账户信息的安全存储空间可以为一部分只读的硬盘(flash)存储空间,此空间出厂后只读属性不能任意修改。The first method: the safe storage space for storing user account information can be a part of read-only hard disk (flash) storage space, and the read-only attribute of this space cannot be modified arbitrarily after leaving the factory.

第二种方式:若需要更安全的存储也可以将用户账户信息存储在CPU的只读存储区域内。The second way: if more secure storage is required, the user account information can also be stored in the read-only storage area of the CPU.

第二种方式:将用户账户信息进行加密存储。The second method: encrypt and store the user account information.

实施例4:Example 4:

本发明实施例4中,提供了一种认证方法,应用于认证平台、业务平台、指定网络的网元、以及终端侧,如图6所示,具体包括如下步骤:In Embodiment 4 of the present invention, an authentication method is provided, which is applied to an authentication platform, a service platform, a network element of a designated network, and a terminal side, as shown in FIG. 6 , specifically including the following steps:

S601、指定网络中用于对终端进行认证初始化的网元向认证平台触发完成认证初始化终端的终端信息。S601. A network element in the designated network for performing authentication initialization on a terminal triggers terminal information of the terminal that completes authentication initialization to an authentication platform.

S602、认证平台将接收到的终端信息保存,其中,该终端信息包括终端标识信息。S602. The authentication platform saves the received terminal information, where the terminal information includes terminal identification information.

S603、请求终端向业务平台发送登录请求。S603. The requesting terminal sends a login request to the service platform.

S604、业务平台判断该请求终端是否已经通过认证平台的认证。S604. The service platform judges whether the requesting terminal has passed the authentication of the authentication platform.

S605、当业务平台确定请求终端尚未经过认证平台的认证时,向认证平台发送对请求终端进行认证的、携带有业务平台对应业务的业务标识以及请求终端标识信息的第一业务认证请求。S605. When the service platform determines that the requesting terminal has not been authenticated by the authentication platform, send to the authentication platform a first service authentication request for authenticating the requesting terminal, carrying the service identification of the service corresponding to the service platform and the identification information of the requesting terminal.

S606、认证平台根据接收到的业务标识以及请求终端标识信息生成第一token。S606. The authentication platform generates a first token according to the received service identifier and requesting terminal identifier information.

S607、认证平台将S606中生成的第一token发送给业务平台。S607. The authentication platform sends the first token generated in S606 to the service platform.

S608、业务平台将第一token发送给请求终端。S608. The service platform sends the first token to the requesting terminal.

S609、请求终端以第一加密方式,使用第一token对请求终端的终端标识信息以及请求终端的相关信息进行加密。S609. The requesting terminal encrypts the terminal identification information of the requesting terminal and related information of the requesting terminal by using the first token in a first encryption manner.

S610、请求终端将第一加密方式以及加密的终端标识信息以及加密的相关信息发送给业务平台。S610. Request the terminal to send the first encryption method, encrypted terminal identification information, and encrypted related information to the service platform.

S611、业务平台将第一加密方式、加密的终端标识信息、以及加密的相关信息携带于第二业务认证请求发送给认证平台。S611. The service platform sends the first encryption method, encrypted terminal identification information, and encrypted related information to the authentication platform in the second service authentication request.

S612、认证平台根据与第一加密方式对应的第一解密方式,确定请求终端的终端标识信息,并当根据保存的终端信息,确定请求终端完成指定网络的认证初始化时,生成第二token。S612. The authentication platform determines the terminal identification information of the requesting terminal according to the first decryption method corresponding to the first encryption method, and generates a second token when it is determined that the requesting terminal completes the authentication initialization of the specified network according to the stored terminal information.

S613、认证平台将S612中生成的第二token发送给业务平台。S613. The authentication platform sends the second token generated in S612 to the service platform.

S614、业务平台将第二token发送给请求终端。S614. The service platform sends the second token to the requesting terminal.

S615、请求终端以第二加密方式,使用第二token对业务信息进行加密。S615. Request the terminal to encrypt the service information by using the second token in the second encryption manner.

S616、请求终端将第二加密方式以及加密的业务信息发送给业务平台。S616. Request the terminal to send the second encryption method and the encrypted service information to the service platform.

S617、业务平台将第二加密方式、加密的业务信息携带于第三业务认证请求发送给认证平台。S617. The service platform carries the second encryption method and the encrypted service information in the third service authentication request and sends it to the authentication platform.

S618、认证平台根据与第二加密方式对应的第二解密方式,确定第二token。S618. The authentication platform determines the second token according to the second decryption method corresponding to the second encryption method.

S619、当认证平台确定第二token为认证平台生成的时,将第三业务认证请求认证成功的认证结果发送给业务平台。S619. When the authentication platform determines that the second token is generated by the authentication platform, send an authentication result indicating that the authentication of the third service authentication request is successful to the service platform.

S620、业务平台对请求终端发送的业务信息进行响应。S620. The service platform responds to the service information sent by the requesting terminal.

基于同一发明构思,本发明实施例还提供了认证平台、业务平台、网元及系统,由于这些平台和系统所解决问题的原理与前述认证方法相似,因此该平台和系统的实施可以参见前述方法的实施,重复之处不再赘述。Based on the same inventive concept, embodiments of the present invention also provide authentication platforms, service platforms, network elements, and systems. Since the principles of these platforms and systems solve problems similar to the aforementioned authentication methods, the implementation of the platforms and systems can refer to the aforementioned methods The implementation of the implementation, the repetition will not repeat them.

本发明实施例提供了一种认证平台,如图7所示,包括:An embodiment of the present invention provides an authentication platform, as shown in Figure 7, including:

存储模块701,用于当接收到具有完整认证机制的指定网络中用于对终端进行认证初始化的网元触发的、完成所述指定网络认证初始化终端的终端信息时,将所述终端信息保存,其中,所述终端信息包括终端标识信息;The storage module 701 is configured to save the terminal information when receiving the terminal information of the terminal that completes the authentication initialization of the designated network triggered by a network element in the designated network with a complete authentication mechanism for performing authentication initialization on the terminal, Wherein, the terminal information includes terminal identification information;

第一认证模块702,用于当接收到业务平台发送的、对请求登录所述业务平台的请求终端进行认证的第一业务认证请求时,根据保存的所述终端信息,确定所述请求终端是否完成所述指定网络的认证初始化;The first authentication module 702 is configured to, when receiving a first service authentication request sent by the service platform to authenticate a requesting terminal requesting to log in to the service platform, determine whether the requesting terminal is based on the saved terminal information completing the authentication initialization of the designated network;

发送模块703,用于当确定所述请求终端完成所述指定网络的认证初始化时,确定所述第一业务认证请求的认证结果为成功,并将所述第一业务认证请求的认证结果发送给所述业务平台。The sending module 703 is configured to determine that the authentication result of the first service authentication request is successful when it is determined that the requesting terminal has completed the authentication initialization of the specified network, and send the authentication result of the first service authentication request to The business platform.

进一步地,所述第一认证模块702接收到的所述第一业务认证请求中携带有所述业务平台对应业务的业务标识;Further, the first service authentication request received by the first authentication module 702 carries the service identifier of the service corresponding to the service platform;

第一认证模块702,具体用于采用如下方式确定所述请求终端是否完成所述指定网络的认证初始化:当接收到业务平台发送的、对请求登录所述业务平台的请求终端进行认证的第一业务认证请求时,基于所述业务标识生成第一令牌token,并将所述第一token发送给所述业务平台,其中,所述第一token用于所述业务平台将所述第一token发送给所述请求终端之后,所述请求终端以第一加密方式,使用所述第一token对所述请求终端的终端标识信息进行加密,将所述第一加密方式以及加密的终端标识信息发送给所述业务平台;当接收到所述业务平台发送的携带所述第一加密方式以及加密的终端标识信息的第二业务认证请求时,根据与所述第一加密方式对应的第一解密方式,确定所述请求终端的终端标识信息,并根据保存的所述终端信息,确定所述请求终端是否完成所述指定网络的认证初始化。The first authentication module 702 is specifically configured to determine whether the requesting terminal has completed the authentication initialization of the specified network in the following manner: when receiving the first authentication request terminal requesting to log in to the service platform sent by the service platform, When a service authentication request is made, a first token token is generated based on the service identifier, and the first token is sent to the service platform, wherein the first token is used by the service platform to use the first token After sending to the requesting terminal, the requesting terminal uses the first token to encrypt the terminal identification information of the requesting terminal in a first encryption method, and sends the first encryption method and the encrypted terminal identification information To the service platform; when receiving the second service authentication request from the service platform that carries the first encryption method and encrypted terminal identification information, according to the first decryption method corresponding to the first encryption method , determining the terminal identification information of the requesting terminal, and determining whether the requesting terminal has completed authentication initialization of the specified network according to the saved terminal information.

进一步地,所述第一认证模块702接收到的所述第一业务认证请求中还携带有所述请求终端的终端标识信息,所述请求终端的终端标识信息为所述业务平台预先保存的、且当接收到所述请求终端的登录请求时,根据所述请求终端携带的登录信息确定的;Further, the first service authentication request received by the first authentication module 702 also carries terminal identification information of the requesting terminal, and the terminal identification information of the requesting terminal is pre-saved by the service platform, And when the login request of the requesting terminal is received, it is determined according to the login information carried by the requesting terminal;

所述第一认证模块702,具体用于基于所述业务标识以及所述请求终端的终端标识信息生成第一token;The first authentication module 702 is specifically configured to generate a first token based on the service identifier and the terminal identification information of the requesting terminal;

所述第一认证模块702生成的所述第一token用于所述业务平台将所述第一token发送给所述请求终端之后,所述请求终端以第一加密方式,使用接收到的所述第一token对所述请求终端的终端标识信息以及所述请求终端的相关信息进行加密,将所述第一加密方式、加密的终端标识信息、以及加密的所述相关信息发送给所述业务平台,所述相关信息包括所述请求终端的编号和/或所述请求终端的MAC地址;The first token generated by the first authentication module 702 is used after the service platform sends the first token to the requesting terminal, and the requesting terminal uses the received The first token encrypts the terminal identification information of the requesting terminal and related information of the requesting terminal, and sends the first encryption method, the encrypted terminal identification information, and the encrypted related information to the service platform , the relevant information includes the serial number of the requesting terminal and/or the MAC address of the requesting terminal;

所述第一认证模块702接收到的所述第二业务认证请求携带有所述第一加密方式、所述加密的终端标识信息以及所述加密的相关信息。The second service authentication request received by the first authentication module 702 carries the first encryption method, the encrypted terminal identification information, and the encrypted related information.

进一步地,所述认证平台,还包括:第二认证模块704;Further, the authentication platform also includes: a second authentication module 704;

所述第二认证模块704,用于在确定所述第一业务认证请求的认证结果为成功之后,生成第二token并发送给所述业务平台,其中,所述第二token用于所述业务平台将所述第二token发送给所述请求终端之后,所述请求终端以第二加密方式,使用所述第二token对业务信息进行加密,并将所述第二加密方式以及加密的业务信息发送给所述业务平台;当接收到所述业务平台发送的携带所述第二加密方式以及加密的业务信息的第三业务认证请求时,根据与所述第二加密方式对应的第二解密方式,确定所述第二token;根据解密得到的第二token,确定所述第三业务认证请求的认证结果;The second authentication module 704 is configured to generate a second token and send it to the service platform after determining that the authentication result of the first service authentication request is successful, wherein the second token is used for the service After the platform sends the second token to the requesting terminal, the requesting terminal encrypts the service information using the second token in a second encryption method, and sends the second encryption method and the encrypted service information Send to the service platform; when receiving the third service authentication request from the service platform that carries the second encryption method and encrypted service information, according to the second decryption method corresponding to the second encryption method , determining the second token; determining the authentication result of the third service authentication request according to the decrypted second token;

所述发送模块703,还用于将所述第二认证模块704得到的所述认证结果发送给所述业务平台,其中,所述认证结果用于当所述第三业务认证请求的认证结果为认证成功时,所述业务平台对所述请求终端发送的业务信息进行响应。The sending module 703 is further configured to send the authentication result obtained by the second authentication module 704 to the service platform, wherein the authentication result is used when the authentication result of the third service authentication request is When the authentication is successful, the service platform responds to the service information sent by the requesting terminal.

本发明实施例提供了一种业务平台,如图8所示,包括:An embodiment of the present invention provides a service platform, as shown in Figure 8, including:

发送模块801,用于当接收到请求终端发送的登录请求时,向认证平台发送对所述请求终端进行认证的第一业务认证请求,其中,所述第一业务认证请求用于所述认证平台根据保存的完成所述指定网络认证初始化终端的终端信息,确定所述请求终端是否为完成所述指定网络的认证初始化的终端,所述终端信息包括终端标识信息;The sending module 801 is configured to send a first service authentication request for authenticating the requesting terminal to the authentication platform when receiving a login request sent by the requesting terminal, wherein the first service authentication request is used for the authentication platform determining whether the requesting terminal is a terminal that has completed the authentication initialization of the designated network according to the stored terminal information of the terminal that has completed the authentication initialization of the designated network, and the terminal information includes terminal identification information;

接收模块802,用于当所述认证平台确定所述请求终端完成所述指定网络的认证初始化时,接收所述认证平台发送的所述第一业务认证请求认证成功的认证结果。The receiving module 802 is configured to, when the authentication platform determines that the requesting terminal completes the authentication initialization of the specified network, receive the authentication result of the authentication success of the first service authentication request sent by the authentication platform.

进一步地,所述发送模块801发送的所述第一业务认证请求中携带有业务平台对应业务的业务标识;Further, the first service authentication request sent by the sending module 801 carries the service identifier of the service corresponding to the service platform;

所述接收模块802,还用于接收到所述认证平台发送的第一令牌token;以及接收所述请求终端发送的所述第一加密方式以及加密的终端标识信息;The receiving module 802 is further configured to receive the first token token sent by the authentication platform; and receive the first encryption method and encrypted terminal identification information sent by the requesting terminal;

所述发送模块801,还用于当所述接收模块802接收到所述认证平台发送的第一令牌token时,将所述第一token发送给所述请求终端,其中,所述第一token为所述认证平台接收到所述第一业务认证请求之后,基于所述业务标识生成的;所述第一token用于所述请求终端以第一加密方式,使用所述第一token对所述请求终端的终端标识信息进行加密,并将所述第一加密方式以及加密的终端标识信息发送给所述业务平台;以及所述接收模块802接收到所述请求终端发送的所述第一加密方式以及加密的终端标识信息之后,将所述第一加密方式以及加密的终端标识信息携带于第二业务认证请求发送给所述认证平台,其中,所述第二业务认证请求用于所述认证平台根据与所述第一加密方式对应的第一解密方式,确定所述请求终端的终端标识信息,并当根据保存的所述终端信息,确定所述请求终端完成所述指定网络的认证初始化时,确定所述第一业务认证请求的认证结果为认证成功。The sending module 801 is further configured to send the first token to the requesting terminal when the receiving module 802 receives the first token sent by the authentication platform, wherein the first token After the authentication platform receives the first service authentication request, it is generated based on the service identifier; the first token is used by the requesting terminal to use the first token to encrypt the Encrypt the terminal identification information of the requesting terminal, and send the first encryption method and the encrypted terminal identification information to the service platform; and the receiving module 802 receives the first encryption method sent by the requesting terminal and the encrypted terminal identification information, carrying the first encryption method and the encrypted terminal identification information in a second service authentication request and sending it to the authentication platform, wherein the second service authentication request is used for the authentication platform Determine the terminal identification information of the requesting terminal according to the first decryption method corresponding to the first encryption method, and when it is determined according to the stored terminal information that the requesting terminal has completed authentication initialization of the specified network, Determining that the authentication result of the first service authentication request is authentication success.

进一步地,所述业务平台,还包括:响应模块803;Further, the service platform also includes: a response module 803;

所述接收模块802,具体用于接收所述认证平台发送的所述第一业务认证请求认证成功的认证结果以及所述认证平台生成的第二token,或者接收所述认证平台发送的所述认证平台生成的第二token;The receiving module 802 is specifically configured to receive the authentication result of successful authentication of the first service authentication request sent by the authentication platform and the second token generated by the authentication platform, or receive the authentication message sent by the authentication platform. The second token generated by the platform;

所述发送模块801,还用于在所述接收模块802接收所述认证平台发送的所述第一业务认证请求认证成功的认证结果之后,将所述第二token发送给所述请求终端,其中,所述第二token用于所述请求终端以第二加密方式,使用所述第二token对业务信息进行加密,并将所述第二加密方式以及加密的业务信息发送给所述业务平台;以及将所述接收模块802接收的第二加密方式以及加密的业务信息携带于第三业务认证请求发送给所述认证平台,其中,所述第三业务认证请求用于所述认证平台根据与所述第二加密方式对应的第二解密方式,确定所述第二token,并当确定所述第二token为所述认证平台生成的时,确定所述第三业务认证请求的认证结果为认证成功;;The sending module 801 is further configured to send the second token to the requesting terminal after the receiving module 802 receives the authentication result of successful authentication of the first service authentication request sent by the authentication platform, wherein , the second token is used by the requesting terminal to encrypt service information in a second encryption manner using the second token, and send the second encryption manner and the encrypted service information to the service platform; and sending the second encryption method and encrypted service information received by the receiving module 802 to the authentication platform in a third service authentication request, wherein the third service authentication request is used by the authentication platform according to the The second decryption method corresponding to the second encryption method, determine the second token, and when it is determined that the second token is generated by the authentication platform, determine that the authentication result of the third service authentication request is authentication success ;;

所述接收模块802,还用于接收所述请求终端发送的所述第二加密方式以及加密的业务信息;以及接收所述第三业务认证请求认证成功的认证结果;The receiving module 802 is further configured to receive the second encryption method and encrypted service information sent by the requesting terminal; and receive an authentication result indicating that the third service authentication request is successfully authenticated;

所述响应模块803,用于当所述接收模块802接收到第三业务认证请求认证成功的认证结果时,对所述请求终端发送的所述业务信息进行响应。The responding module 803 is configured to respond to the service information sent by the requesting terminal when the receiving module 802 receives an authentication result indicating that the third service authentication request is successfully authenticated.

本发明实施例提供了一种指定网络的网元,如图9所述,包括:An embodiment of the present invention provides a network element of a specified network, as shown in FIG. 9 , including:

认证初始化模块901,用于对终端进行指定网络的认证初始化;An authentication initialization module 901, configured to initialize the authentication of the designated network for the terminal;

触发模块902,用于在所述认证初始化模块901对终端进行认证初始化之后,将完成所述指定网络认证初始化终端的终端信息触发给认证平台,其中,所述终端信息用于所述认证平台将所述终端信息保存,当接收到业务平台发送的、对请求登录所述业务平台的请求终端进行认证的第一业务认证请求时,根据保存的所述终端信息,确定所述请求终端是否完成所述指定网络的认证初始化,且当确定所述请求终端完成所述指定网络的认证初始化时,确定所述第一业务认证请求的认证结果为成功,所述终端信息包括终端标识信息。The triggering module 902 is configured to trigger the terminal information of the terminal that has completed the specified network authentication initialization to the authentication platform after the authentication initialization module 901 performs authentication initialization on the terminal, wherein the terminal information is used by the authentication platform to The terminal information storage, when receiving the first service authentication request sent by the service platform to authenticate the requesting terminal requesting to log in to the service platform, according to the stored terminal information, determine whether the requesting terminal has completed the The authentication initialization of the specified network, and when it is determined that the requesting terminal completes the authentication initialization of the specified network, determine that the authentication result of the first service authentication request is successful, and the terminal information includes terminal identification information.

本发明实施例提供了一种认证系统,包括:上述的认证平台、上述的业务平台、上述的指定网络的网元、以及多个终端。An embodiment of the present invention provides an authentication system, including: the above-mentioned authentication platform, the above-mentioned service platform, the network elements of the above-mentioned specified network, and multiple terminals.

上述各单元的功能可对应于图1至图6所示流程中的相应处理步骤,在此不再赘述。The functions of the above units may correspond to the corresponding processing steps in the flow shown in FIG. 1 to FIG. 6 , and will not be repeated here.

本发明实施例提供的认证方法、认证平台、业务平台、网元及系统,当接收到具有完整认证机制的指定网络中用于对终端进行认证初始化的网元触发的、完成指定网络认证初始化终端的终端信息时,将终端信息保存,其中,终端信息包括终端标识信息;当接收到业务平台发送的、对请求登录业务平台的请求终端进行认证的第一业务认证请求时,根据保存的终端信息,确定请求终端是否完成指定网络的认证初始化;当确定请求终端完成指定网络的认证初始化时,确定第一业务认证请求的认证结果为成功,并将第一业务认证请求的认证结果发送给业务平台。当请求终端请求登录业务平台时,由保存有完成指定网络认证初始化终端的终端信息的认证平台确定该请求终端是否完成指定网络的认证初始化,如果请求终端已完成指定网络的认证初始化,则确定请求终端登录所述业务平台成功,即完成指定网络的认证初始化之后,就可以使用上市指定网络内及指定网络外的业务平台的业务,扩展认证结果既能为基于上述指定网络的数据业务使用,又能为基于所述指定网络之外的业务平台的数据业务使用,既有效的利用了已有网元提供的认证能力,避免了认证功能网元的重复建设,又避免了终端对于认证功能重复和复杂的开发。与现有技术中,基于不同平台的数据业务需要分别针对同一套用户数据提供不同的网元支持不同的认证机制相比,提高了认证效率。The authentication method, authentication platform, service platform, network element, and system provided by the embodiments of the present invention, when receiving a network element trigger for authentication initialization of a terminal in a specified network with a complete authentication mechanism, complete the specified network authentication initialization terminal When receiving the terminal information of the terminal information, save the terminal information, wherein the terminal information includes terminal identification information; when receiving the first service authentication request sent by the service platform to authenticate the requesting terminal requesting to log in to the service platform, according to the stored terminal information , determine whether the requesting terminal has completed the authentication initialization of the specified network; when it is determined that the requesting terminal has completed the authentication initialization of the specified network, determine that the authentication result of the first service authentication request is successful, and send the authentication result of the first service authentication request to the service platform . When the requesting terminal requests to log in to the service platform, the authentication platform that stores the terminal information of the terminal that has completed the authentication and initialization of the specified network determines whether the requesting terminal has completed the authentication initialization of the specified network. If the requesting terminal has completed the authentication initialization of the specified network, the request After the terminal successfully logs in to the service platform, that is, after the authentication initialization of the specified network is completed, the services of the service platform listed in the specified network and outside the specified network can be used, and the extended authentication result can be used for data services based on the above-mentioned specified network. It can be used for data services based on service platforms other than the specified network, which not only effectively utilizes the authentication capabilities provided by existing network elements, avoids repeated construction of network elements with authentication functions, but also avoids duplication and confusion of authentication functions by terminals. complex development. Compared with the prior art, where data services based on different platforms need to provide different network elements to support different authentication mechanisms for the same set of user data, the authentication efficiency is improved.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明实施例可以通过硬件实现,也可以借助软件加必要的通用硬件平台的方式来实现。基于这样的理解,本发明实施例的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the above description of the implementation manners, those skilled in the art can clearly understand that the embodiments of the present invention can be implemented by hardware, or by means of software plus a necessary general hardware platform. Based on this understanding, the technical solutions of the embodiments of the present invention can be embodied in the form of software products, which can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.), Several instructions are included to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute the methods described in various embodiments of the present invention.

本领域技术人员可以理解附图只是一个优选实施例的示意图,附图中的模块或流程并不一定是实施本发明所必须的。Those skilled in the art can understand that the drawing is only a schematic diagram of a preferred embodiment, and the modules or processes in the drawing are not necessarily necessary for implementing the present invention.

本领域技术人员可以理解实施例中的装置中的模块可以按照实施例描述进行分布于实施例的装置中,也可以进行相应变化位于不同于本实施例的一个或多个装置中。上述实施例的模块可以合并为一个模块,也可以进一步拆分成多个子模块。Those skilled in the art can understand that the modules in the device in the embodiment can be distributed in the device in the embodiment according to the description in the embodiment, or can be located in one or more devices different from the embodiment according to corresponding changes. The modules in the above embodiments can be combined into one module, and can also be further split into multiple sub-modules.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (13)

1.一种认证方法,其特征在于,包括:1. An authentication method, characterized in that, comprising: 当接收到具有完整认证机制的指定网络中,用于对终端进行认证初始化的网元触发的、完成所述指定网络认证初始化终端的终端信息时,将所述终端信息保存,其中,所述终端信息包括终端标识信息;所述指定网络为IP多媒体子系统网络;When receiving the terminal information of the terminal that completes the authentication initialization of the specified network triggered by the network element used to initialize the authentication of the terminal in the specified network with a complete authentication mechanism, save the terminal information, wherein the terminal The information includes terminal identification information; the designated network is an IP multimedia subsystem network; 当接收到业务平台发送的、对请求登录所述业务平台的请求终端进行认证的第一业务认证请求时,根据保存的所述终端信息,确定所述请求终端是否完成所述指定网络的认证初始化;所述业务平台为基于HTTP的业务平台;When receiving the first service authentication request sent by the service platform to authenticate the requesting terminal requesting to log in to the service platform, determine whether the requesting terminal has completed the authentication initialization of the specified network according to the saved terminal information ; The service platform is an HTTP-based service platform; 当确定所述请求终端完成所述指定网络的认证初始化时,确定所述第一业务认证请求的认证结果为成功,并将所述第一业务认证请求的认证结果发送给所述业务平台;When it is determined that the requesting terminal completes the authentication initialization of the designated network, determine that the authentication result of the first service authentication request is successful, and send the authentication result of the first service authentication request to the service platform; 所述第一业务认证请求中携带有所述业务平台对应业务的业务标识;The first service authentication request carries the service identifier of the service corresponding to the service platform; 采用如下方式确定所述请求终端是否完成所述指定网络的认证初始化:Determine whether the requesting terminal has completed the authentication initialization of the specified network in the following manner: 当接收到业务平台发送的、对请求登录所述业务平台的请求终端进行认证的第一业务认证请求时,基于所述业务标识生成第一令牌token,并将所述第一token发送给所述业务平台,When receiving the first service authentication request sent by the service platform to authenticate the requesting terminal requesting to log in to the service platform, generate a first token token based on the service identifier, and send the first token to all business platform, 其中,所述第一token用于所述业务平台将所述第一token发送给所述请求终端之后,所述请求终端以第一加密方式,使用所述第一token对所述请求终端的终端标识信息进行加密,将所述第一加密方式以及加密的终端标识信息发送给所述业务平台;Wherein, the first token is used after the service platform sends the first token to the requesting terminal, and the requesting terminal uses the first encryption method to encrypt the requesting terminal's terminal Encrypting the identification information, and sending the first encryption method and the encrypted terminal identification information to the service platform; 当接收到所述业务平台发送的携带所述第一加密方式以及加密的终端标识信息的第二业务认证请求时,根据与所述第一加密方式对应的第一解密方式,确定所述请求终端的终端标识信息,并根据保存的所述终端信息,确定所述请求终端是否完成所述指定网络的认证初始化。When receiving the second service authentication request sent by the service platform and carrying the first encryption method and encrypted terminal identification information, determine the requesting terminal according to the first decryption method corresponding to the first encryption method and determine whether the requesting terminal has completed the authentication initialization of the specified network according to the saved terminal information. 2.如权利要求1所述的方法,其特征在于,所述第一业务认证请求中还携带有所述请求终端的终端标识信息,所述请求终端的终端标识信息为所述业务平台预先保存的、且当接收到所述请求终端的登录请求时,根据所述请求终端携带的登录信息确定的;2. The method according to claim 1, wherein the first service authentication request also carries terminal identification information of the requesting terminal, and the terminal identification information of the requesting terminal is pre-saved by the service platform and determined according to the login information carried by the requesting terminal when receiving the login request from the requesting terminal; 基于所述业务标识生成第一token,具体包括:Generate the first token based on the service identifier, specifically including: 基于所述业务标识以及所述请求终端的终端标识信息生成第一token;generating a first token based on the service identifier and the terminal identifier information of the requesting terminal; 所述第一token用于所述业务平台将所述第一token发送给所述请求终端之后,所述请求终端以第一加密方式,使用接收到的所述第一token对所述请求终端的终端标识信息以及所述请求终端的相关信息进行加密,将所述第一加密方式、加密的终端标识信息、以及加密的所述相关信息发送给所述业务平台,所述相关信息包括所述请求终端的编号和/或所述请求终端的介质访问控制MAC地址;The first token is used after the service platform sends the first token to the requesting terminal, and the requesting terminal uses the received first token to encrypt the requesting terminal in a first encrypted manner. Encrypting the terminal identification information and the relevant information of the requesting terminal, and sending the first encryption method, the encrypted terminal identification information, and the encrypted relevant information to the service platform, the relevant information including the request The number of the terminal and/or the media access control MAC address of the requesting terminal; 所述第二业务认证请求携带有所述第一加密方式、所述加密的终端标识信息以及所述加密的相关信息。The second service authentication request carries the first encryption method, the encrypted terminal identification information, and the encrypted related information. 3.如权利要求1-2任一项所述的方法,其特征在于,在确定所述第一业务认证请求的认证结果为成功之后,还包括:3. The method according to any one of claims 1-2, characterized in that, after determining that the authentication result of the first service authentication request is successful, further comprising: 生成第二token并发送给所述业务平台,其中,所述第二token用于所述业务平台将所述第二token发送给所述请求终端之后,所述请求终端以第二加密方式,使用所述第二token对业务信息进行加密,并将所述第二加密方式以及加密的业务信息发送给所述业务平台;Generate a second token and send it to the service platform, wherein the second token is used for the service platform to send the second token to the requesting terminal, and the requesting terminal uses a second encryption method to use The second token encrypts the business information, and sends the second encryption method and the encrypted business information to the business platform; 当接收到所述业务平台发送的携带所述第二加密方式以及加密的业务信息的第三业务认证请求时,根据与所述第二加密方式对应的第二解密方式,确定所述第二token;When receiving the third service authentication request sent by the service platform and carrying the second encryption method and encrypted service information, determine the second token according to the second decryption method corresponding to the second encryption method ; 根据解密得到的第二token,确定所述第三业务认证请求的认证结果,并将得到的所述认证结果发送给所述业务平台,其中,所述认证结果用于当所述第三业务认证请求的认证结果为认证成功时,所述业务平台对所述请求终端发送的业务信息进行响应。Determine the authentication result of the third service authentication request according to the decrypted second token, and send the obtained authentication result to the service platform, wherein the authentication result is used when the third service authentication When the authentication result of the request is that the authentication is successful, the service platform responds to the service information sent by the requesting terminal. 4.一种认证方法,其特征在于,包括:4. An authentication method, characterized in that, comprising: 当基于HTTP的业务平台接收到请求终端发送的登录请求时,向认证平台发送对所述请求终端进行认证的第一业务认证请求,其中,所述第一业务认证请求用于所述认证平台根据保存的完成指定网络认证初始化终端的终端信息,确定所述请求终端是否为完成所述指定网络的认证初始化的终端,所述终端信息包括终端标识信息;所述指定网络为IP多媒体子系统网络;When the HTTP-based service platform receives the login request sent by the requesting terminal, it sends to the authentication platform a first service authentication request for authenticating the requesting terminal, wherein the first service authentication request is used by the authentication platform according to Save the terminal information of the designated network authentication initialization terminal, determine whether the requesting terminal is a terminal that completes the authentication initialization of the designated network, the terminal information includes terminal identification information; the designated network is an IP multimedia subsystem network; 当所述认证平台确定所述请求终端完成所述指定网络的认证初始化时,接收所述认证平台发送的所述第一业务认证请求认证成功的认证结果;When the authentication platform determines that the requesting terminal has completed the authentication initialization of the specified network, receiving the authentication result of the authentication success of the first service authentication request sent by the authentication platform; 所述第一业务认证请求中携带有业务平台对应业务的业务标识;在向认证平台发送对所述请求终端进行认证的第一业务认证请求之后,且接收到所述第一业务认证请求的认证结果之前,还包括:The first service authentication request carries the service identifier of the corresponding service of the service platform; after sending the first service authentication request for authenticating the requesting terminal to the authentication platform, and receiving the authentication of the first service authentication request Before results, also include: 当接收到所述认证平台发送的第一令牌token时,将所述第一token发送给所述请求终端,其中,所述第一token为所述认证平台接收到所述第一业务认证请求之后,基于所述业务标识生成的;所述第一token用于所述请求终端以第一加密方式,使用所述第一token对所述请求终端的终端标识信息进行加密,并将所述第一加密方式以及加密的终端标识信息发送给所述业务平台;When the first token token sent by the authentication platform is received, the first token is sent to the requesting terminal, wherein the first token is the first service authentication request received by the authentication platform Afterwards, generated based on the service identifier; the first token is used by the requesting terminal in a first encryption manner, using the first token to encrypt the terminal identification information of the requesting terminal, and encrypting the first token An encryption method and the encrypted terminal identification information are sent to the service platform; 接收所述请求终端发送的所述第一加密方式以及加密的终端标识信息,并将所述第一加密方式以及加密的终端标识信息携带于第二业务认证请求发送给所述认证平台,receiving the first encryption method and encrypted terminal identification information sent by the requesting terminal, and carrying the first encryption method and encrypted terminal identification information in a second service authentication request to the authentication platform, 其中,所述第二业务认证请求用于所述认证平台根据与所述第一加密方式对应的第一解密方式,确定所述请求终端的终端标识信息,并当根据保存的所述终端信息,确定所述请求终端完成所述指定网络的认证初始化时,确定所述第一业务认证请求的认证结果为认证成功。Wherein, the second service authentication request is used for the authentication platform to determine the terminal identification information of the requesting terminal according to the first decryption method corresponding to the first encryption method, and when according to the saved terminal information, When it is determined that the requesting terminal completes the authentication initialization of the specified network, it is determined that the authentication result of the first service authentication request is authentication success. 5.如权利要求4所述的方法,其特征在于,接收所述认证平台发送的所述第一业务认证请求认证成功的认证结果,具体包括:5. The method according to claim 4, wherein receiving the authentication result of successful authentication of the first service authentication request sent by the authentication platform specifically comprises: 接收所述认证平台发送的所述第一业务认证请求认证成功的认证结果以及所述认证平台生成的第二token,或者receiving the authentication result of successful authentication of the first service authentication request sent by the authentication platform and the second token generated by the authentication platform, or 接收所述认证平台发送的所述认证平台生成的第二token;receiving the second token generated by the authentication platform sent by the authentication platform; 在接收所述认证平台发送的所述第一业务认证请求认证成功的认证结果之后,还包括:After receiving the authentication result of successful authentication of the first service authentication request sent by the authentication platform, the method further includes: 将所述第二token发送给所述请求终端,其中,所述第二token用于所述请求终端以第二加密方式,使用所述第二token对业务信息进行加密,并将所述第二加密方式以及加密的业务信息发送给所述业务平台;sending the second token to the requesting terminal, wherein the second token is used by the requesting terminal to encrypt service information using the second token in a second encryption manner, and the second The encryption method and the encrypted business information are sent to the business platform; 接收所述请求终端发送的所述第二加密方式以及加密的业务信息,并将所述第二加密方式以及加密的业务信息携带于第三业务认证请求发送给所述认证平台,receiving the second encryption method and encrypted service information sent by the requesting terminal, and sending the second encryption method and encrypted service information to the authentication platform in a third service authentication request, 其中,所述第三业务认证请求用于所述认证平台根据与所述第二加密方式对应的第二解密方式,确定所述第二token,并当确定所述第二token为所述认证平台生成的时,确定所述第三业务认证请求的认证结果为认证成功;Wherein, the third service authentication request is used for the authentication platform to determine the second token according to the second decryption method corresponding to the second encryption method, and when the second token is determined to be the authentication platform When generated, determine that the authentication result of the third service authentication request is authentication success; 当接收到第三业务认证请求认证成功的认证结果时,对所述请求终端发送的所述业务信息进行响应。Responding to the service information sent by the requesting terminal when receiving an authentication result indicating that the authentication of the third service authentication request is successful. 6.一种认证方法,其特征在于,包括:6. An authentication method, characterized in that, comprising: 在对终端进行认证初始化之后,将完成指定网络认证初始化终端的终端信息触发给认证平台,所述指定网络为IP多媒体子系统网络;After the terminal is authenticated and initialized, the terminal information of the terminal that completes the authentication initialization of the specified network is triggered to the authentication platform, and the specified network is an IP multimedia subsystem network; 其中,所述终端信息用于所述认证平台将所述终端信息保存,当接收到业务平台发送的、对请求登录所述业务平台的请求终端进行认证的第一业务认证请求时,根据保存的所述终端信息,确定所述请求终端是否完成所述指定网络的认证初始化,且当确定所述请求终端完成所述指定网络的认证初始化时,确定所述第一业务认证请求的认证结果为成功,所述终端信息包括终端标识信息,所述指定网络具有完整的认证机制;所述业务平台为基于HTTP的业务平台;Wherein, the terminal information is used for the authentication platform to save the terminal information, and when receiving the first service authentication request sent by the service platform to authenticate the requesting terminal requesting to log in to the service platform, according to the saved The terminal information determines whether the requesting terminal has completed the authentication initialization of the designated network, and when it is determined that the requesting terminal has completed the authentication initialization of the designated network, it is determined that the authentication result of the first service authentication request is successful , the terminal information includes terminal identification information, and the specified network has a complete authentication mechanism; the service platform is an HTTP-based service platform; 所述第一业务认证请求中携带有所述业务平台对应业务的业务标识;The first service authentication request carries the service identifier of the service corresponding to the service platform; 采用如下方式确定所述请求终端是否完成所述指定网络的认证初始化:Determine whether the requesting terminal has completed the authentication initialization of the specified network in the following manner: 当接收到业务平台发送的、对请求登录所述业务平台的请求终端进行认证的第一业务认证请求时,基于所述业务标识生成第一令牌token,并将所述第一token发送给所述业务平台,When receiving the first service authentication request sent by the service platform to authenticate the requesting terminal requesting to log in to the service platform, generate a first token token based on the service identifier, and send the first token to all business platform, 其中,所述第一token用于所述业务平台将所述第一token发送给所述请求终端之后,所述请求终端以第一加密方式,使用所述第一token对所述请求终端的终端标识信息进行加密,将所述第一加密方式以及加密的终端标识信息发送给所述业务平台;Wherein, the first token is used after the service platform sends the first token to the requesting terminal, and the requesting terminal uses the first encryption method to encrypt the requesting terminal's terminal Encrypting the identification information, and sending the first encryption method and the encrypted terminal identification information to the service platform; 当接收到所述业务平台发送的携带所述第一加密方式以及加密的终端标识信息的第二业务认证请求时,根据与所述第一加密方式对应的第一解密方式,确定所述请求终端的终端标识信息,并根据保存的所述终端信息,确定所述请求终端是否完成所述指定网络的认证初始化。When receiving the second service authentication request sent by the service platform and carrying the first encryption method and encrypted terminal identification information, determine the requesting terminal according to the first decryption method corresponding to the first encryption method and determine whether the requesting terminal has completed the authentication initialization of the specified network according to the stored terminal information. 7.一种认证平台,其特征在于,包括:7. An authentication platform, characterized in that it comprises: 存储模块,用于当接收到具有完整认证机制的指定网络中用于对终端进行认证初始化的网元触发的、完成所述指定网络认证初始化终端的终端信息时,将所述终端信息保存,其中,所述终端信息包括终端标识信息;所述指定网络为IP多媒体子系统网络;A storage module, configured to save the terminal information when receiving terminal information of a terminal that completes the authentication initialization of the specified network triggered by a network element in the specified network with a complete authentication mechanism for performing authentication initialization on the terminal, wherein , the terminal information includes terminal identification information; the specified network is an IP multimedia subsystem network; 第一认证模块,用于当接收到业务平台发送的、对请求登录所述业务平台的请求终端进行认证的第一业务认证请求时,根据保存的所述终端信息,确定所述请求终端是否完成所述指定网络的认证初始化;所述业务平台为基于HTTP的业务平台;The first authentication module is configured to, when receiving a first service authentication request sent by the service platform to authenticate a requesting terminal requesting to log in to the service platform, determine whether the requesting terminal is completed according to the saved terminal information The authentication initialization of the specified network; the service platform is an HTTP-based service platform; 发送模块,用于当确定所述请求终端完成所述指定网络的认证初始化时,确定所述第一业务认证请求的认证结果为成功,并将所述第一业务认证请求的认证结果发送给所述业务平台;A sending module, configured to determine that the authentication result of the first service authentication request is successful when it is determined that the requesting terminal has completed the authentication initialization of the designated network, and send the authentication result of the first service authentication request to the business platform; 所述第一认证模块接收到的所述第一业务认证请求中携带有所述业务平台对应业务的业务标识;The first service authentication request received by the first authentication module carries the service identifier of the service corresponding to the service platform; 第一认证模块,具体用于采用如下方式确定所述请求终端是否完成所述指定网络的认证初始化:当接收到业务平台发送的、对请求登录所述业务平台的请求终端进行认证的第一业务认证请求时,基于所述业务标识生成第一令牌token,并将所述第一token发送给所述业务平台,其中,所述第一token用于所述业务平台将所述第一token发送给所述请求终端之后,所述请求终端以第一加密方式,使用所述第一token对所述请求终端的终端标识信息进行加密,将所述第一加密方式以及加密的终端标识信息发送给所述业务平台;当接收到所述业务平台发送的携带所述第一加密方式以及加密的终端标识信息的第二业务认证请求时,根据与所述第一加密方式对应的第一解密方式,确定所述请求终端的终端标识信息,并根据保存的所述终端信息,确定所述请求终端是否完成所述指定网络的认证初始化。The first authentication module is specifically used to determine whether the requesting terminal has completed the authentication initialization of the designated network in the following manner: when receiving the first service sent by the service platform to authenticate the requesting terminal requesting to log in to the service platform When authenticating a request, generate a first token token based on the service identifier, and send the first token to the service platform, wherein the first token is used by the service platform to send the first token After sending to the requesting terminal, the requesting terminal uses the first token to encrypt the terminal identification information of the requesting terminal in a first encryption method, and sends the first encryption method and the encrypted terminal identification information to The service platform; when receiving the second service authentication request sent by the service platform and carrying the first encryption method and encrypted terminal identification information, according to the first decryption method corresponding to the first encryption method, Determine the terminal identification information of the requesting terminal, and determine whether the requesting terminal has completed authentication initialization of the specified network according to the stored terminal information. 8.如权利要求7所述的认证平台,其特征在于,所述第一认证模块接收到的所述第一业务认证请求中还携带有所述请求终端的终端标识信息,所述请求终端的终端标识信息为所述业务平台预先保存的、且当接收到所述请求终端的登录请求时,根据所述请求终端携带的登录信息确定的;8. The authentication platform according to claim 7, wherein the first service authentication request received by the first authentication module also carries terminal identification information of the requesting terminal, and the requesting terminal's The terminal identification information is pre-saved by the service platform and determined according to the login information carried by the requesting terminal when the login request of the requesting terminal is received; 所述第一认证模块,具体用于基于所述业务标识以及所述请求终端的终端标识信息生成第一token;The first authentication module is specifically configured to generate a first token based on the service identifier and the terminal identification information of the requesting terminal; 所述第一认证模块生成的所述第一token用于所述业务平台将所述第一token发送给所述请求终端之后,所述请求终端以第一加密方式,使用接收到的所述第一token对所述请求终端的终端标识信息以及所述请求终端的相关信息进行加密,将所述第一加密方式、加密的终端标识信息、以及加密的所述相关信息发送给所述业务平台,所述相关信息包括所述请求终端的编号和/或所述请求终端的介质访问控制MAC地址;The first token generated by the first authentication module is used after the service platform sends the first token to the requesting terminal, and the requesting terminal uses the received first token in a first encrypted manner A token encrypts the terminal identification information of the requesting terminal and related information of the requesting terminal, and sends the first encryption method, the encrypted terminal identification information, and the encrypted related information to the service platform, The relevant information includes the serial number of the requesting terminal and/or the medium access control MAC address of the requesting terminal; 所述第一认证模块接收到的所述第二业务认证请求携带有所述第一加密方式、所述加密的终端标识信息以及所述加密的相关信息。The second service authentication request received by the first authentication module carries the first encryption method, the encrypted terminal identification information, and the encrypted related information. 9.如权利要求7-8任一项所述的认证平台,其特征在于,还包括:第二认证模块;9. The authentication platform according to any one of claims 7-8, further comprising: a second authentication module; 所述第二认证模块,用于在确定所述第一业务认证请求的认证结果为成功之后,生成第二token并发送给所述业务平台,其中,所述第二token用于所述业务平台将所述第二token发送给所述请求终端之后,所述请求终端以第二加密方式,使用所述第二token对业务信息进行加密,并将所述第二加密方式以及加密的业务信息发送给所述业务平台;当接收到所述业务平台发送的携带所述第二加密方式以及加密的业务信息的第三业务认证请求时,根据与所述第二加密方式对应的第二解密方式,确定所述第二token;根据解密得到的第二token,确定所述第三业务认证请求的认证结果;The second authentication module is configured to generate a second token and send it to the service platform after determining that the authentication result of the first service authentication request is successful, wherein the second token is used for the service platform After sending the second token to the requesting terminal, the requesting terminal uses the second encryption method to encrypt the service information, and sends the second encryption method and the encrypted service information to To the service platform; when receiving a third service authentication request from the service platform that carries the second encryption method and encrypted service information, according to the second decryption method corresponding to the second encryption method, determining the second token; determining the authentication result of the third service authentication request according to the decrypted second token; 所述发送模块,还用于将所述第二认证模块得到的所述认证结果发送给所述业务平台,其中,所述认证结果用于当所述第三业务认证请求的认证结果为认证成功时,所述业务平台对所述请求终端发送的业务信息进行响应。The sending module is further configured to send the authentication result obtained by the second authentication module to the service platform, wherein the authentication result is used when the authentication result of the third service authentication request is that the authentication is successful , the service platform responds to the service information sent by the requesting terminal. 10.一种基于HTTP的业务平台,其特征在于,包括:10. A service platform based on HTTP, characterized in that, comprising: 发送模块,用于当接收到请求终端发送的登录请求时,向认证平台发送对所述请求终端进行认证的第一业务认证请求,其中,所述第一业务认证请求用于所述认证平台根据保存的完成指定网络认证初始化终端的终端信息,确定所述请求终端是否为完成所述指定网络的认证初始化的终端,所述终端信息包括终端标识信息;所述指定网络为IP多媒体子系统网络;A sending module, configured to send a first service authentication request for authenticating the requesting terminal to the authentication platform when receiving the login request sent by the requesting terminal, wherein the first service authentication request is used by the authentication platform according to Save the terminal information of the designated network authentication initialization terminal, determine whether the requesting terminal is a terminal that completes the authentication initialization of the designated network, the terminal information includes terminal identification information; the designated network is an IP multimedia subsystem network; 接收模块,用于当所述认证平台确定所述请求终端完成所述指定网络的认证初始化时,接收所述认证平台发送的所述第一业务认证请求认证成功的认证结果;A receiving module, configured to receive an authentication result of successful authentication of the first service authentication request sent by the authentication platform when the authentication platform determines that the requesting terminal has completed the authentication initialization of the specified network; 所述发送模块发送的所述第一业务认证请求中携带有业务平台对应业务的业务标识;The first service authentication request sent by the sending module carries the service identifier of the service corresponding to the service platform; 所述接收模块,还用于接收到所述认证平台发送的第一令牌token;以及接收所述请求终端发送的第一加密方式以及加密的终端标识信息;The receiving module is further configured to receive the first token token sent by the authentication platform; and receive the first encryption method and encrypted terminal identification information sent by the requesting terminal; 所述发送模块,还用于当所述接收模块接收到所述认证平台发送的第一令牌token时,将所述第一token发送给所述请求终端,其中,所述第一token为所述认证平台接收到所述第一业务认证请求之后,基于所述业务标识生成的;所述第一token用于所述请求终端以第一加密方式,使用所述第一token对所述请求终端的终端标识信息进行加密,并将所述第一加密方式以及加密的终端标识信息发送给所述业务平台;以及所述接收模块接收到所述请求终端发送的所述第一加密方式以及加密的终端标识信息之后,将所述第一加密方式以及加密的终端标识信息携带于第二业务认证请求发送给所述认证平台,其中,所述第二业务认证请求用于所述认证平台根据与所述第一加密方式对应的第一解密方式,确定所述请求终端的终端标识信息,并当根据保存的所述终端信息,确定所述请求终端完成所述指定网络的认证初始化时,确定所述第一业务认证请求的认证结果为认证成功。The sending module is further configured to send the first token to the requesting terminal when the receiving module receives the first token sent by the authentication platform, wherein the first token is the After the authentication platform receives the first service authentication request, it is generated based on the service identifier; the first token is used for the requesting terminal to use the first token to encrypt the requesting terminal in a first encryption method Encrypt the terminal identification information, and send the first encryption method and the encrypted terminal identification information to the service platform; and the receiving module receives the first encryption method and the encrypted terminal identification information sent by the requesting terminal After the terminal identification information, the first encryption method and the encrypted terminal identification information are carried in the second service authentication request and sent to the authentication platform, wherein the second service authentication request is used by the authentication platform according to the The first decryption method corresponding to the first encryption method, determine the terminal identification information of the requesting terminal, and determine the The authentication result of the first service authentication request is authentication success. 11.如权利要求10所述的业务平台,其特征在于,还包括:响应模块;11. The business platform according to claim 10, further comprising: a response module; 所述接收模块,具体用于接收所述认证平台发送的所述第一业务认证请求认证成功的认证结果以及所述认证平台生成的第二token,或者接收所述认证平台发送的所述认证平台生成的第二token;The receiving module is specifically configured to receive the authentication result of successful authentication of the first service authentication request sent by the authentication platform and the second token generated by the authentication platform, or receive the authentication platform sent by the authentication platform The generated second token; 所述发送模块,还用于在所述接收模块接收所述认证平台发送的所述第一业务认证请求认证成功的认证结果之后,将所述第二token发送给所述请求终端,其中,所述第二token用于所述请求终端以第二加密方式,使用所述第二token对业务信息进行加密,并将所述第二加密方式以及加密的业务信息发送给所述业务平台;以及将所述接收模块接收的第二加密方式以及加密的业务信息携带于第三业务认证请求发送给所述认证平台,其中,所述第三业务认证请求用于所述认证平台根据与所述第二加密方式对应的第二解密方式,确定所述第二token,并当确定所述第二token为所述认证平台生成的时,确定所述第三业务认证请求的认证结果为认证成功;The sending module is further configured to send the second token to the requesting terminal after the receiving module receives the authentication result of successful authentication of the first service authentication request sent by the authentication platform, wherein the The second token is used by the requesting terminal to encrypt the service information by using the second token in a second encryption method, and send the second encryption method and the encrypted service information to the service platform; and The second encryption method and encrypted service information received by the receiving module are carried in a third service authentication request and sent to the authentication platform, wherein the third service authentication request is used by the authentication platform to The second decryption method corresponding to the encryption method determines the second token, and when it is determined that the second token is generated by the authentication platform, determines that the authentication result of the third service authentication request is authentication success; 所述接收模块,还用于接收所述请求终端发送的所述第二加密方式以及加密的业务信息;以及接收所述第三业务认证请求认证成功的认证结果;The receiving module is further configured to receive the second encryption method and the encrypted service information sent by the requesting terminal; and receive the authentication result of the successful authentication of the third service authentication request; 所述响应模块,用于当所述接收模块接收到第三业务认证请求认证成功的认证结果时,对所述请求终端发送的所述业务信息进行响应。The responding module is configured to respond to the service information sent by the requesting terminal when the receiving module receives an authentication result indicating that the authentication of the third service authentication request is successful. 12.一种指定网络的网元,其特征在于,包括:12. A network element of a specified network, comprising: 认证初始化模块,用于对终端进行指定网络的认证初始化;所述指定网络为IP多媒体子系统网络;The authentication initialization module is used to initialize the authentication of the specified network to the terminal; the specified network is an IP multimedia subsystem network; 触发模块,用于在所述认证初始化模块对终端进行认证初始化之后,将完成所述指定网络认证初始化终端的终端信息触发给认证平台,其中,所述终端信息用于所述认证平台将所述终端信息保存,当接收到业务平台发送的、对请求登录所述业务平台的请求终端进行认证的第一业务认证请求时,根据保存的所述终端信息,确定所述请求终端是否完成所述指定网络的认证初始化,且当确定所述请求终端完成所述指定网络的认证初始化时,确定所述第一业务认证请求的认证结果为成功,所述终端信息包括终端标识信息;所述业务平台为基于HTTP的业务平台;The triggering module is configured to trigger the terminal information of the terminal that has completed the specified network authentication initialization to the authentication platform after the authentication initialization module performs authentication initialization on the terminal, wherein the terminal information is used by the authentication platform to Terminal information storage, when receiving the first service authentication request sent by the service platform to authenticate the requesting terminal requesting to log in to the service platform, according to the stored terminal information, determine whether the requesting terminal has completed the specified network authentication initialization, and when it is determined that the requesting terminal has completed the authentication initialization of the specified network, it is determined that the authentication result of the first service authentication request is successful, and the terminal information includes terminal identification information; the service platform is HTTP-based business platform; 所述第一业务认证请求中携带有所述业务平台对应业务的业务标识;The first service authentication request carries the service identifier of the service corresponding to the service platform; 采用如下方式确定所述请求终端是否完成所述指定网络的认证初始化:Determine whether the requesting terminal has completed the authentication initialization of the specified network in the following manner: 当接收到业务平台发送的、对请求登录所述业务平台的请求终端进行认证的第一业务认证请求时,基于所述业务标识生成第一令牌token,并将所述第一token发送给所述业务平台,When receiving the first service authentication request sent by the service platform to authenticate the requesting terminal requesting to log in to the service platform, generate a first token token based on the service identifier, and send the first token to all business platform, 其中,所述第一token用于所述业务平台将所述第一token发送给所述请求终端之后,所述请求终端以第一加密方式,使用所述第一token对所述请求终端的终端标识信息进行加密,将所述第一加密方式以及加密的终端标识信息发送给所述业务平台;Wherein, the first token is used after the service platform sends the first token to the requesting terminal, and the requesting terminal uses the first encryption method to encrypt the requesting terminal's terminal Encrypting the identification information, and sending the first encryption method and the encrypted terminal identification information to the service platform; 当接收到所述业务平台发送的携带所述第一加密方式以及加密的终端标识信息的第二业务认证请求时,根据与所述第一加密方式对应的第一解密方式,确定所述请求终端的终端标识信息,并根据保存的所述终端信息,确定所述请求终端是否完成所述指定网络的认证初始化。When receiving the second service authentication request sent by the service platform and carrying the first encryption method and encrypted terminal identification information, determine the requesting terminal according to the first decryption method corresponding to the first encryption method and determine whether the requesting terminal has completed the authentication initialization of the specified network according to the saved terminal information. 13.一种认证系统,其特征在于,包括:如权利要求7-9任一项所述的认证平台、如权利要求10-11任一项所述的业务平台、如权利要求12所述的指定网络的网元、以及多个终端。13. An authentication system, characterized in that it comprises: the authentication platform as claimed in any one of claims 7-9, the service platform as claimed in any one of claims 10-11, the service platform as claimed in claim 12 Specify network elements and multiple terminals of the network.
CN201310745612.9A 2013-12-30 2013-12-30 authentication method, authentication platform, service platform, network element and system Active CN104753872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310745612.9A CN104753872B (en) 2013-12-30 2013-12-30 authentication method, authentication platform, service platform, network element and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310745612.9A CN104753872B (en) 2013-12-30 2013-12-30 authentication method, authentication platform, service platform, network element and system

Publications (2)

Publication Number Publication Date
CN104753872A CN104753872A (en) 2015-07-01
CN104753872B true CN104753872B (en) 2018-10-12

Family

ID=53592990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310745612.9A Active CN104753872B (en) 2013-12-30 2013-12-30 authentication method, authentication platform, service platform, network element and system

Country Status (1)

Country Link
CN (1) CN104753872B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141881B (en) * 2015-09-30 2018-03-13 北京奇虎科技有限公司 A kind of method and terminal device for carrying out video calling
CN106850805A (en) * 2017-02-06 2017-06-13 网宿科技股份有限公司 A kind of data transmission method and device
CN108462760B (en) * 2018-03-21 2020-01-10 平安科技(深圳)有限公司 Electronic device, automatic cluster access domain name generation method and storage medium
CN112199656B (en) * 2020-12-03 2021-02-26 湖北亿咖通科技有限公司 Access authority acquisition method of service platform and access control method of service platform
CN113452782B (en) * 2021-06-28 2022-04-26 烽火通信科技股份有限公司 Upgrading method and device under mesh networking
CN114553442B (en) * 2022-04-24 2022-09-16 安徽云知科技有限公司 Enterprise internal remote conference method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1802016A (en) * 2005-06-21 2006-07-12 华为技术有限公司 Method for carrying out authentication on user terminal
CN101998406A (en) * 2009-08-31 2011-03-30 中国移动通信集团公司 WLAN access authentication based method for accessing services
CN102299928A (en) * 2011-09-13 2011-12-28 航天科工深圳(集团)有限公司 Network terminal service authentication method and device
CN102421098A (en) * 2010-09-27 2012-04-18 中国移动通信集团公司 User authentication method, device and system
WO2013127342A2 (en) * 2012-03-02 2013-09-06 中兴通讯股份有限公司 Ims single sign on combined authentication method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1802016A (en) * 2005-06-21 2006-07-12 华为技术有限公司 Method for carrying out authentication on user terminal
CN101998406A (en) * 2009-08-31 2011-03-30 中国移动通信集团公司 WLAN access authentication based method for accessing services
CN102421098A (en) * 2010-09-27 2012-04-18 中国移动通信集团公司 User authentication method, device and system
CN102299928A (en) * 2011-09-13 2011-12-28 航天科工深圳(集团)有限公司 Network terminal service authentication method and device
WO2013127342A2 (en) * 2012-03-02 2013-09-06 中兴通讯股份有限公司 Ims single sign on combined authentication method and system

Also Published As

Publication number Publication date
CN104753872A (en) 2015-07-01

Similar Documents

Publication Publication Date Title
JP5496907B2 (en) Key management for secure communication
CN103503408B (en) system and method for providing access credentials
US20160269176A1 (en) Key Configuration Method, System, and Apparatus
JP2020080530A (en) Data processing method, device, terminal and access point computer
WO2017028593A1 (en) Method for making a network access device access a wireless network access point, network access device, application server, and non-volatile computer readable storage medium
CN104753872B (en) authentication method, authentication platform, service platform, network element and system
CN101534192B (en) System used for providing cross-domain token and method thereof
EP1717986B1 (en) Key distribution method
CN111737723B (en) Service processing method, device and equipment
WO2012058896A1 (en) Method and system for single sign-on
WO2019099456A1 (en) System and method for securely activating a mobile device and storing an encryption key
CN1913437B (en) Initial session protocol application network and device and method for set-up of safety channel
CN102082665A (en) Identity authentication method, system and equipment in EAP (Extensible Authentication Protocol) authentication
WO2009053818A2 (en) Method and apparatus for providing secure linking to a user identity in a digital rights management system
CN103888414B (en) Data processing method and equipment
CN104683103A (en) Method and device for terminal device login authentication
CN112235290B (en) Block chain-based Internet of things equipment management method and first Internet of things equipment
JP5342818B2 (en) Management device, registered communication terminal, unregistered communication terminal, network system, management method, communication method, and computer program.
CN103024735B (en) Method and equipment for service access of card-free terminal
WO2021115686A1 (en) Enhancement of authentication
CN102111379A (en) Authentication system, method and device
CN102065069B (en) Method and system for authenticating identity and device
CN114765551B (en) SDP access control method and device based on blockchain
CN103781026A (en) Authentication method of general authentication mechanism
CN103905405A (en) IMS user registration method and device and related equipment

Legal Events

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