A cloud platform user information synchronization method and system

By setting permission mapping relationships and triggering conditions between ITSM and the cloud platform, user information is automatically synchronized, solving the problem of difficult user permission synchronization on the cloud platform, realizing automated management and consistency of user information, and improving user experience.

CN114257590BActive Publication Date: 2024-10-01CHINA CITIC BANK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111507429.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-10
Publication Date
2024-10-01
Estimated Expiration
2041-12-10

AI Technical Summary

Technical Problem

When existing cloud platforms are integrated with existing systems, it is difficult to synchronize user permissions and organizational structures, resulting in cumbersome and error-prone manual operations that cannot achieve automated management.

Method used

By setting the user permission mapping relationship and triggering conditions between ITSM and the cloud platform, information such as user creation, deactivation, and deregistration can be automatically synchronized, and user information can be automatically synchronized by utilizing existing system and cloud platform functions.

Benefits of technology

It enables automatic synchronization of user information, improves user experience, reduces manual operation, and ensures the accuracy and consistency of synchronization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114257590B_ABST
    Figure CN114257590B_ABST
Patent Text Reader

Abstract

The present invention relates to a cloud platform user information synchronization method and system, which strives to be compatible with existing platform users and newly connected cloud platform users to the greatest extent by matching the authority correspondence between ITSM and the cloud platform and adding triggering methods, and fully utilizes the functions of the existing system and the functions of the cloud platform itself to achieve user synchronization. It can automatically synchronize user creation, deactivation, logout and other information without manual processing, and realize one set of users and passwords to log in to multiple systems, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cloud platform user information management, and in particular to a cloud platform user information synchronization method and system. Background Art

[0002] There are problems with docking with existing systems during the construction of cloud platforms. In particular, when cloud platforms are added to existing production systems as new systems, user docking is required. In order to facilitate user management and memory, ITSM is generally used as the unified login entrance and process center of the data center in practice. At the same time, the original systems need to be synchronized with ITSM users and use the ITSM user and password to log in uniformly. Although cloud platforms can provide unified user authentication methods such as SSO and LDAP, unified user authentication is only applicable to the authentication stage. After authentication, user permissions, organizational structure, etc. still need to be processed manually or by a separate program design, and strategies are formulated according to the situation of each user; some systems do not support user synchronization, and when users are added or deleted, they still need to be processed manually or by a separate program design; at the same time, since ITSM systems are generally self-developed and the associated systems are complex, the existing system has a long history of construction and cannot support unified user authentication. If modification is required, it is tantamount to rebuilding a system, which is difficult to modify and difficult to modify to support unified user authentication methods such as SSO and LDAP.

[0003] In order to meet the needs of ITSM users and passwords to support logging into multiple systems at the same time, the traditional approach is to manually create users on the cloud platform and make the user name the same as the user under ITSM. However, this method cannot synchronize passwords. When you need to change passwords, you still need to log in to multiple systems one by one to manually change them, which cannot achieve the purpose of automation; when you need to delete a user, you still need to log in to multiple systems to delete them separately. This manual operation is cumbersome, labor-intensive, and prone to errors. Summary of the invention

[0004] In order to address the deficiencies of the prior art, the present invention proposes a cloud platform user information synchronization method and system, which strives to be compatible with existing platform users and newly connected cloud platform users to the greatest extent by matching the permission correspondence between ITSM and the cloud platform and adding triggering methods, and fully utilizes the functions of the existing system and the functions of the cloud platform itself to achieve user synchronization. It can automatically synchronize user creation, deactivation, and logout information without manual processing, and realize one set of users and passwords to log in to multiple systems, thereby improving the user experience.

[0005] To achieve the above objectives, the technical solutions adopted by the present invention include:

[0006] A method for synchronizing user information on a cloud platform, comprising:

[0007] S1. Setting the user rights correspondence and trigger conditions between ITSM and the cloud platform; the user rights correspondence includes the correspondence between the organizations to which the users of ITSM belong and the organizations to which the users of the cloud platform belong; the trigger conditions include sending a user change request with a type tag to the cloud platform; the type tags include creating a new user, deleting a user, modifying a user organization, modifying a user password, and others;

[0008] S2. Receive user change request;

[0009] S3, determining the type of the user change request;

[0010] S4. Add a type tag according to the type of user change request, and call the user permission correspondence according to the trigger condition to execute the corresponding request operation on the cloud platform;

[0011] S5. Feedback the request operation processing result.

[0012] Furthermore, step S4 includes independently executable sub-steps:

