Automatic login method and device, equipment and storage medium

By receiving the authorization code and root ticket, the login information is generated, and the automatic login of the RPA application in the target system is realized, which solves the security risk of the RPA application storing the clear text account password when logging in to the system, and improves the login security.

CN118802234APending Publication Date: 2024-10-18CHINA MOBILE GROUP ZHEJIANG +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311617953.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-29
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing RPA applications need to store plaintext account passwords for a long time when logging into the system, which poses huge security risks.

Method used

By receiving the authorization code sent by the Robotic Process Automation RPA application, determine the corresponding root ticket, and send an access request to the unified account platform based on the root ticket, receive the roaming ticket, generate login information, and realize the automatic login of the RPA application in the target system. , to avoid storing clear text account numbers and passwords.

Benefits of technology

It improves the security of automatic login of RPA applications and reduces the risks caused by the leakage of clear text account passwords.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118802234A_ABST
    Figure CN118802234A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic login method, belongs to the field of artificial intelligence, and is used for improving the automatic login safety of an RPA application. The method comprises the following steps: receiving an authorization code sent by a robot process automation RPA application, and determining a root bill corresponding to the authorization code according to the authorization code; sending a first access request to a unified account platform based on the root bill, wherein the first access request is a request that the RPA application applies for accessing a target system; a roaming bill sent by the unified account platform is received, login information is determined according to the roaming bill, the roaming bill is a certificate generated by the unified account platform and used for the RPA platform to log in a target user account in the target system, and the login information is a certificate generated by the RPA application to log in the target user account in the target system; and sending the login information to the RPA application, so that the RPA application logs in the target user account in the target system according to the login information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of artificial intelligence, and specifically relates to an automatic login method, device, equipment and storage medium. Background Art

[0002] With the continuous development of modern information technology, various industries in society have produced a variety of products to meet their needs. In order to meet the personalized needs of various industries, each software is very different and becomes more complex with different businesses. Many operations are repetitive and numerous. In this scenario, RPA applications are created to improve employee efficiency.

[0003] Although existing RPA applications allow users to automatically run business processes by writing automated scripts, when users log in to the system through RPA applications, the RPA product is required to store plaintext account passwords and tickets for a long time, which poses a huge security risk. Summary of the invention

[0004] The embodiment of the present application provides an automatic login method, which can improve the security of automatic login of RPA applications.

[0005] In a first aspect, an embodiment of the present application provides an automatic login method, the method comprising: receiving an authorization code sent by a robotic process automation (RPA) application, and determining a corresponding root ticket based on the authorization code, the authorization code being the credential for the RPA application to log in to a target user account in a target system through authentication on an RPA platform, and the root ticket being the credential for the RPA platform to log in to the target user account in the target system through authentication on a unified account platform; sending a first access request to the unified account platform based on the root ticket, the first access request being a request for the RPA application to access the target system; receiving a roaming ticket sent by the unified account platform, and determining login information based on the roaming ticket, the roaming ticket being the credential generated by the unified account platform for the RPA platform to log in to the target user account in the target system, and the login information being the credential for the RPA application to log in to the target user account in the target system; sending the login information to the RPA application so that the RPA application logs in to the target user account in the target system according to the login information.

[0006] In a second aspect, an embodiment of the present application provides an automatic login device, which includes: a first receiving module, used to receive an authorization code sent by a robotic process automation (RPA) application, and determine a root ticket corresponding to the authorization code based on the authorization code, wherein the authorization code is a credential for the RPA application to log in to a target user account in the target system through authentication on the RPA platform, and the root ticket is a credential for the RPA platform to log in to the target user account in the target system through authentication on the unified account platform; a first sending module, used to send a first access request to the unified account platform based on the root ticket, wherein the first access request is a request for the RPA application to access the target system; a second receiving module, used to receive a roaming ticket sent by the unified account platform, and determine login information based on the roaming ticket, wherein the roaming ticket is a credential generated by the unified account platform for the RPA platform to log in to the target user account in the target system, and the login information is a credential for the RPA application to log in to the target user account in the target system; a second sending module, used to send the login information to the RPA application, so that the RPA application logs in to the target user account in the target system according to the login information.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0010] In an embodiment of the present application, an authorization code sent by a robotic process automation (RPA) application is received, and a root ticket corresponding to the authorization code is determined based on the authorization code, wherein the authorization code is a credential for the RPA application to log in to a target user account in the target system through authentication on the RPA platform, and the root ticket is a credential for the RPA platform to log in to the target user account in the target system through authentication on the unified account platform; a first access request is sent to the unified account platform based on the root ticket, and the first access request is a request for the RPA application to access the target system; a roaming ticket sent by the unified account platform is received, and login information is determined based on the roaming ticket, wherein the roaming ticket is a credential generated by the unified account platform for the RPA platform to log in to the target user account in the target system, and the login information is a credential for the RPA application to log in to the target user account in the target system; the login information is sent to the RPA application so that the RPA application logs in to the target user account in the target system according to the login information, thereby improving the security of automatic login of the RPA application. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 It is a flowchart of an automatic login method provided in an embodiment of the present application;

[0012] Figure 2 is a schematic swimlane diagram of an automatic login method provided in an embodiment of the present application;

[0013] Figure 3 is a schematic swimlane diagram of a method for generating an authorization code provided in an embodiment of the present application;

[0014] Figure 4 is a schematic swimlane diagram of the second automatic login method provided in an embodiment of the present application;

[0015] Figure 5 is a schematic swimlane diagram of the second authorization code generation method provided in an embodiment of the present application;

[0016] Figure 6 It is a flowchart of a third authorization code generation method provided in an embodiment of the present application;

[0017] Figure 7 is a schematic channel diagram of the third automatic login method provided in an embodiment of the present application;

[0018] Figure 8 This is a schematic diagram of the module composition of an automatic login device provided in an embodiment of the present application;

[0019] Fig. 9 It is a structural diagram of an automatic login device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0021] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0022] The automatic login method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0023] Figure 1 An automatic login method provided by an embodiment of the present invention is shown. The method can be executed by an electronic device, and the electronic device may include: a server and / or a terminal device, wherein the terminal device may be, for example, a vehicle-mounted terminal or a mobile phone terminal. In other words, the method can be executed by software or hardware installed in the automatic login device, and the method includes the following steps:

[0024] Step 102: Receive the authorization code sent by the Robotic Process Automation (RPA) application, and determine the root ticket corresponding to the authorization code according to the authorization code;

