Cross-system logon-free method, device, equipment and readable storage medium

By obtaining and verifying temporary identity information within the application, automatic login across systems is achieved, solving the problem of cumbersome cross-system login and improving the user experience.

CN111859320BActive Publication Date: 2026-02-13CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010575441.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-22
Publication Date
2026-02-13
Estimated Expiration
2040-06-22

AI Technical Summary

Technical Problem

In applications, the cross-system login process is cumbersome, resulting in a poor user experience and making it impossible to achieve seamless cross-system login without any user interaction.

Method used

The system obtains the user's temporary identity information on the first system server and sends it to the second system front end. The second system server then sends the information to the second system server through the information transmission interface to verify the login request. After receiving feedback information and confirming it, the system automatically logs in on the second system.

Benefits of technology

It enables cross-system operations within the same application without requiring users to manually log in, improving login convenience and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111859320B_ABST
    Figure CN111859320B_ABST
Patent Text Reader

Abstract

The application discloses a cross-system login-free method based on the same application, relates to the technical field of data security, and comprises the following steps: when an access instruction for a second system is received, acquiring temporary identity information of a user on a first system server; sending the temporary identity information to a front end of the second system, so that the front end of the second system sends the temporary identity information to a second system server through a corresponding information transmission interface; sending a login request sent by the second system server based on the temporary identity information to the first system server; receiving feedback information sent by the first system server in response to the login request; when the feedback information is identified as certain information, sending the feedback information to the second system server to log in on the second system; and when it is detected that the login on the second system is successful, jumping to a page contained in the access instruction. The application also provides an apparatus, a computer device and a storage medium. The application realizes the convenience of cross-system login-free.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data security, and particularly relates to a cross-system login-free method, device, computer equipment and computer readable storage medium based on the same application program. BACKGROUND

[0002] In many application programs, there are usually small programs that can log in to other small programs or systems when using a certain application program APP. When jumping to another small program or system, either no corresponding login is performed, or the user needs to input corresponding login information, but the login process is cumbersome and the user cannot perceive the login mode between systems.

[0003] If there is a cooperative relationship between two systems, there will often be a scenario of respective login for the user to perform multiple login operations, and the operation process is cumbersome and the user experience is poor.

[0004] Therefore, there is an urgent need for a solution for cross-system login without sensing the same application program. SUMMARY

[0005] The present application provides a cross-system login-free method, device, computer equipment and storage medium based on the same application program to improve the convenience of cross-system login.

[0006] In a first aspect, the present application provides a cross-system login-free method based on the same application program, which comprises:

[0007] When receiving an access instruction to a second system, obtaining temporary identity information of the user at a first system server;

[0008] Sending the temporary identity information to the second system front end, so that the second system front end sends the temporary identity information to the second system server through a corresponding information transmission interface;

[0009] Sending a login request sent by the second system server based on the temporary identity information to the first system server;

[0010] Receiving feedback information issued by the first system server in response to the login request;

[0011] When the feedback information is identified as determination information, sending the feedback information to the second system server to log in on the second system;

[0012] When it is detected that the login on the second system is successful, jumping to a page contained in the access instruction.

[0013] In a second aspect, the present application further provides a cross-system login-free device based on the same application program, the device comprising:

[0014] an information obtaining module, configured to obtain temporary identity information of the user from a first system server when receiving an access instruction to a second system;

[0015] a first sending module, configured to send the temporary identity information to a second system front end, so that the second system front end sends the temporary identity information to a second system server through a corresponding information transmission interface;

[0016] a second sending module, configured to send a login request sent by the second system server based on the temporary identity information to the first system server;

[0017] an information receiving module, configured to receive feedback information sent by the first system server in response to the login request;

[0018] a system login module, configured to send the feedback information to the second system server when identifying the feedback information as certain information, so as to log in on the second system;

[0019] an instruction response module, configured to jump to a page contained in the access instruction when detecting that the login on the second system is successful.

[0020] In a third aspect, the present application further provides a computer device, comprising a memory and a processor; the memory is configured to store a computer program; the processor is configured to execute the computer program and realize the cross-system login-free method based on the same application program as described above when executing the computer program.

[0021] In a fourth aspect, the present application further provides a computer readable storage medium, which stores a computer program; the computer program is executed by a processor to make the processor realize the cross-system login-free method based on the same application program as described above.

[0022] The application discloses a cross-system login-free method and device based on the same application program, a computer device and a storage medium. When a user needs to use a second system while using a first system, identity information of the user logged in the first system is acquired, specifically, data information is read in a first system server to obtain temporary user information corresponding to the user logged in the first system, and then the obtained temporary identity information is sent to a second system front end, so that the second system front end sends the identity information to the second system server by using a corresponding data transmission interface, the second system server obtains a corresponding login request according to the temporary identity information, and sends the login request to the first system server for corresponding login verification. When feedback information sent by the first system server is confirmation information, login on the second system is realized to jump to a business page corresponding to an access instruction. When cross-system login is needed in the same application program, information interaction between the two systems is performed to complete login verification on another system, without the need of user cross-system login operation, and the convenience of login is improved. BRIEF DESCRIPTION OF DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative effort on the basis of these drawings.

[0024] Figure 1 A flowchart of a cross-system login-free method based on a unified application program in one embodiment of the application;

[0025] Figure 2 A flowchart of a step of obtaining feedback information in response to a login request in one embodiment of the application;

[0026] Figure 3 A flowchart of a step of obtaining login information in one embodiment of the application;

[0027] Figure 4 A data interaction framework diagram of a cross-system login method in one embodiment of the application;

[0028] Figure 5 A schematic block diagram of a cross-system login-free device of the same application program in one embodiment of the application;

[0029] Figure 6 A schematic block diagram of the structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0030] With reference to the drawings, the technical solutions in the embodiments of the present application will be clearly and completely described below. Obviously, the described embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts should fall within the scope of the present application.

[0031] The flowcharts shown in the drawings are only illustrative, and do not necessarily include all the contents and operations / steps, nor are they necessarily executed in the described order. For example, some operations / steps can be further decomposed, combined or partially merged, so that the actual execution order can be changed according to actual conditions.

[0032] It should be understood that the terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification and the appended claims of the present application, the singular forms "a", "an" and "the" are intended to include the plural forms unless the context clearly indicates otherwise.

[0033] It should also be understood that the term "and / or" used in the specification and the appended claims of the present application means any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.

[0034] Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The following embodiments and features in the embodiments can be combined with each other without conflict.

[0035] Please refer to Figure 1 , Figure 1 The flowchart of a cross-system login-free method based on a unified application program in an embodiment of the present application.

[0036] In many APPs nowadays, other systems are embedded. When a corresponding business operation is performed using the APP, another system can be entered through certain operations to achieve the convenience of business requirements.

[0037] Specifically, the cross-system login-free method comprises:

[0038] Step S101: When an access instruction to a second system is received, temporary identity information of a user is obtained at a first system server.

[0039] The first system and the second system can be opened using the same application program, the first system is the currently used system, that is, the program corresponding to the first system currently used by the user, and the second system is the system currently accessed. In actual application, the first system and the second system can be interchanged, and the second system can still be accessed when the first system is used. The system includes a system front end and a system server, and the operability and functions corresponding to the two are different. Due to the independence of the interaction between the systems, the front end of the A system can only transmit data through the API provided by the front end of the B system, and cannot directly call the interface of the B system server to perform corresponding operations.

[0040] When the first system is used for corresponding business operation, if the second system needs to be accessed for other business, that is, when the access instruction of the second system is received during the operation of the first system, the identity information of the user logged into the first system will be obtained, that is, the current temporary identity information of the user is obtained in the first system server, and then whether the business operation in the second system can be implemented without login is determined through the obtained temporary identity information.

[0041] The login-free is relative to the user, and does not need any login operation such as input of login information, but the system automatically completes the login.

[0042] In actual application, for example, multiple business systems embedded in an application program, each system can log in relying on the application program, and there is also corresponding data interaction between different business systems. When the user currently uses a business, that is, uses the first system, if another business needs to be used to complete the corresponding business in this business, the corresponding second system needs to be accessed at this time. In order to use another business, a corresponding information login operation needs to be performed, so at this time the corresponding temporary identity information of the user in the first system is obtained, wherein the temporary identity information includes the temporary token corresponding to the user, the user identifier of the user and the device identifier of the device used, so as to complete the corresponding login according to the obtained identity information, and then realize the operation of a certain business.

[0043] In some embodiments, in order to ensure the security of the login information when the login-free of the second system is implemented, when the identity information of the user logged into the first system is obtained, the first system front end accesses the first system server based on a preset rule to set the effective time of the identity information, so as to obtain the temporary identity information of the user.

[0044] Specifically, in order to ensure the security of the login, when obtaining the identity information of the login user recorded in the first system, a certain information validity time is set for the identity information, and the identity information can only be used when the identity information verification is performed within the time validity time. When the time validity time is exceeded, the identity information will be regarded as invalid information.

