Single sign-on method and system based on Micro SaaS form filling
Through the unified management of user account and password information through Micro SaaS form filling technology, the problem of high cost of single sign-on transformation in enterprise digital transformation is solved, and flexible and secure single sign-on is realized. It is suitable for various system architectures and reduces the difficulty and cost of integration.
Patent Information
- Application Number
- CN202211200138.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-29
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2042-09-29
AI Technical Summary
During the digital transformation of enterprises, there are large differences between subsystems purchased in batches and built in steps, resulting in high costs for single sign-on transformation and difficulty in transforming old systems, which affects user experience and enterprise costs.
Micro SaaS form filling technology is used to uniformly store user account and password information in a unified authentication center. Login to each business subsystem is achieved through the Micro SaaS form filling method, avoiding modification of third-party system code, and using page matching rules and automatic filling strategies for login.
It achieves simple, flexible and secure single sign-on, reduces integration costs and improves integration efficiency. It is suitable for systems that do not support standard authentication protocols, avoids failure in public network environments, and meets the business integration needs of enterprises.
Smart Images

Figure CN115618319B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the field of login technology, and in particular relates to a single sign-on method and system based on Micro SaaS form filling. Background Art
[0002] The statements in this section merely provide background information related to the present disclosure and do not necessarily constitute prior art.
[0003] Most group companies typically adopt a phased procurement approach to build their IT systems during digital transformation. These subsystems are independent of each other, with no shared account information and status, leading to a lack of unified management. For example, in daily use, users need to remember multiple accounts and passwords to access various applications. Repeated logins to multiple systems reduce daily work efficiency. The resulting frequent requests for assistance and password resets hinder IT managers' other tasks, increasing the company's labor costs and damaging the user experience.
[0004] In the existing technology, Single Sign-On has become a commonly used enterprise business integration solution in the process of enterprise digital transformation. It allows users to access all trusted application services in the system with only one login. The industry's single sign-on is generally implemented based on standard authentication protocols (OAuth2.0, OIDC (Open ID Connect), SAML (Security Assertion Markup Language), CAS (Central Authentication Service)). However, the inventors found that enterprises need to integrate their various sub-business systems, but the enterprise digital transformation strategy of batch procurement and step-by-step construction often leads to huge differences between the sub-systems; the inconsistency of the technology stack between the sub-business systems and the differences in the database table structure design have increased the cost of business system transformation based on the single sign-on standard authentication protocol; some business systems are facing the integration dilemma of not being able to change, not daring to change, and not being able to change due to factors such as outdated technology, changes in the developer team, and lack of development documents. Summary of the Invention
[0005] In order to solve the above problems, the present disclosure provides a single sign-on method and system based on Micro SaaS form filling. The solution stores the account and password information of all registered system users in a unified authentication center for single sign-on for unified management. When a user login request is generated, the account and password information of the current user is obtained through the unified authentication center for single sign-on, and then the technical solution based on Micro SaaS (Micro Software as a Service) form filling is used to log in to various business subsystems in the business system. This provides a simple, flexible, secure solution that does not require code-level modification of third-party business systems, realizes the rapid integration of single sign-on, effectively improves the integration efficiency of third-party business subsystems, and reduces integration costs.
[0006] According to a first aspect of an embodiment of the present disclosure, a single sign-on method based on Micro SaaS form filling is provided, comprising:
[0007] Receiving a login request for a business system, wherein the business system includes a plurality of business subsystems, and the login request includes a current user identity;
[0008] Obtaining the current user's account and password information from a unified authentication center based on the user's identity identifier; wherein the unified authentication center stores the account and password information of registered users;
[0009] Based on the obtained account and password information, the Micro SaaS form filling method is used to realize the login of different business subsystems in the business system; wherein, the Micro SaaS form filling method is specifically as follows: pre-set selectors that match the positions of the elements in the login forms of different business subsystems, and specify the operation configuration in the form filling process and the user sensitive information required for the operation configuration to be applied to the unified authentication center for the configured selector; based on the selector, the business integrator configures the corresponding form automatic filling strategy for different business subsystems, and realizes the login of the business subsystem based on the form automatic filling strategy.
[0010] Furthermore, the Micro SaaS form filling method executes different form automatic filling strategies according to pre-set page matching rules of different business subsystems, wherein the page matching rules are configured as one or more.
[0011] Furthermore, the page matching rules include: regular matching rules based on URL, matching rules based on window objects, matching rules based on window controls, matching rules based on Cookies, matching rules based on XPATH or matching rules based on web page text content.
[0012] Furthermore, the execution process of the form automatic filling strategy is specifically as follows: locating the form component that needs to be interacted based on a pre-set selector, and simulating user operations based on the selector's operation configuration; after the operation is completed, executing the next step of the automatic filling strategy according to the pre-set assertion.
[0013] Furthermore, the assertion is used to determine the execution result based on the change of the current page after each step of the form automatic filling strategy is executed, and to execute the next step of the form automatic filling strategy based on the current execution result.
[0014] Furthermore, the operation configuration includes but is not limited to filling, scrolling, waiting and clicking operations.
[0015] Furthermore, the user sensitive information includes but is not limited to the account and password information of the registered user.
[0016] According to a second aspect of an embodiment of the present disclosure, a single sign-on system based on Micro SaaS form filling is provided, including:
[0017] A login request unit, configured to receive a login request for a business system, wherein the business system includes a plurality of business subsystems, and the login request includes a current user identity;
[0018] An account and password information acquisition unit, configured to acquire the account and password information of the current user from a unified authentication center based on the user identity identifier; wherein the unified authentication center stores the account and password information of registered users;
[0019] A single sign-on unit is used to log in to different business subsystems in the business system based on the obtained account and password information using a Micro SaaS form filling method; wherein, the Micro SaaS form filling method is specifically as follows: pre-setting selectors that match the positions of the elements in the login forms of different business subsystems, and specifying the operation configuration in the form filling process and the user sensitive information required to apply to the unified authentication center for the operation configuration for the configured selector; based on the selector, the business integrator configures corresponding form automatic filling strategies for different business subsystems, and realizes login to the business subsystem based on the form automatic filling strategy.
[0020] According to the third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a memory, a processor, and a computer program stored and running on the memory, wherein when the processor executes the program, a single sign-on method based on MicroSaaS form filling is implemented.
[0021] According to a fourth aspect of an embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the single sign-on method based on Micro SaaS form filling is implemented.
[0022] Compared with the prior art, the present invention has the following advantages:
[0023] (1) The present disclosure provides a single sign-on method and system based on Micro SaaS form filling. The solution stores the account and password information of all registered system users in a unified authentication center for single sign-on for unified management. When a user login request is generated, the account and password information of the current user is obtained through the unified authentication center for single sign-on, and then the technical solution based on Micro SaaS (Micro Software as a Service) form filling is used to log in to each business subsystem in the business system. This provides a simple, flexible, secure solution that does not require code-level modification of third-party business systems, realizes rapid integration of single sign-on, effectively improves the integration efficiency of third-party business subsystems, and reduces integration costs.
[0024] (2) Based on the solution disclosed in this disclosure, business integrators can configure the form auto-fill strategy of the corresponding third-party system login interface in a fine-grained manner. While meeting the business integration needs of the enterprise, it avoids the code-level transformation and upgrade of the old system, and provides a safe and reliable single sign-on function for external applications that do not support standard authentication protocols and are difficult to transform; as a supplement to standard authentication protocols (OAuth2.0, OIDC, SAML, CAS), it effectively reduces the cost and difficulty of single sign-on transformation in the business integration process of enterprise digital transformation.
[0025] (3) The solution disclosed in the present invention is a single sign-on solution based on the user side. Compared with the existing single sign-on solution implemented on the service side, the solution disclosed in the present invention does not require the user to be in a specific network environment, thus avoiding the problem that the single sign-on solution implemented on the service side fails in a public network environment.
[0026] Advantages of additional aspects of the present disclosure will be given in part in the following description and in part will become apparent from the following description or learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings, which constitute a part of the present disclosure, are used to provide a further understanding of the present disclosure. The exemplary embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation to the present disclosure.
[0028] Figure 1A schematic diagram of a process for implementing single sign-on configuration based on form filling in an embodiment of the present disclosure;
[0029] Figure 2 This is a schematic diagram of the process of configuring the automatic form filling strategy described in the embodiment of the present disclosure;
[0030] Figure 3 This is a flow chart of the single sign-on method based on Micro SaaS form filling described in the embodiment of the present disclosure. DETAILED DESCRIPTION
[0031] The present disclosure will be further described below with reference to the accompanying drawings and embodiments.
[0032] It should be noted that the following detailed descriptions are illustrative and intended to provide further explanation of the present disclosure. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which the present disclosure belongs.
[0033] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present disclosure. As used herein, unless the context clearly indicates otherwise, the singular form is intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or combinations thereof.
[0034] In the absence of conflict, the embodiments of the present disclosure and the features thereof may be combined with each other.
[0035] Example 1:
[0036] The purpose of this embodiment is to provide a single sign-on method based on Micro SaaS form filling.
[0037] A single sign-on method based on Micro SaaS form filling, including:
[0038] Receiving a login request for a business system, wherein the business system includes a plurality of business subsystems, and the login request includes a current user identity;
[0039] Obtaining the current user's account and password information from a unified authentication center based on the user's identity identifier; wherein the unified authentication center stores the account and password information of registered users;
[0040] Based on the obtained account and password information, the Micro SaaS form filling method is used to realize the login of different business subsystems in the business system; wherein, the Micro SaaS form filling method is specifically as follows: pre-set selectors that match the positions of the elements in the login forms of different business subsystems, and specify the operation configuration in the form filling process and the user sensitive information required for the operation configuration to be applied to the unified authentication center for the configured selector; based on the selector, the business integrator configures the corresponding form automatic filling strategy for different business subsystems, and realizes the login of the business subsystem based on the form automatic filling strategy.
[0041] Furthermore, the Micro SaaS form filling method executes different form automatic filling strategies according to pre-set page matching rules of different business subsystems, wherein the page matching rules are configured as one or more.
[0042] Furthermore, the page matching rules include: regular matching rules based on URL, matching rules based on window objects, matching rules based on window controls, matching rules based on Cookies, matching rules based on XPATH or matching rules based on web page text content.
[0043] Furthermore, the execution process of the form automatic filling strategy is specifically as follows: locating the form component that needs to be interacted based on a pre-set selector, and simulating user operations based on the selector's operation configuration; after the operation is completed, executing the next step of the automatic filling strategy according to the pre-set assertion.
[0044] Furthermore, the assertion is used to determine the execution result based on the change of the current page after each step of the form automatic filling strategy is executed, and to execute the next step of the form automatic filling strategy based on the current execution result.
[0045] Furthermore, the operation configuration includes but is not limited to filling, scrolling, waiting and clicking operations.
[0046] Furthermore, the user sensitive information includes but is not limited to the account and password information of the registered user.
[0047] Specifically, for ease of understanding, the solution described in this embodiment is described in detail below with reference to the accompanying drawings:
[0048] Based on the business integrators' desire for a safe, simple, and lower-cost single sign-on transformation solution to meet the needs of the scenarios described in the background technology, this embodiment provides a single sign-on method based on Micro SaaS form filling, the main technical concept of which is: first, the account and password information of all registered system users are stored in a unified authentication center for single sign-on for unified management, and when a user login request is generated, the account and password information of the current user is obtained through the unified authentication center for single sign-on; then, a technical solution based on Micro SaaS (micro software as a service) form filling is used to log in to each business subsystem in the business system, wherein, for different business subsystem login pages, the form filling process has different behaviors, for example, for a B / S architecture system administrator can set matching rules for a specific web page, and then the administrator can configure the form filling behavior on different form elements, such as filling in values, clicking, scrolling, and waiting. During actual operation, the behavior will be executed on the specified form element, for example, all elements in the form filling page that match the element query rule can query the current behavior configuration and perform operations such as form filling, scrolling, waiting, and clicking according to the behavior configuration.
[0049] Specifically, a single sign-on method based on Micro SaaS form filling includes:
[0050] Receiving a login request for a business system, wherein the business system includes a plurality of business subsystems, and the login request includes a current user identity;
[0051] Obtaining the current user's account and password information from a unified authentication center based on the user's identity identifier; wherein the unified authentication center stores the account and password information of registered users;
[0052] Based on the obtained account and password information, the Micro SaaS form filling method is used to realize the login to different business subsystems in the business system; wherein, the form filling method needs to pre-execute the following configuration: for the elements in the login form, at least one selector or selector group that can match its position is set, and for the configured selector, the operation configuration of the corresponding element in the login form filling process is specified, and the user sensitive information required by the operation configuration is requested from the server.
[0053] Furthermore, in one or more embodiments, for at least one configured form-filling configuration, an assertion is set for determining the result of the form operation, thereby determining the execution result and the next step of the form automation filling strategy based on the page changes after the automated operation. According to another embodiment of the present disclosure, the form-filling strategy can be associated with the login page and environment of the third-party system.
[0054] Based on the above settings of the solution described in this embodiment, business integrators can configure the form automatic filling strategy of the corresponding third-party system login page in a fine-grained manner. While meeting the business integration needs of the enterprise, it avoids the code-level transformation and upgrading of the old system, and provides a safe and reliable single sign-on function for external applications that do not support standard authentication protocols and are difficult to transform; as a supplement to standard authentication protocols (OAuth2.0, OIDC, SAML, CAS), it effectively reduces the cost and difficulty of single sign-on transformation in the business integration process of enterprise digital transformation.
[0055] Furthermore, the solution of this embodiment is described below from the perspective of specific implementation through specific examples:
[0056] like Figure 1 As shown, the process for implementing single sign-on configuration based on form filling in the solution described in this embodiment is shown, including:
[0057] Step S100: Start;
[0058] Step S110: Configure the matching rules of the third-party login page (i.e., the login page of the business system), wherein a third-party login page can have one or more configurable matching rules. For the third-party login page, the matching rules set can be: "Regular matching rules based on URL (URL-Rule)", "Matching rules based on window objects (Windows-Rule)", "Matching rules based on window controls (Component-Rule)", "Matching rules based on Cookies (Cookie-Rule)", "Matching rules based on XPATH (XPATH-Rule)", "Matching rules based on web page text content (Content-Rule)", etc. The form filling system based on Micro SaaS can execute different form automatic filling strategies according to the different page matching rules set.
[0059] For example, taking a third-party login system with a B / S architecture (i.e., a business system to implement single sign-on), the administrator can define a set of page matching rules that are suitable for various situations based on the third-party login webpage and its page structure. For example, the URL of a third-party system's login page may carry different routing information depending on the page being redirected. We can use URL-based regular matching rules (URL-Rule) to identify it based on the URL's root path and URL path (pathname), and further define it as:
[0060] Type = 'URL-Rule' (matching rules use URL-based regular matching rules);
[0061] Rule = ' / https:\ / \ / www.test.test\ / PathName / ' (matching rule);
[0062] This satisfies the requirement that the web page routing of the third-party system can match the page of https: / / www.test.test / PathName. The form filling based on Micro SaaS will request and execute the form automatic filling policy configured by the system administrator for this page.
[0063] Step S120: Based on the matching rules of the third-party login page, configure one or more form filling automatic filling strategies.
[0064] Step S130: End.
[0065] like Figure 2 , showing the process for configuring the form automatic filling policy of the form filling system described in this embodiment, including:
[0066] Step S200: Start;
[0067] Step S210: Figure 1 In step S120, for the third-party login page, the system administrator configures one or more form filling and auto-filling strategies. The core idea of the form filling and auto-filling strategies is: first locate the form component that requires interaction, then simulate user operations, click to enter or scroll a certain value, and finally, after the operation is completed, the next step of the auto-filling strategy can be executed according to the assertion.
[0068] Step S211: The system administrator configures the matching rules of the form control based on the page structure of the third-party login page, so that the form filling system can locate the form element. The matching rules of the form element can be: "Form control matching rules based on CSS selectors (Query-Rule)", "Form control matching rules based on XPATH (XPATH-Rule)", "Form matching rules based on control ID (ID-Rule)", etc. Continuing with the web page of the B / S architecture as an example, assuming that there is an input tag with the tag ID "username" as the input box for the username on the web page, the page element matching rule of "Form control matching rules based on CSS selectors (CSS-Rule)" can be used, and its rule configuration is as follows:
[0069] Type = 'Query-Rule' (form control matching rules based on CSS selectors);
[0070] Rule = '#username input' (matching rule);
[0071] Step S212: For the identified form control, set at least one action. The action can simulate user operations, including: input (type), click (click), scroll (scroll), and wait (wait). In step S213, the corresponding value can be set for the set simulated action. Take the simulation of user inputting userName as an example:
[0072] Action = 'type';
[0073] Value = 'userName';
[0074] Step S214: The user can set an assertion to observe whether the operation result of the current action meets the expected result, and can design a more complex interface interaction logic based on the assertion (step S210'), specifically including: judging whether a certain attribute of a control node on the page is the set value, whether there is a node on the page that can match the form control matching rule, whether the page cookie value is equal to the value, and other rules.
[0075] Step S220: End.
[0076] For ease of understanding, here's a complete example with assertions: After entering your account and password, if you click the login button, you can use an assertion to determine whether a pop-up window with a verification code appears to determine if the login is successful. If a verification code pop-up window appears, obtain the verification code image from the pop-up window, submit it to the server for verification, and then automatically fill it into the corresponding input box. For example, you can give the following definition:
[0077]
[0078]
[0079] Further, combined Figure 3 As shown, the solution can write the configured form auto-fill policy into a defined API, so that the form auto-fill method based on Micro SaaS can dynamically obtain the form auto-fill policy of the matching page through API calls, so that the system administrator can use these APIs to set and change the form auto-fill behavior of a third-party login system. (Step S310);
[0080] Furthermore, different third-party login pages may lead to different implementations, which are explained below:
[0081] Taking a third-party system with a B / S (browser / server) architecture as an example, the form auto-fill system can be a Micro SaaS in the form of a web plug-in. After the user installs the plug-in, the form auto-fill system will monitor the opening and updating of the user's tab page in the form of a ServiceWorker, and match the tab page with the third-party login page matching rules configured by the system administrator on the server side (step S320). If the match is successful, the form auto-fill system will request and execute the automatic filling strategy of the server-side form distribution through script injection (step S330). Web plug-ins are not limited to browsers developed based on mainstream kernels such as Trident / Gecko / Webkit / Blink.
[0082] For a C / S (client / server) architecture, a third-party system exists in the form of a client. The form auto-fill system can be an executable program or service developed based on third-party tools such as Microsoft Flow or native Bash scripts. It can match the window handle with the third-party login page matching rules configured by the system administrator on the server side by monitoring the window handle (step S320). After a successful match, the program will request and execute the automatic filling strategy distributed by the server-side form by simulating user operations (step S330).
[0083] Example 2:
[0084] The purpose of this embodiment is to provide a single sign-on system based on Micro SaaS form filling.
[0085] A single sign-on system based on Micro SaaS form filling, including:
[0086] A login request unit, configured to receive a login request for a business system, wherein the business system includes a plurality of business subsystems, and the login request includes a current user identity;
[0087] An account and password information acquisition unit, configured to acquire the account and password information of the current user from a unified authentication center based on the user identity identifier; wherein the unified authentication center stores the account and password information of registered users;
[0088] A single sign-on unit is used to log in to different business subsystems in the business system based on the obtained account and password information using a Micro SaaS form filling method; wherein, the Micro SaaS form filling method is specifically as follows: pre-setting selectors that match the positions of the elements in the login forms of different business subsystems, and specifying the operation configuration in the form filling process and the user sensitive information required to apply to the unified authentication center for the operation configuration for the configured selector; based on the selector, the business integrator configures corresponding form automatic filling strategies for different business subsystems, and realizes login to the business subsystem based on the form automatic filling strategy.
[0089] Furthermore, the system described in this embodiment corresponds to the method described in Example 1, and its technical details have been described in detail in Example 1, so they will not be repeated here.
[0090] In further embodiments, there is also provided:
[0091] An electronic device includes a memory and a processor, and computer instructions stored in the memory and executed by the processor. When the computer instructions are executed by the processor, the method described in Example 1 is performed. For the sake of brevity, no further details are given here.
[0092] It should be understood that in this embodiment, the processor may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), off-the-shelf field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0093] The memory may include a read-only memory and a random access memory, and provides instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.
[0094] A computer-readable storage medium is used to store computer instructions, and when the computer instructions are executed by a processor, the method described in embodiment 1 is performed.
[0095] The method in Example 1 can be directly implemented as being executed by a hardware processor, or by a combination of hardware and software modules within the processor. The software module can be located in a storage medium well-established in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. The storage medium is located in the memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above method. To avoid repetition, a detailed description is not given here.
[0096] Those skilled in the art will appreciate that the units, i.e., algorithm steps, of the various examples described in this embodiment can be implemented using electronic hardware or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.
[0097] The single sign-on method and system based on Micro SaaS form filling provided in the above embodiment can be implemented and has broad application prospects.
[0098] The foregoing description is merely a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Those skilled in the art will readily appreciate that various modifications and variations are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present disclosure shall be included within the scope of protection of the present disclosure.
Claims
1. A single sign-on method based on Micro SaaS form filling, characterized in that: include: Receiving a login request for a business system, wherein the business system includes a plurality of business subsystems, and the login request includes a current user identity; Obtaining the current user's account and password information from a unified authentication center based on the user's identity identifier; wherein the unified authentication center stores the account and password information of registered users; Based on the obtained account and password information, a Micro SaaS form filling method is used to realize login to different business subsystems in the business system; wherein, the Micro SaaS form filling method is specifically as follows: pre-setting selectors that match the positions of the elements in the login forms of different business subsystems, and specifying the operation configuration in the form filling process and the user sensitive information required to apply to the unified authentication center for the operation configuration for the configured selector; based on the selector, the business integrator configures the corresponding form automatic filling strategy for different business subsystems, and simulates the user operation based on the operation configuration of the selector; after the operation is completed, the next automatic filling strategy is executed according to the preset assertion, and the assertion is used to judge the execution result based on the changes in the current page after each step of the form automatic filling strategy is executed, and the next form automatic filling strategy is executed based on the current execution result, and the business subsystem login is realized based on the form automatic filling strategy, without the need for code-level transformation of the business system; The Micro SaaS form filling method executes different form automatic filling strategies according to pre-set page matching rules of different business subsystems, wherein the page matching rules are configured as one or more.
2. The single sign-on method based on Micro SaaS form filling as claimed in claim 1, characterized in that: The page matching rules include: regular matching rules based on URL, matching rules based on window objects, matching rules based on window controls, matching rules based on Cookies, matching rules based on XPATH or matching rules based on web page text content.
3. The single sign-on method based on Micro SaaS form filling as claimed in claim 1, characterized in that: The execution process of the form automatic filling strategy is specifically as follows: locating the form component that needs to be interacted with based on a pre-set selector, and simulating user operations based on the selector's operation configuration; after the operation is completed, executing the next step of the automatic filling strategy according to the pre-set assertion.
4. The single sign-on method based on Micro SaaS form filling as claimed in claim 1, characterized in that: The operation configuration includes but is not limited to filling, scrolling, waiting and clicking operations.
5. The single sign-on method based on Micro SaaS form filling as claimed in claim 1, characterized in that: The user sensitive information includes but is not limited to the account and password information of the registered user.
6. A single sign-on system based on Micro SaaS form filling, characterized by: include: A login request unit, configured to receive a login request for a business system, wherein the business system includes a plurality of business subsystems, and the login request includes a current user identity; An account and password information acquisition unit, configured to acquire the account and password information of the current user from a unified authentication center based on the user identity identifier; wherein the unified authentication center stores the account and password information of registered users; A single sign-on unit, which is used to implement login to different business subsystems in the business system based on the obtained account and password information using a Micro SaaS form filling method; wherein, the Micro SaaS form filling method is specifically as follows: pre-setting selectors that match the positions of the elements in the login forms of different business subsystems, and specifying the operation configuration in the form filling process and the user sensitive information required to apply to the unified authentication center for the operation configuration for the configured selector; based on the selector, the business integrator configures corresponding form automatic filling strategies for different business subsystems, and simulates user operations based on the selector's operation configuration; after the operation is completed, the next automatic filling strategy is executed according to the preset assertion, and the assertion is used to judge the execution result based on the changes in the current page after each step of the form automatic filling strategy is executed, and the next form automatic filling strategy is executed based on the current execution result, and the business subsystem login is realized based on the form automatic filling strategy, without the need for code-level modification of the business system; The Micro SaaS form filling method executes different form automatic filling strategies according to pre-set page matching rules of different business subsystems, wherein the page matching rules are configured as one or more.
7. An electronic device comprising a memory, a processor, and a computer program stored and executed on the memory, wherein: When the processor executes the program, it implements a single sign-on method based on Micro SaaS form filling as described in any one of claims 1 to 5.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, a single sign-on method based on Micro SaaS form filling as described in any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Single sign-on method, portal system and service platform
CN111259355A