[0025] The authorization code is the credential that the RPA application uses to log in to the target user account in the target system through the RPA platform authentication, and the root ticket is the credential that the RPA platform uses to log in to the target user account in the target system through the unified account platform authentication.

[0026] The full name of the RPA platform is the Robotic Process Automation platform. It consists of a controller, a configurator, and a robot. It can provide the ability to set up, manage, and call RPA applications, and can also manage the robots and servers that run the applications. The unified account platform provides unified accounts and unified permission services for all systems within the enterprise. After the system is connected to the unified account platform, there is no need to develop additional account and management permission pages, and one account can log in to multiple systems.

[0027] The RPA platform receives the authorization code sent by the RPA application, and determines the corresponding root ticket based on the authorization code, where the authorization code is the credential that the RPA application can log in to the target user account in the target system through the RPA platform authentication, and the root ticket is the credential that the RPA platform can log in to the target user account in the target system through the unified account platform authentication. In other words, the authorization code is the credential that the RPA application authenticated by the RPA platform can log in to the target user account in the target system, and the root ticket is the credential that the RPA platform authenticated by the unified account platform can log in to the target user account in the target system.

[0028] Specifically, after receiving the authorization code, the RPA platform can verify the authenticity and validity of the authorization code, and determine the root ticket corresponding to the authorization code if the authenticity and validity verification passes, wherein the authenticity and validity verification is used to verify whether the authorization code is authentic and valid, that is, to verify whether the authorization code is authentic and valid. In other words, the authorization code sent by the RPA application is time-limited (for example, the validity period of the authorization code is 15 days or 30 days). Therefore, in order to ensure the validity of the authorization code, the RPA platform verifies the validity of the authorization code after receiving it to verify whether the authorization code is within the validity period. And in order to improve the security of verification, the RPA platform will also verify the authenticity of the authorization code after receiving it. When verifying the authenticity of the authorization code, the received authorization code can be compared with the authorization code pre-stored in the server to determine the authenticity of the authorization code, or the authorization code can be parsed to determine the authenticity of the authorization code.

[0029] More specifically, the RPA platform can customize an automatic login component (such as component Z) that uses the authorization code for verification. After the component is customized, it can be saved in the public component library of the RPA platform for use within the enterprise or in response to target users. The input parameters of the automatic login component Z can be shown in the following table:

[0030]

[0031] Step 104: Sending a first access request to the unified account platform based on the root ticket;

[0032] The first access request is a request by the RPA application to access the target system;

[0033] After determining the root ticket corresponding to the authorization code, the RPA platform determines the first access request based on the root ticket and sends the first access request to the unified account platform, wherein the first access request is a request for the RPA application to access the target system. Specifically, the first access request sent by the RPA platform to the unified account platform includes the root ticket information, so that the unified account platform determines whether the RPA application can access the target system based on the root ticket information.

[0034] Step 106: receiving the roaming ticket sent by the unified account platform, and determining login information according to the roaming ticket;

[0035] The roaming ticket is a credential generated by the unified account platform for the RPA platform to log in to the target user account in the target system, and the login information is a credential for the RPA application to log in to the target user account in the target system.

[0036] After receiving the first access request sent by the RPA platform, the unified account platform determines the root ticket based on the first access request and generates a roaming ticket based on the root ticket, wherein the roaming ticket is the credential that enables the RPA platform to log in to the target user account in the target system, that is, the RPA platform can log in to the target user's account in the target system based on the roaming ticket.

[0037] Specifically, after the unified account platform determines the root ticket, it can verify the authenticity and validity of the root ticket, and generate a roaming ticket if the verification passes, wherein the roaming data may be time-sensitive or non-time-sensitive, and the authenticity and validity verification is used to verify whether the root ticket is authentic and valid, that is, to verify whether the root ticket is authentic and valid. In other words, the root ticket sent by the RPA platform is time-sensitive (for example, the validity period of the root ticket is 15 days or 30 days), so in order to ensure the validity of the root ticket, the unified account platform verifies the authenticity of the root ticket after receiving the root ticket to verify whether the root ticket is within the validity period. And in order to improve the security of the verification, the RPA platform will also verify the authenticity of the root ticket after receiving the root ticket. When verifying the authenticity of the root ticket, the received root ticket can be compared with the root ticket pre-stored in the server to determine the authenticity of the root ticket.

[0038] More specifically, the unified account platform can customize an interface for roaming tickets, which is used to send roaming tickets to the RPA platform. A new unified account platform northbound roaming ticket interface (GetRoamingTicket) is added:

[0039]

[0040] Step 108: Send the login information to the RPA application, so that the RPA application logs in to the target user account in the target system according to the login information.

[0041] After determining the login information, the RPA platform sends the determined login information to the RPA application. After receiving the login information, the RPA application logs in to the target user's account in the target system based on the information in the login information.

[0042] Specifically, the login information sent by the RPA platform to the RPA application may include a login address and related parameters, wherein the login address is the address information of the target system, and the related parameters are the credentials for the RPA application to log in to the target user account in the target system. The RPA application can determine the address information of the target system based on the login address, and then log in through the related parameters. The target system can determine the identity information of the target user and the target user's permissions in the target system through the related parameters.

[0043] Figure 2 is a schematic swimlane diagram of an automatic login method according to an embodiment of the present specification, such as Figure 2 As shown, the swim lane diagram includes:

[0044] Step 2.1: The RPA application sends the authorization code to the RPA platform;

[0045] The RPA application sends an authorization code to the RPA platform, where the authorization code is the credential that the RPA application uses to log in to the target user account in the target system through authentication by the RPA platform.

[0046] Step 2.2: The RPA platform determines the corresponding root ticket based on the authorization code;

[0047] After the RPA platform receives the authorization code sent by the RPA application, it verifies the authenticity and validity of the authorization code, and if the verification passes, determines the root ticket corresponding to the authorization code. The root ticket is the credential that the RPA platform uses to log in to the target user account in the target system through unified account platform authentication.

[0048] Step 2.3: The RPA platform sends the first access request to the unified account platform based on the root ticket;

[0049] After the RPA platform determines the root ticket corresponding to the authorization code, it generates a first access request based on the root ticket and sends the first access request to the unified account platform. The first access request is a request for the RPA application to access the target system.

