CN107948204B - One-key login method and system, related equipment and computer readable storage medium - Google Patents
One-key login method and system, related equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN107948204B CN107948204B CN201711482174.6A CN201711482174A CN107948204B CN 107948204 B CN107948204 B CN 107948204B CN 201711482174 A CN201711482174 A CN 201711482174A CN 107948204 B CN107948204 B CN 107948204B
- Authority
- CN
- China
- Prior art keywords
- user
- client
- server
- sdk
- verification information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0884—Network architectures or network communication protocols for network security for authentication of entities by delegation of authentication, e.g. a proxy authenticates an entity to be authenticated on behalf of this entity vis-à-vis an authentication entity
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开了一种一键登录方法,包括:若监测到一键登录操作,客户端调用SDK接口以短消息的方式将第一验证信息发送给网关服务器;调用SDK接口将登录请求消息发送给SDK服务器,所述登录请求消息中携带有第二验证信息;网关服务器获取发送所述短消息的用户标识,将第一验证信息和用户标识发送给SDK服务器;所述SDK服务器对第一验证信息和第二验证信息进行比对;若比对成功,将生成的认证成功消息发送给客户端,认证成功消息包括所述用户标识,认证成功消息用于表征所述客户端可将用户标识作为登录账号;所述客户端根据所述认证成功消息进行用户登录。本发明还同时公开了一种一键登录系统、客户端、网关服务器、以及计算机可读存储介质。
The invention discloses a one-key login method, comprising: if a one-key login operation is monitored, a client terminal calls an SDK interface to send first verification information to a gateway server in the form of a short message; calls the SDK interface to send a login request message to a gateway server The SDK server, the login request message carries the second verification information; the gateway server obtains the user ID that sent the short message, and sends the first verification information and the user ID to the SDK server; the SDK server verifies the first verification information Compare with the second verification information; if the comparison is successful, send the generated authentication success message to the client, where the authentication success message includes the user ID, and the authentication success message is used to indicate that the client can use the user ID as a login account; the client performs user login according to the authentication success message. The invention also discloses a one-key login system, a client, a gateway server, and a computer-readable storage medium.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种一键登录系统及方法、以及计算机可读存储介质。The present invention relates to the field of communication technologies, and in particular, to a one-key login system and method, and a computer-readable storage medium.
背景技术Background technique
随着互联网技术的发展,用户在各种应用中的安全认证问题亦成为一大关注点。目前,用户主要通过账号和密码的认证方式登录应用;然而,该认证方式比较复杂,使得用户在认证登录时操作比较繁琐,而一键登录的认证方式由于操作简单,因此,得到了广泛的应用。With the development of Internet technology, the security authentication of users in various applications has also become a major concern. At present, users mainly log in to the application through the authentication method of account number and password; however, this authentication method is relatively complicated, which makes the user's operation during authentication and login relatively cumbersome, and the one-key login authentication method is widely used due to its simple operation. .
相关技术中,一键登录方案主要包括:从移动终端的用户身份识别卡(SIM,Subscriber Identification Module)中获取IMSI码和第一号码;将所述IMSI码发送给服务器,并接收服务器反馈的第二号码;该第二号码为服务器根据所述IMSI码在IMSI码库中反查到的号码;判断所述第一号码与所述第二号码是否相同;若是,则通过所述IMSI码直接进行登录。In the related art, the one-key login scheme mainly includes: obtaining the IMSI code and the first number from the Subscriber Identification Module (SIM) of the mobile terminal; sending the IMSI code to the server, and receiving the first number fed back by the server. Second number; the second number is the number that the server reversely finds in the IMSI code base according to the IMSI code; judges whether the first number is the same as the second number; Log in.
然而,由于SIM卡中不一定包含号码信息,同时SIM卡中信息存在伪造的可能;因此,仅仅依赖于SIM卡识别确认用户来登录应用,安全性较低。However, since the SIM card does not necessarily contain number information, and the information in the SIM card may be forged; therefore, only relying on the SIM card to identify and confirm the user to log in to the application is less secure.
发明内容SUMMARY OF THE INVENTION
为解决现有技术存在的问题,本发明实施例期望提供一种一键登录方法及系统、相关设备以及计算机可读存储介质,能够提高通过用户标识进行一键登录的安全性。In order to solve the problems existing in the prior art, the embodiments of the present invention are expected to provide a one-key login method and system, a related device, and a computer-readable storage medium, which can improve the security of one-key login through a user ID.
本发明的技术方案是这样实现的:The technical scheme of the present invention is realized as follows:
本发明实施例提供了一种一键登录方法,应用于客户端,所述方法包括:An embodiment of the present invention provides a one-key login method, which is applied to a client, and the method includes:
若监测到一键登录操作,调用SDK接口以短消息的方式将第一验证信息发送给网关服务器;If a one-key login operation is detected, the SDK interface is called to send the first verification information to the gateway server in the form of a short message;
调用所述SDK接口将登录请求消息发送给SDK服务器,所述登录请求消息中携带有第二验证信息;calling the SDK interface to send a login request message to the SDK server, where the login request message carries the second verification information;
接收所述SDK服务器发送的认证成功消息,所述认证成功消息为所述SDK服务器对所述第一验证信息和第二验证信息进行比对,且比对成功之后生成的消息;所述认证成功消息包括用户标识,所述用户标识和第一验证信息是所述网关服务器发送给所述SDK服务器的,且所述用户标识为所述网关服务器获取的、发送所述短消息的通信标识;所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号;Receive an authentication success message sent by the SDK server, where the authentication success message is a message generated after the SDK server compares the first verification information and the second verification information, and the comparison is successful; the authentication is successful The message includes a user ID, and the user ID and the first verification information are sent by the gateway server to the SDK server, and the user ID is the communication ID obtained by the gateway server and sending the short message; The authentication success message is used to represent that the client can use the user ID as a login account;
根据所述认证成功消息进行用户登录。User login is performed according to the authentication success message.
上述方案中,所述根据所述认证成功消息进行用户登录,包括:In the above solution, the user login according to the authentication success message includes:
根据所述认证成功消息,生成与所述用户标识对应的用户凭证;generating a user credential corresponding to the user identifier according to the authentication success message;
通过客户端服务器向所述SDK服务器发送所述用户凭证,以供所述SDK服务器对所述用户凭证进行校验,并在校验成功后将所述用户凭证对应的用户信息发送给所述客户端服务器;The user credential is sent to the SDK server through the client server, so that the SDK server can verify the user credential, and after the verification is successful, the user information corresponding to the user credential is sent to the client end server;
接收所述客户端服务器发送的用户信息;receiving user information sent by the client server;
根据所述用户信息进行用户登录。User login is performed according to the user information.
上述方案中,所述调用SDK接口以短消息的方式将第一验证信息发送给网关服务器之前,所述方法还包括:In the above solution, before the calling SDK interface sends the first verification information to the gateway server in the form of a short message, the method further includes:
判断用户标识是否发生变更;Determine whether the user ID has changed;
若未发生变更,判断本地是否存储有认证成功消息;若是,根据存储的认证成功消息进行用户登录;若否,执行所述调用SDK接口以短消息的方式将第一验证信息发送给网关服务器的步骤,直至根据认证成功消息进行用户登录;或者,If there is no change, judge whether there is an authentication success message stored locally; if so, perform user login according to the stored authentication success message; steps until user login is performed according to the authentication success message; or,
若发生变更,执行所述调用SDK接口以短消息的方式将第一验证信息发送给网关服务器的步骤,直至根据认证成功消息进行用户登录。If there is a change, the step of invoking the SDK interface to send the first verification information to the gateway server in the form of a short message is performed until the user login is performed according to the authentication success message.
本发明实施例还提供了一种一键登录方法,应用于网关服务器,所述方法包括:The embodiment of the present invention also provides a one-key login method, which is applied to a gateway server, and the method includes:
以短消息的方式接收客户端发送的第一验证信息;Receive the first verification information sent by the client in the form of a short message;
获取发送所述短消息的用户标识;obtaining the user ID for sending the short message;
将所述第一验证信息和用户标识发送给SDK服务器,以供所述SDK服务器对所述第一验证信息和所述客户端发送的登录请求消息中的第二验证信息进行比对,且在比对成功之后将生成的认证成功消息发送给所述客户端,使得所述客户端根据所述认证成功消息进行用户登录,所述认证成功消息包括所述用户标识,所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号。Send the first verification information and the user ID to the SDK server, so that the SDK server compares the first verification information and the second verification information in the login request message sent by the client, and in After the comparison is successful, the generated authentication success message is sent to the client, so that the client performs user login according to the authentication success message, where the authentication success message includes the user ID, and the authentication success message is used for Characterizing the client may use the user identification as a login account.
上述方案中,所述获取发送所述短消息的用户标识,包括:In the above solution, the acquiring and sending the user identifier of the short message includes:
根据所述短消息中的客户端标识,确定所述客户端有一键登录的权限时,获取发送所述短消息的用户标识。According to the client identifier in the short message, when it is determined that the client has one-key login authority, the user identifier that sends the short message is acquired.
本发明实施例还提供了一种一键登录方法,所述方法包括:The embodiment of the present invention also provides a one-key login method, the method includes:
若监测到一键登录操作,客户端调用SDK接口以短消息的方式将第一验证信息发送给网关服务器;调用所述SDK接口将登录请求消息发送给SDK服务器,所述登录请求消息中携带有第二验证信息;If a one-key login operation is detected, the client calls the SDK interface to send the first verification information to the gateway server in the form of a short message; calls the SDK interface to send a login request message to the SDK server, where the login request message carries second verification information;
所述网关服务器获取发送所述短消息的用户标识,将所述第一验证信息和用户标识发送给所述SDK服务器;The gateway server obtains the user ID for sending the short message, and sends the first verification information and the user ID to the SDK server;
所述SDK服务器对所述第一验证信息和第二验证信息进行比对;若比对成功,将生成的认证成功消息发送给所述客户端,所述认证成功消息包括所述用户标识,所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号;The SDK server compares the first verification information and the second verification information; if the comparison is successful, sends the generated authentication success message to the client, where the authentication success message includes the user ID, and the The authentication success message is used to represent that the client can use the user ID as a login account;
所述客户端根据所述认证成功消息进行用户登录。The client performs user login according to the authentication success message.
上述方案中,所述SDK服务器将生成的认证成功消息发送给所述客户端之前,所述方法还包括:In the above solution, before the SDK server sends the generated authentication success message to the client, the method further includes:
所述SDK服务器根据所述用户标识,确定所述用户标识没有一键登录的权限时,对所述用户标识进行存储,以对所述用户标识进行注册,并根据所述用户标识,生成所述认证成功消息。When the SDK server determines, according to the user ID, that the user ID does not have one-key login authority, the SDK server stores the user ID to register the user ID, and generates the user ID according to the user ID. Authentication success message.
本发明实施例还提供了一种客户端,所述客户端包括:第一处理器、用于存储能够在第一处理器上运行的计算机程序的第一存储器;其中,An embodiment of the present invention further provides a client, where the client includes: a first processor and a first memory for storing a computer program that can run on the first processor; wherein,
所述第一处理器用于运行所述计算机程序时,执行实现上述终端侧一键登录方法。The first processor is configured to execute the above-mentioned terminal-side one-key login method when running the computer program.
本发明实施例还提供了一种客户端,所述客户端包括:第一发送模块、第二发送模块、接收模块和登录模块;其中,An embodiment of the present invention further provides a client, where the client includes: a first sending module, a second sending module, a receiving module, and a login module; wherein,
所述第一发送模块,用于若监测到一键登录操作,调用SDK接口以短消息的方式将第一验证信息发送给网关服务器;The first sending module is configured to call the SDK interface to send the first verification information to the gateway server in the form of a short message if a one-key login operation is monitored;
所述第二发送模块,用于调用所述SDK接口将登录请求消息发送给所述SDK服务器,所述登录请求消息中携带有第二验证信息;The second sending module is configured to call the SDK interface to send a login request message to the SDK server, where the login request message carries the second verification information;
所述接收模块,用于接收所述SDK服务器发送的认证成功消息,所述认证成功消息为所述SDK服务器对所述第一验证信息和第二验证信息进行比对,且比对成功之后生成的消息;所述认证成功消息包括用户标识,所述用户标识和第一验证信息是所述网关服务器发送给所述SDK服务器的,且所述用户标识为所述网关服务器获取的、发送所述短消息的通信标识;所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号;The receiving module is configured to receive an authentication success message sent by the SDK server. The authentication success message is that the SDK server compares the first verification information and the second verification information, and is generated after the comparison is successful. The authentication success message includes a user ID, the user ID and the first verification information are sent by the gateway server to the SDK server, and the user ID is obtained by the gateway server and sent to the SDK server. The communication identifier of the short message; the authentication success message is used to represent that the client can use the user identifier as a login account;
所述登录模块,用于根据所述认证成功消息进行用户登录。The login module is configured to perform user login according to the authentication success message.
本发明实施例还提供了一种网关服务器,所述网关服务器包括:第二处理器、用于存储能够在第二处理器上运行的计算机程序的第二存储器;其中,An embodiment of the present invention further provides a gateway server, where the gateway server includes: a second processor, and a second memory for storing a computer program that can run on the second processor; wherein,
所述第二处理器用于运行所述计算机程序时,执行实现上述服务器侧一键登录方法。The second processor is configured to execute the above-mentioned server-side one-key login method when running the computer program.
本发明实施例还提供了一种网关服务器,其特征在于,所述网关服务器包括:接收模块、获取模块和发送模块;其中,An embodiment of the present invention further provides a gateway server, characterized in that, the gateway server includes: a receiving module, an obtaining module, and a sending module; wherein,
所述接收模块,用于以短消息的方式接收客户端发送的第一验证信息;The receiving module is used to receive the first verification information sent by the client in the form of a short message;
所述获取模块,用于获取发送所述短消息的用户标识;The obtaining module is used to obtain the user identification for sending the short message;
所述发送模块,用于将所述第一验证信息和用户标识发送给SDK服务器,以供所述SDK服务器对所述第一验证信息和所述客户端发送的登录请求消息中的第二验证信息进行比对,且在比对成功之后将生成的认证成功消息发送给所述客户端,使得所述客户端根据所述认证成功消息进行用户登录,所述认证成功消息包括所述用户标识,所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号。The sending module is configured to send the first verification information and the user ID to the SDK server, so that the SDK server can verify the first verification information and the second verification in the login request message sent by the client. information is compared, and after the comparison is successful, the generated authentication success message is sent to the client, so that the client performs user login according to the authentication success message, and the authentication success message includes the user ID, The authentication success message is used to represent that the client can use the user identifier as a login account.
本发明实施例还提供了一种一键登录系统,所述系统包括:客户端、网关服务器和SDK服务器;其中,The embodiment of the present invention also provides a one-key login system, the system includes: a client, a gateway server and an SDK server; wherein,
所述客户端,用于若监测到一键登录操作,调用SDK接口以短消息的方式将第一验证信息发送给网关服务器;调用所述SDK接口将登录请求消息发送给SDK服务器,所述登录请求消息中携带有第二验证信息;The client is used to call the SDK interface to send the first verification information to the gateway server in the form of a short message if a one-key login operation is detected; call the SDK interface to send a login request message to the SDK server, and the login The request message carries the second verification information;
所述网关服务器,用于获取发送所述短消息的用户标识,将所述第一验证信息和用户标识发送给所述SDK服务器;The gateway server is used to obtain the user ID for sending the short message, and send the first verification information and the user ID to the SDK server;
所述SDK服务器,用于对所述第一验证信息和第二验证信息进行比对;若比对成功,将生成的认证成功消息发送给所述客户端,所述认证成功消息包括所述用户标识,所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号;The SDK server is used to compare the first verification information and the second verification information; if the comparison is successful, send the generated authentication success message to the client, where the authentication success message includes the user ID, the authentication success message is used to represent that the client can use the user ID as a login account;
所述客户端,用于根据所述认证成功消息进行用户登录。The client is configured to perform user login according to the authentication success message.
本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令的计算机程序被第一处理器执行时实现上述终端侧一键登录方法,或者被第二处理器执行时实现上述服务器侧一键登录方法。An embodiment of the present invention further provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when a computer program of the computer-executable instructions is executed by the first processor, the above-mentioned terminal side is implemented The one-key login method, or the above-mentioned server-side one-key login method is implemented when executed by the second processor.
本发明实施例提供的一键登录方法及系统,首先,若监测到一键登录操作,客户端调用SDK接口以短消息的方式将第一验证信息发送给网关服务器;调用所述SDK接口将登录请求消息发送给SDK服务器,所述登录请求消息中携带有第二验证信息;所述网关服务器获取发送所述短消息的用户标识,将所述第一验证信息和用户标识发送给所述SDK服务器;然后,所述SDK服务器对所述第一验证信息和第二验证信息进行比对;若比对成功,将生成的认证成功消息发送给所述客户端,所述认证成功消息包括所述用户标识,所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号;最后,所述客户端根据所述认证成功消息进行用户登录。In the one-key login method and system provided by the embodiments of the present invention, first, if a one-key login operation is detected, the client calls the SDK interface to send the first verification information to the gateway server in the form of a short message; The request message is sent to the SDK server, and the login request message carries the second verification information; the gateway server obtains the user ID that sent the short message, and sends the first verification information and the user ID to the SDK server Then, the SDK server compares the first verification information and the second verification information; if the comparison is successful, the generated authentication success message is sent to the client, and the authentication success message includes the user The authentication success message is used to indicate that the client terminal can use the user identifier as a login account; finally, the client terminal performs user login according to the authentication success message.
可见,本发明实施例中,客户端调用SDK接口以短消息的方式将第一验证信息发送给网关服务器,通过网关服务器验证并获取用户的用户标识,并在获取到该用户标识后与第一验证信息一起发送给SDK服务器;同时,客户端调用SDK接口将携带有第二验证信息的登录请求消息发送给SDK服务器,使得SDK服务器可以根据所述第一验证信息和第二验证信息,对所述用户标识进行认证。一方面,由于通过网关服务器验证并获取用户的用户标识,可以避免短消息被截取的风险;另一方面,由于客户端是发送验证信息的方式对用户标识进行认证,并在SDK服务器认证成功后将该用户标识作为一键登录的登录账号,可以避免客户端通过伪造信息的SIM卡进行登录的情况发生;因此,能够提高通过用户标识进行一键登录的安全性。并且,能够简化一键登录流程,减少时间消耗,从而能够节约登录时间。It can be seen that, in this embodiment of the present invention, the client calls the SDK interface to send the first verification information to the gateway server in the form of a short message, and the gateway server verifies and obtains the user ID of the user, and after obtaining the user ID, communicates with the first verification information. The verification information is sent to the SDK server together; at the same time, the client calls the SDK interface to send the login request message carrying the second verification information to the SDK server, so that the SDK server can, according to the first verification information and the second verification information, User ID for authentication. On the one hand, the risk of short messages being intercepted can be avoided because the user ID of the user is verified and obtained through the gateway server; Using the user ID as a login account for one-key login can prevent the client from logging in through a SIM card with forged information; therefore, the security of one-key login through the user ID can be improved. In addition, the one-key login process can be simplified, time consumption can be reduced, and login time can be saved.
附图说明Description of drawings
在附图(其不一定是按比例绘制的)中,相似的附图标记可在不同的视图中描述相似的部件。具有不同字母后缀的相似附图标记可表示相似部件的不同示例。附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。In the drawings, which are not necessarily to scale, like reference numerals may describe like parts in the different views. Similar reference numbers with different letter suffixes may denote different instances of similar components. The accompanying drawings generally illustrate, by way of example and not limitation, the various embodiments discussed herein.
图1为本发明一键登录方法实施例一的实现流程示意图;FIG. 1 is a schematic diagram of the implementation flow of Embodiment 1 of the one-key login method according to the present invention;
图2为本发明实施例中一键登录系统的示意图;2 is a schematic diagram of a one-key login system in an embodiment of the present invention;
图3为本发明一键登录方法实施例二的具体实现示意图;3 is a schematic diagram of a specific implementation of Embodiment 2 of the one-key login method of the present invention;
图4为本发明实施例客户端的组成结构示意图;4 is a schematic diagram of a composition structure of a client according to an embodiment of the present invention;
图5为本发明实施例客户端的硬件组成结构示意图;FIG. 5 is a schematic diagram of a hardware composition structure of a client according to an embodiment of the present invention;
图6为本发明实施例网关服务器的组成结构示意图;FIG. 6 is a schematic diagram of a composition structure of a gateway server according to an embodiment of the present invention;
图7为本发明实施例网关服务器的硬件组成结构示意图。FIG. 7 is a schematic structural diagram of a hardware composition of a gateway server according to an embodiment of the present invention.
具体实施方式Detailed ways
从背景技术的描述可以看出,相关技术中,在进行一键登录时,若仅仅依赖于SIM卡识别确认用户来登录应用,存在安全性较低的问题。As can be seen from the description of the background art, in the related art, when performing one-key login, if only relying on the SIM card to identify and confirm the user to log in to the application, there is a problem of low security.
比如,当SIM卡中仅有SIM卡的自身信息而没有号码信息时,此时是无法通过比较号码信息来确认用户的;又比如,若用户的SIM卡丢失,新复制的SIM卡中的IMSI码必然与之前的IMSI码不同,如果以新复制的SIM卡直接进行登录应用,此时由于IMSI码信息无法匹配成功,该用户将会禁止登录。For example, when there is only the SIM card's own information but no number information in the SIM card, it is impossible to confirm the user by comparing the number information; for another example, if the user's SIM card is lost, the IMSI in the newly copied SIM card The code must be different from the previous IMSI code. If the newly copied SIM card is used to log in to the application directly, the user will be prohibited from logging in because the IMSI code information cannot be successfully matched.
因此,如果仅仅依赖于SIM卡来识别确认用户,将会存在一键登录的安全性较低的问题。Therefore, if only relying on the SIM card to identify and confirm the user, there will be a problem of low security of one-key login.
基于此,本发明实施例中,首先,若监测到一键登录操作,客户端调用SDK接口以短消息的方式将第一验证信息发送给网关服务器;调用所述SDK接口将登录请求消息发送给SDK服务器,所述登录请求消息中携带有第二验证信息;所述网关服务器获取发送所述短消息的用户标识,将所述第一验证信息和用户标识发送给所述SDK服务器;然后,所述SDK服务器对所述第一验证信息和第二验证信息进行比对;若比对成功,将生成的认证成功消息发送给所述客户端,所述认证成功消息包括所述用户标识,所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号;最后,所述客户端根据所述认证成功消息进行用户登录。Based on this, in this embodiment of the present invention, first, if a one-key login operation is detected, the client calls the SDK interface to send the first verification information to the gateway server in the form of a short message; calls the SDK interface to send the login request message to the gateway server. The SDK server, the login request message carries the second verification information; the gateway server obtains the user ID that sent the short message, and sends the first verification information and the user ID to the SDK server; The SDK server compares the first verification information and the second verification information; if the comparison is successful, sends the generated authentication success message to the client, where the authentication success message includes the user ID, and the The authentication success message is used to indicate that the client terminal can use the user ID as a login account; finally, the client terminal performs user login according to the authentication success message.
可见,本发明实施例中,一方面,由于通过网关服务器验证并获取用户的用户标识,可以避免短消息被截取的风险;另一方面,由于客户端是发送验证信息的方式对用户标识进行认证,并在SDK服务器认证成功后将该用户标识作为一键登录的登录账号,可以避免客户端通过伪造信息的SIM卡进行登录的情况发生;因此,能够提高通过用户标识进行一键登录的安全性。It can be seen that, in this embodiment of the present invention, on the one hand, the risk of short messages being intercepted can be avoided because the user ID of the user is verified and obtained by the gateway server; on the other hand, since the client verifies the user ID by sending verification information , and after the SDK server authentication is successful, the user ID is used as the login account for one-key login, which can prevent the client from logging in through the SIM card with forged information; therefore, it can improve the security of one-key login through the user ID. .
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The realization, functional characteristics and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
图1为本发明一键登录方法实施例一的实现流程示意图,参照图1所示,本实施例的一键登录方法包括以下步骤:FIG. 1 is a schematic diagram of the implementation flow of Embodiment 1 of the one-key login method of the present invention. Referring to FIG. 1 , the one-key login method of this embodiment includes the following steps:
步骤101,若监测到一键登录操作,客户端调用SDK接口以短消息的方式将第一验证信息发送给网关服务器;调用所述SDK接口将登录请求消息发送给SDK服务器,所述登录请求消息中携带有第二验证信息;
本实施例的一键登录方法,应用于如图2所示的一键登录系统中,所述一键登录系统包括客户端、网关服务器和SDK服务器,用于当用户进行一键登录应用时,对该用户的用户标识进行认证,并在认证成功后,将所述用户标识作为登录账号进行一键登录。The one-key login method of this embodiment is applied to the one-key login system as shown in FIG. 2 . The one-key login system includes a client, a gateway server and an SDK server, and is used for when a user performs a one-key login application, The user identification of the user is authenticated, and after the authentication is successful, the user identification is used as a login account to perform one-key login.
这里,客户端可以预先设置一键登录操作,比如,可以将触发客户端登录界面上的某一按钮、或某一图标、或某一浮标、或某一文本框的操作作为一键登录操作,也可以将在客户端登录界面进行预设滑动的操作作为一键登录操作,还可以将直接触发所述客户端的图标的操作作为一键登录操作等。Here, the client can preset a one-key login operation. For example, an operation that triggers a button, or an icon, or a certain buoy, or a certain text box on the login interface of the client can be used as a one-key login operation. The operation of preset sliding on the login interface of the client terminal may also be regarded as a one-key login operation, and the operation of directly triggering the icon of the client terminal may be regarded as a one-key login operation, and the like.
所述一键登录操作的触发方式可以为点击操作方式,也可以为触摸操作方式,还可以为声控操作方式。The triggering mode of the one-key login operation may be a click operation mode, a touch operation mode, or a voice control operation mode.
所述客户端会实时监控用户是否触发了一键登录操作,当用户触发了预设的一键登录操作时,客户端可以接收到登录操作指令,此时,客户端可以确定已经监控到了一键登录操作。The client terminal will monitor in real time whether the user triggers a one-key login operation. When the user triggers a preset one-key login operation, the client terminal can receive the login operation instruction, and at this time, the client terminal can determine that the one-key login operation has been monitored. Login action.
这里,所述客户端可以为应用程序App客户端,在App客户端监测到一键登录操作之后,所述App客户端调用SDK接口以短消息的方式将第一验证信息发送给网关服务器。Here, the client may be an application program App client, and after the App client monitors the one-key login operation, the App client calls the SDK interface to send the first verification information to the gateway server in the form of a short message.
其中,所述第一验证信息可以为由SDK接口随机生成的一串字符串,所述字符串可以为任意位数,比如32位;为了保证后续存储在SDK服务器中不会出现两个以上相同的验证信息,从而保证认证的安全性,所述第一验证信息可以为唯一的标识信息,例如,可以使用通用唯一识别码(UUID,Universally Unique Identifier)作为第一验证信息。当然,所述第一验证信息可以为其他的标识信息,这里将不对其进行详细阐述。Wherein, the first verification information may be a string of strings randomly generated by the SDK interface, and the string may be any number of digits, such as 32 digits; in order to ensure that more than two identical characters will not appear in the subsequent storage in the SDK server The first verification information can be unique identification information, for example, a Universally Unique Identifier (UUID, Universally Unique Identifier) can be used as the first verification information. Of course, the first verification information may be other identification information, which will not be described in detail here.
所述SDK接口可以为嵌入在终端设备中的认证SDK模块的一键登录接口。The SDK interface may be a one-key login interface of the authentication SDK module embedded in the terminal device.
所述网关服务器可以为短信网关服务器,客户端调用SDK接口通过短消息的方式将第一验证信息发送到指定的短信端口,短信网关服务器在接收到指定端口的短消息之后,会获取所述短消息中的客户端标识,并对所述客户端标识进行校验。The gateway server can be a short message gateway server, and the client calls the SDK interface to send the first verification information to the specified short message port by means of short messages. After receiving the short message of the specified port, the short message gateway server will obtain the short message. The client identifier in the message, and the client identifier is verified.
具体地,所述短信网关服务器在本地可以存储有具有一键登录权限的客户端标识,所述短信网关服务器可以将短消息中的客户端标识与本地存储的客户端标识进行匹配,若匹配成功,则确定所述客户端标识对应的客户端具有一键登录的权限;若匹配失败,则确定所述客户端标识对应的客户端不具有一键登录的权限,此时,所述短信网关服务器可以通过短消息的方式将登录失败的相关信息返回给所述客户端。Specifically, the short message gateway server may locally store a client identifier with one-key login authority, and the short message gateway server may match the client identifier in the short message with the locally stored client identifier, and if the matching is successful , then it is determined that the client corresponding to the client ID has the one-key login authority; if the match fails, it is determined that the client corresponding to the client ID does not have the one-key login authority, at this time, the SMS gateway server The relevant information of the login failure can be returned to the client in the form of a short message.
同时,客户端调用SDK接口将短消息发送成功之后,所述客户端会调用SDK接口将登陆请求消息发送给SDK服务器,所述登录请求消息携带有第二验证信息,所述第二验证信息与上述提到的第一验证信息相同,比如,可以为相同的UUID。At the same time, after the client terminal calls the SDK interface to send the short message successfully, the client terminal will call the SDK interface to send a login request message to the SDK server, where the login request message carries the second verification information, and the second verification information is the same as the The above-mentioned first verification information is the same, for example, may be the same UUID.
在一键登录应用时,该步骤通过客户端调用SDK接口直接发送短消息和登录请求消息,流程简单,可以相应节省登录时间。另外,由客户端调用SDK接口随机生成验证信息,使得客户端可以不仅仅依赖于SIM卡来识别确认用户,从而能够提高一键登录的安全性。When logging in to the application with one click, in this step, the client directly sends short messages and login request messages by calling the SDK interface. The process is simple, and the login time can be saved accordingly. In addition, the authentication information is randomly generated by the client calling the SDK interface, so that the client can not only rely on the SIM card to identify and confirm the user, thereby improving the security of one-click login.
步骤102,所述网关服务器获取发送所述短消息的用户标识,将所述第一验证信息和用户标识发送给所述SDK服务器;
这里,所述短信网关服务器在确定所述客户端标识对应的客户端具有一键登录的权限时,会相应查询到发送该短消息的用户标识,以验证该用户标识是否真实以及安全,保证一键登录认证的安全性。当验证该用户标识正确之后,所述短信网关服务器会获取该用户标识,并协同第一验证信息一起发送给所述SDK服务器。Here, when the short message gateway server determines that the client corresponding to the client identifier has the one-key login authority, it will correspondingly query the user identifier that sent the short message, so as to verify whether the user identifier is authentic and safe, and to ensure a Key login authentication security. After verifying that the user ID is correct, the SMS gateway server will obtain the user ID, and send the user ID to the SDK server together with the first verification information.
SDK服务器接收到第一验证信息和用户标识之后,会将所述第一验证信息和用户标识关联保存至临时缓存中。After receiving the first verification information and the user ID, the SDK server will associate and save the first verification information and the user ID in a temporary cache.
该步骤通过短信网关服务器验证并获取用户的用户标识,可以保证用户的真实性和安全性,并且能够避免信息被截取的风险,节约登录时间。In this step, the user ID of the user is verified and obtained by the SMS gateway server, which can ensure the authenticity and security of the user, avoid the risk of information interception, and save login time.
步骤103,所述SDK服务器对所述第一验证信息和第二验证信息进行比对;若比对成功,将生成的认证成功消息发送给所述客户端,所述认证成功消息包括所述用户标识,所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号;
这里,所述SDK服务器接收到第二验证信息之后,将所述第二验证信息与临时缓存中的验证信息进行逐一比对,如果比对失败,临时缓存中不存在与第二验证信息相同的第一验证信息,则说明用户标识并没有通过短信网关服务器的校验或者短消息被截取,用户标识认证失败,SDK服务器会相应发送认证失败消息给客户端,此时,用户一键登录应用失败。Here, after receiving the second verification information, the SDK server compares the second verification information with the verification information in the temporary cache one by one. If the comparison fails, there is no same verification information as the second verification information in the temporary cache. The first verification information indicates that the user ID does not pass the verification of the SMS gateway server or the short message is intercepted, and the user ID authentication fails. The SDK server will send an authentication failure message to the client accordingly. At this time, the user fails to log in to the application with one click. .
如果比对成功,临时缓存中存在与第二验证信息相同的第一验证信息,用户标识认证成功,SDK服务器进一步确定所述用户标识是否有一键登录的权限,如果所述用户标识有一键登录的权限,直接生成所述认证成功消息发送给所述客户端;如果所述用户标识没有一键登录的权限,所述SDK服务器将所述用户标识存储至用户中心,以对所述用户标识进行注册,然后再生成所述认证成功消息发送给所述客户端。If the comparison is successful, the first verification information that is the same as the second verification information exists in the temporary cache, and the authentication of the user ID is successful, and the SDK server further determines whether the user ID has the right to log in with one key. authority, directly generate the authentication success message and send it to the client; if the user ID does not have one-key login authority, the SDK server stores the user ID in the user center to register the user ID , and then generate the authentication success message and send it to the client.
所述SDK服务器可以通过将收到的用户标识与用户中心存储的用户标识进行匹配,来确定所述用户标识是否有一键登录的权限,如果匹配成功,则确定所述用户标识有一键登录的权限,如果匹配失败,则确定所述用户标识没有一键登录的权限。The SDK server can determine whether the user ID has a one-key login authority by matching the received user ID with the user ID stored in the user center, and if the matching is successful, then determine that the user ID has a one-key login authority. , and if the match fails, it is determined that the user ID does not have the right to log in with one key.
该步骤通过SDK服务器将第一验证信息和第二验证信息进行比对,以对收到的用户标识进行认证,在认证成功之后,可将所述用户标识作为登录账号。这样,客户端可以直接使用用户标识进行注册和登录,从而在登录应用时,无需设置密码,除非用户手动设置密码,否则无法使用账密登录,进而能够降低密码被盗风险,提高账号安全性。In this step, the SDK server compares the first verification information with the second verification information to authenticate the received user ID, and after the authentication is successful, the user ID can be used as a login account. In this way, the client can directly use the user ID for registration and login, so that when logging into the application, there is no need to set a password. Unless the user manually sets a password, the account password cannot be used to log in, thereby reducing the risk of password theft and improving account security.
另外,若用户标识在用户中心不存在,则SDK服务器可以直接给该用户标识进行注册,无需用户主动对该用户标识进行注册,从而可以简化登录流程。In addition, if the user ID does not exist in the user center, the SDK server can directly register the user ID without the need for the user to actively register the user ID, thereby simplifying the login process.
应用说明的是,SDK服务器与客户端之间主要是依靠认证SDK模块来进行交互的,也就是说,如果SDK服务器要将信息发送给客户端或者客户端要将信息发送给SDK服务器的话,需要先发送给认证SDK模块,然后再转发给SDK服务器或者客户端。The application shows that the interaction between the SDK server and the client mainly relies on the authentication SDK module. That is to say, if the SDK server wants to send information to the client or the client wants to send information to the SDK server, it needs to It is sent to the authentication SDK module first, and then forwarded to the SDK server or client.
步骤104,所述客户端根据所述认证成功消息进行用户登录。
如图2所示的一键登录系统,所述一键登录系统还可以包括客户端服务器,所述客户端根据所述认证成功消息进行用户登录时,首先,根据所述认证成功消息,生成与所述用户标识对应的用户凭证;然后,通过客户端服务器向所述SDK服务器发送所述用户凭证,以供所述SDK服务器对所述用户凭证进行校验,并在校验成功后将所述用户凭证对应的用户信息发送给所述客户端服务器;并接收所述客户端服务器发送的用户信息;最后,根据所述用户信息进行用户登录。As shown in FIG. 2, the one-key login system may further include a client server. When the client logs in the user according to the authentication success message, firstly, according to the authentication success message, generate a The user credential corresponding to the user identification; then, the client server sends the user credential to the SDK server for the SDK server to verify the user credential, and after the verification is successful, the user credential is sent to the SDK server. The user information corresponding to the user credential is sent to the client server; the user information sent by the client server is received; finally, the user login is performed according to the user information.
所述用户凭证包括所述用户标识,为了保证一键登录的安全性,所述用户凭证可以为对所述用户标识进行加密后获得的加密信息,所述客户端获得所述认证成功消息中的用户标识之后,对所述用户标识进行加密,生成所述用户凭证并发送给客户端服务器。相应地,客户端服务器接收到所述用户凭证之后,对所述用户凭证进行解密,获得所述用户标识,并发送到SDK服务器进行校验。The user credential includes the user ID. In order to ensure the security of one-key login, the user credential may be encrypted information obtained by encrypting the user ID. The client obtains the authentication success message. After the user identification, the user identification is encrypted, and the user credential is generated and sent to the client server. Correspondingly, after receiving the user credential, the client server decrypts the user credential, obtains the user ID, and sends it to the SDK server for verification.
此外,客户端还可以将认证成功消息存储至本地,以便在下次进行一键登录时,均可以通过本地存储的认证成功消息直接获得用户凭证,从而无需重新发送短消息和登录请求消息,避免登录账号的校验,也不用每次获取登录账号,仅使用用户凭证校验就可以实现一键登录,进而大大加快了登录速度。In addition, the client can also store the authentication success message locally, so that the next time a one-key login is performed, the user credentials can be directly obtained through the locally stored authentication success message, so that there is no need to resend the short message and login request message and avoid login. For account verification, it is not necessary to obtain the login account every time, and only one-click login can be achieved by using user credential verification, which greatly speeds up the login speed.
综上,本发明实施例中,在一键登录时,首先,客户端直接调用SDK接口以短消息的方式将第一验证信息发送给网关服务器,同时,将携带有第二验证信息的登录请求消息发送给SDK服务器,其流程非常简单,可以节省登录时间;然后,通过网关服务器验证并获取用户的用户标识,协同第一验证信息一起发送给所述SDK服务器,这样,可以保证用户的真实性和安全性,减少信息被截取的风险,同时,通过网关服务器这一通信路径,将用户标识发送至SDK服务器进行校验,能够保证信息的安全以及私密性;最后,SDK服务器根据所述第一验证信息和第二验证信息,对所述用户标识进行认证,并在认证成功之后,将该用户标识作为登录账号来登录应用,这样,直接使用用户标识进行注册和登录,无需设置密码,除非用户手动设置密码,否则无法使用账密登录,进而能够降低密码被盗风险,提高账号安全性。To sum up, in this embodiment of the present invention, during one-key login, first, the client directly calls the SDK interface to send the first verification information to the gateway server in the form of a short message, and at the same time, sends a login request carrying the second verification information The message is sent to the SDK server, and the process is very simple, which can save the login time; then, the user ID of the user is verified through the gateway server, and sent to the SDK server together with the first verification information, so that the authenticity of the user can be guaranteed. At the same time, through the communication path of the gateway server, the user ID is sent to the SDK server for verification, which can ensure the security and privacy of the information; finally, the SDK server The verification information and the second verification information are used to authenticate the user ID, and after the authentication is successful, the user ID is used as a login account to log in to the application. In this way, the user ID is directly used for registration and login without setting a password, unless the user Manually set the password, otherwise the account password cannot be used to log in, which can reduce the risk of password theft and improve account security.
为了更加清楚的描述本发明实施例提供的方案,在本发明实施例二中,结合图3,将详细介绍本发明一键登录方法的具体实现过程。In order to describe the solution provided by the embodiment of the present invention more clearly, in the second embodiment of the present invention, with reference to FIG. 3 , the specific implementation process of the one-key login method of the present invention will be described in detail.
客户端监测到一键登录操作,调用认证SDK模块的一键登录接口;When the client detects the one-key login operation, it calls the one-key login interface of the authentication SDK module;
认证SDK模块的一键登录接口生成第一验证信息,该第一验证信息可以为一个32位的随机字符串UUID;The one-key login interface of the authentication SDK module generates first verification information, and the first verification information can be a 32-bit random string UUID;
认证SDK模块将第一验证信息通过短消息的方式发送到网关服务器的指定端口;The authentication SDK module sends the first verification information to the designated port of the gateway server by means of a short message;
网关服务器查询发送该短消息的用户标识;The gateway server queries the user ID for sending the short message;
网关服务器查询到该用户标识之后,协同第一验证信息发送给SDK服务器;After the gateway server queries the user ID, it cooperates with the first verification information and sends it to the SDK server;
SDK服务器将用户标识和第一验证信息关联保存至临时缓存中;The SDK server associates and saves the user ID and the first verification information in the temporary cache;
认证SDK模块发送携带有第二验证信息的登录请求消息给SDK服务器,第二验证信息和第一验证信息的内容相同;The authentication SDK module sends a login request message carrying the second verification information to the SDK server, and the second verification information is the same as the first verification information;
SDK服务器将第二验证信息与临时缓存中的验证信息进行逐一比对,若比对成功,即说明临时缓存中存在第一验证信息,生成认证成功消息,并发送给认证SDK模块;The SDK server compares the second verification information with the verification information in the temporary cache one by one. If the comparison is successful, it means that the first verification information exists in the temporary cache, generates an authentication success message, and sends it to the authentication SDK module;
认证SDK模块保存所述认证成功消息,并生成用户凭证,返回给客户端;The authentication SDK module saves the authentication success message, generates a user credential, and returns it to the client;
客户端将用户凭证发送给客户端服务器;The client sends the user credentials to the client server;
客户端服务器将用户凭证发送给SDK服务器,由SDK服务器对用户凭证进行校验;The client server sends the user credentials to the SDK server, and the SDK server verifies the user credentials;
若校验成功,返回校验结果和用户信息;If the verification is successful, return the verification result and user information;
客户端服务器将用户信息发送给客户端,以使客户端完成登录。The client server sends the user information to the client so that the client completes the login.
下面结合应用实施例对本发明再次进一步详细的描述。The present invention will be described in further detail below in conjunction with application examples.
用户使用一键登录时,App客户端调用认证SDK模块的一键登录接口,认证SDK模块检测终端设备中是否有SIM卡,如果没有SIM卡,则直接返回一键登录失败。When the user uses one-key login, the App client calls the one-key login interface of the authentication SDK module, and the authentication SDK module detects whether there is a SIM card in the terminal device. If there is no SIM card, it directly returns the one-key login failure.
认证SDK模块如果检测到SIM卡,则读取SIM卡信息和终端设备信息,作为判断一键登录的用户标识是否发生变更的依据。具体地,认证SDK模块比较当前的SIM卡信息和终端设备信息与上一次记录的SIM卡信息和终端设备信息是否相同;如果当前的SIM卡信息和终端设备信息与上一次记录的SIM卡信息和终端设备信息不符,则删除上一次记录的SIM卡信息和终端设备信息,并将当前的SIM卡信息和终端设备信息进行存储;同时删除本地存储的认证成功消息,启动认证流程,重新对新的用户标识进行认证。如果相同,则查找本地是否存储有一键登录的认证成功消息。If the authentication SDK module detects the SIM card, it will read the SIM card information and the terminal device information as a basis for judging whether the user ID of the one-key login has changed. Specifically, the authentication SDK module compares whether the current SIM card information and terminal device information are the same as the last recorded SIM card information and terminal device information; if the current SIM card information and terminal device information are the same as the last recorded SIM card information and If the terminal device information does not match, delete the last recorded SIM card information and terminal device information, and store the current SIM card information and terminal device information; at the same time, delete the locally stored authentication success message, start the authentication process, and re-register the new one. User ID for authentication. If they are the same, check whether the authentication success message of one-key login is stored locally.
如果存在认证成功消息,则认证SDK模块通过该认证成功消息生成用户凭证,并将该用户凭证传给App客户端;App客户端将用户凭证传给App客户端服务器,由App客户端服务器到SDK服务器去校验该用户凭证,校验成功之后,SDK服务器通过App客户端服务器返回用户信息给客户端,以完成登录。如果不存在认证成功消息,则启动认证流程,重新对用户标识进行认证。If there is an authentication success message, the authentication SDK module generates a user credential through the authentication success message, and transmits the user credential to the App client; the App client transmits the user credential to the App client server, and the App client server sends the SDK to the SDK. The server verifies the user credentials. After the verification is successful, the SDK server returns the user information to the client through the App client server to complete the login. If there is no authentication success message, start the authentication process and re-authenticate the user ID.
为实现本发明实施例的方法,本发明实施例还提供了一种一键登录系统,如图2所示,该一键登录系统包括:客户端、网关服务器和SDK服务器;其中,To implement the method of the embodiment of the present invention, the embodiment of the present invention further provides a one-key login system, as shown in FIG. 2 , the one-key login system includes: a client, a gateway server and an SDK server; wherein,
所述客户端,用于若监测到一键登录操作,调用SDK接口以短消息的方式将第一验证信息发送给网关服务器;调用所述SDK接口将登录请求消息发送给SDK服务器,所述登录请求消息中携带有第二验证信息;The client is used to call the SDK interface to send the first verification information to the gateway server in the form of a short message if a one-key login operation is detected; call the SDK interface to send a login request message to the SDK server, and the login The request message carries the second verification information;
所述网关服务器,用于获取发送所述短消息的用户标识,将所述第一验证信息和用户标识发送给所述SDK服务器;The gateway server is used to obtain the user ID for sending the short message, and send the first verification information and the user ID to the SDK server;
所述SDK服务器,用于对所述第一验证信息和第二验证信息进行比对;若比对成功,将生成的认证成功消息发送给所述客户端,所述认证成功消息包括所述用户标识,所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号;The SDK server is used to compare the first verification information and the second verification information; if the comparison is successful, send the generated authentication success message to the client, where the authentication success message includes the user ID, the authentication success message is used to represent that the client can use the user ID as a login account;
所述客户端,用于根据所述认证成功消息进行用户登录。The client is configured to perform user login according to the authentication success message.
可选地,所述SDK服务器,还用于根据所述用户标识,确定所述用户标识没有一键登录的权限时,对所述用户标识进行存储,以对所述用户标识进行注册,并根据所述用户标识,生成所述认证成功消息。Optionally, the SDK server is further configured to, according to the user ID, store the user ID when it is determined that the user ID does not have one-key login authority, so as to register the user ID, and record the user ID according to the user ID. The user identification generates the authentication success message.
可选地,所述网关服务器,具体用于根据所述短消息中的客户端标识,确定所述客户端有一键登录的权限时,获取发送所述短消息的用户标识。Optionally, the gateway server is specifically configured to acquire the user identifier for sending the short message when it is determined that the client has one-key login authority according to the client identifier in the short message.
可选地,该一键登录系统还包括客户端服务器,所述客户端,具体用于根据所述认证成功消息,生成与所述用户标识对应的用户凭证;通过客户端服务器向所述SDK服务器发送所述用户凭证,以供所述SDK服务器对所述用户凭证进行校验,并在校验成功后将所述用户凭证对应的用户信息发送给所述客户端服务器;接收所述客户端服务器发送的用户信息;根据所述用户信息进行用户登录。Optionally, the one-key login system further includes a client server, the client is specifically configured to generate a user credential corresponding to the user ID according to the authentication success message; send the SDK server to the SDK server through the client server. Send the user credential for the SDK server to verify the user credential, and after the verification is successful, send the user information corresponding to the user credential to the client server; receive the client server User information sent; user login is performed according to the user information.
可选地,所述客户端,还用于判断用户标识是否发生变更;若未发生变更,判断本地是否存储有认证成功消息;若是,根据存储的认证成功消息进行用户登录;若否,执行所述调用SDK接口以短消息的方式将第一验证信息发送给网关服务器的步骤,直至根据认证成功消息进行用户登录;或者,若发生变更,执行所述调用SDK接口以短消息的方式将第一验证信息发送给网关服务器的步骤,直至根据认证成功消息进行用户登录。Optionally, the client terminal is also used to judge whether the user ID has changed; if no change has occurred, judge whether an authentication success message is stored locally; if so, perform user login according to the stored authentication success message; The steps of calling the SDK interface to send the first verification information to the gateway server in the form of a short message, until the user login is performed according to the authentication success message; The step of sending the authentication information to the gateway server until the user login is performed according to the authentication success message.
根据以上描述可见,对于客户端而言,客户端若监测到一键登录操作,调用SDK接口以短消息的方式将第一验证信息发送给网关服务器;调用所述SDK接口将登录请求消息发送给SDK服务器,所述登录请求消息中携带有第二验证信息;接收所述SDK服务器发送的认证成功消息,所述认证成功消息为所述SDK服务器对所述第一验证信息和第二验证信息进行比对,且比对成功之后生成的消息;所述认证成功消息包括用户标识,所述用户标识和第一验证信息是所述网关服务器发送给所述SDK服务器的,且所述用户标识为所述网关服务器获取的、发送所述短消息的通信标识;所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号;根据所述认证成功消息进行用户登录。各步骤的具体实现与以上描述相同,在此不再赘述。According to the above description, for the client, if the client monitors the one-key login operation, it calls the SDK interface to send the first verification information to the gateway server in the form of a short message; calls the SDK interface to send the login request message to the gateway server. SDK server, the login request message carries the second verification information; receiving the authentication success message sent by the SDK server, the authentication success message is that the SDK server performs the first verification information and the second verification information on the first verification information and the second verification information. Comparison, and the message generated after the comparison is successful; the authentication success message includes a user ID, and the user ID and the first verification information are sent by the gateway server to the SDK server, and the user ID is the The authentication success message is used to indicate that the client can use the user identifier as a login account; and the user login is performed according to the authentication success message. The specific implementation of each step is the same as the above description, and is not repeated here.
为实现本发明实施例一键登录方法,本发明实施例还提供了一种客户端,图4为本发明实施例客户端的组成结构示意图,参照图4所示,本实施例的客户端包括:第一发送模块21、第二发送模块22、接收模块23和登录模块24;其中,In order to implement the one-key login method according to the embodiment of the present invention, the embodiment of the present invention further provides a client. FIG. 4 is a schematic diagram of the composition and structure of the client according to the embodiment of the present invention. Referring to FIG. 4 , the client in this embodiment includes: The first sending module 21, the second sending module 22, the receiving module 23 and the logging module 24; wherein,
所述第一发送模块21,用于若监测到一键登录操作,调用SDK接口以短消息的方式将第一验证信息发送给网关服务器;The first sending module 21 is configured to call the SDK interface to send the first verification information to the gateway server in the form of a short message if a one-key login operation is monitored;
所述第二发送模块22,用于调用所述SDK接口将登录请求消息发送给SDK服务器,所述登录请求消息中携带有第二验证信息;The second sending module 22 is configured to call the SDK interface to send a login request message to the SDK server, where the login request message carries the second verification information;
所述接收模块23,用于接收所述SDK服务器发送的认证成功消息,所述认证成功消息为所述SDK服务器对所述第一验证信息和第二验证信息进行比对,且比对成功之后生成的消息;所述认证成功消息包括用户标识,所述用户标识和第一验证信息是所述网关服务器发送给所述SDK服务器的,且所述用户标识为所述网关服务器获取的、发送所述短消息的通信标识;所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号;The receiving module 23 is configured to receive an authentication success message sent by the SDK server, where the authentication success message is that the SDK server compares the first verification information and the second verification information, and after the comparison is successful The generated message; the authentication success message includes a user ID, the user ID and the first verification information are sent by the gateway server to the SDK server, and the user ID is obtained by the gateway server and sent to the SDK server. The communication identifier of the short message; the authentication success message is used to represent that the client can use the user identifier as a login account;
所述登录模块24,用于根据所述认证成功消息进行用户登录。The login module 24 is configured to perform user login according to the authentication success message.
可选地,所述登录模块24,具体用于根据所述认证成功消息,生成与所述用户标识对应的用户凭证;通过客户端服务器向所述SDK服务器发送所述用户凭证,以供所述SDK服务器对所述用户凭证进行校验,并在校验成功后将所述用户凭证对应的用户信息发送给所述客户端服务器;接收所述客户端服务器发送的用户信息;根据所述用户信息进行用户登录。Optionally, the login module 24 is specifically configured to generate a user credential corresponding to the user ID according to the authentication success message; send the user credential to the SDK server through the client server for the The SDK server verifies the user credential, and after the verification is successful, sends the user information corresponding to the user credential to the client server; receives the user information sent by the client server; Perform user login.
可选地,本实施例的客户端还包括:判断模块25和处理模块26;其中,Optionally, the client in this embodiment further includes: a judgment module 25 and a processing module 26; wherein,
所述判断模块25,用于判断用户标识是否发生变更;The judging module 25 is used for judging whether the user identification is changed;
所述处理模块26,用于若未发生变更,判断本地是否存储有认证成功消息;若是,根据存储的认证成功消息进行用户登录;若否,执行所述调用SDK接口以短消息的方式将第一验证信息发送给网关服务器的步骤,直至根据认证成功消息进行用户登录;或者,若发生变更,执行所述调用SDK接口以短消息的方式将第一验证信息发送给网关服务器的步骤,直至根据认证成功消息进行用户登录。The processing module 26 is used to judge whether there is an authentication success message stored locally if there is no change; if so, perform user login according to the stored authentication success message; 1. The step of sending the verification information to the gateway server until the user login is performed according to the authentication success message; or, if there is a change, the step of calling the SDK interface to send the first verification information to the gateway server in the form of a short message is performed until the user is logged in according to the authentication success message. Authentication success message for user login.
在实际应用中,所述第一发送模块21、第二发送模块22、接收模块23、登录模块24、判断模块25和处理模块26均可由位于客户端中的第一处理器结合第一通信接口实现。In practical applications, the first sending module 21 , the second sending module 22 , the receiving module 23 , the logging module 24 , the judging module 25 and the processing module 26 can all be combined with the first communication interface by the first processor located in the client accomplish.
上述实施例提供的客户端在进行一键登录时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将客户端的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。When the client provided by the above embodiment performs one-key login, only the division of the above program modules is used as an example. Divided into different program modules to perform all or part of the processing described above.
本发明实施例还提供了一种客户端,图5为本发明实施例客户端的硬件组成结构示意图,参照图5所示,本实施例的客户端包括:第一处理器31、用于存储能够在第一处理器31上运行的计算机程序的第一存储器32、以及第一通信接口33;其中,An embodiment of the present invention further provides a client. FIG. 5 is a schematic diagram of a hardware structure of a client according to an embodiment of the present invention. Referring to FIG. 5 , the client in this embodiment includes: a
所述第一通信接口33,用于与网关服务器和SDK服务器进行消息交互;The
所述第一处理器31用于运行所述计算机程序时,执行:When the
若监测到一键登录操作,调用SDK接口以短消息的方式将第一验证信息发送给网关服务器;If a one-key login operation is detected, the SDK interface is called to send the first verification information to the gateway server in the form of a short message;
调用所述SDK接口将登录请求消息发送给SDK服务器,所述登录请求消息中携带有第二验证信息;calling the SDK interface to send a login request message to the SDK server, where the login request message carries the second verification information;
接收所述SDK服务器发送的认证成功消息,所述认证成功消息为所述SDK服务器对所述第一验证信息和第二验证信息进行比对,且比对成功之后生成的消息;所述认证成功消息包括用户标识,所述用户标识和第一验证信息是所述网关服务器发送给所述SDK服务器的,且所述用户标识为所述网关服务器获取的、发送所述短消息的通信标识;所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号;Receive an authentication success message sent by the SDK server, where the authentication success message is a message generated after the SDK server compares the first verification information and the second verification information, and the comparison is successful; the authentication is successful The message includes a user ID, and the user ID and the first verification information are sent by the gateway server to the SDK server, and the user ID is the communication ID obtained by the gateway server and sending the short message; The authentication success message is used to represent that the client can use the user ID as a login account;
根据所述认证成功消息进行用户登录。User login is performed according to the authentication success message.
可选地,所述第一处理器31用于运行所述计算机程序时,执行:Optionally, when the
根据所述认证成功消息,生成与所述用户标识对应的用户凭证;generating a user credential corresponding to the user identifier according to the authentication success message;
通过客户端服务器向所述SDK服务器发送所述用户凭证,以供所述SDK服务器对所述用户凭证进行校验,并在校验成功后将所述用户凭证对应的用户信息发送给所述客户端服务器;The user credential is sent to the SDK server through the client server, so that the SDK server can verify the user credential, and after the verification is successful, the user information corresponding to the user credential is sent to the client end server;
接收所述客户端服务器发送的用户信息;receiving user information sent by the client server;
根据所述用户信息进行用户登录。User login is performed according to the user information.
可选地,所述第一处理器31用于运行所述计算机程序时,执行:Optionally, when the
调用SDK接口以短消息的方式将第一验证信息发送给网关服务器之前,判断用户标识是否发生变更;Before calling the SDK interface to send the first verification information to the gateway server in the form of a short message, determine whether the user ID has changed;
若未发生变更,判断本地是否存储有认证成功消息;若是,根据存储的认证成功消息进行用户登录;若否,执行所述调用SDK接口以短消息的方式将第一验证信息发送给网关服务器的步骤,直至根据认证成功消息进行用户登录;或者,If there is no change, judge whether there is an authentication success message stored locally; if so, perform user login according to the stored authentication success message; steps until user login is performed according to the authentication success message; or,
若发生变更,执行所述调用SDK接口以短消息的方式将第一验证信息发送给网关服务器的步骤,直至根据认证成功消息进行用户登录。If there is a change, the step of invoking the SDK interface to send the first verification information to the gateway server in the form of a short message is performed until the user login is performed according to the authentication success message.
当然,实际应用时,如图5所示,各个组件通过第一总线系统34耦合在一起。可理解,第一总线系统34用于实现这些组件之间的连接通信。第一总线系统34除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图5中将各种总线都标为第一总线系统34。Of course, in practical application, as shown in FIG. 5 , various components are coupled together through the
本发明还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有可执行程序,所述可执行程序被第一处理器31执行时,以实现以下步骤:The present invention also provides a computer-readable storage medium, where the computer-readable storage medium stores an executable program, and when the executable program is executed by the
若监测到一键登录操作,调用SDK接口以短消息的方式将第一验证信息发送给网关服务器;If a one-key login operation is detected, the SDK interface is called to send the first verification information to the gateway server in the form of a short message;
调用所述SDK接口将登录请求消息发送给SDK服务器,所述登录请求消息中携带有第二验证信息;calling the SDK interface to send a login request message to the SDK server, where the login request message carries the second verification information;
接收所述SDK服务器发送的认证成功消息,所述认证成功消息为所述SDK服务器对所述第一验证信息和第二验证信息进行比对,且比对成功之后生成的消息;所述认证成功消息包括用户标识,所述用户标识和第一验证信息是所述网关服务器发送给所述SDK服务器的,且所述用户标识为所述网关服务器获取的、发送所述短消息的通信标识;所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号;Receive an authentication success message sent by the SDK server, where the authentication success message is a message generated after the SDK server compares the first verification information and the second verification information, and the comparison is successful; the authentication is successful The message includes a user ID, and the user ID and the first verification information are sent by the gateway server to the SDK server, and the user ID is the communication ID obtained by the gateway server and sending the short message; The authentication success message is used to represent that the client can use the user ID as a login account;
根据所述认证成功消息进行用户登录。User login is performed according to the authentication success message.
可选地,所述可执行程序被第一处理器31执行时,以具体实现根据所述认证成功消息进行用户登录的步骤:Optionally, when the executable program is executed by the
根据所述认证成功消息,生成与所述用户标识对应的用户凭证;generating a user credential corresponding to the user identifier according to the authentication success message;
通过客户端服务器向所述SDK服务器发送所述用户凭证,以供所述SDK服务器对所述用户凭证进行校验,并在校验成功后将所述用户凭证对应的用户信息发送给所述客户端服务器;The user credential is sent to the SDK server through the client server, so that the SDK server can verify the user credential, and after the verification is successful, the user information corresponding to the user credential is sent to the client end server;
接收所述客户端服务器发送的用户信息;receiving user information sent by the client server;
根据所述用户信息进行用户登录。User login is performed according to the user information.
可选地,所述可执行程序被第一处理器31执行时,以实现以下步骤:Optionally, when the executable program is executed by the
调用SDK接口以短消息的方式将第一验证信息发送给网关服务器之前,判断用户标识是否发生变更;Before calling the SDK interface to send the first verification information to the gateway server in the form of a short message, determine whether the user ID has changed;
若未发生变更,判断本地是否存储有认证成功消息;若是,根据存储的认证成功消息进行用户登录;若否,执行所述调用SDK接口以短消息的方式将第一验证信息发送给网关服务器的步骤,直至根据认证成功消息进行用户登录;或者,If there is no change, judge whether there is an authentication success message stored locally; if so, perform user login according to the stored authentication success message; steps until user login is performed according to the authentication success message; or,
若发生变更,执行所述调用SDK接口以短消息的方式将第一验证信息发送给网关服务器的步骤,直至根据认证成功消息进行用户登录。If there is a change, the step of invoking the SDK interface to send the first verification information to the gateway server in the form of a short message is performed until the user login is performed according to the authentication success message.
根据以上描述可见,对于网关服务器而言,网关服务器以短消息的方式接收客户端发送的第一验证信息;获取发送所述短消息的用户标识;将所述第一验证信息和用户标识发送给SDK服务器,以供所述SDK服务器对所述第一验证信息和所述客户端发送的登录请求消息中的第二验证信息进行比对,且在比对成功之后将生成的认证成功消息发送给所述客户端,使得所述客户端根据所述认证成功消息进行用户登录,所述认证成功消息包括所述用户标识,所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号。各步骤的具体实现与以上描述相同,在此不再赘述。As can be seen from the above description, for the gateway server, the gateway server receives the first verification information sent by the client in the form of a short message; obtains the user ID for sending the short message; sends the first verification information and the user ID to the The SDK server, for the SDK server to compare the first verification information with the second verification information in the login request message sent by the client, and send the generated authentication success message to The client makes the client log in the user according to the authentication success message, where the authentication success message includes the user ID, and the authentication success message is used to indicate that the client can use the user ID as the user ID. Log in to your account. The specific implementation of each step is the same as the above description, and is not repeated here.
为实现本发明实施例一键登录方法,本发明实施例还提供了一种网关服务器,图6为本发明实施例网关服务器的组成结构示意图,参照图6所示,本实施例的网关服务器包括:接收模块41、获取模块42、发送模块43;其中,In order to realize the one-key login method according to the embodiment of the present invention, the embodiment of the present invention further provides a gateway server. FIG. 6 is a schematic diagram of the composition structure of the gateway server according to the embodiment of the present invention. Referring to FIG. 6 , the gateway server in this embodiment includes: : receiving module 41, acquiring module 42, sending module 43; wherein,
所述接收模块41,用于以短消息的方式接收客户端发送的第一验证信息;The receiving module 41 is configured to receive the first verification information sent by the client in the form of a short message;
所述获取模块42,用于获取发送所述短消息的用户标识;The obtaining module 42 is used to obtain the user identification for sending the short message;
所述发送模块43,用于将所述第一验证信息和用户标识发送给SDK服务器,以供所述SDK服务器对所述第一验证信息和所述客户端发送的登录请求消息中的第二验证信息进行比对,且在比对成功之后将生成的认证成功消息发送给所述客户端,使得所述客户端根据所述认证成功消息进行用户登录,所述认证成功消息包括所述用户标识,所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号。The sending module 43 is configured to send the first verification information and the user ID to the SDK server, so that the SDK server can verify the first verification information and the second one in the login request message sent by the client. The verification information is compared, and after the comparison is successful, the generated authentication success message is sent to the client, so that the client performs user login according to the authentication success message, and the authentication success message includes the user ID. , the authentication success message is used to indicate that the client can use the user ID as a login account.
可选地,所述获取模块42,具体用于根据所述短消息中的客户端标识,确定所述客户端有一键登录的权限时,获取发送所述短消息的用户标识。Optionally, the acquiring module 42 is specifically configured to acquire the user identifier for sending the short message when it is determined that the client has one-key login authority according to the client identifier in the short message.
在实际应用中,所述接收模块41、获取模块42、发送模块43均可由位于网关服务器中的第二处理器结合第二通信接口实现。In practical applications, the receiving module 41 , the obtaining module 42 and the sending module 43 can all be implemented by a second processor located in the gateway server in combination with the second communication interface.
上述实施例提供的网关服务器在进行一键登录时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将网关服务器的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。When the gateway server provided by the above embodiment performs one-key login, only the division of the above program modules is used as an example. The structure is divided into different program modules to perform all or part of the processing described above.
本发明实施例还提供了一种网关服务器,图7为本发明实施例网关服务器的硬件组成结构示意图,参照图7所示,本实施例的网关服务器包括:第二处理器51、用于存储能够在第二处理器51上运行的计算机程序的第二存储器52、以及第二通信接口53;其中,An embodiment of the present invention further provides a gateway server. FIG. 7 is a schematic diagram of a hardware structure of the gateway server according to an embodiment of the present invention. Referring to FIG. 7 , the gateway server in this embodiment includes: a
所述第二通信接口53,用于与客户端和SDK服务器进行信息交互;The
所述第二处理器51用于运行所述计算机程序时,执行:When the
以短消息的方式接收客户端发送的第一验证信息;Receive the first verification information sent by the client in the form of a short message;
获取发送所述短消息的用户标识;obtaining the user ID for sending the short message;
将所述第一验证信息和用户标识发送给SDK服务器,以供所述SDK服务器对所述第一验证信息和所述客户端发送的登录请求消息中的第二验证信息进行比对,且在比对成功之后将生成的认证成功消息发送给所述客户端,使得所述客户端根据所述认证成功消息进行用户登录,所述认证成功消息包括所述用户标识,所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号。Send the first verification information and the user ID to the SDK server, so that the SDK server compares the first verification information and the second verification information in the login request message sent by the client, and in After the comparison is successful, the generated authentication success message is sent to the client, so that the client performs user login according to the authentication success message, where the authentication success message includes the user ID, and the authentication success message is used for Characterizing the client may use the user identification as a login account.
可选地,所述第二处理器51用于运行所述计算机程序时,执行:Optionally, when the
根据所述短消息中的客户端标识,确定所述客户端有一键登录的权限时,获取发送所述短消息的用户标识。According to the client identifier in the short message, when it is determined that the client has one-key login authority, the user identifier that sends the short message is obtained.
当然,实际应用时,如图7所示,各个组件通过第二总线系统54耦合在一起。可理解,第二总线系统54用于实现这些组件之间的连接通信。第二总线系统54除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图7中将各种总线都标为第二总线系统54。Of course, in practical application, as shown in FIG. 7 , various components are coupled together through the
本发明还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有可执行程序,所述可执行程序被第二处理器51执行时,以实现以下步骤:The present invention also provides a computer-readable storage medium, where the computer-readable storage medium stores an executable program, and when the executable program is executed by the
以短消息的方式接收客户端发送的第一验证信息;Receive the first verification information sent by the client in the form of a short message;
获取发送所述短消息的用户标识;obtaining the user ID for sending the short message;
将所述第一验证信息和用户标识发送给SDK服务器,以供所述SDK服务器对所述第一验证信息和所述客户端发送的登录请求消息中的第二验证信息进行比对,且在比对成功之后将生成的认证成功消息发送给所述客户端,使得所述客户端根据所述认证成功消息进行用户登录,所述认证成功消息包括所述用户标识,所述认证成功消息用于表征所述客户端可将所述用户标识作为登录账号。Send the first verification information and the user ID to the SDK server, so that the SDK server compares the first verification information and the second verification information in the login request message sent by the client, and in After the comparison is successful, the generated authentication success message is sent to the client, so that the client performs user login according to the authentication success message, where the authentication success message includes the user ID, and the authentication success message is used for Characterizing the client may use the user identification as a login account.
可选地,所述可执行程序被第二处理器51执行时,以具体实现获取发送所述短消息的用户标识的步骤:Optionally, when the executable program is executed by the
根据所述短消息中的客户端标识,确定所述客户端有一键登录的权限时,获取发送所述短消息的用户标识。According to the client identifier in the short message, when it is determined that the client has one-key login authority, the user identifier that sends the short message is obtained.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和范围之内所作的任何修改、等同替换和改进等,均包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements and improvements made within the spirit and scope of the present invention are included in the protection scope of the present invention.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711482174.6A CN107948204B (en) | 2017-12-29 | 2017-12-29 | One-key login method and system, related equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711482174.6A CN107948204B (en) | 2017-12-29 | 2017-12-29 | One-key login method and system, related equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107948204A CN107948204A (en) | 2018-04-20 |
CN107948204B true CN107948204B (en) | 2020-10-30 |
Family
ID=61938087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711482174.6A Active CN107948204B (en) | 2017-12-29 | 2017-12-29 | One-key login method and system, related equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107948204B (en) |
Families Citing this family (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110730446A (en) * | 2018-07-16 | 2020-01-24 | 中移信息技术有限公司 | Login method, terminal and computer storage medium |
CN109086596B (en) * | 2018-08-08 | 2022-03-22 | 网易(杭州)网络有限公司 | Authentication method, device and system for application program |
CN110392065A (en) * | 2018-12-27 | 2019-10-29 | 上海创蓝文化传播有限公司 | Dodge the realization method and system for testing number certification SDK |
CN111353142A (en) * | 2019-02-15 | 2020-06-30 | 鸿合科技股份有限公司 | User information sharing method and device and electronic equipment |
CN110062035A (en) * | 2019-04-02 | 2019-07-26 | 中山市凯恩斯裕龙投资管理有限公司 | Double-queue-based http request method and device |
CN110691026A (en) * | 2019-08-16 | 2020-01-14 | 深圳市普特斯科技有限公司 | Image-text video editing and publishing platform connected with two micro ends |
CN110830479B (en) * | 2019-11-13 | 2022-11-18 | 苏州达家迎信息技术有限公司 | Multi-card-based one-key login method, device, equipment and storage medium |
CN113115310B (en) * | 2021-04-08 | 2024-06-28 | 武汉极意网络科技有限公司 | Non-inductive authentication gateway calling method |
CN113157375A (en) * | 2021-04-27 | 2021-07-23 | 北京达佳互联信息技术有限公司 | Content display method, device, equipment, system and storage medium |
CN113742705B (en) * | 2021-08-30 | 2024-05-24 | 北京一砂信息技术有限公司 | Method and system for realizing authentication service based on IFAA numbers |
CN113765906B (en) * | 2021-08-30 | 2022-11-29 | 上海纬百科技有限公司 | Method, equipment and system for one-key login of terminal application program |
CN113726797B (en) * | 2021-09-01 | 2023-03-24 | 天翼数字生活科技有限公司 | Safe login method, system and account management device |
WO2023029250A1 (en) * | 2021-09-03 | 2023-03-09 | 王恩惠 | Secure one-click login method and system, and third-party platform |
CN114390524B (en) * | 2021-12-22 | 2024-04-23 | 支付宝(杭州)信息技术有限公司 | Method and device for realizing one-key login service |
CN113993127B (en) * | 2021-12-28 | 2022-05-06 | 支付宝(杭州)信息技术有限公司 | Method and device for realizing one-key login service |
CN114158046B (en) * | 2021-12-30 | 2024-04-23 | 支付宝(杭州)信息技术有限公司 | Method and device for realizing one-key login service |
CN115021980B (en) * | 2022-05-18 | 2023-05-30 | 中国平安财产保险股份有限公司 | Quick login method and device, electronic equipment and storage medium |
CN117479163B (en) * | 2023-10-25 | 2024-11-22 | 中移互联网有限公司 | Authentication login method, device, system, equipment and storage medium |
CN117857164B (en) * | 2023-12-29 | 2024-11-12 | 湖北省数字产业发展集团有限公司 | A cross-platform fast account verification method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102447696A (en) * | 2011-11-17 | 2012-05-09 | 盛大计算机(上海)有限公司 | One-key registration login verification method and system for mobile equipment |
CN104901925A (en) * | 2014-03-05 | 2015-09-09 | 中国移动通信集团北京有限公司 | End-user identity authentication method, device and system and terminal device |
CN105141586A (en) * | 2015-07-31 | 2015-12-09 | 广州华多网络科技有限公司 | Method and system for verifying user |
CN106357629A (en) * | 2016-08-31 | 2017-01-25 | 天津灵创智恒软件技术有限公司 | Intelligent terminal identity authentication and single sign-on system and method based on digital certificate |
WO2017188610A1 (en) * | 2016-04-25 | 2017-11-02 | (주)이스톰 | Authentication method and system |
-
2017
- 2017-12-29 CN CN201711482174.6A patent/CN107948204B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102447696A (en) * | 2011-11-17 | 2012-05-09 | 盛大计算机(上海)有限公司 | One-key registration login verification method and system for mobile equipment |
CN104901925A (en) * | 2014-03-05 | 2015-09-09 | 中国移动通信集团北京有限公司 | End-user identity authentication method, device and system and terminal device |
CN105141586A (en) * | 2015-07-31 | 2015-12-09 | 广州华多网络科技有限公司 | Method and system for verifying user |
WO2017188610A1 (en) * | 2016-04-25 | 2017-11-02 | (주)이스톰 | Authentication method and system |
CN106357629A (en) * | 2016-08-31 | 2017-01-25 | 天津灵创智恒软件技术有限公司 | Intelligent terminal identity authentication and single sign-on system and method based on digital certificate |
Also Published As
Publication number | Publication date |
---|---|
CN107948204A (en) | 2018-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107948204B (en) | One-key login method and system, related equipment and computer readable storage medium | |
TWI686075B (en) | Identity verification method and device, electronic equipment | |
US20220191016A1 (en) | Methods, apparatuses, and computer program products for frictionless electronic signature management | |
US10491587B2 (en) | Method and device for information system access authentication | |
US10530582B2 (en) | Method and device for information system access authentication | |
CN104917727B (en) | A kind of method, system and device of account's authentication | |
CN107612889B (en) | Method for preventing user information leakage | |
CN107770140A (en) | A kind of single sign-on authentication method and device | |
CN110659467A (en) | A remote user identity authentication method, device, system, terminal and server | |
CN107809317A (en) | A kind of identity identifying method and system based on token digital signature | |
TW201545526A (en) | Method, apparatus, and system for providing a security check | |
TWI632798B (en) | Server, mobile terminal, and network real-name authentication system and method | |
CN102377756A (en) | Service access method and system, authentication method and system, client and authentication server | |
CN107733838A (en) | A kind of mobile terminal client terminal identity identifying method, device and system | |
CN108259445B (en) | MS Windows desktop security login system based on smart phone and login method thereof | |
CN111405036A (en) | Service access method, device, related equipment and computer readable storage medium | |
CN110336870A (en) | Method, device, system and storage medium for establishing remote office operation and maintenance channel | |
US20240364523A1 (en) | Identity authentication based on time-based one-time password algorithm | |
CN105577619B (en) | Client login method, client and system | |
CN113992387A (en) | Resource management method, device, system, electronic equipment and readable storage medium | |
WO2018099407A1 (en) | Account authentication login method and device | |
CN104717649A (en) | Method for remote control over wiping of software data of mobile terminal | |
CN109246062B (en) | Authentication method and system based on browser plug-in | |
CN104918241B (en) | A user authentication method and system | |
CN103312678A (en) | Client security login method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |