User login method and device, equipment, storage medium and computer program product
By obtaining user login information in the current login software and querying the user information of the target cloud software, automatic login between multiple applications is achieved, and the problem of cumbersome login operations is solved, improving user experience and data security.
Patent Information
- Application Number
- CN202411918718.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-03-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Switching between multiple applications with the same user identities requires multiple logins, which is cumbersome.
User login information is obtained by responding to the cloud software login instruction triggered in the current login software; query the cloud user information of the target cloud software based on the user login information to obtain user mapping information; log in directly to the target cloud account when the user mapping information meets the identity authentication conditions.
It realizes the cloud software that automatically recognizes the user's identity and automatically logs in to the associated cloud, which improves the user experience, reduces the tedious steps of logging in, and enhances the security of data.
Smart Images

Figure CN119728259A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of large model technology, and in particular to a user login method, device, equipment, storage medium and computer program product. Background Art
[0002] With the rapid development of information technology, the unified identity authentication system has become a key technology to improve user experience. The system allows users to access multiple applications without having to repeatedly enter credentials after logging in once. However, in certain scenarios, such as the integration of cloud disk services and enterprise WeChat, although the user account and enterprise WeChat account have established a mapping relationship, users still need to perform secondary authentication when accessing cloud disks in the enterprise WeChat environment, which not only reduces the user experience, but also increases the complexity of the operation.
[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present application is to provide a user login method, apparatus, device, storage medium and computer program product, aiming to solve the technical problem that switching between multiple applications with the same user identity requires multiple logins and cumbersome operations.
[0005] To achieve the above purpose, the present application proposes a user login method, the method comprising:
[0006] In response to a cloud software login instruction triggered in the currently logged-in software, obtaining user login information of the currently logged-in software;
[0007] Query the cloud user information of the target cloud software according to the user login information to obtain user mapping information;
[0008] When the user mapping information meets the identity authentication condition, directly log in to the target cloud account.
[0009] Optionally, in response to the cloud software login instruction triggered in the currently logged-in software, before the step of obtaining the user login information of the currently logged-in software, the step further includes:
[0010] When it is detected that a user accesses the login interface of the cloud software through the current login software, user operation information is collected;
[0011] A cloud software login instruction is received according to the user operation information.
[0012] Optionally, in response to a cloud software login instruction triggered in the currently logged-in software, the step of obtaining user login information of the currently logged-in software includes:
[0013] In response to a cloud software login instruction triggered in the currently logged-in software, retrieving application key information of the currently logged-in software in the target database;
[0014] The user login information of the current software is obtained according to the application key information.
[0015] Optionally, the step of retrieving the application key information of the currently logged-in software in the target database includes:
[0016] Identify the private domain name information of the current user;
[0017] Retrieving the corresponding current application configuration information in the target database according to the privatized domain name information;
[0018] The application key information of the currently logged-in software is determined according to the current application configuration information.
[0019] Optionally, the step of acquiring the user login information of the current software according to the application key information includes:
[0020] Calling the authentication service of the current software according to the application key information of the current logged-in software;
[0021] The user login information of the current software is obtained through the authentication server.
[0022] Optionally, the step of querying the cloud user information of the target cloud software according to the user login information to obtain the user mapping information includes:
[0023] Querying the storage space of the target cloud software according to the user login information to determine the cloud user information;
[0024] The user mapping information is determined according to the cloud user information and the user login information.
[0025] Optionally, the step of querying the storage space of the target cloud software according to the user login information to determine the cloud user information includes:
[0026] Determine the cloud domain name for login request according to the user login information;
[0027] Determine the target cloud software according to the cloud domain name;
[0028] Query the storage space of the target cloud software to determine the cloud user information.
[0029] Optionally, the step of querying the storage space of the target cloud software to determine the cloud user information includes:
[0030] Querying the storage space of the target cloud software according to the target cloud software to determine the enterprise information;
[0031] Cloud user information is determined according to the target cloud software and the enterprise information.
[0032] Optionally, the step of determining user mapping information according to the cloud user information and the user login information includes:
[0033] Compare the cloud user information with the user login information to determine a user identity mapping relationship and a user authority mapping relationship;
[0034] The user mapping information is determined according to the user identity mapping relationship and the user authority mapping relationship.
[0035] Optionally, the step of directly logging into the target cloud account when the user mapping information meets the identity authentication condition includes:
[0036] In the user mapping information, the user identity mapping relationship and the user authority mapping relationship are both identified as the current user and meet the cloud access rights, and the identity authentication condition is met;
[0037] Determine the target cloud account based on the user mapping information, log in to the target cloud account directly and display the user cloud page corresponding to the target cloud account
[0038] In addition, to achieve the above purpose, the present application also proposes a user login device, the user login device comprising:
[0039] An information acquisition module, configured to acquire user login information of the currently logged-in software in response to a cloud software login instruction triggered in the currently logged-in software;
[0040] A user mapping module, used to query the cloud user information of the target cloud software according to the user login information, and obtain user mapping information;
[0041] The account login module is used to directly log in to the target cloud account when the user mapping information meets the identity authentication conditions.
[0042] Optionally, the information acquisition module is further used to collect user operation information when it is detected that the user accesses the login interface of the cloud software through the current login software; and receive the cloud software login instruction according to the user operation information.
[0043] Optionally, the information acquisition module is also used to retrieve the application key information of the currently logged-in software in the target database in response to a cloud software login instruction triggered in the currently logged-in software; and obtain the user login information of the current software based on the application key information.
[0044] Optionally, the information acquisition module is further used to identify the private domain name information of the current user; retrieve the corresponding current application configuration information in the target database according to the private domain name information; and determine the application key information of the currently logged-in software according to the current application configuration information.
[0045] Optionally, the information acquisition module is further used to call the authentication service of the current software according to the application key information of the current logged-in software; and obtain the user login information of the current software through the authentication server.
[0046] Optionally, the user mapping module is further used to query the storage space of the target cloud software according to the user login information to determine the cloud user information; and determine the user mapping information according to the cloud user information and the user login information.
[0047] Optionally, the user mapping module is further used to determine the cloud domain name requested for login according to the user login information; determine the target cloud software according to the cloud domain name; and query the storage space of the target cloud software to determine the cloud user information.
[0048] In addition, to achieve the above-mentioned purpose, the present application also proposes a user login device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the user login method described above.
[0049] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the user login method described above are implemented.
[0050] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the user login method described above are implemented.
[0051] One or more technical solutions proposed in this application have at least the following technical effects:
[0052] This application obtains the user login information of the currently logged-in software by responding to the cloud software login instruction triggered in the currently logged-in software; queries the cloud user information of the target cloud software according to the user login information to obtain the user mapping information; and directly logs in to the target cloud account when the user mapping information meets the identity authentication conditions. In this way, the function of automatically identifying the user identity and automatically logging in to the associated cloud software is realized, which not only improves the user experience, reduces the cumbersome login steps, but also enhances the security of data. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0054] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0055] Figure 1 A flowchart of the first embodiment of the user login method of the present application is provided;
[0056] Figure 2 A brief flowchart of an embodiment of a user login method of the present application is provided;
[0057] Figure 3 A flowchart of the second embodiment of the user login method of this application is provided;
[0058] Figure 4 This is a schematic diagram of the module structure of the user login device according to an embodiment of the present application;
[0059] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the user login method in the embodiment of the present application.
[0060] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0061] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0062] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0063] The main solution of the embodiment of the present application is: by responding to the cloud software login instruction triggered in the currently logged-in software, the user login information of the currently logged-in software is obtained; according to the user login information, the cloud user information of the target cloud software is queried to obtain the user mapping information; when the user mapping information meets the identity authentication conditions, the target cloud account is directly logged in.
[0064] In this embodiment, for the convenience of description, the following description is made by taking the identification computer as the execution subject.
[0065] As the existing technology develops rapidly with information technology, the unified identity authentication system has become a key technology to improve user experience. The system allows users to access multiple applications without having to repeatedly enter credentials after logging in once. However, in specific scenarios, such as the integration of cloud disk services and enterprise WeChat, although the user account and enterprise WeChat account have established a mapping relationship, users still need to perform secondary authentication when accessing cloud disks in the enterprise WeChat environment, which not only reduces the user experience, but also increases the complexity of the operation.
[0066] The present application provides a solution, through which the function of automatically identifying the user identity and automatically logging in to the associated cloud software is realized, which not only improves the user experience, reduces the cumbersome steps of login, but also enhances the security of data. When the user uses the client to access the cloud disk login page, the corresponding enterprise WeChat application key information stored is automatically retrieved, and the enterprise WeChat API interface is called in the current login software client environment to obtain the information of the current logged-in user, thereby realizing the function of automatically identifying the user identity and automatically logging in to the cloud disk. This method not only improves the user experience, reduces the cumbersome steps of login, but also enhances the security of data. The innovation of the present invention is that by using the cloud disk domain name to identify the enterprise information, using the current login software application key and API interface, an automatic login mechanism without a password is realized. This method not only improves the login efficiency, but also improves the security of the account by reducing the need for password input. In addition, the solution can also intelligently identify the user identity, provide users with an efficient and secure login method, and greatly facilitate digital office and life. Through this innovative identity authentication method, the present invention provides users with an intelligent and efficient login experience, and at the same time provides technical support for digital transformation. This technology has broad application prospects and is expected to become the mainstream solution for identity authentication in future enterprise services.
[0067] At the same time, single sign-on (SSO) is implemented, so users can access multiple services with just one login, reducing the need for repeated authentication. The automated authentication process reduces user operation steps and improves efficiency. The OAuth 2.0 authorization framework is adopted to ensure that the user authorization process is transparent and secure. Users can complete the access to cloud disk services within the enterprise WeChat client without switching applications or browsers. The personalized cloud disk page provides users with an intuitive operation interface and customized services. The use of caching mechanism and load balancing technology improves the system's response speed and ability to handle a large number of user requests. The front-end performance is optimized, reducing data transmission and page rendering time. During the authentication process, the consistency and accuracy of user information are ensured through mapping relationship verification. The solution design takes into account changes in future business needs, and new enterprise WeChat configurations or services can be easily added. Support for multiple enterprise WeChat configurations improves the adaptability and flexibility of the system. The automated process reduces dependence on manual operations, reduces long-term maintenance costs and human resource requirements. Compliance with industry security standards and best practices ensures the compliance of the solution. The user authorization process is transparent, which enhances user trust and satisfaction with the system. It provides a safe and efficient service integration method that helps to enhance the competitiveness of enterprises in the market. By improving user experience and service quality, it helps to attract and retain users.
[0068] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a server, etc. The following takes a computer as an example to illustrate this embodiment and the following embodiments.
[0069] Based on this, the present application embodiment provides a user login method, referring to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the user login method of the present application.
[0070] In this embodiment, the user login method includes steps S10 to S30:
[0071] Step S10, in response to a cloud software login instruction triggered in the currently logged-in software, obtaining user login information of the currently logged-in software;
[0072] It should be noted that, first, when the user logs in to the cloud software, a cloud software login instruction is received, thereby determining the relevant information of the user who has logged in to the current login software. The current login software can be any software such as the internal system of employees of an enterprise or unit, and the cloud software can be any cloud disk, cloud database, etc.
[0073] It should be understood that if Figure 2The flowchart of the scheme of this embodiment is shown. In the cloud disk system, the administrator logs in and performs operations through a high-authority account to securely store the current application configuration information in the cloud disk service. This process uses advanced encryption technology to ensure the security of the configuration information and prevent any unauthorized tampering. The scheme of this embodiment proposes an efficient cloud disk and linked application integration authentication scheme, which effectively solves the problems of secure storage of account information, configuration data protection, and automation of the authentication process. Through encrypted storage, automated configuration reading, seamless authentication integration, personalized access control and other measures, the security, user experience and operating efficiency of the cloud disk service and linked applications are significantly improved. At the same time, the tediousness of user login is reduced and the user experience is improved.
[0074] In a feasible implementation, in order to continuously receive cloud software login instructions when conditions are met, before step S10, it also includes: when it is detected that a user accesses the login interface of the cloud software through the currently logged-in software, collecting user operation information; and receiving cloud software login instructions based on the user operation information.
[0075] It should be understood that when a user accesses the cloud disk service through the currently logged-in software client, the user's operation information is collected, and then the user's intention is determined based on the user's operation information to determine whether the cloud software needs to be logged in, thereby continuously receiving cloud software login instructions.
[0076] In a feasible implementation, in order to accurately determine the user login information, step S10 includes: in response to a cloud software login instruction triggered in the currently logged-in software, retrieving the application key information of the currently logged-in software in the target database; and obtaining the user login information of the current software based on the application key information.
[0077] In a specific implementation, firstly, in response to a cloud software login instruction triggered in the current login software, the application key information in the target database is retrieved, wherein the target database refers to the internal storage.
[0078] It should be noted that after obtaining the application key information, the authentication service of the current software is called based on the application key information to obtain the user login information.
[0079] In a feasible implementation, in order to accurately obtain the application key information, the step of retrieving the application key information of the currently logged-in software in the target database includes: identifying the private domain name information of the current user; retrieving the corresponding current application configuration information in the target database according to the private domain name information; and determining the application key information of the currently logged-in software according to the current application configuration information.
[0080] It should be understood that when a user accesses the cloud disk service through the current application client, the system will automatically identify and retrieve the corresponding current application configuration based on the user's private domain name. This process ensures accurate matching and efficient reading of configuration information.
[0081] In a feasible implementation, in order to accurately obtain user login information, the step of obtaining the user login information of the current software according to the application key information includes: calling the authentication service of the current software according to the application key information of the current login software; obtaining the user login information of the current software through the authentication server.
[0082] In the specific implementation, the system will directly call the authentication service in the client of the currently logged-in software according to the stored application configuration (if there are multiple configurations, they will be tried in sequence). This step is implemented through API calls to obtain the currently logged-in user information.
[0083] Step S20, querying the cloud user information of the target cloud software according to the user login information to obtain user mapping information;
[0084] It should be noted that after obtaining the user login information, the cloud user information stored in the target cloud software requested by the user to log in is queried based on the user login information to determine whether there is a mapping between the current software user and the user information stored in the cloud software.
[0085] Step S30, directly logging into the target cloud account when the user mapping information meets the identity authentication condition.
[0086] It should be understood that after determining the user mapping information, verification is performed through identity authentication conditions, and after the verification is passed, the cloud software is directly logged in.
[0087] In a feasible implementation, in order to reduce user operations for logging into the linkage software, step S30 includes: in the user mapping information, the user identity mapping relationship and the user authority mapping relationship are both identified as the current user and meet the cloud access rights, and the identity authentication conditions are met at this time; based on the user mapping information, the target cloud account is determined, and the target cloud account is directly logged in and the user cloud page corresponding to the target cloud account is displayed.
[0088] In a specific implementation, the identity mapping and authority mapping in the user mapping information are first checked to determine whether the identity authentication conditions are met when the user has an associated account in the cloud and has login authority.
[0089] It should be noted that after the identity authentication conditions are met, the corresponding target cloud account that can be logged in is determined. After confirming the consistency of the mapping relationship, the system will automatically complete the internal login process of the cloud disk. After successful login, the enterprise WeChat client will seamlessly jump to the user's exclusive cloud disk page to provide a personalized access experience.
[0090] This embodiment provides a user login method, which obtains the user login information of the currently logged-in software by responding to the cloud software login instruction triggered in the currently logged-in software; queries the cloud user information of the target cloud software according to the user login information to obtain the user mapping information; and directly logs in to the target cloud account when the user mapping information meets the identity authentication condition. In this way, the function of automatically identifying the user identity and automatically logging in to the associated cloud software is realized, which not only improves the user experience, reduces the cumbersome login steps, but also enhances the security of the data.
[0091] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 3 , step S20 includes steps S201 to S202:
[0092] Step S201, querying the storage space of the target cloud software according to the user login information to determine the cloud user information;
[0093] It should be noted that, firstly, the cloud storage space corresponding to the target cloud software is queried according to the user login information, so that the user name, user number and other information stored in all cloud storage spaces can be determined.
[0094] In a feasible implementation, in order to accurately determine the cloud user, step S201 includes: determining the cloud domain name requested for login according to the user login information; determining the target cloud software according to the cloud domain name; and querying the storage space of the target cloud software to determine the cloud user information.
[0095] It should be understood that the cloud domain name requested by the user to log in is first determined based on the user login information, the cloud domain name can be searched and jumped to obtain the target cloud software, and finally all the stored user information is determined from the storage space of the target cloud software.
[0096] In a feasible implementation manner, in order to further accurately determine the cloud user information, the step of querying the storage space of the target cloud software to determine the cloud user information includes: querying the storage space of the target cloud software to determine the enterprise information based on the target cloud software; determining the cloud user information based on the target cloud software and the enterprise information.
[0097] In a specific implementation, after determining the target cloud software, the enterprise information corresponding to the user's identity is retrieved, thereby pulling the user corresponding to the enterprise information and determining the mapping relationship.
[0098] Step S202: determining user mapping information according to the cloud user information and the user login information.
[0099] In a specific implementation, after the cloud user information is determined, all user lists in the cloud user information are compared with the users in the user login information to determine whether there are users with the same identity, which is used as user mapping information.
[0100] This embodiment queries the storage space of the target cloud software according to the user login information to determine the cloud user information; and determines the user mapping information according to the cloud user information and the user login information. In this way, during the authentication process, the consistency and accuracy of the user information are ensured through the mapping relationship verification.
[0101] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the user login method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0102] This application also provides a user login device, please refer to Figure 4 , the user login device comprises:
[0103] The information acquisition module 10 is used to obtain the user login information of the currently logged-in software in response to the cloud software login instruction triggered in the currently logged-in software.
[0104] The user mapping module 20 is used to query the cloud user information of the target cloud software according to the user login information to obtain user mapping information.
[0105] The account login module 30 is used to directly log in to the target cloud account when the user mapping information meets the identity authentication condition.
[0106] This embodiment obtains the user login information of the currently logged-in software in response to the cloud software login instruction triggered in the currently logged-in software; queries the cloud user information of the target cloud software according to the user login information to obtain the user mapping information; and directly logs in to the target cloud account when the user mapping information meets the identity authentication condition. In this way, the function of automatically identifying the user identity and automatically logging in to the associated cloud software is realized, which not only improves the user experience, reduces the cumbersome login steps, but also enhances the security of data.
[0107] In one embodiment, the information acquisition module 10 is further used to collect user operation information when it is detected that the user accesses the login interface of the cloud software through the current login software; and receive the cloud software login instruction according to the user operation information.
[0108] In one embodiment, the information acquisition module 10 is also used to retrieve the application key information of the currently logged-in software in the target database in response to a cloud software login instruction triggered in the currently logged-in software; and obtain the user login information of the current software based on the application key information.
[0109] In one embodiment, the information acquisition module 10 is also used to identify the private domain name information of the current user; retrieve the corresponding current application configuration information in the target database according to the private domain name information; and determine the application key information of the currently logged-in software according to the current application configuration information.
[0110] In one embodiment, the information acquisition module 10 is further used to call the authentication service of the current software according to the application key information of the current logged-in software; and obtain the user login information of the current software through the authentication server.
[0111] In one embodiment, the user mapping module 20 is further used to query the storage space of the target cloud software according to the user login information to determine the cloud user information; and determine the user mapping information according to the cloud user information and the user login information.
[0112] In one embodiment, the user mapping module 20 is further used to determine the cloud domain name requested for login according to the user login information; determine the target cloud software according to the cloud domain name; and query the storage space of the target cloud software to determine the cloud user information.
[0113] In one embodiment, the user mapping module 20 is further configured to determine enterprise information by querying the storage space of the target cloud software according to the target cloud software; and determine cloud user information according to the target cloud software and the enterprise information.
[0114] In one embodiment, the user mapping module 20 is further used to compare the cloud user information with the user login information to determine the user identity mapping relationship and the user authority mapping relationship;
[0115] The user mapping information is determined according to the user identity mapping relationship and the user authority mapping relationship.
[0116] In one embodiment, the account login module 30 is also used to identify the user identity mapping relationship and the user authority mapping relationship in the user mapping information as the current user and satisfy the cloud access rights, and the identity authentication conditions are met at this time; determine the target cloud account based on the user mapping information, directly log in to the target cloud account and display the user cloud page corresponding to the target cloud account.
[0117] The user login device provided by the present application adopts the user login method in the above embodiment, which can solve the technical problem that multiple logins are required to switch between multiple applications with the same user identity, and the operation is cumbersome. Compared with the prior art, the beneficial effects of the user login device provided by the present application are the same as the beneficial effects of the user login method provided by the above embodiment, and other technical features in the user login device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0118] The present application provides a user login device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the user login method in the above-mentioned embodiment one.
[0119] Reference below Figure 5 , which shows a schematic diagram of the structure of a user login device suitable for implementing an embodiment of the present application. The user login device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The user login device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0120] like Figure 5As shown, the user login device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the user login device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the user login device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a user login device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided alternatively.
[0121] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0122] The user login device provided by the present application adopts the user login method in the above embodiment, which can solve the technical problem that multiple logins are required to switch between multiple applications with the same user identity, and the operation is cumbersome. Compared with the prior art, the beneficial effects of the user login device provided by the present application are the same as the beneficial effects of the user login method provided by the above embodiment, and the other technical features in the user login device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0123] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0124] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0125] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the user login method in the above-mentioned embodiment.
[0126] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0127] The computer-readable storage medium may be included in the user login device; or may exist independently without being assembled into the user login device.
[0128] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the user login device, the user login device: responds to the cloud software login instruction triggered in the current login software, obtains the user login information of the current login software; queries the cloud user information of the target cloud software according to the user login information to obtain user mapping information; and directly logs in to the target cloud account when the user mapping information meets the identity authentication conditions.
[0129] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0130] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0131] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0132] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned user login method, and can solve the technical problem that multiple logins are required to switch between multiple applications with the same user identity, which is cumbersome to operate. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as those of the user login method provided by the above-mentioned embodiment, and will not be repeated here.
[0133] The present application also provides a computer program product, including a computer program, which implements the steps of the user login method as described above when executed by a processor.
[0134] The computer program product provided by the present application can solve the technical problem that multiple logins are required to switch between multiple applications with the same user identity, which is cumbersome. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as those of the user login method provided in the above embodiment, and will not be described in detail here.
[0135] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
[0136] The present invention also discloses A1. a user login method, the method comprising:
[0137] In response to a cloud software login instruction triggered in the currently logged-in software, obtaining user login information of the currently logged-in software;
[0138] Query the cloud user information of the target cloud software according to the user login information to obtain user mapping information;
[0139] When the user mapping information meets the identity authentication condition, directly log in to the target cloud account.
[0140] A2. As described in the method of A1, the step of obtaining the user login information of the currently logged-in software in response to the cloud software login instruction triggered in the currently logged-in software also includes:
[0141] When it is detected that a user accesses the login interface of the cloud software through the current login software, user operation information is collected;
[0142] A cloud software login instruction is received according to the user operation information.
[0143] A3. As described in the method of A1, the step of obtaining the user login information of the currently logged-in software in response to the cloud software login instruction triggered in the currently logged-in software includes:
[0144] In response to a cloud software login instruction triggered in the currently logged-in software, retrieving application key information of the currently logged-in software in the target database;
[0145] The user login information of the current software is obtained according to the application key information.
[0146] A4. As described in A3, the step of retrieving the application key information of the currently logged-in software in the target database comprises:
[0147] Identify the private domain name information of the current user;
[0148] Retrieving the corresponding current application configuration information in the target database according to the privatized domain name information;
[0149] The application key information of the currently logged-in software is determined according to the current application configuration information.
[0150] A5. As described in A3, the step of obtaining the user login information of the current software according to the application key information comprises:
[0151] Calling the authentication service of the current software according to the application key information of the current logged-in software;
[0152] The user login information of the current software is obtained through the authentication server.
[0153] A6. As described in the method of A1, the step of querying the cloud user information of the target cloud software according to the user login information to obtain the user mapping information includes:
[0154] Querying the storage space of the target cloud software according to the user login information to determine the cloud user information;
[0155] The user mapping information is determined according to the cloud user information and the user login information.
[0156] A7. As described in A6, the step of querying the storage space of the target cloud software according to the user login information and determining the cloud user information includes:
[0157] Determine the cloud domain name for login request according to the user login information;
[0158] Determine the target cloud software according to the cloud domain name;
[0159] Query the storage space of the target cloud software to determine the cloud user information.
[0160] A8. As described in A7, the step of querying the storage space of the target cloud software to determine the cloud user information includes:
[0161] Querying the storage space of the target cloud software according to the target cloud software to determine the enterprise information;
[0162] Cloud user information is determined according to the target cloud software and the enterprise information.
[0163] A9. As described in A6, the step of determining the user mapping information according to the cloud user information and the user login information comprises:
[0164] Compare the cloud user information with the user login information to determine a user identity mapping relationship and a user authority mapping relationship;
[0165] The user mapping information is determined according to the user identity mapping relationship and the user authority mapping relationship.
[0166] A10. As described in A9, the step of directly logging into the target cloud account when the user mapping information satisfies the identity authentication conditions includes:
[0167] In the user mapping information, the user identity mapping relationship and the user authority mapping relationship are both identified as the current user and meet the cloud access rights, and the identity authentication condition is met;
[0168] The target cloud account is determined based on the user mapping information, and the target cloud account is directly logged in to display the user cloud page corresponding to the target cloud account.
[0169] The present invention also discloses B11. a user login device, the device comprising:
[0170] An information acquisition module, configured to acquire user login information of the currently logged-in software in response to a cloud software login instruction triggered in the currently logged-in software;
[0171] A user mapping module, used to query the cloud user information of the target cloud software according to the user login information, and obtain user mapping information;
[0172] The account login module is used to directly log in to the target cloud account when the user mapping information meets the identity authentication conditions.
[0173] B12. In the user login device as described in B11, the information acquisition module is further used to collect user operation information when it is detected that the user accesses the login interface of the cloud software through the current login software; and receive the cloud software login instruction according to the user operation information.
[0174] B13. In the user login device as described in B11, the information acquisition module is also used to respond to the cloud software login instruction triggered in the currently logged-in software, retrieve the application key information of the currently logged-in software in the target database; and obtain the user login information of the current software based on the application key information.
[0175] B14. In the user login device as described in B13, the information acquisition module is also used to identify the private domain name information of the current user; retrieve the corresponding current application configuration information in the target database according to the private domain name information; and determine the application key information of the current login software according to the current application configuration information.
[0176] B15. In the user login device as described in B13, the information acquisition module is further used to call the authentication service of the current software according to the application key information of the current login software; and obtain the user login information of the current software through the authentication server.
[0177] B16. In the user login device as described in B11, the user mapping module is further used to query the storage space of the target cloud software according to the user login information to determine the cloud user information; and determine the user mapping information according to the cloud user information and the user login information.
[0178] B17. In the user login device as described in B16, the user mapping module is further used to determine the cloud domain name requested for login based on the user login information; determine the target cloud software based on the cloud domain name; and query the storage space of the target cloud software to determine the cloud user information.
[0179] The present invention also discloses C18. A user login device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the user login method as described above.
[0180] The present invention also discloses D19. A storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the user login method as described above are implemented.
[0181] The present invention also discloses E20. A computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the user login method described above are implemented.
Claims
1. A user login method, characterized in that: The method includes: In response to a cloud software login instruction triggered in the currently logged-in software, obtaining user login information of the currently logged-in software; Query the cloud user information of the target cloud software according to the user login information to obtain user mapping information; When the user mapping information meets the identity authentication condition, directly log in to the target cloud account.
2. The method according to claim 1, characterized in that Before the step of obtaining the user login information of the currently logged-in software in response to the cloud software login instruction triggered in the currently logged-in software, the step also includes: When it is detected that a user accesses the login interface of the cloud software through the current login software, user operation information is collected; A cloud software login instruction is received according to the user operation information.
3. The method according to claim 1, characterized in that The step of obtaining user login information of the currently logged-in software in response to the cloud software login instruction triggered in the currently logged-in software includes: In response to a cloud software login instruction triggered in the currently logged-in software, retrieving application key information of the currently logged-in software in the target database; The user login information of the current software is obtained according to the application key information.
4. The method according to claim 3, characterized in that The step of retrieving the application key information of the currently logged-in software in the target database comprises: Identify the private domain name information of the current user; Retrieving the corresponding current application configuration information in the target database according to the privatized domain name information; The application key information of the currently logged-in software is determined according to the current application configuration information.
5. The method according to claim 3, characterized in that The step of obtaining the user login information of the current software according to the application key information comprises: Calling the authentication service of the current software according to the application key information of the current logged-in software; The user login information of the current software is obtained through the authentication server.
6. The method according to claim 1, characterized in that The step of querying the cloud user information of the target cloud software according to the user login information to obtain the user mapping information comprises: Querying the storage space of the target cloud software according to the user login information to determine the cloud user information; The user mapping information is determined according to the cloud user information and the user login information.
7. A user login device, characterized in that: The device comprises: An information acquisition module, configured to acquire user login information of the currently logged-in software in response to a cloud software login instruction triggered in the currently logged-in software; A user mapping module, used to query the cloud user information of the target cloud software according to the user login information, and obtain user mapping information; The account login module is used to directly log in to the target cloud account when the user mapping information meets the identity authentication conditions.
8. A user login device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the user login method according to any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the user login method according to any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the user login method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Login method and device, server and storage medium
CN113765869A
Account login method and device, equipment, storage medium and program product
CN116961927A
Method for quickly realizing user information synchronization, cloud platform and computer readable medium
CN117857585A
User single sign-on method and device and electronic equipment
CN118070263A
Cloud platform login method and device, electronic equipment and storage medium
CN118631478A