[0050] Step 2.4: The unified account platform receives the first access request sent by the RPA platform, and generates a roaming ticket according to the first access request;

[0051] After the unified account platform receives the first access request sent by the RPA platform, it generates a roaming ticket according to the first access request, wherein the roaming ticket is a credential generated by the unified account platform for the RPA platform to log in to the target user account in the target system.

[0052] Step 2.5: The unified account platform sends the roaming ticket to the RPA platform;

[0053] After generating the roaming ticket, the unified account platform sends the roaming ticket to the RPA platform.

[0054] Step 2.6: The RPA platform receives the roaming ticket and determines the login information based on the roaming ticket;

[0055] After receiving the roaming ticket, the RPA platform determines the login information based on the roaming ticket, where the login information is the credential for the RPA application to log in to the target user account in the target system.

[0056] Step 2.7: The RPA platform sends the login information to the RPA application;

[0057] After the RPA platform determines the login information, it sends the login information to the RPA application.

[0058] Step 2.8: The RPA application receives the login information and logs in to the target user's account in the target system based on the login information.

[0059] The RPA application receives the login information sent by the RPA platform and logs in to the target user's account in the target system based on the login information.

[0060] The automatic login method provided in the embodiment of the present application receives the authorization code sent by the Robotic Process Automation (RPA) application, and determines the root ticket corresponding to the authorization code according to the authorization code; sends a first access request to the unified account platform based on the root ticket; receives the roaming ticket sent by the unified account platform, and determines the login information according to the roaming ticket; sends the login information to the RPA application, so that the RPA application logs in to the target user account in the target system according to the login information, and can realize automatic login of the target user account without saving the plain text account and password, thereby improving the security of RPA automatic login.

[0061] In one implementation, before receiving the authorization code sent by the RPA application (step 102), steps A1-A2 may also be performed:

[0062] Step A1: receiving an input operation from a user, and sending a first request to the unified account platform;

[0063] The first request is used to apply for the unified account platform to generate the root ticket.

[0064] The RPA platform receives the user's input operation and sends a first request to the unified account platform. The user's input operation is used to send the first request to the unified account platform, and the first request is used to apply for the unified account platform to generate a root ticket. Specifically, the user input operation may also include the user's login operation to the RPA platform, that is, before the user sends the first request to the unified account platform based on the RPA platform, he needs to complete the login operation on the RPA platform. When the target user logs in to the RPA platform, he can use a mobile phone number and password to verify the login, or use an ID card and password to log in, or use a mobile phone number and a verification code to log in.

[0065] After receiving the first request sent by the RPA platform, the unified account platform generates a root ticket, wherein the generated root ticket may have a time limit (for example, the validity period of the root ticket is 15 days or 30 days), or may not have a time limit, which is not specifically limited here. After generating the root ticket, the unified account platform sends the root ticket to the RPA platform. More specifically, when sending the first request, the user can determine the validity period of the applied root ticket by himself, that is, the first request is used to apply for the unified account platform to generate a root ticket with a validity period of a preset time, wherein the preset time is determined by the target user. After receiving the first request, the unified account platform generates a root ticket with a validity period of a preset time.

[0066] Step A2: upon receiving the root ticket sent by the unified account platform, generating the authorization code based on a first preset rule;

[0067] The first preset rule is an authorization code generation rule preset by the user.

[0068] After the RPA platform receives the root ticket sent by the unified account platform, it saves the root ticket and generates an authorization code based on the first preset rule, where the first preset rule is the authorization code generation rule set in advance by the user, and the generated authorization code may have a time limit (for example, the authorization code is valid for 15 days or 30 days), or it may not have a time limit, which is not specifically limited here. The authorization code generation rule set in advance by the user can be a rule for randomly generating the authorization code, or it can be a rule for generating the authorization code based on a fixed algorithm.

[0069] Specifically, the RPA platform can add a southbound root ticket receiving interface, which is used to receive the root ticket sent by the unified account platform. The root ticket receiving interface (GetRootTicket) provided by RPA platform Nanxiang:

[0070]

[0071] As an example, Figure 3 is a schematic swimlane diagram of a method for generating an authorization code according to an embodiment of this specification, such as Figure 3 As shown, the swim lane diagram includes:

[0072] Step 3.1: The target user logs in to the RPA platform;

[0073] The target user logs in to the RPA platform. When logging in, he can use a mobile phone number and password to verify the login, an ID card and password, or a mobile phone number and verification code to log in.

[0074] Step 3.2: The RPA platform sends the first request to the unified account platform;

[0075] The target user sends a first request to the unified account platform through the RPA platform, where the first request is used to apply for the unified account platform to generate a root ticket.

[0076] Step 3.3: The unified account platform receives the first request and generates a root ticket;

[0077] After receiving the first request sent by the RPA platform, the unified account platform generates a root ticket.

[0078] Step 3.4: The unified account platform sends the root ticket to the RPA platform;

[0079] After the unified account platform generates a root ticket, it sends the generated root ticket to the RPA platform.

[0080] Step 3.5: After receiving the root ticket, the RPA platform generates an authorization code based on the first preset rule.

[0081] After the RPA platform receives the root ticket sent by the unified account platform, it generates an authorization code based on the first preset rule.

[0082] In the embodiments of the specification, by generating a root ticket through a unified account platform and an authorization code through an RPA platform, the RPA platform and the RPA application can be authorized to perform automatic login operations, and there is no need to consider the parsing of different types of verification codes, thereby improving the success rate of automatic login and ensuring the speed of login.

[0083] In one implementation, after generating the authorization code based on the first preset rule (step A2), steps B1-B2 may also be performed:

[0084] Step B1: receiving an association instruction of the RPA application, wherein the connection instruction is used to associate the RPA application with the RPA platform;

[0085] The RPA platform receives an association instruction from the RPA application. The association instruction is an instruction issued by the RPA application and is used to associate the RPA application with the RPA platform.

[0086] Before the RPA application issues an association instruction, it is necessary to manually complete the development of the RPA application, save the target system information in the automatic login component Z, and save the authorization code in the component Z to complete the development of the RPA application, that is, complete the development of the RPA application based on the authorization code. After the development of the RPA application is completed, the RPA application sends an association instruction to the RPA platform.

[0087] Step B2: Setting the startup conditions of the RPA application.