[0045] In addition, when obtaining the identity information of the user logging into the first system, in addition to setting a certain validity time for the identity information, the security of the login can also be ensured according to the identification information of the device implementing the login of the first system.

[0046] Step S102, the temporary identity information is sent to the front end of the second system, so that the front end of the second system sends the temporary identity information to the service end of the second system through a corresponding information transmission interface;

[0047] After obtaining the temporary identity information of the user from the first system service end, the obtained temporary identity information is sent to the front end of the second system, so that the front end of the second system sends the received temporary identity information to the service end of the second system through a corresponding information transmission interface, so that the service end of the second system obtains a corresponding login request according to the received temporary identity information.

[0048] In actual application, after receiving the temporary identity information of the user obtained by the front end of the first system from the service end of the first system, the temporary identity information is sent to the system front end of the second system which needs to be logged in. Due to the mutual independence between systems, when performing the login-free operation in the second system, the front end of the second system needs to interact with the front end of the first system, and then forward the obtained data to the service end of the second system, so as to realize the transmission of data in the second system.

[0049] Step S103, the login request sent by the service end of the second system based on the temporary identity information is sent to the service end of the first system.

[0050] After sending the temporary identity information to the service end of the second system through the corresponding data transmission channel, the service end of the second system will generate a corresponding login request according to the temporary identity information, send the generated login request to the service end of the first system, and perform corresponding verification on the first system to determine whether the login-free operation can be performed on the second system.

[0051] In actual application, after the temporary identity information corresponding to the user logging in the first system is obtained, the temporary identity information will be sent to the second system. Since the user needs to log in the second system to perform corresponding business processing at this time, the second system needs to complete the corresponding login operation according to the obtained temporary identity information. Therefore, after receiving the sent identity information, the second system will send a login request for logging in the second system according to the temporary identity information.

[0052] Specifically, when the second system needs to log in, the relevant identity information of the user needs to be used to complete the login. When the user does not actively input the identity information, the identity information of the user who has completed the login of the first system is obtained for the login of the second system. Therefore, when the corresponding identity information is received, since the identity information is sent by the first system, the login request of the second system needs to pass the verification of the first system to complete the login.

[0053] Step S104, receiving feedback information sent by the first system server in response to the login request.

[0054] Since the login on the second system is completed by using the identity information of the user logging in the first system, the authorization of the first system is needed when logging in to complete the login on the second system. Specifically, after the second system server receives the corresponding login request according to the received temporary identity information, the first system server will first verify the login request to obtain the corresponding verification result, that is, after receiving the login request feedback by the second system server according to the temporary identity information, the login request will be responded to obtain the corresponding feedback information.

[0055] In actual application, after receiving the temporary identity information, the second system server generates a login request containing corresponding verification information, and then sends the login request to the first system server for corresponding verification determination to finally determine whether to allow the user's identity information to log in the second system. Specifically, when receiving the confirmation information feedback by the first system, it is determined that the obtained identity information can be used to log in the second system. Similarly, when receiving the negative information feedback by the first system, the obtained identity information cannot be used to log in the second system.

[0056] Step S105, when the feedback information is identified as confirmation information, the feedback information is sent to the second system server to log in the second system.

[0057] The first system server will obtain the corresponding response result after responding to the received login request, at this time the feedback information obtained by responding to the login request will be sent to the second system server, so that the second system server can complete the corresponding login operation after receiving the feedback information. Specifically, since only when the feedback information is confirmation information can it be determined that the login on the second system can be implemented, when the obtained feedback information is identified as confirmation information, the feedback information is sent to the second system server, so that the second system can automatically log in.

[0058] Specifically, after the first system server receives the login request sent by the second system server, the login request is verified accordingly, and the corresponding feedback information is fed back according to the verification result, wherein the feedback information includes confirmation information and negative information, wherein the confirmation information is information that can log in, and the negative information is information that cannot log in.

[0059] The login information is verified, in order to better ensure the security of the login, therefore when verifying, the user's related information is mainly verified, including but not limited to the user's basic information, and can also include the user's device information. When the first system server responds to the login request and obtains the corresponding feedback information, the feedback information will be fed back to the second system server, so that the second system responds to the feedback information.