[0013] S41. Receive a user change request with a tag for creating a new user type, identify the organization to which the new user belongs on the cloud platform based on the user authority correspondence, grant permissions to the new user based on the authority range preset by the organization, and use the ITSM user name and password to create a user with the same name under the organization to which the cloud platform belongs.

[0014] Furthermore, the step S4 includes independently executed sub-steps:

[0015] S42, receiving a user change request with a delete user type tag, and deleting the user with the same name under the organization to which the cloud platform belongs according to the user name of the ITSM.

[0016] Furthermore, the step S4 includes independently executed sub-steps:

[0017] S43. Receive a user change request with a tag for modifying the user's organization type, identify the new organization to which the modified user belongs on the cloud platform based on the user authority correspondence, grant permissions to the modified user based on the preset authority scope of the new organization, delete the original user with the same name under the original organization on the cloud platform based on the ITSM user name, and create a new user with the same name under the new organization.

[0018] Furthermore, the sub-step S43 further includes:

[0019] Verify whether the modification of user authorization is successful;

[0020] When authorization is successful, delete the user with the same username in the original organization of the cloud platform based on the ITSM user name and create a user with the same name in the new organization;

[0021] When the authorization fails, the user with the same name and permissions in the original organization to which the modified user belongs are retained, and error information about modifying the user organization is fed back.

[0022] Furthermore, the step S4 includes independently executed sub-steps:

[0023] S44, receiving a user change request with a modify user password type tag, and checking whether there is a user with the same name in the cloud platform;

[0024] When there is a user with the same name in the cloud platform, change the user password corresponding to the user with the same name according to the request;

[0025] When there is no user with the same name in the cloud platform, the organization to which the new user belongs in the cloud platform is identified based on the user permission correspondence, the new user is granted permissions based on the preset permission scope of the organization, and the user with the same name is created under the organization to which the cloud platform belongs using the ITSM user name and password.

[0026] Furthermore, the step S4 further includes:

[0027] Use the access token issued by the cloud platform to verify the legitimacy of the user change request.

[0028] The present invention also relates to a cloud platform user information synchronization system, which is characterized by comprising:

[0029] ITSM, used to receive user change requests and feedback request operation processing results; the ITSM includes a trigger module, a user creation module, an authorization module, a user deletion module and a password modification module, the trigger module is used to send the user change request with a type tag to the cloud platform; the user creation module is used to establish a user with the same name under the organization to which the cloud platform belongs; the authorization module is used to authorize the user according to the authority range preset by the organization to which it belongs; the user deletion module is used to delete the user with the same name under the organization to which the cloud platform belongs; the password modification module is used to change the user password corresponding to the user with the same name according to the request;

[0030] The cloud platform is used to execute the corresponding request operation.

[0031] The present invention also relates to a computer-readable storage medium, characterized in that a computer program is stored on the storage medium, and the computer program implements the above method when executed by a processor.

[0032] The present invention also relates to an electronic device, characterized in that it comprises a processor and a memory;

[0033] The memory is used to store the user authority correspondence and the triggering conditions;

[0034] The processor is used to execute the above method by calling the user authority correspondence relationship and the trigger condition.

[0035] The beneficial effects of the present invention are:

[0036] The cloud platform user information synchronization method and system described in the present invention is adopted, by matching the authority correspondence between ITSM and the cloud platform and adding a triggering method, striving to be compatible with existing platform users and users of the newly connected cloud platform to the greatest extent, making full use of the functions of the existing system and the functions of the cloud platform itself to achieve user synchronization, and can automatically synchronize user creation, deactivation, cancellation and other information, and can be updated in real time. Users can use a unified user name and password to log in to the newly created cloud platform, without the need to set up users and passwords separately for each system. When the user modifies the ITSM password, the cloud platform password can be modified synchronously, achieving the effect of modifying multiple places in one place and synchronizing them. From the user's perspective, the user password system of the cloud platform and ITSM is the same. This solution provides a reference for user synchronization of newly built systems, and subsequent newly built systems can all perform user synchronization in this way, and only relevant configurations need to be performed in ITSM. No manual processing is required, and one set of users and passwords can be used to log in to multiple systems, which improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 The figure is a flow chart of the method for synchronizing user information on a cloud platform according to the present invention.

[0038] Figure 2 It is a schematic diagram of the structure of the cloud platform user information synchronization system of the present invention. DETAILED DESCRIPTION

[0039] In order to more clearly understand the content of the present invention, it will be described in detail with reference to the drawings and embodiments.

[0040] like Figure 1 The figure shows a preferred flow chart of the cloud platform user information synchronization method of the present invention, including:

[0041] S1. Set the user rights correspondence and trigger conditions between ITSM and the cloud platform; the user rights correspondence includes the correspondence between the organizations to which the users of ITSM belong and the organizations to which the users of the cloud platform belong; the trigger conditions include sending a user change request with a type tag to the cloud platform; the type tags include creating a new user, deleting a user, modifying a user organization, modifying a user password, and others. The user rights of the cloud platform correspond to the organizational structure of ITSM, so in order to correctly synchronize the user rights between ITSM and the cloud platform, it is necessary to establish a correspondence between the permissions between the ITSM organizational structure and the cloud platform.

[0042] S2. Receive user change requests. ITSM users submit user change requests through the web service provided by ITSM. They do not need to worry about whether the cloud platform user information needs to be modified synchronously. The ITSM page does not need to be adjusted and can still be submitted using the original ITSM page.

[0043] S3. Determine the type of user change request; perform necessary analysis and processing based on the type of change, and synchronize the change information to the cloud platform so that the cloud platform can call the corresponding module to perform the required operation. When the type of user change request is other, it means that the change does not need to be synchronized with the cloud platform and can be directly operated in ITSM.

[0044] S4. Add a type tag according to the type of user change request, and call the user authority correspondence according to the trigger condition to perform the corresponding request operation on the cloud platform. Specifically, it includes the following sub-steps that are executed independently, and execute the corresponding sub-steps according to the type tag to obtain the required processing results: S41. Receive a user change request with a create new user type tag, identify the organization to which the new user belongs on the cloud platform according to the user authority correspondence, grant rights to the new user according to the authority range preset by the organization, and use the ITSM user name and password to create a user with the same name under the organization to which the cloud platform belongs; S42. Receive a user change request with a delete user type tag, delete the user with the same name under the organization to which the cloud platform belongs according to the ITSM user name; S43. Receive a user change request with a modify user organization type tag, identify the new organization to which the modified user belongs on the cloud platform according to the user authority correspondence, grant rights to the modified user according to the authority range preset by the new organization, delete the original user with the same name under the original organization to which the cloud platform belongs according to the ITSM user name, and create a new user with the same name under the new organization Establish a new user with the same name, in particular, by verifying whether the authorization of the modified user is successful, determine whether the operation of modifying the user organization is completed correctly. When the authorization is successful, delete the user with the same username under the original organization of the cloud platform according to the ITSM username and establish the user with the same name under the new organization. When the authorization is unsuccessful, retain the user with the same name and the authority of the modified user under the original organization, and feedback the error information of the modified user organization; S44, receive a user change request with a modify user password type label, check whether there is a user with the same name in the cloud platform, when there is a user with the same name in the cloud platform, change the user password corresponding to the user with the same name according to the request, when there is no user with the same name in the cloud platform, identify the organization to which the new user belongs in the cloud platform according to the user authority correspondence, authorize the new user according to the authority range preset by the organization, and use the ITSM username and password to establish the user with the same name under the organization to which the cloud platform belongs. When executing the above-mentioned processing steps, it is preferred to use the access token issued by the cloud platform to verify the legitimacy of the user change request. That is, by calling the cloud platform API, you can obtain the access token issued by the system to the user, which carries the user's identity, permissions and other information. You can authenticate through the username / password method to obtain the user Token. When calling the cloud platform API, you can use the obtained token for authentication.

[0045] S5. Feedback the request operation processing result.

[0046] The above method can be used to handle new users and automatically synchronize and modify existing users. At the same time, it can also synchronize existing users to the cloud platform without any sense of loss by guiding existing ITSM users to modify their passwords, thus solving the problem of system migration of existing users without the need to manually create users in batches on the cloud platform in advance.

[0047] The following further illustrates the execution of the method of the present invention by assuming that ITSM already has users app01 to app10 as an example.

[0048] New user: When ITSM adds a new user app11, the ITSM user management module notifies the trigger module that there is a new user app11, and the user password is Abcd1234. The trigger module determines that the app11 user belongs to the core system security group, and the corresponding cloud platform user group is grp01. After obtaining the token according to the rules, the user creation API is called to create the app11 user under the grp01 user group.

[0049] User changes password: When itsm user app01 changes his password, the ITSM user management module notifies the trigger module that user app01 has changed his password. The trigger module first determines that the app01 user does not exist on the cloud platform, so it calls the new user module to create the app01 user under the grp01 user group and assign the new password to the new cloud platform user app01.

[0050] User changes the organization to which he belongs: When the ITSM user app11 changes the organization to which he belongs, the ITSM user management module notifies the trigger module that user app11 has changed the organization to which he belongs. The trigger module first determines that the new organization of user app11 is the new technology group, and the corresponding user group on the cloud platform is grp02. Therefore, app11 is removed from the grp01 user group, and then app11 is added to the grp02 user group.