[0088] After receiving the association instruction of the RPA application, the RPA platform associates with the RPA application. After the RPA platform associates with the RPA application, the user can set the startup conditions of the RPA application in the RPA platform so that when the preset conditions are met, the RPA application can automatically perform the automatic login operation. Among them, the RPA platform can set the startup conditions of the RPA application to manual startup, conditional triggering, or timed triggering.

[0089] In one implementation, before receiving the authorization code sent by the RPA application (step 102), step C may also be performed:

[0090] Step C: When the first preset condition is met, sending a login instruction to the RPA application;

[0091] The login instruction is used to instruct the RPA application to send an authorization code, and the first preset condition is the RPA application startup condition preset by the user, wherein the first preset condition can be manual startup, conditional triggering, or timed triggering, etc.

[0092] When the first preset condition is met, the RPA platform sends a login instruction to the RPA application, so that the RPA application starts the automatic login operation.

[0093] In one implementation, the determining the login information according to the roaming ticket (step 106) may perform steps D1-D2:

[0094] Step D1: obtaining the website address information of the target system, and sending a second access request to the target system based on the roaming ticket and the website address information;

[0095] The second access request is used to request the target system to send the login information.

[0096] The RPA platform obtains the website address information of the target system, and sends a second access request to the target system based on the roaming ticket and the website address information, wherein the second access request is used to request the target system to send login information.

[0097] Specifically, after receiving the second access request, the unified account platform determines the permissions of the target user's account in the target system and determines the login information, so that the RPA application can log in to the target user's account in the target system according to the login information.

[0098] Step D2: Receive the login information returned by the target system, and send the login information to the RPA application.

[0099] After the unified account platform determines the login information, it sends the determined login information to the RPA platform. The RPA platform receives the login information sent by the unified account platform and sends the login information to the RPA application, so that the RPA application logs in to the target user's account in the target system according to the login information.

[0100] As an example, Figure 4 is a schematic swimlane diagram of a second automatic login method of an embodiment of this specification, such as Figure 4 As shown, the swim lane diagram includes:

[0101] Step 4.1: The target user logs in to the RPA platform;

[0102] The target user logs in to the RPA platform. When logging in, he can use a mobile phone number and password to verify the login, an ID card and password, or a mobile phone number and verification code to log in.

[0103] Step 4.2: The RPA platform sends the first request to the unified account platform;

[0104] The target user sends a first request to the unified account platform through the RPA platform, where the first request is used to apply for the unified account platform to generate a root ticket.

[0105] Step 4.3: The unified account platform receives the first request and generates a root ticket;

[0106] After receiving the first request sent by the RPA platform, the unified account platform generates a root ticket.

[0107] Step 4.4: The unified account platform sends the root ticket to the RPA platform;

[0108] After the unified account platform generates a root ticket, it sends the generated root ticket to the RPA platform.

[0109] Step 4.5: After receiving the root ticket, the RPA platform generates an authorization code based on the first preset rule;

[0110] After the RPA platform receives the root ticket sent by the unified account platform, it generates an authorization code based on the first preset rule.

[0111] Step 4.6: The target user sets up the RPA application based on the authorization code;

[0112] The user completes the development of the RPA application based on the authorization code generated by the RPA platform.

[0113] Step 4.7: The RPA application sends the associated instructions to the RPA platform;

[0114] After the user completes the development of the RPA application, the user sends an association instruction to the RPA platform, where the association instruction is used to associate the RPA application with the RPA platform.

[0115] Step 4.8: Associate the RPA platform with the RPA application and set the startup conditions for the RPA application;

[0116] After receiving the association instruction, the RPA platform will associate with the RPA application. After the connection is successful, the user can set the start conditions of the RPA application on the RPA platform.

[0117] Step 4.9: When the first preset condition is met, the RPA platform sends a login instruction to the RPA application;

[0118] When the first preset condition is met, the RPA platform sends a login instruction to the RPA application, where the first preset condition is the RPA application startup condition pre-set by the user, and the login instruction is used to instruct the RPA application to perform an automatic login operation.

[0119] Step 4.10: The RPA application sends the authorization code to the RPA platform;

[0120] The RPA application sends an authorization code to the RPA platform, where the authorization code is the credential that the RPA application uses to log in to the target user account in the target system through authentication by the RPA platform.

[0121] Step 4.11: The RPA platform determines the corresponding root ticket based on the authorization code;

[0122] After the RPA platform receives the authorization code sent by the RPA application, it verifies the authenticity and validity of the authorization code, and if the verification passes, determines the root ticket corresponding to the authorization code. The root ticket is the credential that the RPA platform uses to log in to the target user account in the target system through unified account platform authentication.

[0123] Step 4.12: The RPA platform sends the first access request to the unified account platform based on the root ticket;

[0124] After the RPA platform determines the root ticket corresponding to the authorization code, it generates a first access request based on the root ticket and sends the first access request to the unified account platform. The first access request is a request for the RPA application to access the target system.

[0125] Step 4.13: The unified account platform receives the first access request sent by the RPA platform, and generates a roaming ticket according to the first access request;

[0126] After the unified account platform receives the first access request sent by the RPA platform, it generates a roaming ticket according to the first access request, wherein the roaming ticket is a credential generated by the unified account platform for the RPA platform to log in to the target user account in the target system.

[0127] Step 4.14: The unified account platform sends the roaming ticket to the RPA platform;

[0128] After generating the roaming ticket, the unified account platform sends the roaming ticket to the RPA platform.

[0129] Step 4.15: The RPA platform receives the roaming ticket, and sends a second access request to the target system according to the roaming ticket and the obtained URL information;

[0130] After receiving the roaming ticket, the RPA platform obtains the website information of the target system and sends a second access request to the target system according to the website information and the roaming ticket, wherein the second access request is used to request the target system to send login information.

[0131] Step 4.16: The target system receives the second access request and determines login information based on the second access request;

[0132] After receiving the second access request sent by the RPA platform, the target system determines the permissions of the target user's account in the target system and determines the login information, wherein the login information is the credential for the RPA application to log in to the target user's account in the target system.

[0133] Step 4.17: The target system sends the login information to the RPA platform.

[0134] After the target system determines the login information, it sends the login information to the RPA platform.

[0135] Step 4.18: The RPA platform receives the login information sent by the target system and sends the login information to the RPA application;

[0136] The RPA platform receives the login information sent by the target system and forwards the login information to the RPA application.

[0137] Step 4.19: The RPA application receives the login information sent by the RPA platform and logs in to the target user's account in the target system based on the login information.