[0060] In actual application, after sending the feedback information sent by the first system server in response to the login request to the second system server, in order to make the second system can timely and accurately complete the corresponding login operation, at this time the pre-stored login information in the first system server will be obtained, and the login information will also be sent to the second system server, so that automatic login can be realized on the second system. The login information can be the same as the identity information, or it can be different, such as the identity information is the user's name, the login information can be the user's name, or other login information associated with the user, such as phone number or email, etc. When it is determined that the login can be implemented in the second system, the login information corresponding to the user information is obtained according to the user information contained in the identity information.

[0061] Step S106, when detecting that the login on the second system is successful, jump to the page contained in the access instruction.

[0062] When detecting that the second system login is completed, the page contained in the access instruction will be jumped to, so that the user can operate on the corresponding page to meet different business needs.

[0063] In addition, when the second system can automatically log in, the user will be automatically redirected to the page contained in the access instruction after the login is completed. When the second system cannot automatically log in, the user will be redirected to the login interface corresponding to the second system to perform the corresponding login operation, and then automatically jump to the page contained in the access instruction after the login is completed, so that the user can complete the corresponding business operation.

[0064] In the above-described cross-system login method based on the same application program, when the first system is used and the second system is needed, the identity information of the user logged into the first system is obtained, specifically, the data information is read in the first system server to obtain the temporary user information corresponding to the user logged into the first system, and then the obtained temporary identity information is sent to the second system front end, so that the second system front end sends the identity information to the second system server through the corresponding data transmission interface, and the second system server obtains the corresponding login request according to the temporary identity information, and sends the login request to the first system server for corresponding login verification. Finally, when the feedback information sent by the first system server is the confirmation information, the login on the second system is realized to jump to the business page corresponding to the access instruction. When cross-system login is needed in the same application program, information interaction between the two systems is performed to complete the login verification on the other system, without the user performing cross-system login operation, thereby improving the convenience of login.

[0065] Further, with reference to Figure 2 , Figure 2 FIG. 1 is a flowchart of the step of obtaining feedback information in response to a login request according to an embodiment of the present application.

[0066] Specifically, before receiving the feedback information sent by the first system server in response to the login request, step S104 includes:

[0067] Step S201, obtaining the temporary token contained in the login request;

[0068] Step S202, determining whether the temporary token is a valid token according to the data information contained in the temporary token to obtain a determination result;

[0069] Step S203, obtaining the corresponding feedback information according to the determination result obtained by the determination.

[0070] The login request is a request information sent by the second system for login. When the login request is sent by the server of the second system, the corresponding verification information is included, so that the first system determines whether to allow the login-free operation to be completed on the second system. In order to ensure the security of the account login, the login request needs to be verified to ensure that the cross-system login-free operation is realized in the case of account security.

[0071] Specifically, after receiving the login request sent by the second system, the login request will be responded. The response to the login request is used for information verification to determine whether the login-free operation can be performed on the second system. Specifically, the temporary token included in the received login request is obtained, and then it is judged whether the obtained temporary token is a valid token according to the data information included in the temporary token, and further the corresponding feedback information is obtained according to the determination result obtained by the judgment.

[0072] In actual application, when it is determined that the obtained temporary token is a valid token, the current feedback information is determination information, that is, the login-free operation can be performed on the second system at this time; when it is determined that the obtained temporary token is an invalid token, the current feedback information is negative information, that is, the login-free operation on the second system will not be allowed at this time, and the user needs to perform the corresponding login operation such as inputting login information.

[0073] When it is determined that the login-free operation on the second system cannot be realized at present, that is, the login-free operation fails, the corresponding login interface will be popped up when logging into the second system, so that the user inputs the login information in the related area of the login interface to complete the login on the second system.

[0074] Further, when it is judged whether the temporary token is a valid token according to the data information included in the temporary token, it includes: obtaining the identification information corresponding to the temporary token; determining the correctness of the temporary token according to the identification information; when it is determined that the temporary token is correct, it is determined whether the temporary token is within a valid time period to determine whether the temporary token is a valid token.

[0075] The token means "token", which is a string of characters generated by the server as an identifier for making a request. The temporary token is used for user information verification, and has a certain timeliness. When the temporary token ensures its timeliness, the request to which the temporary token belongs will be responded.

[0076] In determining whether the temporary token is a valid token, the related validity information of the temporary token is obtained, such as the identification information of the temporary token, wherein the identification information at least includes the device identification and the user identification, and then the correctness of the temporary token is determined according to the obtained identification information of the temporary token, and further in determining that the temporary token is correct, it is determined whether the temporary token is in a valid time period, and then it is determined whether the obtained temporary token is a valid token.