[0051] User deletion: When itsm deletes user app11, the ITSM user management module notifies the trigger module that user app11 has been deleted. After obtaining the token according to the rules, the user deletion API is called to delete the app11 user under the grp02 user group.

[0052] The present invention also relates to a structure such as Figure 2 The cloud platform user information synchronization system shown includes:

[0053] ITSM, used to receive user change requests and feedback request operation processing results; the ITSM includes a trigger module, a user creation module, an authorization module, a user deletion module and a password modification module, the trigger module is used to send the user change request with a type tag to the cloud platform; the user creation module is used to establish a user with the same name under the organization to which the cloud platform belongs; the authorization module is used to authorize the user according to the authority range preset by the organization to which it belongs; the user deletion module is used to delete the user with the same name under the organization to which the cloud platform belongs; the password modification module is used to change the user password corresponding to the user with the same name according to the request;

[0054] The cloud platform is used to execute the corresponding request operation.

[0055] By using the system, the above method can be executed to realize the automatic synchronization processing of cloud platform user information.

[0056] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for synchronizing user information on a cloud platform, characterized in that: include: S1. Set the user permission correspondence and trigger conditions between ITSM and cloud platform; The user rights correspondence relationship includes the correspondence between the organizations to which the users of the ITSM belong and the organizations to which the users of the cloud platform belong; the trigger condition includes sending a user change request with a type tag added to the cloud platform; The type tags include creating a new user, deleting a user, modifying a user organization, and modifying a user password; S2. Receive user change request; S3, determining the type of user change request; S4. Add a type tag according to the type of user change request, use the access token issued by the cloud platform to verify the legitimacy of the user change request, and call the user permission correspondence according to the trigger condition to execute the corresponding request operation on the cloud platform; S5, feedback request operation processing result; The S4 includes sub-steps that can be executed independently: S41, receiving a user change request with a tag of creating a new user type, identifying the organization to which the new user belongs on the cloud platform according to the user authority correspondence, granting authority to the new user according to the authority range preset by the organization, and creating a user with the same name under the organization to which the cloud platform belongs using the user name and password of the ITSM; S42, receiving a user change request with a delete user type tag, and deleting a user with the same name under the organization to which the cloud platform belongs according to the user name of the ITSM; S43, receiving a user change request with a tag of modifying the user's organization type, identifying the new organization of the modified user on the cloud platform according to the user authority correspondence, granting authority to the modified user according to the authority range preset by the new organization, deleting the original user with the same name under the original organization on the cloud platform according to the ITSM user name, and creating a new user with the same name under the new organization; S44, receiving a user change request with a modify user password type tag, and checking whether there is a user with the same name in the cloud platform; When there is a user with the same name in the cloud platform, change the user password corresponding to the user with the same name according to the request; When there is no user with the same name in the cloud platform, the organization to which the new user belongs in the cloud platform is identified based on the user permission mapping relationship, the new user is granted permissions based on the preset permission scope of the organization, and the user with the same name is created under the organization to which the cloud platform belongs using the ITSM user name and password.

2. The method according to claim 1, characterized in that The sub-step S43 further comprises: Verify whether the modification of user authorization is successful; When authorization is successful, delete the user with the same username in the original organization of the cloud platform based on the ITSM user name and create a user with the same name in the new organization; When the authorization fails, the user with the same name and permissions in the original organization to which the modified user belongs are retained, and error information about modifying the user organization is fed back.

3. A cloud platform user information synchronization system, characterized in that: include: ITSM, which is used to receive user change requests and provide feedback on the processing results of the requested operations; The ITSM includes a trigger module, a user creation module, an authorization module, a user deletion module and a password modification module. The trigger module is used to send a user change request with a type tag added to the cloud platform; The user creation module is used to create a user with the same name under the organization to which the cloud platform belongs; the authorization module is used to authorize the user according to the authority range preset by the organization to which it belongs; The user deletion module is used to delete users with the same name under the organization to which the cloud platform belongs; The password modification module is used to change the user password corresponding to the user with the same name according to the request; The cloud platform is used to execute the corresponding requested operations; The cloud platform user information synchronization system is used to execute the method described in any one of claims 1 to 2.

4. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.

5. An electronic device, characterized in that: including a processor and a memory; The memory is used to store the user authority correspondence and the triggering conditions; The processor is used to execute the method according to any one of claims 1 to 2 by calling the user authority correspondence relationship and the trigger condition.