[0138] After the RPA application receives the login information sent by the RPA platform, it logs in to the target user's account in the target system based on the login information.

[0139] In the embodiments of the specification, by generating roaming tickets through a unified account platform and login information determined by an RPA platform, the RPA application can perform automatic login operations without the need to save the plain text account and password of the RPA application, thereby improving the security of automatic login.

[0140] In one implementation, the generating of the authorization code based on the first preset rule (step A2) may execute steps E1-E2:

[0141] Step E1: Obtain authorization code generation information, wherein the authorization code generation information includes one or more of the RPA platform number, root ticket acquisition time, root ticket serial number, mask, and fixed weighted code;

[0142] The RPA platform number is the number of the RPA platform, the root ticket acquisition time is the acquisition time of the root ticket, the root ticket serial number is the generation serial number of the root ticket, the mask is a randomly generated digital string, and the fixed weighted code is a fixed digital string.

[0143] Before generating an authorization code, the RPA platform needs to obtain the information required to generate the authorization code, that is, the authorization code generation information. The authorization code generation information includes one or more of the RPA platform number, the root bill acquisition time, the root bill serial number, the mask, and the fixed weighted code, where the RPA platform number is the version number of the RPA platform (for example, 01 or 02), the root bill acquisition time is the time when the RPA platform obtains the root bill (for example, the root bill acquisition time of the root bill obtained on September 20, 2022 is 22-09-20), the root bill serial number is the serial number of the root bill (for example, the first root bill generated by the RPA platform is 01, and the second root bill generated is 02), the mask is a randomly generated digital sequence of a certain number (for example, a digital sequence consisting of 20 numbers), and the fixed weighted code is a fixed digital sequence (for example, it can be a fixed number of decimal digital sequences or a fixed number of hexadecimal digital sequences).

[0144] Step E2: Generate the authorization code according to the authorization code generation information.

[0145] After obtaining the authorization code generation information, the RPA platform generates an authorization code according to the authorization code generation information. Specifically, the RPA platform can generate an authorization code according to one or more of the RPA platform number, the root ticket acquisition time, the root ticket serial number, the mask, and the fixed weighted code. For example, the RPA platform can generate an authorization code according to the RPA platform number, the root ticket serial number, and the mask, and can also generate an authorization code according to the root ticket acquisition time, the root ticket serial number, and the fixed weighted code, and can also generate an authorization code according to the RPA platform number, the root ticket acquisition time, the root ticket serial number, the mask, and the fixed weighted code.

[0146] As an example, Figure 5 is a schematic swimlane diagram of a second authorization code generation method according to an embodiment of this specification, such as Figure 5 As shown, the swim lane diagram includes:

[0147] Step 5.1: The target user logs in to the RPA platform;

[0148] The target user logs in to the RPA platform. When logging in, he can use a mobile phone number and password to verify the login, an ID card and password, or a mobile phone number and verification code to log in.

[0149] Step 5.2: The RPA platform sends the first request to the unified account platform;

[0150] The target user sends a first request to the unified account platform through the RPA platform, where the first request is used to apply for the unified account platform to generate a root ticket.

[0151] Step 5.3: The unified account platform receives the first request and generates a root ticket;

[0152] After receiving the first request sent by the RPA platform, the unified account platform generates a root ticket.

[0153] Step 5.4: The unified account platform sends the root ticket to the RPA platform;

[0154] After the unified account platform generates a root ticket, it sends the generated root ticket to the RPA platform.

[0155] Step 5.5: After receiving the root ticket, the RPA platform obtains the authorization code generation information and generates an authorization code based on the authorization code generation information.

[0156] After the RPA platform receives the root ticket sent by the unified account platform, it obtains the authorization code generation information and generates an authorization code based on the authorization code generation information, wherein the authorization code generation information includes at least one or more of the RPA platform number, root ticket acquisition time, root ticket serial number, mask and fixed weighted code.

[0157] In the embodiments of the specification, by generating a root ticket through a unified account platform and generating an authorization code based on the authorization code generation information on the RPA platform, the RPA platform and the RPA application can be authorized to perform automatic login operations without considering the parsing of different types of verification codes, thereby improving the success rate of automatic login and ensuring the speed of login.

[0158] In one implementation, the step of generating the authorization code according to the authorization code generation information (step E2) may include executing steps F1-F3:

[0159] Step F1: Based on a second preset rule, the RPA platform number, the root ticket acquisition time, the root ticket serial number, and the mask are concatenated, and a result of the concatenation is converted into hexadecimal to obtain a first serial number;

[0160] The second preset rule is a preset splicing rule.

[0161] The RPA platform concatenates the RPA platform number, root bill acquisition time, root bill serial number and mask based on the second preset rule, thereby concatenating the RPA platform number, root bill acquisition time, root bill serial number and mask into a sequence, wherein the second preset rule is the concatenation rule of the RPA platform number, root bill acquisition time, root bill serial number and mask pre-set by the user.

[0162] Specifically, the mask is a string of binary digits. Therefore, before splicing the RPA platform number, the root bill acquisition time, the root bill serial number, and the mask based on the second preset rule, the RPA platform number, the root bill acquisition time, and the root bill serial number need to be binary processed to obtain the binary code of the RPA platform number, the binary code of the root bill acquisition time, and the binary code of the root bill serial number. Then, the binary code of the root bill acquisition time, the binary code of the RPA platform number, and the binary code of the RPA platform number are spliced, and the splicing result is cross-scrambled and spliced ​​with the mask, and the result of the scrambled splicing is converted into 36 hexadecimal to obtain the first serial number.

[0163] More specifically, Figure 6 FIG. 1 is a flow chart of a third authorization code generation method according to an embodiment of this specification. Figure 6As shown in the figure, the binary code of the root bill serial number is supplemented to 26 bits to obtain S2 (00000000000000011111000101) and then spliced ​​to the 14-bit binary code S1 (10110100110100) of the root bill acquisition time to obtain a 40-bit spliced ​​code (1011010011010000000000000000011111000101), and then the 2-digit RPA platform number is added. The code (01) is spliced ​​to the concatenated code and then cross-scrambled with the 20-bit mask S3 (00100100000101010111), and the 62-bit result (00011011100100011101000000000000010000010000010111011100110101) is converted into hexadecimal to obtain the 12-bit first sequence number (3ru7iprw8eg0).