[0077] In actual application, when obtaining the identity information of the user logged in the first system, the obtained identity information is set with corresponding valid time, and the corresponding valid time when setting the valid time information is the valid time that can respond to the login request feedback by the second system, such as the time corresponding to the valid time information is 1 minute, that is, after obtaining the identity information of the user logged in the first system, only the login request received within 1 minute will be responded to, and the login request exceeding 1 minute will be determined as invalid request.

[0078] Therefore, after obtaining the temporary token contained in the login request, the correctness of the identification information is determined according to the identification information corresponding to the temporary token, which can effectively ensure the security of the user's account use.

[0079] Because, in actual application, not all cases can be free login, such as when the user uses a terminal device that is not regularly used to log in to an application program for corresponding business operation, if the second system is accessed at this time, since it is not the user's regular use device, if the second system is directly free logged in at this time, there will be certain security risks, and there may also be a situation that cannot be logged in. Therefore, the identification information of the temporary token is obtained, and the device identification and the user identification are verified to ensure the security of the login.

[0080] In addition, in order to further ensure the security of the login, after determining the correctness of the identification information, it is further determined whether the temporary token is in a valid time period, and the validity of the temporary token is determined to ensure that the login to the second system is currently needed. Specifically, in determining whether the temporary token is in a valid time token, such as the corresponding valid time is 2 minutes, but when the login request is received, it has exceeded 2 minutes, it is determined that the obtained temporary token is an invalid token, that is, the login request received at this time is an invalid request.

[0081] In actual application, the first system server mainly judges the security and timeliness of the identity information when performing login verification. Specifically, the temporary token contained in the identity information is acquired, and the valid time information of the temporary token is read to determine whether the current time is within the valid time information. Meanwhile, the identification information of the device contained in the identity information is acquired to compare the obtained identification information of the device with the identification information of the device stored in the first system. Only when the current time is within the valid time information and the obtained identification information of the device is the same as the stored identification information of the device, it is determined that the verification is passed, i.e., the login in the second system can be allowed to be exempted.

[0082] Further, in some embodiments, the receiving the feedback information sent by the first system server in response to the login request comprises: when it is determined that the temporary token is a valid token, receiving determination information sent by the first system server in response to the login request; and when it is determined that the temporary token is an invalid token, receiving negative information sent by the first system server in response to the login request.

[0083] When the obtained temporary token is correct, the validity of the temporary token is determined to determine the corresponding feedback information, wherein only when the temporary token is a valid token, it is determined that the obtained feedback information is determination information, i.e., at this time, the login operation in the second system can be exempted, otherwise, the login operation in the second system cannot be exempted, and the user needs to actively log in.

[0084] In some embodiments, the feedback information comprises: Figure 3 , Figure 3 FIG. 1 is a flowchart of the steps of acquiring login information in an embodiment of the present application.

[0085] Specifically, when the feedback information is determination information, the feedback information is sent to the second system, so that when the second system logs in, it comprises:

[0086] Step S301, when it is determined that the feedback information is determination information, receiving the user information sent by the first system server;

[0087] Step S302, acquiring login information corresponding to the user information and the second system in the corresponding user information database according to the user information;

[0088] Step S303, sending the login information to the second system server, so that the second system logs in according to the login information.

[0089] When the confirmation feedback information is determined to be the determination information, the user information sent by the first system server is received, and then the login information associated with the user information and the second system is obtained in the corresponding user information library according to the obtained user information, and then the obtained login information is sent to the second system server, so that the second system can complete automatic login according to the login information.

[0090] The user information is a unique identifier of the user, such as user identity card information, passport information, or other unique information, and can also be a telephone number that has undergone real-name authentication.

[0091] In actual application, the login information corresponding to the user in different systems may be different, such as some systems are logged in by using an email, so in the memory of the control system of the application program, the corresponding login information associated with the user information is recorded and stored in advance. For different login information associated with the corresponding system, when automatic login to a certain system is required, the memory is queried according to the corresponding user information to obtain the correct login information that can log in to this system.

[0092] In the above-described cross-system login method of the same application program, in the same application program, when the second system is required to be used, the identity information of the user logged in to the first system is obtained, and the identity information is sent to the second system server by using the corresponding data transmission interface. The second system server obtains the corresponding login request according to the identity information, and sends the login request to the first system server for corresponding login verification, and then when the first system server feeds back the prompt information of successful verification, the automatic login of the second system is completed according to the related login information provided by the first system.

