CN114697109A - Login information processing method, first system, terminal and second system - Google Patents
Login information processing method, first system, terminal and second system Download PDFInfo
- Publication number
- CN114697109A CN114697109A CN202210323825.1A CN202210323825A CN114697109A CN 114697109 A CN114697109 A CN 114697109A CN 202210323825 A CN202210323825 A CN 202210323825A CN 114697109 A CN114697109 A CN 114697109A
- Authority
- CN
- China
- Prior art keywords
- user
- information
- terminal
- identity
- login
- 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.)
- Pending
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
-
- 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/0807—Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
-
- 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/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
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)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本发明涉及移动互联技术领域,尤其涉及登录信息处理方法、第一系统、终端及第二系统。The present invention relates to the technical field of mobile internet, and in particular, to a login information processing method, a first system, a terminal and a second system.
背景技术Background technique
本部分旨在为权利要求书中陈述的本发明实施例提供背景或上下文。此处的描述不因为包括在本部分中就承认是现有技术。This section is intended to provide a background or context to the embodiments of the invention recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section.
目前市场各类应用软件都有各自的登录机制,用户需下载众多应用程序APP,每个APP都有各自的账号和密码,用户经常会出现忘记登录账号和密码的情况,登录效率低,操作繁琐,用户体验不佳。At present, all kinds of application software in the market have their own login mechanisms. Users need to download many application APPs. Each APP has its own account and password. Users often forget the login account and password. The login efficiency is low and the operation is cumbersome. , the user experience is not good.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种登录信息处理方法,用以通过统一的账号、密码登录到不同的系统,减少操作过程,提高登录效率,提升用户体验度,该方法包括:An embodiment of the present invention provides a method for processing login information, which is used to log in to different systems through a unified account and password, thereby reducing the operation process, improving the login efficiency, and improving the user experience. The method includes:
第一系统预先在用户授权的情况下存储用户信息;The first system stores user information in advance under the condition of user authorization;
第一系统接收终端发送的第一登录请求;其中,所述第一登录请求中携带有用户账号、以及登录密码;The first system receives the first login request sent by the terminal; wherein, the first login request carries the user account and the login password;
第一系统根据用户账号、以及登录密码对用户身份验证通过后,为用户生成身份凭证信息;所述身份凭证信息中携带有第一系统提供的访问接口的地址信息;After passing the user identity verification according to the user account and the login password, the first system generates identity credential information for the user; the identity credential information carries the address information of the access interface provided by the first system;
第一系统将身份凭证信息发送给终端,以供终端将所述身份凭证信息发送给用户要登录的第二系统;The first system sends the identity credential information to the terminal, so that the terminal can send the identity credential information to the second system to which the user wants to log in;
第一系统接收第二系统发送的身份凭证信息;The first system receives the identity credential information sent by the second system;
第一系统对所述身份凭证信息进行检验,在身份凭证信息检验通过后,向第二系统发送用户信息,以供第二系统根据所述用户信息为用户提供对应的服务。The first system verifies the identity credential information, and after the identity credential information is verified, sends user information to the second system, so that the second system provides corresponding services for the user according to the user information.
本发明实施例还提供一种登录信息处理方法,用以通过统一的账号、密码登录到不同的系统,减少操作过程,提高登录效率,提升用户体验度,该方法包括:The embodiment of the present invention also provides a method for processing login information, which is used to log in to different systems through a unified account and password, thereby reducing the operation process, improving the login efficiency, and improving the user experience. The method includes:
终端将用户的第一登录请求发送给第一系统;其中,所述第一登录请求中携带有用户账号、以及登录密码;The terminal sends the user's first login request to the first system; wherein, the first login request carries the user account and the login password;
终端接收第一系统根据第一登录请求发送的身份凭证信息;所述身份凭证信息中携带有第一系统提供的访问接口的地址信息;The terminal receives the identity credential information sent by the first system according to the first login request; the identity credential information carries the address information of the access interface provided by the first system;
终端接收用户提交的第二登录请求;其中,所述第二登录请求中包括用户要登录的第二系统的系统标识;The terminal receives the second login request submitted by the user; wherein, the second login request includes the system identifier of the second system to be logged in by the user;
终端根据第二系统的系统标识,将身份凭证信息发送给第二系统;以便第二系统根据身份凭证信息从第一系统获取用户的用户信息;The terminal sends the identity credential information to the second system according to the system identification of the second system; so that the second system obtains the user information of the user from the first system according to the identity credential information;
终端接收到第二系统根据用户信息提供的业务信息时,根据业务信息生成第二系统的业务办理页面并展示给用户。When receiving the service information provided by the second system according to the user information, the terminal generates a service handling page of the second system according to the service information and displays it to the user.
本发明实施例还提供一种登录信息处理方法,用以通过统一的账号、密码登录到不同的系统,减少操作过程,提高登录效率,提升用户体验度,该方法包括:The embodiment of the present invention also provides a method for processing login information, which is used to log in to different systems through a unified account and password, thereby reducing the operation process, improving the login efficiency, and improving the user experience. The method includes:
第二系统接收终端发送的身份凭证信息;其中,所述身份凭证信息为用户登录第一系统后第一系统为用户生成并发送给终端,由终端发送给用户要登录的第二系统,身份凭证信息中携带有第一系统提供的访问接口的地址信息;The second system receives the identity credential information sent by the terminal; wherein, the identity credential information is generated by the first system for the user after the user logs in to the first system and sent to the terminal, and sent by the terminal to the second system to which the user wants to log in, the identity credential The information carries the address information of the access interface provided by the first system;
第二系统根据所述地址信息向第一系统发送所述身份凭证信息;The second system sends the identity credential information to the first system according to the address information;
第二系统接收第一系统根据所述身份凭证信息发送的用户信息;The second system receives the user information sent by the first system according to the identity credential information;
第二系统根据所述用户信息、以及用户在第二系统注册时预留的用户信息对用户进行身份验证,身份验证通过后,向终端发送能够为用户提供的业务信息。The second system verifies the user's identity according to the user information and the user information reserved by the user when the user is registered in the second system, and after passing the identity verification, sends service information that can be provided to the user to the terminal.
本发明实施例还提供一种第一系统,用以通过统一的账号、密码登录到不同的系统,减少操作过程,提高登录效率,提升用户体验度,该第一系统包括:The embodiment of the present invention also provides a first system for logging in to different systems through a unified account and password, reducing the operation process, improving the login efficiency, and improving the user experience. The first system includes:
存储模块,用于预先在用户授权的情况下存储用户信息;A storage module, used to store user information in advance under the condition of user authorization;
第一接收模块,用于接收终端发送的第一登录请求;其中,所述第一登录请求中携带有用户账号、以及登录密码;a first receiving module, configured to receive a first login request sent by a terminal; wherein, the first login request carries a user account and a login password;
身份凭证信息生成模块,用于根据用户账号、以及登录密码对用户身份验证通过后,为用户生成身份凭证信息;所述身份凭证信息中携带有第一系统提供的访问接口的地址信息;an identity credential information generation module, configured to generate identity credential information for the user after passing the user identity verification according to the user account and the login password; the identity credential information carries the address information of the access interface provided by the first system;
第一发送模块,用于第一系统将身份凭证信息发送给终端,以供终端将所述身份凭证信息发送给用户要登录的第二系统;a first sending module, used for the first system to send the identity credential information to the terminal, so that the terminal can send the identity credential information to the second system to which the user wants to log in;
第二接收模块,用于接收第二系统发送的身份凭证信息;a second receiving module, configured to receive the identity credential information sent by the second system;
第二发送模块,用于对所述身份凭证信息进行检验,在身份凭证信息检验通过后,向第二系统发送用户信息,以供第二系统根据所述用户信息为用户提供对应的服务。The second sending module is configured to check the identity credential information, and after the identity credential information is verified, send user information to the second system, so that the second system can provide corresponding services for the user according to the user information.
本发明实施例还提供一种终端,用以通过统一的账号、密码登录到不同的系统,减少操作过程,提高登录效率,提升用户体验度,该终端包括:The embodiment of the present invention also provides a terminal for logging in to different systems through a unified account and password, reducing the operation process, improving the login efficiency, and improving the user experience. The terminal includes:
第三发送模块,用于将用户的第一登录请求发送给第一系统;其中,所述第一登录请求中携带有用户账号、以及登录密码;a third sending module, configured to send the user's first login request to the first system; wherein, the first login request carries the user account and the login password;
第三接收模块,用于接收第一系统根据第一登录请求发送的身份凭证信息;所述身份凭证信息中携带有第一系统提供的访问接口的地址信息;a third receiving module, configured to receive the identity credential information sent by the first system according to the first login request; the identity credential information carries the address information of the access interface provided by the first system;
第四接收模块,用于接收用户提交的第二登录请求;其中,所述第二登录请求中包括用户要登录的第二系统的系统标识;a fourth receiving module, configured to receive a second login request submitted by the user; wherein the second login request includes the system identifier of the second system that the user wants to log in to;
第四发送模块,用于根据第二系统的系统标识,将身份凭证信息发送给第二系统;以便第二系统根据身份凭证信息从第一系统获取用户的用户信息;a fourth sending module, configured to send the identity credential information to the second system according to the system identification of the second system; so that the second system obtains the user information of the user from the first system according to the identity credential information;
第一处理模块,用于接收到第二系统根据用户信息提供的业务信息时,根据业务信息生成第二系统的业务办理页面并展示给用户。The first processing module is configured to, when receiving the business information provided by the second system according to the user information, generate a business handling page of the second system according to the business information and display it to the user.
本发明实施例还提供一种第二系统,用以通过统一的账号、密码登录到不同的系统,减少操作过程,提高登录效率,提升用户体验度,该第二系统包括:The embodiment of the present invention also provides a second system for logging in to different systems through a unified account and password, reducing the operation process, improving the login efficiency, and improving the user experience. The second system includes:
第五接收模块,用于接收终端发送的身份凭证信息;其中,所述身份凭证信息为用户登录第一系统后第一系统为用户生成并发送给终端,由终端发送给用户要登录的第二系统,身份凭证信息中携带有第一系统提供的访问接口的地址信息;The fifth receiving module is used to receive the identity credential information sent by the terminal; wherein, the identity credential information is generated by the first system for the user after the user logs in to the first system and sent to the terminal, and sent by the terminal to the second user to log in. system, the identity credential information carries the address information of the access interface provided by the first system;
第五发送模块,用于根据所述地址信息向第一系统发送所述身份凭证信息;a fifth sending module, configured to send the identity credential information to the first system according to the address information;
第六接收模块,用于接收第一系统根据所述身份凭证信息发送的用户信息;a sixth receiving module, configured to receive the user information sent by the first system according to the identity credential information;
第三处理模块,用于根据所述用户信息、以及用户在第二系统注册时预留的用户信息对用户进行身份验证,身份验证通过后,向终端发送能够为用户提供的业务信息。The third processing module is configured to authenticate the user according to the user information and the user information reserved by the user when the user registers in the second system, and after the authentication is passed, send service information that can be provided to the user to the terminal.
本发明实施例还提供一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述登录信息处理方法。An embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements the above login information processing method when the processor executes the computer program.
本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述登录信息处理方法。An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the above login information processing method is implemented.
本发明实施例还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,所述计算机程序被处理器执行时实现上述登录信息处理方法。An embodiment of the present invention further provides a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, the above login information processing method is implemented.
本发明实施例中,第一系统预先在用户授权的情况下存储用户信息;第一系统接收终端发送的第一登录请求;其中,所述第一登录请求中携带有用户账号、以及登录密码;第一系统根据用户账号、以及登录密码对用户身份验证通过后,为用户生成身份凭证信息;所述身份凭证信息中携带有第一系统提供的访问接口的地址信息;第一系统将身份凭证信息发送给终端,以供终端将所述身份凭证信息发送给用户要登录的第二系统;第一系统接收第二系统发送的身份凭证信息;第一系统对所述身份凭证信息进行检验,在身份凭证信息检验通过后,向第二系统发送用户信息,以供第二系统根据所述用户信息为用户提供对应的服务。这样,用户在登录不同的第二系统时,只需要在第一系统完成身份验证,就可以登录到不同的第二系统,且通过生成身份凭证信息,对身份凭证信息进行验证来保证用户信息安全,在提升登录效率的同时,提升登录的安全性,提升用户体验度。In this embodiment of the present invention, the first system stores user information in advance under the condition of user authorization; the first system receives a first login request sent by the terminal; wherein, the first login request carries a user account and a login password; After the first system verifies the user's identity according to the user account and the login password, it generates identity credential information for the user; the identity credential information carries the address information of the access interface provided by the first system; the first system stores the identity credential information Send it to the terminal, so that the terminal can send the identity credential information to the second system to which the user wants to log in; the first system receives the identity credential information sent by the second system; the first system verifies the identity credential information, and the identity credential information is After the verification of the credential information is passed, the user information is sent to the second system, so that the second system can provide the user with a corresponding service according to the user information. In this way, when a user logs in to a different second system, he only needs to complete the identity verification in the first system, then he can log in to a different second system, and the security of the user information is ensured by generating the identity credential information and verifying the identity credential information. , while improving login efficiency, improve login security, and improve user experience.
此外,终端将用户的第一登录请求发送给第一系统;其中,所述第一登录请求中携带有用户账号、以及登录密码;终端接收第一系统根据第一登录请求发送的身份凭证信息;所述身份凭证信息中携带有第一系统提供的访问接口的地址信息;终端接收用户提交的第二登录请求;其中,所述第二登录请求中包括用户要登录的第二系统的系统标识;终端根据第二系统的系统标识,将身份凭证信息发送给第二系统;以便第二系统根据身份凭证信息从第一系统获取用户的用户信息;终端接收到第二系统根据用户信息提供的业务信息时,根据业务信息生成第二系统的业务办理页面并展示给用户。这样,用户只需要通过登录第一系统就可以实现登录不同的第二系统,实现通过统一的账号密码登录不同系统,减少操作过程,提高登录效率,提升用户体验度。In addition, the terminal sends the user's first login request to the first system; wherein, the first login request carries the user account and the login password; the terminal receives the identity credential information sent by the first system according to the first login request; The identity credential information carries the address information of the access interface provided by the first system; the terminal receives the second login request submitted by the user; wherein, the second login request includes the system identifier of the second system that the user wants to log in to; The terminal sends the identity credential information to the second system according to the system identification of the second system; so that the second system obtains the user information of the user from the first system according to the identity credential information; the terminal receives the service information provided by the second system according to the user information At the time, the business handling page of the second system is generated according to the business information and displayed to the user. In this way, users only need to log in to the first system to log in to different second systems, and to log in to different systems through a unified account and password, which reduces the operation process, improves login efficiency, and improves user experience.
另外,第二系统接收终端发送的身份凭证信息;其中,所述身份凭证信息为用户登录第一系统后第一系统为用户生成并发送给终端,由终端发送给用户要登录的第二系统,身份凭证信息中携带有第一系统提供的访问接口的地址信息;第二系统根据所述地址信息向第一系统发送所述身份凭证信息;第二系统接收第一系统根据所述身份凭证信息发送的用户信息;第二系统根据所述用户信息、以及用户在第二系统注册时预留的用户信息对用户进行身份验证,身份验证通过后,向终端发送能够为用户提供的业务信息。这样,通过身份凭证信息既可以保证登录过程中用户信息的安全性,还可以实现通过统一的账号密码登录不同系统,减少操作过程,提高登录效率,提升用户体验度。In addition, the second system receives the identity credential information sent by the terminal; wherein, the identity credential information is generated by the first system for the user after the user logs in to the first system and sent to the terminal, and sent by the terminal to the second system to which the user wants to log in, The identity credential information carries the address information of the access interface provided by the first system; the second system sends the identity credential information to the first system according to the address information; the second system receives the identity credential information sent by the first system according to the identity credential information The second system verifies the user's identity according to the user information and the user information reserved when the user registers in the second system, and after the identity verification is passed, sends the service information that can be provided to the user to the terminal. In this way, the identity credential information can not only ensure the security of user information during the login process, but also can log in to different systems through a unified account and password, reducing the operation process, improving the login efficiency, and improving the user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts. In the attached image:
图1为本发明实施例中提供一种登录信息处理方法的流程图;1 is a flowchart of a method for processing login information provided in an embodiment of the present invention;
图2为本发明实施例中提供的另一种登录信息处理方法的流程图;2 is a flowchart of another method for processing login information provided in an embodiment of the present invention;
图3为本发明实施例中提供的又一种登录信息处理方法的流程图;3 is a flowchart of another login information processing method provided in an embodiment of the present invention;
图4为本发明实施例中提供的一种第一系统、终端、第二系统执行登录信息处理方法的整理流程图;4 is a flow chart of sorting out a method for processing login information performed by a first system, a terminal, and a second system according to an embodiment of the present invention;
图5为本发明实施例中提供的一种第一系统的示意图;5 is a schematic diagram of a first system provided in an embodiment of the present invention;
图6为本发明实施例中提供的一种终端的示意图;FIG. 6 is a schematic diagram of a terminal provided in an embodiment of the present invention;
图7为本发明实施例中提供的一种第二系统的示意图。FIG. 7 is a schematic diagram of a second system provided in an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚明白,下面结合附图对本发明实施例做进一步详细说明。在此,本发明的示意性实施例及其说明用于解释本发明,但并不作为对本发明的限定。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention more clearly understood, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but not to limit the present invention.
本文中术语“和/或”,仅仅是描述一种关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。The term "and/or" in this paper only describes an association relationship, which means that there can be three kinds of relationships, for example, A and/or B, which can mean: the existence of A alone, the existence of A and B at the same time, the existence of B alone. a situation. In addition, the term "at least one" herein refers to any combination of any one of the plurality or at least two of the plurality, for example, including at least one of A, B, and C, and may mean including from A, B, and C. Any one or more elements selected from the set of B and C.
在本说明书的描述中,所使用的“包含”、“包括”、“具有”、“含有”等,均为开放性的用语,即意指包含但不限于。参考术语“一个实施例”、“一个具体实施例”、“一些实施例”、“例如”等的描述意指结合该实施例或示例描述的具体特征、结构或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。各实施例中涉及的步骤顺序用于示意性说明本申请的实施,其中的步骤顺序不作限定,可根据需要作适当调整。In the description of this specification, the use of "comprising", "including", "having", "containing" and the like are all open-ended terms, that is, meaning including but not limited to. Description with reference to the terms "one embodiment", "one particular embodiment", "some embodiments", "for example" etc. means that a particular feature, structure or characteristic described in connection with the embodiment or example is included in at least one of the present application examples or examples. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The sequence of steps involved in each embodiment is used to schematically illustrate the implementation of the present application, and the sequence of steps is not limited and can be appropriately adjusted as required.
经研究发现,市场各类应用软件都有各自的登录机制,用户需下载众多应用程序APP,每个APP都有各自的账号和密码,用户经常会出现忘记登录账号和密码的情况,登录效率低,操作繁琐,用户体验不佳。After research, it is found that various application software in the market have their own login mechanisms. Users need to download many application APPs, and each APP has its own account and password. Users often forget the login account and password, and the login efficiency is low. , the operation is cumbersome and the user experience is poor.
针对上述研究,本发明实施例提供一种登录信息处理方法,如图1所示,包括:In view of the above research, an embodiment of the present invention provides a method for processing login information, as shown in FIG. 1 , including:
S101:第一系统预先在用户授权的情况下存储用户信息;S101: The first system stores user information in advance under the condition of user authorization;
S102:第一系统接收终端发送的第一登录请求;其中,所述第一登录请求中携带有用户账号、以及登录密码;S102: The first system receives a first login request sent by the terminal; wherein, the first login request carries a user account and a login password;
S103:第一系统根据用户账号、以及登录密码对用户身份验证通过后,为用户生成身份凭证信息;所述身份凭证信息中携带有第一系统提供的访问接口的地址信息;S103: After passing the user identity verification according to the user account and the login password, the first system generates identity credential information for the user; the identity credential information carries the address information of the access interface provided by the first system;
S104:第一系统将身份凭证信息发送给终端,以供终端将所述身份凭证信息发送给用户要登录的第二系统;S104: The first system sends the identity credential information to the terminal, so that the terminal can send the identity credential information to the second system to which the user wants to log in;
S105:第一系统接收第二系统发送的身份凭证信息;S105: The first system receives the identity credential information sent by the second system;
S106:第一系统对所述身份凭证信息进行检验,在身份凭证信息检验通过后,向第二系统发送用户信息,以供第二系统根据所述用户信息为用户提供对应的服务。S106: The first system verifies the identity credential information, and after the identity credential information is verified, sends user information to the second system, so that the second system provides corresponding services for the user according to the user information.
本发明实施例中,第一系统预先在用户授权的情况下存储用户信息;第一系统接收终端发送的第一登录请求;其中,所述第一登录请求中携带有用户账号、以及登录密码;第一系统根据用户账号、以及登录密码对用户身份验证通过后,为用户生成身份凭证信息;所述身份凭证信息中携带有第一系统提供的访问接口的地址信息;第一系统将身份凭证信息发送给终端,以供终端将所述身份凭证信息发送给用户要登录的第二系统;第一系统接收第二系统发送的身份凭证信息;第一系统对所述身份凭证信息进行检验,在身份凭证信息检验通过后,向第二系统发送用户信息,以供第二系统根据所述用户信息为用户提供对应的服务。这样,用户在登录不同的第二系统时,只需要在第一系统完成身份验证,就可以登录到不同的第二系统,且通过生成身份凭证信息,对身份凭证信息进行验证来保证用户信息安全,在提升登录效率的同时,提升登录的安全性,提升用户体验度。In this embodiment of the present invention, the first system stores user information in advance under the condition of user authorization; the first system receives a first login request sent by the terminal; wherein, the first login request carries a user account and a login password; After the first system verifies the user's identity according to the user account and the login password, it generates identity credential information for the user; the identity credential information carries the address information of the access interface provided by the first system; the first system stores the identity credential information Send it to the terminal, so that the terminal can send the identity credential information to the second system to which the user wants to log in; the first system receives the identity credential information sent by the second system; the first system verifies the identity credential information, and the identity credential information is After the verification of the credential information is passed, the user information is sent to the second system, so that the second system can provide the user with a corresponding service according to the user information. In this way, when a user logs in to a different second system, he only needs to complete the identity verification in the first system, then he can log in to a different second system, and the security of the user information is ensured by generating the identity credential information and verifying the identity credential information. , while improving login efficiency, improve login security, and improve user experience.
下面对上述S101~S106加以详细说明。The above S101 to S106 will be described in detail below.
本发明实施例所述的第一系统用于存储用户的用户信息,第二系统包括用户要登录的任一系统,第二系统可以从第一系统获取用户的用户信息,根据用户信息确定用户身份,允许用户登录,并根据用户身份信息为用户提供对应的服务。The first system described in this embodiment of the present invention is used to store user information of the user, the second system includes any system the user wants to log in to, and the second system can acquire the user information of the user from the first system, and determine the user identity according to the user information , allows users to log in, and provides users with corresponding services based on user identity information.
针对上述S101,用户信息例如包括下述至少一种:用户身份信息、用户姓名信息、用户住址信息等。For the above S101, the user information includes, for example, at least one of the following: user identity information, user name information, user address information, and the like.
具体的,为了提升用户登录不同系统时的登录效率,可以预先将用户信息存储在第一系统中,用户信息用于用户要登录的第二系统根据用户信息确定用户身份,并且根据用户信息为用户提供对应服务;用户在登录其它系统时(例如第二系统),可以先登录第一系统,然后由第一系统将用户信息发送给用户要登录的系统,帮助用户登录至对应的系统。Specifically, in order to improve the login efficiency when users log in to different systems, the user information can be stored in the first system in advance, and the user information is used for the second system to be logged in by the user to determine the user identity according to the user information, and for the user according to the user information Provide corresponding services; when users log in to other systems (eg, the second system), they can log in to the first system first, and then the first system sends user information to the system the user wants to log in to, helping the user log in to the corresponding system.
示例性的,用户要登录的第二系统为银行系统,则银行系统可以根据用户信息中的用户身份信息确定用户的身份,还可以根据用户身份信息确定用户可以办理的业务范围,进而为用户提供对应的业务办理服务。Exemplarily, if the second system that the user wants to log in to is a banking system, the banking system can determine the identity of the user according to the user identity information in the user information, and can also determine the business scope that the user can handle according to the user identity information, and then provide the user with Corresponding business service.
这样,用户只需要在登录第一系统时输入第一系统的账号密码,然后从第一系统跳转至其它要登录的系统,完成身份验证,无需记录、输入不同的账号、密码,减少了登录不同系统的操作手续,提高了登录信息处理效率,提升用户体验度。In this way, the user only needs to enter the account password of the first system when logging in to the first system, and then jump from the first system to other systems to be logged in to complete the identity verification, without the need to record and input different account numbers and passwords, reducing the number of logins The operating procedures of different systems improve the efficiency of login information processing and improve user experience.
本发明一实施例中,第一系统预先在用户授权的情况下存储用户信息时,例如可以采用下述方法:第一系统接收终端发送的用户注册请求;其中,所述用户注册请求中携带有用户账号、以及登录密码;第一系统生成用户账号与登录密码之间的关联关系;第一系统生成用户待填写信息,将用户待填写信息发送给终端;第一系统接收终端根据用户待填写信息发送的用户信息,生成用户信息与用户账号之间的关联关系。In an embodiment of the present invention, when the first system stores user information in advance with user authorization, for example, the following method may be adopted: the first system receives a user registration request sent by the terminal; wherein, the user registration request carries a User account and login password; the first system generates an association relationship between the user account and the login password; the first system generates information to be filled in by the user, and sends the information to be filled in by the user to the terminal; the first system receives the information to be filled in by the user according to the information to be filled in by the user The sent user information generates an association relationship between the user information and the user account.
针对上述S102,用第一登录请求为用户通过终端提交的登录至第一系统的登录请求,第一登录请求中携带有用户账号、以及登录密码,用于第一系统对用户进行身份验证,并根据用户账号确定用户对应的用户信息。For the above S102, the first login request is a login request submitted by the user to log in to the first system through the terminal, and the first login request carries the user account and the login password, which is used for the first system to authenticate the user, and The user information corresponding to the user is determined according to the user account.
针对上述S103~S104,为了确保用户信息安全,防止用户信息泄露、或者被恶意获取、篡改,第一系统可以为用户生成身份凭证信息,将身份凭证信息发送给终端,然后由终端将身份凭证信息发送给用户要登录的第二系统,第二系统从第一系统获取用户信息时,可以凭借身份凭证信息在第一系统中进行身份校验,第一系统根据第二系统持有的身份凭证信息对第二系统进行校验,确认第二系统是否有权限获取用户信息,并且根据身份凭证信息确定其对应的用户信息。For the above S103 to S104, in order to ensure the security of user information and prevent user information from being leaked, or being maliciously obtained or tampered with, the first system may generate identity credential information for the user, send the identity credential information to the terminal, and then the terminal will send the identity credential information to the terminal. It is sent to the second system to which the user wants to log in. When the second system obtains user information from the first system, it can perform identity verification in the first system by virtue of the identity credential information. The first system can perform identity verification in the first system according to the identity credential information held by the second system. The second system is verified to confirm whether the second system has the right to obtain user information, and the corresponding user information is determined according to the identity credential information.
本发明一实施例中,第一系统为用户生成身份凭证信息时,例如可以采用下述方法:第一系统根据用户账号、时间戳、以及随机数,采用MD5算法为用户生成身份凭证信息。In an embodiment of the present invention, when the first system generates the identity credential information for the user, for example, the following method may be adopted: the first system uses the MD5 algorithm to generate the identity credential information for the user according to the user account, time stamp, and random number.
这样,身份凭证信息中并不直接携带用户信息,但是第一系统可以凭借身份凭证信息对获取用户信息的第二系统进行校验,提高信息传输的安全性。In this way, the identity credential information does not directly carry the user information, but the first system can verify the second system that obtains the user information by virtue of the identity credential information, thereby improving the security of information transmission.
针对上述S105,第一系统接收第二系统发送的身份凭证信息,第二系统拥有的身份凭证信息是由终端发送的,也即其它系统是无法获取到身份凭证信息的,身份凭证信息可以代表第二系统有权限获取用户信息。For the above S105, the first system receives the identity credential information sent by the second system, the identity credential information possessed by the second system is sent by the terminal, that is, other systems cannot obtain the identity credential information, and the identity credential information can represent the first The second system has the right to obtain user information.
针对上述S106,第一系统对身份凭证信息校验时,例如可以判断身份凭证信息对应的编码是否存在,该身份凭证信息是否还在有效期内。For the above S106, when the first system verifies the identity credential information, for example, it can determine whether the code corresponding to the identity credential information exists, and whether the identity credential information is still within the validity period.
此处,是否还在有效期内可以根据身份凭证信息的生成时间、接收时间、预设有效期限来判断。Here, whether it is still within the validity period can be determined according to the generation time, the reception time and the preset validity period of the identity credential information.
此外,本发明一实施例中,在上述S103:第一系统根据用户账号、以及登录密码对用户身份验证通过后,为用户生成身份凭证信息之后,还包括:第一系统生成所述身份凭证信息与用户账号之间的关联关系。因此,第一系统对所述身份凭证信息进行检验,在身份凭证信息检验通过后,向第二系统发送用户信息时,例如包括:第一系统对所述身份凭证信息进行检验,在身份凭证信息检验通过后,确定所述身份凭证信息关联的用户账号;第一系统将确定的用户账号对应的用户信息,发送给第二系统。In addition, in an embodiment of the present invention, after the above S103: after the first system passes the user identity verification according to the user account and the login password, and generates the identity credential information for the user, the method further includes: the first system generates the identity credential information The association with the user account. Therefore, the first system verifies the identity credential information, and after the identity credential information is verified, when sending user information to the second system, for example, the first system verifies the identity credential information, and the identity credential information After the verification is passed, the user account associated with the identity credential information is determined; the first system sends the user information corresponding to the determined user account to the second system.
此外,如图2所示,为本发明实施例提供的另一种登录信息处理方法,包括:In addition, as shown in FIG. 2, another method for processing login information provided by an embodiment of the present invention includes:
S201:终端将用户的第一登录请求发送给第一系统;其中,所述第一登录请求中携带有用户账号、以及登录密码;S201: The terminal sends a first login request of a user to a first system; wherein, the first login request carries a user account and a login password;
S202:终端接收第一系统根据第一登录请求发送的身份凭证信息;所述身份凭证信息中携带有第一系统提供的访问接口的地址信息;S202: The terminal receives the identity credential information sent by the first system according to the first login request; the identity credential information carries the address information of the access interface provided by the first system;
S203:终端接收用户提交的第二登录请求;其中,所述第二登录请求中包括用户要登录的第二系统的系统标识;S203: The terminal receives the second login request submitted by the user; wherein, the second login request includes the system identifier of the second system to be logged in by the user;
S204:终端根据第二系统的系统标识,将身份凭证信息发送给第二系统;以便第二系统根据身份凭证信息从第一系统获取用户的用户信息;S204: The terminal sends the identity credential information to the second system according to the system identification of the second system; so that the second system obtains the user information of the user from the first system according to the identity credential information;
S205:终端接收到第二系统根据用户信息提供的业务信息时,根据业务信息生成第二系统的业务办理页面并展示给用户。S205: When receiving the service information provided by the second system according to the user information, the terminal generates a service handling page of the second system according to the service information and displays it to the user.
本发明实施例中,终端将用户的第一登录请求发送给第一系统;其中,所述第一登录请求中携带有用户账号、以及登录密码;终端接收第一系统根据第一登录请求发送的身份凭证信息;所述身份凭证信息中携带有第一系统提供的访问接口的地址信息;终端接收用户提交的第二登录请求;其中,所述第二登录请求中包括用户要登录的第二系统的系统标识;终端根据第二系统的系统标识,将身份凭证信息发送给第二系统;以便第二系统根据身份凭证信息从第一系统获取用户的用户信息;终端接收到第二系统根据用户信息提供的业务信息时,根据业务信息生成第二系统的业务办理页面并展示给用户。这样,用户只需要通过登录第一系统就可以实现登录不同的第二系统,实现通过统一的账号密码登录不同系统,减少操作过程,提高登录效率,提升用户体验度。In the embodiment of the present invention, the terminal sends the user's first login request to the first system; wherein, the first login request carries the user account and the login password; the terminal receives the first login request sent by the first system according to the first login request. Identity credential information; the identity credential information carries the address information of the access interface provided by the first system; the terminal receives the second login request submitted by the user; wherein, the second login request includes the second system to which the user wants to log in The terminal sends the identity credential information to the second system according to the system identification of the second system; so that the second system obtains the user information of the user from the first system according to the identity credential information; the terminal receives the second system according to the user information When the business information is provided, a business handling page of the second system is generated according to the business information and displayed to the user. In this way, users only need to log in to the first system to log in to different second systems, and to log in to different systems through a unified account and password, which reduces the operation process, improves login efficiency, and improves user experience.
下面对上述S201~S205加以详细说明。The above S201 to S205 will be described in detail below.
其中,上述S201和S203没有严格的先后执行顺序,也即终端不是只有在提交了第一登录请求后才能提交第二登录请求。Wherein, the above S201 and S203 are not strictly executed sequentially, that is, the terminal cannot submit the second login request only after submitting the first login request.
示例性的,①:用户可以先通过终端登录至第一系统,终端获取到对应的身份凭证信息,然后用户从第一系统对应的终端服务页面提交第二登录请求,终端根据第二登录请求将身份凭证信息发送给对应的第二系统。Exemplarily, ①: the user can first log in to the first system through the terminal, the terminal obtains the corresponding identity credential information, and then the user submits a second login request from the terminal service page corresponding to the first system, and the terminal logs in according to the second login request. The identity credential information is sent to the corresponding second system.
或者,②:用户从第二系统的终端登录页面发送第二登录请求,终端根据第二登录请求跳转至第一系统的登录页面,用户通过第一系统的登录页面提交第一登录请求,进而登录至第一系统,终端从第一系统获取对应的身份凭证信息,终端将获取的身份凭证信息根据第二登录请求发送给对应的第二系统。Or, ②: the user sends a second login request from the terminal login page of the second system, the terminal jumps to the login page of the first system according to the second login request, the user submits the first login request through the login page of the first system, and then When logging in to the first system, the terminal acquires the corresponding identity credential information from the first system, and the terminal sends the acquired identity credential information to the corresponding second system according to the second login request.
此外,用户在首次登录第一系统时,需要注册,因此本发明一实施例中,还包括:终端将用户提交的用户注册请求发送给第一系统;其中,所述用户注册请求中携带有用户账号、以及登录密码;终端接收第一系统根据用户注册请求发送的用户待填写信息;终端根据用户待填写信息生成用户信息填写页面展示给用户;终端将用户通过用户信息填写页面填写的用户信息发送给第一系统。In addition, when the user logs in to the first system for the first time, registration is required. Therefore, in an embodiment of the present invention, the method further includes: the terminal sends the user registration request submitted by the user to the first system; wherein the user registration request carries the user registration request. account number, and login password; the terminal receives the user information to be filled out sent by the first system according to the user registration request; the terminal generates a user information filling page based on the user information to be filled in and displays it to the user; the terminal sends the user information filled in by the user through the user information filling page to the first system.
此外,如图3所示,为本发明实施例提供的又一种登录信息处理方法的流程图,包括:In addition, as shown in FIG. 3, a flowchart of another login information processing method provided by an embodiment of the present invention includes:
S301:第二系统接收终端发送的身份凭证信息;其中,所述身份凭证信息为用户登录第一系统后第一系统为用户生成并发送给终端,由终端发送给用户要登录的第二系统,身份凭证信息中携带有第一系统提供的访问接口的地址信息;S301: The second system receives the identity credential information sent by the terminal; wherein the identity credential information is generated by the first system for the user after the user logs in to the first system and sent to the terminal, and is sent by the terminal to the second system to which the user wants to log in, The identity credential information carries the address information of the access interface provided by the first system;
S302:第二系统根据所述地址信息向第一系统发送所述身份凭证信息;S302: The second system sends the identity credential information to the first system according to the address information;
S303:第二系统接收第一系统根据所述身份凭证信息发送的用户信息;S303: The second system receives the user information sent by the first system according to the identity credential information;
S304:第二系统根据所述用户信息、以及用户在第二系统注册时预留的用户信息对用户进行身份验证,身份验证通过后,向终端发送能够为用户提供的业务信息。S304: The second system authenticates the user according to the user information and the user information reserved by the user when the user registers with the second system, and after the authentication is passed, sends service information that can be provided to the user to the terminal.
本发明实施例中,第二系统接收终端发送的身份凭证信息;其中,所述身份凭证信息为用户登录第一系统后第一系统为用户生成并发送给终端设备,由终端发送给用户要登录的第二系统,身份凭证信息中携带有第一系统提供的访问接口的地址信息;第二系统根据所述地址信息向第一系统发送所述身份凭证信息;第二系统接收第一系统根据所述身份凭证信息发送的用户信息;第二系统根据所述用户信息、以及用户在第二系统注册时预留的用户信息对用户进行身份验证,身份验证通过后,向终端发送能够为用户提供的业务信息。这样,通过身份凭证信息既可以保证登录过程中用户信息的安全性,还可以实现通过统一的账号密码登录不同系统,减少操作过程,提高登录效率,提升用户体验度。In the embodiment of the present invention, the second system receives the identity credential information sent by the terminal; wherein, the identity credential information is generated by the first system for the user after the user logs in to the first system and sent to the terminal device, and sent by the terminal to the user to log in The second system, the identity credential information carries the address information of the access interface provided by the first system; the second system sends the identity credential information to the first system according to the address information; the second system receives the first system according to the The user information sent by the identity credential information; the second system authenticates the user according to the user information and the user information reserved by the user when the user registers in the second system. business information. In this way, the identity credential information can not only ensure the security of user information during the login process, but also can log in to different systems through a unified account and password, reducing the operation process, improving the login efficiency, and improving the user experience.
针对上述S301~S303,身份凭证信息为用户登录第一系统后第一系统为用户生成并发送给终端,由终端发送给用户要登录的第二系统的,第二系统可以根据身份凭证信息中的第一系统提供的访问接口的地址信息向第一系统发送身份凭证信息,身份凭证信息代表第二系统有权限从第一系统获取用户的用户信息。For the above S301 to S303, the identity credential information is generated by the first system for the user after the user logs in to the first system and sent to the terminal, and sent by the terminal to the second system to which the user wants to log in, the second system can The address information of the access interface provided by the first system sends the identity credential information to the first system, and the identity credential information represents that the second system has the right to obtain the user information of the user from the first system.
针对上述S304,第二系统根据所述用户信息、以及用户在第二系统注册时预留的用户信息对用户进行身份验证,例如,第二系统根据用户信息中的用户身份信息(例如身份证号)和用户预留的身份信息进行比对,从而确定该用户信息对应的用户是否可以登录至第二系统。For the above S304, the second system performs identity verification on the user according to the user information and the user information reserved by the user when the user registers with the second system. ) and the identity information reserved by the user, so as to determine whether the user corresponding to the user information can log in to the second system.
为了更好的理解上述登录信息处理方法,如图4所示,为本发明实施例提供的一种第一系统、终端、第二系统执行登录信息处理方法的整理流程图,包括:In order to better understand the above login information processing method, as shown in FIG. 4 , it is a flow chart of a first system, a terminal, and a second system executing a login information processing method according to an embodiment of the present invention, including:
步骤1:终端接收用户提交的注册请求;Step 1: The terminal receives the registration request submitted by the user;
步骤2:终端将用户提交的用户注册请求发送给第一系统;用户注册请求中携带有用户账号、以及登录密码;Step 2: the terminal sends the user registration request submitted by the user to the first system; the user registration request carries the user account and the login password;
步骤3:第一系统生成用户账号与登录密码之间的关联关系,生成用户待填写信息;Step 3: The first system generates the association relationship between the user account and the login password, and generates the information to be filled in by the user;
步骤4:第一系统将用户待填写信息发送给终端;Step 4: The first system sends the information to be filled in by the user to the terminal;
步骤5:终端接收第一系统根据用户注册请求发送的用户待填写信息,根据用户待填写信息生成用户信息填写页面展示给用户;Step 5: the terminal receives the user information to be filled out sent by the first system according to the user registration request, and generates a user information filling page according to the user information to be filled in and displays it to the user;
步骤6:将用户通过用户信息填写页面填写的用户信息发送给第一系统;Step 6: Send the user information filled in by the user through the user information filling page to the first system;
步骤7:第一系统接收终端根据用户待填写信息发送的用户信息,生成用户信息与用户账号之间的关联关系;Step 7: the first system receives the user information sent by the terminal according to the information to be filled in by the user, and generates an association relationship between the user information and the user account;
步骤8:终端接收用户的第一登录请求;Step 8: the terminal receives the user's first login request;
步骤9:终端将用户的第一登录请求发送给第一系统;其中,所述第一登录请求中携带有用户账号、以及登录密码;Step 9: the terminal sends the user's first login request to the first system; wherein, the first login request carries the user account and the login password;
步骤10:第一系统接收终端发送的第一登录请求,根据用户账号、以及登录密码对用户身份验证通过后,为用户生成身份凭证信息;所述身份凭证信息中携带有第一系统提供的访问接口的地址信息;Step 10: The first system receives the first login request sent by the terminal, and after passing the user identity verification according to the user account and the login password, generates identity credential information for the user; the identity credential information carries the access provided by the first system address information of the interface;
步骤11:将身份凭证信息发送给终端;Step 11: Send the identity credential information to the terminal;
步骤12:终端接收第一系统根据第一登录请求发送的身份凭证信息;所述身份凭证信息中携带有第一系统提供的访问接口的地址信息;接收用户提交的第二登录请求;其中,所述第二登录请求中包括用户要登录的第二系统的系统标识;根据第二系统的系统标识,将身份凭证信息发送给第二系统;Step 12: The terminal receives the identity credential information sent by the first system according to the first login request; the identity credential information carries the address information of the access interface provided by the first system; receives the second login request submitted by the user; The second login request includes the system identification of the second system that the user wants to log in; according to the system identification of the second system, the identity credential information is sent to the second system;
步骤13:第二系统接收终端发送的身份凭证信息,身份凭证信息中携带有第一系统提供的访问接口的地址信息;Step 13: the second system receives the identity credential information sent by the terminal, and the identity credential information carries the address information of the access interface provided by the first system;
步骤14:根据所述地址信息向第一系统发送所述身份凭证信息;Step 14: Send the identity credential information to the first system according to the address information;
步骤15:第一系统接收第二系统发送的身份凭证信息;对所述身份凭证信息进行检验,在身份凭证信息检验通过后,向第二系统发送用户信息;Step 15: the first system receives the identity credential information sent by the second system; checks the identity credential information, and sends user information to the second system after the identity credential information is verified;
步骤16:第二系统接收第一系统根据所述身份凭证信息发送的用户信息,根据所述用户信息、以及用户在第二系统注册时预留的用户信息对用户进行身份验证,身份验证通过后,向终端发送能够为用户提供的业务信息;Step 16: The second system receives the user information sent by the first system according to the identity credential information, and authenticates the user according to the user information and the user information reserved by the user when the user registered in the second system. , sending the service information that can be provided to the user to the terminal;
步骤17:终端接收到第二系统根据用户信息提供的业务信息时,根据业务信息生成第二系统的业务办理页面并展示给用户。Step 17: When the terminal receives the service information provided by the second system according to the user information, it generates a service handling page of the second system according to the service information and displays it to the user.
本申请技术方案中对数据的获取、存储、使用、处理等均符合国家法律法规的相关规定。The acquisition, storage, use, and processing of data in the technical solution of this application are in compliance with the relevant provisions of national laws and regulations.
本发明实施例中还提供了一种第一系统、第二系统、终端,如下面的实施例所述。由于该第一系统、第二系统、终端解决问题的原理与登录信息处理方法相似,因此该第一系统、第二系统、终端的实施可以参见登录信息处理方法的实施,重复之处不再赘述。Embodiments of the present invention further provide a first system, a second system, and a terminal, as described in the following embodiments. Since the first system, the second system, and the terminal solve the problem in a similar way to the login information processing method, the implementation of the first system, the second system, and the terminal can refer to the implementation of the login information processing method, and the repetition will not be repeated. .
如图5所示,为本发明实施例提供的一种第一系统的示意图,包括:As shown in FIG. 5, it is a schematic diagram of a first system provided by an embodiment of the present invention, including:
存储模块501,用于预先在用户授权的情况下存储用户信息;The storage module 501 is used to store user information in advance under the condition of user authorization;
第一接收模块502,用于接收终端发送的第一登录请求;其中,所述第一登录请求中携带有用户账号、以及登录密码;The first receiving module 502 is configured to receive a first login request sent by the terminal; wherein, the first login request carries a user account and a login password;
身份凭证信息生成模块503,用于根据用户账号、以及登录密码对用户身份验证通过后,为用户生成身份凭证信息;所述身份凭证信息中携带有第一系统提供的访问接口的地址信息;The identity credential information generation module 503 is configured to generate identity credential information for the user after passing the user identity verification according to the user account and the login password; the identity credential information carries the address information of the access interface provided by the first system;
第一发送模块504,用于第一系统将身份凭证信息发送给终端,以供终端将所述身份凭证信息发送给用户要登录的第二系统;The first sending module 504 is used for the first system to send the identity credential information to the terminal, so that the terminal can send the identity credential information to the second system to which the user wants to log in;
第二接收模块505,用于接收第二系统发送的身份凭证信息;The second receiving module 505 is configured to receive the identity credential information sent by the second system;
第二发送模块506,用于对所述身份凭证信息进行检验,在身份凭证信息检验通过后,向第二系统发送用户信息,以供第二系统根据所述用户信息为用户提供对应的服务。The second sending module 506 is configured to verify the identity credential information, and after the verification of the identity credential information is passed, send user information to the second system, so that the second system can provide corresponding services for the user according to the user information.
在一种可能的实施方式中,存储模块,具体用于接收终端发送的用户注册请求;其中,所述用户注册请求中携带有用户账号、以及登录密码;生成用户账号与登录密码之间的关联关系;生成用户待填写信息,将用户待填写信息发送给终端;接收终端根据用户待填写信息发送的用户信息,生成用户信息与用户账号之间的关联关系。In a possible implementation, the storage module is specifically configured to receive a user registration request sent by the terminal; wherein, the user registration request carries a user account and a login password; and generates an association between the user account and the login password. The information to be filled by the user is generated, and the information to be filled by the user is sent to the terminal; the receiving terminal generates the association relationship between the user information and the user account according to the user information sent by the information to be filled by the user.
在一种可能的实施方式中,身份凭证信息生成模块,具体用于根据用户账号、时间戳、以及随机数,采用MD5算法为用户生成身份凭证信息。In a possible implementation manner, the identity credential information generating module is specifically configured to use the MD5 algorithm to generate identity credential information for the user according to the user account number, timestamp, and random number.
在一种可能的实施方式中,还包括:关联模块,用于第一系统生成所述身份凭证信息与用户账号之间的关联关系;第二发送模块,具体用于第一系统对所述身份凭证信息进行检验,在身份凭证信息检验通过后,确定所述身份凭证信息关联的用户账号;将确定的用户账号对应的用户信息,发送给第二系统。In a possible implementation manner, it further includes: an association module, used for the first system to generate an association relationship between the identity credential information and the user account; a second sending module, specifically used for the first system to associate the identity The credential information is verified, and after the verification of the identity credential information is passed, the user account associated with the identity credential information is determined; the user information corresponding to the determined user account is sent to the second system.
在一种可能的实施方式中,用户信息包括下述至少一种:用户身份信息、用户姓名信息、用户住址信息。In a possible implementation manner, the user information includes at least one of the following: user identity information, user name information, and user address information.
如图6所示,为本发明实施例提供的一种终端的示意图,包括:As shown in FIG. 6, it is a schematic diagram of a terminal according to an embodiment of the present invention, including:
第三发送模块601,用于将用户的第一登录请求发送给第一系统;其中,所述第一登录请求中携带有用户账号、以及登录密码;The third sending module 601 is configured to send the first login request of the user to the first system; wherein, the first login request carries the user account and the login password;
第三接收模块602,用于接收第一系统根据第一登录请求发送的身份凭证信息;所述身份凭证信息中携带有第一系统提供的访问接口的地址信息;The third receiving module 602 is configured to receive the identity credential information sent by the first system according to the first login request; the identity credential information carries the address information of the access interface provided by the first system;
第四接收模块603,用于接收用户提交的第二登录请求;其中,所述第二登录请求中包括用户要登录的第二系统的系统标识;The fourth receiving module 603 is configured to receive the second login request submitted by the user; wherein, the second login request includes the system identifier of the second system to be logged in by the user;
第四发送模块604,用于根据第二系统的系统标识,将身份凭证信息发送给第二系统;以便第二系统根据身份凭证信息从第一系统获取用户的用户信息;The fourth sending module 604 is configured to send the identity credential information to the second system according to the system identification of the second system; so that the second system obtains the user information of the user from the first system according to the identity credential information;
第一处理模块605,用于接收到第二系统根据用户信息提供的业务信息时,根据业务信息生成第二系统的业务办理页面并展示给用户。The first processing module 605 is configured to, when receiving the business information provided by the second system according to the user information, generate a business handling page of the second system according to the business information and display it to the user.
在一种可能的实施方式中,还包括:第二处理模块,用于将用户提交的用户注册请求发送给第一系统;其中,所述用户注册请求中携带有用户账号、以及登录密码;接收第一系统根据用户注册请求发送的用户待填写信息;根据用户待填写信息生成用户信息填写页面展示给用户;将用户通过用户信息填写页面填写的用户信息发送给第一系统。In a possible implementation, it further includes: a second processing module, configured to send the user registration request submitted by the user to the first system; wherein, the user registration request carries the user account and the login password; receiving The first system sends the user information to be filled in according to the user registration request; generates a user information filling page based on the user information to be filled and displays it to the user; sends the user information filled in by the user through the user information filling page to the first system.
如图7所示,为本发明实施例提供的一种第二系统的示意图,包括:As shown in FIG. 7, it is a schematic diagram of a second system provided by an embodiment of the present invention, including:
第五接收模块701,用于接收终端发送的身份凭证信息;其中,所述身份凭证信息为用户登录第一系统后第一系统为用户生成并发送给终端,由终端发送给用户要登录的第二系统,身份凭证信息中携带有第一系统提供的访问接口的地址信息;The fifth receiving module 701 is used to receive the identity credential information sent by the terminal; wherein, the identity credential information is generated by the first system for the user after the user logs in to the first system and sent to the terminal, and sent by the terminal to the first system to be logged in by the user. The second system, the identity credential information carries the address information of the access interface provided by the first system;
第五发送模块702,用于根据所述地址信息向第一系统发送所述身份凭证信息;a fifth sending module 702, configured to send the identity credential information to the first system according to the address information;
第六接收模块703,用于接收第一系统根据所述身份凭证信息发送的用户信息;A sixth receiving module 703, configured to receive user information sent by the first system according to the identity credential information;
第三处理模块704,用于根据所述用户信息、以及用户在第二系统注册时预留的用户信息对用户进行身份验证,身份验证通过后,向终端发送能够为用户提供的业务信息。The third processing module 704 is configured to authenticate the user according to the user information and the user information reserved by the user when the user registers in the second system, and after the authentication is passed, send service information that can be provided to the user to the terminal.
本发明实施例还提供一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述登录信息处理方法。An embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements the above login information processing method when the processor executes the computer program.
本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述登录信息处理方法。An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the above login information processing method is implemented.
本发明实施例还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,所述计算机程序被处理器执行时实现上述登录信息处理方法。An embodiment of the present invention further provides a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, the above login information processing method is implemented.
本发明实施例中,第一系统预先在用户授权的情况下存储用户信息;第一系统接收终端发送的第一登录请求;其中,所述第一登录请求中携带有用户账号、以及登录密码;第一系统根据用户账号、以及登录密码对用户身份验证通过后,为用户生成身份凭证信息;所述身份凭证信息中携带有第一系统提供的访问接口的地址信息;第一系统将身份凭证信息发送给终端,以供终端将所述身份凭证信息发送给用户要登录的第二系统;第一系统接收第二系统发送的身份凭证信息;第一系统对所述身份凭证信息进行检验,在身份凭证信息检验通过后,向第二系统发送用户信息,以供第二系统根据所述用户信息为用户提供对应的服务。这样,用户在登录不同的第二系统时,只需要在第一系统完成身份验证,就可以登录到不同的第二系统,且通过生成身份凭证信息,对身份凭证信息进行验证来保证用户信息安全,在提升登录效率的同时,提升登录的安全性,提升用户体验度。In this embodiment of the present invention, the first system stores user information in advance under the condition of user authorization; the first system receives a first login request sent by the terminal; wherein, the first login request carries a user account and a login password; After the first system verifies the user's identity according to the user account and the login password, it generates identity credential information for the user; the identity credential information carries the address information of the access interface provided by the first system; the first system stores the identity credential information Send it to the terminal, so that the terminal can send the identity credential information to the second system to which the user wants to log in; the first system receives the identity credential information sent by the second system; the first system verifies the identity credential information, and the identity credential information is After the verification of the credential information is passed, the user information is sent to the second system, so that the second system can provide the user with a corresponding service according to the user information. In this way, when a user logs in to a different second system, he only needs to complete the identity verification in the first system, then he can log in to a different second system, and the security of the user information is ensured by generating the identity credential information and verifying the identity credential information. , while improving login efficiency, improve login security, and improve user experience.
此外,终端将用户的第一登录请求发送给第一系统;其中,所述第一登录请求中携带有用户账号、以及登录密码;终端接收第一系统根据第一登录请求发送的身份凭证信息;所述身份凭证信息中携带有第一系统提供的访问接口的地址信息;终端接收用户提交的第二登录请求;其中,所述第二登录请求中包括用户要登录的第二系统的系统标识;终端根据第二系统的系统标识,将身份凭证信息发送给第二系统;以便第二系统根据身份凭证信息从第一系统获取用户的用户信息;终端接收到第二系统根据用户信息提供的业务信息时,根据业务信息生成第二系统的业务办理页面并展示给用户。这样,用户只需要通过登录第一系统就可以实现登录不同的第二系统,实现通过统一的账号密码登录不同系统,减少操作过程,提高登录效率,提升用户体验度。In addition, the terminal sends the user's first login request to the first system; wherein, the first login request carries the user account and the login password; the terminal receives the identity credential information sent by the first system according to the first login request; The identity credential information carries the address information of the access interface provided by the first system; the terminal receives the second login request submitted by the user; wherein, the second login request includes the system identifier of the second system that the user wants to log in to; The terminal sends the identity credential information to the second system according to the system identification of the second system; so that the second system obtains the user information of the user from the first system according to the identity credential information; the terminal receives the service information provided by the second system according to the user information At the time, the business handling page of the second system is generated according to the business information and displayed to the user. In this way, users only need to log in to the first system to log in to different second systems, and to log in to different systems through a unified account and password, which reduces the operation process, improves login efficiency, and improves user experience.
另外,第二系统接收终端发送的身份凭证信息;其中,所述身份凭证信息为用户登录第一系统后第一系统为用户生成并发送给终端,由终端发送给用户要登录的第二系统,身份凭证信息中携带有第一系统提供的访问接口的地址信息;第二系统根据所述地址信息向第一系统发送所述身份凭证信息;第二系统接收第一系统根据所述身份凭证信息发送的用户信息;第二系统根据所述用户信息、以及用户在第二系统注册时预留的用户信息对用户进行身份验证,身份验证通过后,向终端发送能够为用户提供的业务信息。这样,通过身份凭证信息既可以保证登录过程中用户信息的安全性,还可以实现通过统一的账号密码登录不同系统,减少操作过程,提高登录效率,提升用户体验度。In addition, the second system receives the identity credential information sent by the terminal; wherein, the identity credential information is generated by the first system for the user after the user logs in to the first system and sent to the terminal, and sent by the terminal to the second system to which the user wants to log in, The identity credential information carries the address information of the access interface provided by the first system; the second system sends the identity credential information to the first system according to the address information; the second system receives the identity credential information sent by the first system according to the identity credential information The second system verifies the user's identity according to the user information and the user information reserved when the user registers in the second system, and after the identity verification is passed, sends the service information that can be provided to the user to the terminal. In this way, the identity credential information can not only ensure the security of user information during the login process, but also can log in to different systems through a unified account and password, reducing the operation process, improving the login efficiency, and improving the user experience.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above-mentioned specific embodiments are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims (17)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210323825.1A CN114697109A (en) | 2022-03-30 | 2022-03-30 | Login information processing method, first system, terminal and second system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210323825.1A CN114697109A (en) | 2022-03-30 | 2022-03-30 | Login information processing method, first system, terminal and second system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114697109A true CN114697109A (en) | 2022-07-01 |
Family
ID=82141133
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210323825.1A Pending CN114697109A (en) | 2022-03-30 | 2022-03-30 | Login information processing method, first system, terminal and second system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114697109A (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106612255A (en) * | 2015-10-23 | 2017-05-03 | 北京国双科技有限公司 | A method, apparatus and system for system docking |
| CN109274685A (en) * | 2018-11-02 | 2019-01-25 | 深圳壹账通智能科技有限公司 | Multisystem login method, device, computer equipment and storage medium |
| CN110795720A (en) * | 2018-08-03 | 2020-02-14 | 北京京东尚科信息技术有限公司 | Information processing method, system, electronic device and computer readable medium |
| CN114158046A (en) * | 2021-12-30 | 2022-03-08 | 支付宝(杭州)信息技术有限公司 | Method and device for realizing one-key login service |
-
2022
- 2022-03-30 CN CN202210323825.1A patent/CN114697109A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106612255A (en) * | 2015-10-23 | 2017-05-03 | 北京国双科技有限公司 | A method, apparatus and system for system docking |
| CN110795720A (en) * | 2018-08-03 | 2020-02-14 | 北京京东尚科信息技术有限公司 | Information processing method, system, electronic device and computer readable medium |
| CN109274685A (en) * | 2018-11-02 | 2019-01-25 | 深圳壹账通智能科技有限公司 | Multisystem login method, device, computer equipment and storage medium |
| CN114158046A (en) * | 2021-12-30 | 2022-03-08 | 支付宝(杭州)信息技术有限公司 | Method and device for realizing one-key login service |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105429760B (en) | A TEE-based digital certificate authentication method and system | |
| US9246897B2 (en) | Method and system of login authentication | |
| US8745401B1 (en) | Authorizing actions performed by an online service provider | |
| CN111935094A (en) | Database access method, device, system and computer readable storage medium | |
| US9009793B2 (en) | Dynamic pin dual factor authentication using mobile device | |
| WO2022121461A1 (en) | Method, apparatus and device for constructing token for cloud platform resource access control | |
| CN102946384B (en) | User authentication method and equipment | |
| CN101534192B (en) | System used for providing cross-domain token and method thereof | |
| CN105659559A (en) | Verify the security of the remote server | |
| CN105099707B (en) | A kind of offline authentication method, server and system | |
| CN105516104A (en) | A TEE-based dynamic password authentication method and system | |
| CN111241523B (en) | Authentication processing method, apparatus, device and storage medium | |
| CN102801724A (en) | Identity authentication method combining graphic image with dynamic password | |
| CN111541665A (en) | Data access method, device, storage medium and clustered security management platform | |
| CN107886320A (en) | It is a kind of to handle the method, equipment and computer-readable storage medium for tying up card | |
| CN111949958B (en) | Authorization authentication method and device in Oauth protocol | |
| CN106161348A (en) | A single sign-on method, system and terminal | |
| CN106331003A (en) | A method and device for accessing an application portal system on a cloud desktop | |
| US11777942B2 (en) | Transfer of trust between authentication devices | |
| KR20160018554A (en) | Roaming internet-accessible application state across trusted and untrusted platforms | |
| KR20180034199A (en) | Unified login method and system based on single sign on service | |
| CN106209785A (en) | A kind of many accounts binding method, Apparatus and system | |
| CN114461912A (en) | Information processing method and device, electronic equipment and storage medium | |
| CN106572065B (en) | A kind of entity identity validity verification method and device for multi-TTP participation | |
| CN106572066B (en) | A kind of entity identity validity verification method and device |
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 | ||
| AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20250704 |
|
| AD01 | Patent right deemed abandoned |