[0164] Step F2: multiplying the first sequence number and the fixed weighted code based on a third preset rule, and determining the remainder of the multiplication result divided by a fixed value as the second sequence number;

[0165] The third preset rule is a preset multiplication rule.

[0166] The RPA platform multiplies the first serial number and the fixed weighted code based on the third preset rule, and determines the remainder of the multiplication result divided by the fixed value as the second serial number, wherein the third preset rule is a preset multiplication rule and the fixed value is a pre-set value.

[0167] Specifically, when determining the second serial number, the first serial number and the fixed weighted code can be segmented and multiplied, and then the result of each segment multiplication is determined, and then the remainder of each segment multiplication result divided by a fixed value is determined, and finally the remainder obtained by adding the remainders is converted into 36-decimal, so as to determine the second serial number. Figure 6 As shown, the 12-bit first serial number (3r7iprw8eg0) and the 12-bit fixed weighted code (Lt172dkf0nxt) are segmented and multiplied (for example, 3r and Lt are multiplied, and u7 and 17 are multiplied), and then the remainder of each segmented multiplication divided by two 36s is determined (for example, the remainder of 3r multiplied by Lt divided by two 36s is 999), and finally, the remainders are added to obtain the remainder sum result (4611), and then the remainder addition result (4611) is converted into hexadecimal to obtain the second serial number (3k3).

[0168] Step F3: Determine the authorization code based on the first serial number and the second serial number.

[0169] After determining the first serial number and the second serial number, the authorization code is determined based on the first serial number and the second serial number. For example, the authorization code can be determined by directly concatenating the first serial number and the second serial number, or based on the first serial number and a portion of the second serial number, or based on a portion of the first serial number and the second serial number.

[0170] Specifically, when the first serial number and the second serial number are directly concatenated to determine the authorization code, the first serial number can be concatenated in front of the second serial number to determine the authorization code. Figure 6 As shown, the last two digits of the second serial number (3k3) are concatenated to the first serial number (3ru7iprw8eg0), thereby determining the authorization code (3ru7iprw8eg0k3).

[0171] As an example, Figure 7 is a schematic swimlane diagram of a third automatic login method of an embodiment of this specification, such as Figure 7 As shown, the swim lane diagram includes:

[0172] Step 7.1: The target user logs in to the RPA platform;

[0173] The target user logs in to the RPA platform. When logging in, he can use a mobile phone number and password to verify the login, an ID card and password, or a mobile phone number and verification code to log in.

[0174] Step 7.2: The RPA platform sends the first request to the unified account platform;

[0175] The target user sends a first request to the unified account platform through the RPA platform, where the first request is used to apply for the unified account platform to generate a root ticket.

[0176] Step 7.3: The unified account platform receives the first request and generates a root ticket;

[0177] After receiving the first request sent by the RPA platform, the unified account platform generates a root ticket.

[0178] Step 7.4: The unified account platform sends the root ticket to the RPA platform;

[0179] After the unified account platform generates a root ticket, it sends the generated root ticket to the RPA platform.

[0180] Step 7.5: After receiving the root ticket, the RPA platform obtains the authorization code generation information;

[0181] After the RPA platform receives the root ticket sent by the unified account platform, it obtains the authorization code generation information, where the authorization code generation information includes at least one or more of the RPA platform number, root ticket acquisition time, root ticket serial number, mask and fixed weighted code.

[0182] Step 7.6: The RPA platform concatenates the RPA platform number, the root bill acquisition time, the root bill serial number, and the mask based on the second preset rule, and converts the concatenation result into hexadecimal to obtain the first serial number;

[0183] After obtaining the authorization code generation information, the RPA platform concatenates the RPA platform number, the root bill acquisition time, the root bill serial number and the mask based on the second preset rule, and converts the concatenated result into hexadecimal to obtain the first serial number.

[0184] Step 7.7: The RPA platform multiplies the first serial number and the fixed weighted code based on the third preset rule, and determines the remainder of the multiplication result divided by the fixed value as the second serial number;

[0185] After the RPA platform obtains the first serial number, the RPA platform multiplies the first serial number and the fixed weighted code based on a third preset rule, and determines the remainder of the multiplication result divided by a fixed value as the second serial number.

[0186] Step 7.8: The RPA platform determines the authorization code based on the first serial number and the second serial number;

[0187] After the RPA platform determines the second serial number, an authorization code is determined based on the first serial number and the second serial number.

[0188] Step 7.9: The target user sets up the RPA application based on the authorization code;

[0189] The user completes the development of the RPA application based on the authorization code generated by the RPA platform.

[0190] Step 7.10: The RPA application sends association instructions to the RPA platform;

[0191] After the user completes the development of the RPA application, the user sends an association instruction to the RPA platform, where the association instruction is used to associate the RPA application with the RPA platform.

[0192] Step 7.11: Associate the RPA platform with the RPA application and set the startup conditions for the RPA application;

[0193] After receiving the association instruction, the RPA platform will associate with the RPA application. After the connection is successful, the user can set the start conditions of the RPA application on the RPA platform.

[0194] Step 7.12: When the first preset condition is met, the RPA platform sends a login instruction to the RPA application;

[0195] When the first preset condition is met, the RPA platform sends a login instruction to the RPA application, where the first preset condition is the RPA application startup condition pre-set by the user, and the login instruction is used to instruct the RPA application to perform an automatic login operation.

[0196] Step 7.13: The RPA application sends the authorization code to the RPA platform;

[0197] The RPA application sends an authorization code to the RPA platform, where the authorization code is the credential that the RPA application uses to log in to the target user account in the target system through authentication by the RPA platform.

[0198] Step 7.14: The RPA platform determines the corresponding root ticket based on the authorization code;

[0199] After the RPA platform receives the authorization code sent by the RPA application, it verifies the authenticity and validity of the authorization code, and if the verification passes, determines the root ticket corresponding to the authorization code. The root ticket is the credential that the RPA platform uses to log in to the target user account in the target system through unified account platform authentication.

[0200] Step 7.15: The RPA platform sends the first access request to the unified account platform based on the root ticket;

[0201] After the RPA platform determines the root ticket corresponding to the authorization code, it generates a first access request based on the root ticket and sends the first access request to the unified account platform. The first access request is a request for the RPA application to access the target system.

[0202] Step 7.16: The unified account platform receives the first access request sent by the RPA platform, and generates a roaming ticket according to the first access request;