[0093] In actual use, when data interaction of the first system and the second system is performed, different systems have corresponding back-end servers, so the first system includes a first system front end and a second system server, and the second system also includes a second system front end and a second system server. However, when data interaction is performed, only the front end of each system can perform data interaction, and only the server of each system can perform data transmission, but the front end and the server of each system can perform certain data transmission.

[0094] Therefore, with reference to Figure 4 , Figure 4 is a data interaction framework diagram of a cross-system login method in an embodiment of the present application.

[0095] Specifically, when the user performs cross-system login, the following steps are included:

[0096] 1、User clicks the portal of the second system front end in the first system front end, at this time it will be ready to jump to the second system front end page;

[0097] 2、The first system front end obtains the current user temporary token from the first system server, and the first system front end obtains the user identifier of the current user and the current device number (device identifier);

[0098] 3、The first system front end passes the obtained data to the second system front end;

[0099] 4、The second system front end passes the obtained user temporary token, user identifier and device number to the second system server through interface request;

[0100] 5、The second system server obtains the corresponding parameters, and requests the first system server through the interface, at this time the request is a login request;

[0101] 6、The first system server receives the second system server parameters, and performs security check on the temporary token (from the security point of view, the validity time of the temporary token is 2 minutes) and the device number and user identifier, judges whether the user is triggered from the first system front end, ensures that the user is a real user, and avoids the risk of being brushed;

[0102] 7、After the security check of the first system server, the second system server is informed that the user is a normal login-free user, and the user does not need to actively perform login operation, and the corresponding mobile phone number (login information) of the user is returned to the second system server, so that the second system completes automatic login.

[0103] Through the above-mentioned manner, when two systems cooperate, the client information of two systems is collected through mutual communication, the login check is performed through the servers of two systems, the front end is returned to inform that the user has passed the login-free process, and there is no need to perform cross-system login operation, so that the user can operate between two systems without sensing. Thus, the system interaction ability is improved, the user experience is greatly improved, and the user can use the functions of two systems without obstacles.

[0104] Please refer to Figure 5 , Figure 5 This is a schematic block diagram of a cross-system login-free device based on the same application program in an embodiment of the application, which is used to execute the cross-system login-free method based on the same application program.

[0105] As shown in Figure 5 , the cross-system login-free device 500 based on the same application program comprises:

[0106] The information obtaining module 501 is configured to obtain temporary identity information of a user from a first system server when an access instruction for a second system is received.

[0107] The first sending module 502 is configured to send the temporary identity information to a front end of the second system, so that the front end of the second system sends the temporary identity information to a second system server through a corresponding information transmission interface.

[0108] The second sending module 503 is configured to send a login request sent by the second system server based on the temporary identity information to the first system server.

[0109] The information receiving module 504 is configured to receive feedback information sent by the first system server in response to the login request.

[0110] The system login module 505 is configured to send the feedback information to the second system server to log in on the second system when it is identified that the feedback information is determined information.

[0111] The instruction response module 506 is configured to jump to a page contained in the access instruction when it is detected that the login on the second system is successful.

[0112] Further, in an embodiment, the information obtaining module 501 is specifically further configured to:

[0113] access the first system server from the first system front end to set an effective time of the identity information according to a preset rule to obtain the temporary identity information of the user.

[0114] Further, in an embodiment, the cross-system login-free device 500 further comprises a judgment and determination module 507, which is specifically configured to:

[0115] obtain a temporary token contained in the login request; determine whether the temporary token is a valid token according to data information contained in the temporary token; and obtain corresponding feedback information according to a judgment result obtained by the determination.

[0116] Further, in an embodiment, the judgment and determination module 507 is specifically further configured to:

[0117] obtain identification information corresponding to the temporary token, wherein the identification information comprises a device identifier and a user identifier; determine correctness of the temporary token according to the identification information; when it is determined that the temporary token is correct, determine whether the temporary token is within a valid time period corresponding to the valid time information, so as to determine whether the temporary token is a valid token.

[0118] Further, in an embodiment, the judgment and determination module 507 is specifically further used for:

[0119] when it is determined that the temporary token is within the valid time period corresponding to the valid time information, determining that the temporary token is a valid token; and when it is determined that the temporary token is not within the valid time period corresponding to the valid time information, determining that the temporary token is an invalid token.

[0120] Further, in an embodiment, the information receiving module 504 is specifically further used for:

[0121] when it is determined that the temporary token is a valid token, receiving determination information sent by the first system server in response to the login request; and when it is determined that the temporary token is an invalid token, receiving negative information sent by the first system server in response to the login request.