[0203] After the unified account platform receives the first access request sent by the RPA platform, it generates a roaming ticket according to the first access request, wherein the roaming ticket is a credential generated by the unified account platform for the RPA platform to log in to the target user account in the target system.

[0204] Step 7.17: The unified account platform sends the roaming ticket to the RPA platform;

[0205] After generating the roaming ticket, the unified account platform sends the roaming ticket to the RPA platform.

[0206] Step 7.18: The RPA platform receives the roaming ticket, and sends a second access request to the target system according to the roaming ticket and the obtained URL information;

[0207] After receiving the roaming ticket, the RPA platform obtains the website information of the target system and sends a second access request to the target system according to the website information and the roaming ticket, wherein the second access request is used to request the target system to send login information.

[0208] Step 7.19: The target system receives the second access request and determines login information based on the second access request;

[0209] After receiving the second access request sent by the RPA platform, the target system determines the permissions of the target user's account in the target system and determines the login information, wherein the login information is the credential for the RPA application to log in to the target user's account in the target system.

[0210] Step 7.20: The target system sends the login information to the RPA platform;

[0211] After the target system determines the login information, it sends the login information to the RPA platform.

[0212] Step 7.21: The RPA platform receives the login information sent by the target system and sends the login information to the RPA application;

[0213] The RPA platform receives the login information sent by the target system and forwards the login information to the RPA application.

[0214] Step 7.22: The RPA application receives the login information sent by the RPA platform and logs in to the target user's account in the target system based on the login information.

[0215] After the RPA application receives the login information sent by the RPA platform, it logs in to the target user's account in the target system based on the login information.

[0216] The automatic login method provided in the embodiment of the present application receives the authorization code sent by the Robotic Process Automation (RPA) application, and determines the corresponding root ticket based on the authorization code; sends a first access request to the unified account platform based on the root ticket; receives the roaming ticket sent by the unified account platform, and determines the login information based on the roaming ticket; sends the login information to the RPA application, so that the RPA application logs in to the target user account in the target system according to the login information, and can realize automatic login of the target user account without saving the plain text account and password, thereby improving the security of RPA automatic login.

[0217] It should be noted that the automatic login method provided in the embodiment of the present application can be executed by an automatic login device or a control module in the automatic login device for executing the automatic login method. In the embodiment of the present application, the automatic login device executing the automatic login method is taken as an example to illustrate the automatic login device provided in the embodiment of the present application.

[0218] Figure 8 Schematic diagram of the structure of the automatic login device according to an embodiment of the present invention. Figure 8 As shown, the automatic login device includes: a first receiving module 802 , a first sending module 804 , a second receiving module 806 , and a second sending module 808 .

[0219] The first receiving module 802 is used to receive the authorization code sent by the Robotic Process Automation (RPA) application, and determine the root ticket corresponding to the authorization code according to the authorization code, wherein the authorization code is the credential that the RPA application can log in to the target user account in the target system through the RPA platform authentication, and the root ticket is the credential that the RPA platform can log in to the target user account in the target system through the unified account platform authentication;

[0220] A first sending module 804 is configured to send a first access request to a unified account platform based on the root ticket, where the first access request is a request by the RPA application to apply for access to the target system;

[0221] The second receiving module 806 is configured to receive a roaming ticket sent by the unified account platform, and determine login information according to the roaming ticket, wherein the roaming ticket is a credential generated by the unified account platform for the RPA platform to log in to the target user account in the target system, and the login information is a credential for the RPA application to log in to the target user account in the target system;

[0222] The second sending module 808 is configured to send the login information to the RPA application, so that the RPA application logs in to the target user account in the target system according to the login information.

[0223] The automatic login device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0224] The automatic login device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0225] The automatic login device provided by the present application embodiment can realize Figures 1 to 8 To avoid repetition, the various processes implemented in the method embodiment are not described here.

[0226] Based on the same technical concept, an embodiment of the present application further provides an electronic device, which is used to execute the above-mentioned automatic login method. Fig. 9 A schematic diagram of the structure of an electronic device for implementing various embodiments of the present application. The electronic device may have relatively large differences due to different configurations or performances, and may include a processor (processor) 902, a communication interface (Communications Interface) 904, a memory (memory) 906 and a communication bus 908, wherein the processor 902, the communication interface 904, and the memory 906 communicate with each other through the communication bus 908. The processor 902 may call a computer program stored in the memory 906 and executable on the processor 902 to perform the following steps:

[0227] Receive the authorization code sent by the Robotic Process Automation (RPA) application, and determine the root ticket corresponding to the authorization code according to the authorization code, wherein the authorization code is the credential that the RPA application can log in to the target user account in the target system through the RPA platform authentication, and the root ticket is the credential that the RPA platform can log in to the target user account in the target system through the unified account platform authentication;

[0228] Sending a first access request to the unified account platform based on the root ticket, where the first access request is a request by the RPA application to apply for access to the target system;

[0229] receiving a roaming ticket sent by the unified account platform, and determining login information according to the roaming ticket, wherein the roaming ticket is a credential generated by the unified account platform for the RPA platform to log in to the target user account in the target system, and the login information is a credential for the RPA application to log in to the target user account in the target system;

[0230] The login information is sent to the RPA application, so that the RPA application logs in to the target user account in the target system according to the login information.

[0231] In one implementation, before receiving the authorization code sent by the RPA application, the method further includes:

[0232] receiving an input operation of a user, and sending a first request to the unified account platform, wherein the first request is used to apply for the unified account platform to generate the root ticket;

[0233] When the root ticket sent by the unified account platform is received, the authorization code is generated based on a first preset rule, wherein the first preset rule is an authorization code generation rule preset by a user.

[0234] In one implementation, after generating the authorization code based on the first preset rule, the method further includes:

[0235] receiving an association instruction of the RPA application, wherein the connection instruction is used to associate the RPA application with the RPA platform;

[0236] Set the startup conditions of the RPA application.

[0237] In one implementation, before receiving the authorization code sent by the RPA application, the method further includes:

[0238] When a first preset condition is met, a login instruction is sent to the RPA application, where the login instruction is used to instruct the RPA application to send an authorization code. The first preset condition is a startup condition of the RPA application preset by the user.

[0239] In one implementation, determining the login information according to the roaming ticket includes:

[0240] Acquire the website address information of the target system, and send a second access request to the target system based on the roaming ticket and the website address information, wherein the second access request is used to request the target system to send the login information;

[0241] The login information returned by the target system is received, and the login information is sent to the RPA application.

[0242] In one implementation, generating the authorization code based on a first preset rule includes:

[0243] Obtain authorization code generation information, wherein the authorization code generation information includes one or more of the RPA platform number, root ticket acquisition time, root ticket serial number, mask, and fixed weighted code, and the RPA platform number is the number of the RPA platform. The root ticket acquisition time is the acquisition time of the root ticket, the root ticket serial number is the generation serial number of the root ticket, the mask is a randomly generated digital string, and the fixed weighted code is a fixed digital string;

[0244] The authorization code is generated according to the authorization code generation information.

[0245] In one implementation, generating the authorization code according to the authorization code generation information includes:

[0246] Based on a second preset rule, the RPA platform number, the root ticket acquisition time, the root ticket serial number, and the mask are concatenated, and a result of the concatenation is converted into hexadecimal to obtain a first serial number, wherein the second preset rule is a preset concatenation rule;

[0247] Performing a multiplication process on the first serial number and the fixed weighted code based on a third preset rule, and determining a remainder of a result of the multiplication process divided by a fixed value as a second serial number, wherein the third preset rule is a preset multiplication rule;

[0248] The authorization code is determined based on the first serial number and the second serial number.

[0249] The specific execution steps can refer to the various steps of the above-mentioned automatic login method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

[0250] It should be noted that the electronic devices in the embodiments of the present application include: servers, terminals, or other devices except terminals.

[0251] The above electronic device structure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the input unit may include a graphics processing unit (GPU) and a microphone, and the display unit may be configured with a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes a touch panel and at least one of other input devices. The touch panel is also called a touch screen. Other input devices may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0252] The memory can be used to store software programs and various data. The memory may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory may include a volatile memory or a non-volatile memory, or the memory may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM).

[0253] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor.

[0254] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned automatic login method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0255] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0256] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned automatic login method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0257] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0258] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0259] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0260] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. An automatic login method, include: Receive the authorization code sent by the Robotic Process Automation (RPA) application, and determine the root ticket corresponding to the authorization code according to the authorization code, wherein the authorization code is the credential that the RPA application can log in to the target user account in the target system through the RPA platform authentication, and the root ticket is the credential that the RPA platform can log in to the target user account in the target system through the unified account platform authentication; Sending a first access request to the unified account platform based on the root ticket, where the first access request is a request by the RPA application to apply for access to the target system; receiving a roaming ticket sent by the unified account platform, and determining login information according to the roaming ticket, wherein the roaming ticket is a credential generated by the unified account platform for the RPA platform to log in to the target user account in the target system, and the login information is a credential for the RPA application to log in to the target user account in the target system; The login information is sent to the RPA application, so that the RPA application logs in to the target user account in the target system according to the login information.

2. According to the method of claim 1, before receiving the authorization code sent by the RPA application, include: receiving an input operation of a user, and sending a first request to the unified account platform, wherein the first request is used to apply for the unified account platform to generate the root ticket; When the root ticket sent by the unified account platform is received, the authorization code is generated based on a first preset rule, wherein the first preset rule is an authorization code generation rule preset by a user.

3. The method according to claim 2, after generating the authorization code based on the first preset rule, further include: receiving an association instruction of the RPA application, wherein the connection instruction is used to associate the RPA application with the RPA platform; Set the startup conditions of the RPA application.

4. According to the method of claim 1, before receiving the authorization code sent by the RPA application, include: When a first preset condition is met, a login instruction is sent to the RPA application, where the login instruction is used to instruct the RPA application to send an authorization code. The first preset condition is a startup condition of the RPA application preset by the user.

5. The method according to claim 1, wherein the determining the login information is based on the roaming ticket. include: Acquire the website address information of the target system, and send a second access request to the target system based on the roaming ticket and the website address information, wherein the second access request is used to request the target system to send the login information; The login information returned by the target system is received, and the login information is sent to the RPA application.

6. The method according to claim 2, wherein the authorization code is generated based on a first preset rule, include: Obtain authorization code generation information, wherein the authorization code generation information includes one or more of the RPA platform number, root ticket acquisition time, root ticket serial number, mask, and fixed weighted code, and the RPA platform number is the number of the RPA platform. The root ticket acquisition time is the acquisition time of the root ticket, the root ticket serial number is the generation serial number of the root ticket, the mask is a randomly generated digital string, and the fixed weighted code is a fixed digital string; The authorization code is generated according to the authorization code generation information.

7. The method according to claim 6, wherein the authorization code is generated according to the authorization code generation information, include: Based on a second preset rule, the RPA platform number, the root ticket acquisition time, the root ticket serial number, and the mask are concatenated, and a result of the concatenation is converted into hexadecimal to obtain a first serial number, wherein the second preset rule is a preset concatenation rule; Performing a multiplication process on the first serial number and the fixed weighted code based on a third preset rule, and determining a remainder of a result of the multiplication process divided by a fixed value as a second serial number, wherein the third preset rule is a preset multiplication rule; The authorization code is determined based on the first serial number and the second serial number.

8. An automatic login device, include: A first receiving module is used to receive an authorization code sent by a Robotic Process Automation (RPA) application, and determine a root ticket corresponding to the authorization code according to the authorization code, wherein the authorization code is a credential that enables the RPA application to log in to a target user account in a target system through an RPA platform authentication, and the root ticket is a credential that enables the RPA platform to log in to the target user account in the target system through a unified account platform authentication; A first sending module, configured to send a first access request to a unified account platform based on the root ticket, where the first access request is a request by the RPA application to apply for access to the target system; a second receiving module, configured to receive a roaming ticket sent by the unified account platform, and determine login information according to the roaming ticket, wherein the roaming ticket is a credential generated by the unified account platform for the RPA platform to log in to the target user account in the target system, and the login information is a credential for the RPA application to log in to the target user account in the target system; The second sending module is used to send the login information to the RPA application, so that the RPA application logs in to the target user account in the target system according to the login information.

9. A computer device, It is characterized in that The device comprises: Processor; and A memory arranged to store computer executable instructions, wherein the executable instructions are configured to be executed by the processor, and the executable instructions include steps for executing the automatic login method according to any one of claims 1 to 7.

10. A storage medium, It is characterized in that The storage medium is used to store computer-executable instructions, and the executable instructions enable a computer to execute the steps of the automatic login method as described in any one of claims 1 to 7.