[0122] Further, in an embodiment, the system login module 505 is specifically further used for:

[0123] when the feedback information is determined to be the determination information, receiving user information sent by the first system server; obtaining login information corresponding to the user information and the second system in a corresponding user information database according to the user information; and sending the login information to the second system server, so that the second system logs in according to the login information.

[0124] It should be noted that, for the convenience and brevity of description, the specific working processes of the above-described apparatus and modules can refer to the corresponding processes in the foregoing method embodiments, which will not be described herein.

[0125] The apparatus described above can be implemented in the form of a computer program, which can run on a computer device such as the computer device shown in Figure 6 .

[0126] Please refer to Figure 6 , Figure 6 which is a structural schematic block diagram of the computer device in an embodiment. The computer device can be a server.

[0127] Referring to Figure 6 The computer device comprises a processor, a memory and a network interface connected through a system bus, wherein the memory can comprise a non-volatile storage medium and an internal memory.

[0128] The non-volatile storage medium can store an operating system and a computer program. The computer program comprises program instructions which, when executed, can cause the processor to perform any one of the cross-system login-free methods based on the same application program.

[0129] The processor is configured to provide computing and control capabilities to support the operation of the entire computer device.

[0130] The internal memory provides an environment for the execution of the computer program in the non-volatile storage medium, which, when executed by the processor, can cause the processor to perform any one of the cross-system login-free methods based on the same application program.

[0131] The network interface is configured to perform network communication, such as sending assigned tasks, etc. Those skilled in the art can understand that Figure 6 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can comprise more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0132] It should be understood that the processor can be a central processing unit (CPU), and the processor can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0133] In one embodiment, the processor is configured to run a computer program stored in the memory to implement the following steps:

[0134] When receiving the access instruction of the second system, the first system server obtains the temporary identity information of the user; the temporary identity information is sent to the second system front end, so that the second system front end sends the temporary identity information to the second system server through the corresponding information transmission interface; the login request sent by the second system server based on the temporary identity information is sent to the first system server; the feedback information sent by the first system server in response to the login request is received; when the feedback information is identified as determination information, the feedback information is sent to the second system server to log in on the second system; when it is detected that the login on the second system is successful, jump to the page contained in the access instruction.

[0135] In one embodiment, the processor, when implementing the first system server obtaining the temporary identity information of the user, is further configured to implement:

[0136] Based on the first system front end accessing the first system server, the effective time of the identity information is set according to the preset rule, so as to obtain the temporary identity information of the user.

[0137] In one embodiment, the processor, before implementing the receiving of the feedback information sent by the first system server in response to the login request, is further configured to implement:

[0138] Obtain the temporary token contained in the login request; determine whether the temporary token is a valid token according to the data information contained in the temporary token; obtain the corresponding feedback information according to the judgment result obtained by the judgment.

[0139] In one embodiment, the processor, when implementing the determination of whether the temporary token is a valid token according to the data information contained in the temporary token, is further configured to implement:

[0140] Obtain the identification information corresponding to the temporary token, wherein the identification information includes device identification and user identification; determine the correctness of the temporary token according to the identification information; when it is determined that the temporary token is correct, determine whether the temporary token is in the effective time period corresponding to the effective time information, so as to determine whether the temporary token is a valid token.

[0141] In one embodiment, the processor, when implementing the determination of whether the temporary token is a valid token, is further configured to implement:

[0142] When it is determined that the temporary token is in the valid time period corresponding to the valid time information, the temporary token is determined as a valid token; when it is determined that the temporary token is not in the valid time period corresponding to the valid time information, the temporary token is determined as an invalid token.

[0143] In one embodiment, when implementing the receiving of the feedback information sent by the first system server in response to the login request, the processor is further configured to implement:

[0144] When it is determined that the temporary token is a valid token, receiving determination information sent by the first system server in response to the login request; when it is determined that the temporary token is an invalid token, receiving negative information sent by the first system server in response to the login request.

[0145] In one embodiment, when implementing the sending of the feedback information to the second system server to log in on the second system when the feedback information is determined as the determination information, the processor is further configured to implement:

[0146] When the feedback information is determined as the determination information, receiving user information sent by the first system server; obtaining login information corresponding to the user information and the second system in a corresponding user information database according to the user information; and sending the login information to the second system server, so that the second system logs in according to the login information.

[0147] In an embodiment of the present application, a computer readable storage medium is also provided, which stores a computer program, and the computer program includes program instructions. The processor executes the program instructions to implement any one of the cross-system login-free methods based on the same application program provided by the embodiments of the present application.

[0148] The computer readable storage medium can be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. The computer readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc.

[0149] The above merely provides the specific implementation of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical range disclosed by the present application, and these modifications or replacements should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A cross-system single sign-on method based on the same application program, characterized in that, The method comprises: When operating using a first system and receiving an access instruction to a second system, obtaining temporary identity information of a user at a first system server, the temporary identity information comprising identity information of a user logging into the first system; the first system and the second system can be opened by the same application program, and a first system front end and a second system front end can interact with data; sending the temporary identity information to the second system front end, so that the second system front end sends the temporary identity information to the second system server through a corresponding information transmission interface; sending a login request sent by the second system server based on the temporary identity information to the first system server; receiving feedback information issued by the first system server in response to the login request; when the feedback information is identified as determination information, sending the feedback information and login information to the second system server to log in on the second system; the login information is login information corresponding to user information in the identity information obtained in the first system server when the feedback information is determination information; when it is detected that login on the second system is successful, jumping to a page contained in the access instruction.

2. The cross-system logon-free method according to claim 1, wherein, The temporary identity information of the user obtained at the first system server comprises: based on the first system front end accessing the first system server, setting an effective time of the identity information according to a preset rule to obtain the temporary identity information of the user.

3. The cross-system logon-free method of claim 1, wherein, Before receiving the feedback information issued by the first system server in response to the login request, it comprises: obtaining temporary token contained in the login request; determining whether the temporary token is a valid token according to data information contained in the temporary token; obtaining corresponding feedback information according to the determination result obtained by determining.

4. The cross-system logon-free method according to claim 3, wherein, The determination of whether the temporary token is a valid token according to the data information contained in the temporary token comprises: obtaining identification information corresponding to the temporary token, wherein the identification information comprises device identification and user identification; determining the correctness of the temporary token according to the identification information; when it is determined that the temporary token is correct, determining whether the temporary token is within an effective time period corresponding to the effective time information to determine whether the temporary token is a valid token.

5. The cross-system logon-free method according to claim 4, wherein, The determination of whether the temporary token is a valid token comprises: when it is determined that the temporary token is within the effective time period corresponding to the effective time information, it is determined that the temporary token is a valid token; when it is determined that the temporary token is not within the effective time period corresponding to the effective time information, it is determined that the temporary token is an invalid token.

6. The cross-system logon-free method according to claim 5, wherein, The receiving of the feedback information issued by the first system server in response to the login request comprises: When it is determined that the temporary token is a valid token, receiving determination information sent by the first system server in response to the login request; When it is determined that the temporary token is an invalid token, receiving negative information sent by the first system server in response to the login request.

7. The cross-system logon-free method according to any one of claims 1 to 6, characterized in that, When the feedback information is determined to be the determination information, sending the feedback information to the second system server to log in on the second system, including: When the feedback information is determined to be the determination information, receiving user information sent by the first system server; According to the user information, obtaining login information corresponding to the user information and the second system in a corresponding user information database; Sending the login information to the second system server to enable the second system to log in according to the login information.

8. A cross-system single sign-on apparatus based on the same application program, comprising: The device includes: An information obtaining module, configured to obtain temporary identity information of a user at a first system server when a first system is used for operation and an access instruction to a second system is received, the temporary identity information including identity information of a user logging in the first system; the first system and the second system can be opened by the same application program, and a first system front end and a second system front end can perform data interaction; A first sending module, configured to send the temporary identity information to the second system front end to enable the second system front end to send the temporary identity information to a second system server through a corresponding information transmission interface; A second sending module, configured to send a login request sent by the second system server based on the temporary identity information to the first system server; An information receiving module, configured to receive feedback information sent by the first system server in response to the login request; A system login module, configured to, when the feedback information is determined to be the determination information, send the feedback information and login information to the second system server to log in on the second system; the login information is login information corresponding to user information in the identity information and obtained at the first system server when the feedback information is the determination information; An instruction response module, configured to, when it is detected that login on the second system is successful, jump to a page included in the access instruction.

9. A computer device, comprising: The memory stores computer readable instructions, and the computer readable instructions are executed by the processor to enable the processor to perform the steps of the cross-system login-free method based on the same application program according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer readable instructions are executed by the processor to enable one or more processors to perform the steps of the cross-system login-free method based on the same application program according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Login method and login system

    CN104967604A

  • Trusted login method and system, and server

    CN107026847A