Multi-tenant application management method, device and equipment and readable storage medium

The application integration platform calls the interface of the multi-tenant application to perform tenant activation and binding to achieve one-to-one mapping, which solves the complexity of account management of multi-tenant applications in the integration platform, simplifies login authentication, and reduces the difficulty of integration.

CN118660076AActive Publication Date: 2024-09-17INSPUR TIANYUAN COMM INFORMATION SYST CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410522765.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-28
Publication Date
2024-09-17
Estimated Expiration
2044-04-28

AI Technical Summary

Technical Problem

Multi-tenant applications are difficult to integrate in application integration platforms such as workbench and system portal, and unified authentication cannot be performed through single sign-on, resulting in complicated account management.

Method used

Call the application registration information of multi-tenant applications through the application integration platform, obtain the tenant provisioning service interface, perform tenant provisioning and binding, implement one-to-one mapping to simplify login authentication, and support the creation and cancellation of sub-accounts.

Benefits of technology

It simplifies the login authentication method of multi-tenant applications, reduces the difficulty of integration, solves account management problems, and realizes unified authentication and sub-account management of multi-tenant applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118660076A
    Figure CN118660076A
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and provides a multi-tenant application management method, device and equipment and a readable storage medium. The method is applied to a multi-tenant application management system comprising a multi-tenant application and an application integration platform. The method comprises the steps that under the condition that a tenant opening request is received, application registration information of a multi-tenant application is called through an application integration platform, and a tenant opening service interface is obtained; sending tenant opening information to the tenant opening service interface through the application integration platform; and creating a target tenant corresponding to the tenant opening request under the condition of determining that the multi-tenant application passes verification of the tenant opening information. Through integrated authentication of the multi-tenant application, the login authentication mode of the multi-tenant application is simplified, the account management problem of the multi-tenant application is solved, and the integration difficulty of the multi-tenant application is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a multi-tenant application management method, device, equipment and readable storage medium. Background Art

[0002] With the development of cloud computing, multi-tenant technology is increasingly being applied to enterprise management systems. Through data configuration, virtual partitioning is performed to achieve sharing of system instances among multiple tenants, while also achieving personalized customization of tenants' system instances. However, when integrating multi-tenant applications into application integration platform systems such as workbenches and system portals, the multi-tenant account management system has tenants, tenant administrators, and sub-accounts. Usually, one organization corresponds to one tenant, which is quite different from the ordinary account system, making integration more difficult and making it impossible to perform unified authentication through single sign-on. Summary of the invention

[0003] The present invention provides a multi-tenant application management method, device, equipment and readable storage medium, which are used to solve the technical problem of high integration difficulty in existing multi-tenant application management.

[0004] The present invention provides a multi-tenant application management method, which is applied to a multi-tenant application management system including multi-tenant applications and an application integration platform; the method comprises:

[0005] When receiving a tenant activation request, calling the application registration information of the multi-tenant application through the application integration platform to obtain a tenant activation service interface;

[0006] Sending tenant activation information to the tenant activation service interface through the application integration platform;

[0007] When it is determined that the multi-tenant application has successfully verified the tenant activation information, a target tenant corresponding to the tenant activation request is created.

[0008] According to a multi-tenant application management method provided by the present invention, upon receiving a tenant activation request, the application registration information of the multi-tenant application is called by the application integration platform to obtain a tenant activation service interface, which includes:

[0009] Acquire application information of the multi-tenant application; the application information includes an address of a service interface for opening a tenant; the tenant opening service interface is determined based on the address of the service interface;

[0010] Register the application information on the application integration platform to obtain the application registration information.

[0011] According to a multi-tenant application management method provided by the present invention, the target tenant corresponding to the tenant activation request is created, and then includes:

[0012] Determine the tenant information of the target tenant and determine the administrator account of the application integration platform;

[0013] Binding the application information, the tenant information and the administrator account through a one-to-one mapping method;

[0014] When the binding is completed, log in to the primary account of the target tenant through the administrator account.

[0015] According to a multi-tenant application management method provided by the present invention, the application information, the tenant information and the administrator account are bound in a one-to-one mapping manner, and then the method includes:

[0016] Upon receiving a sub-account creation request initiated based on the target tenant, determining a target sub-account corresponding to the sub-account creation request;

[0017] Binding the target sub-account to the common account;

[0018] When the binding is completed, log in to the target sub-account through the ordinary account.

[0019] According to a multi-tenant application management method provided by the present invention, the application information, the tenant information and the administrator account are bound in a one-to-one mapping manner, and then the method further includes:

[0020] Upon receiving a login request, determining a login account and an application identifier corresponding to the login request;

[0021] If the tenant information corresponding to the application identifier is not found, it is determined that the login account has failed to log in.

[0022] According to a multi-tenant application management method provided by the present invention, when a login request is received, determining a login account and an application identifier corresponding to the login request, and then comprising:

[0023] When the tenant information corresponding to the application identifier is found, verifying the tenant information corresponding to the application identifier;

[0024] If the verification is successful, determine the tenant account in the tenant information corresponding to the application identifier;

[0025] The target function corresponding to the tenant account is loaded, and the target function is output on the directional page corresponding to the tenant account.

[0026] According to a multi-tenant application management method provided by the present invention, the application information, the tenant information and the administrator account are bound in a one-to-one mapping manner, and then the method further includes:

[0027] When receiving a tenant deregistration request, determining a sub-account to be deregistered corresponding to the tenant deregistration request;

[0028] The binding between the sub-account to be cancelled and the target application is released, and the binding between the sub-account to be cancelled and the common account is released.

[0029] The present invention also provides a multi-tenant application management device, comprising:

[0030] A tenant activation service interface determination module is used to call the application registration information of the multi-tenant application through the application integration platform to obtain the tenant activation service interface when receiving a tenant activation request;

[0031] A tenant activation information sending module, used to send tenant activation information to the tenant activation service interface through the application integration platform;

[0032] The target tenant creation module is used to create a target tenant corresponding to the tenant activation request when it is determined that the multi-tenant application has successfully verified the tenant activation information.

[0033] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the multi-tenant application management method as described above is implemented.

[0034] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the multi-tenant application management methods described above.

[0035] The multi-tenant application management method, device, equipment and readable storage medium provided by the present invention are applied to a multi-tenant application management system including a multi-tenant application and an application integration platform. When a tenant activation request is received, the application registration information of the multi-tenant application is called by the application integration platform to obtain a tenant activation service interface; the tenant activation information is sent to the tenant activation service interface by the application integration platform; the multi-tenant application verifies the tenant activation information, and when the verification passes, creates a target tenant corresponding to the tenant activation request. This application simplifies the login authentication method of the multi-tenant application through the integrated authentication of the multi-tenant application, solves the account management problem of the multi-tenant application, and reduces the integration difficulty of the multi-tenant application. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 This is one of the flow charts of the multi-tenant application management method provided by the present invention;

[0038] Figure 2 This is the second flow chart of the multi-tenant application management method provided by the present invention;

[0039] Figure 3 This is the third flow chart of the multi-tenant application management method provided by the present invention;

[0040] Figure 4 This is the fourth flow chart of the multi-tenant application management method provided by the present invention;

[0041] Figure 5 It is a structural diagram of a multi-tenant application management device provided by the present invention;

[0042] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0044] Please refer to Figure 1 The present invention provides a multi-tenant application management method, comprising:

[0045] Step 100, when a tenant activation request is received, the application registration information of the multi-tenant application is called through the application integration platform to obtain a tenant activation service interface;

[0046] In order to solve the integration problem of multi-tenant applications in application integration platforms such as workbenches and system portals, the present invention provides a multi-tenant application management method, which realizes the integration and authentication login of multi-tenant applications through tenant activation, tenant binding and tenant authentication.

[0047] First, register the multi-tenant application information in the application integration platform; then, after the multi-tenant application registration is completed, the application integration platform automatically calls the activation address in the multi-tenant application registration information to activate the new tenant. The activation address refers to the service interface address that the multi-tenant application opens to the outside world for activating new tenants, that is, the address of the tenant activation service interface in this embodiment.

[0048] Step 200, sending tenant activation information to the tenant activation service interface through the application integration platform;

[0049] After the multi-tenant application is registered, the application integration platform automatically calls the activation address in the application registration information to activate the new tenant. The application integration platform sends data such as enterprise information, user information and verification code to the multi-tenant application. After receiving the new tenant activation request, the multi-tenant application verifies the above enterprise information and other data, and creates the tenant and main account of the enterprise. Enterprise information mainly includes but is not limited to identification, name, type, person in charge, contact information and address; user information refers to the user information of the tenant administrator, including but not limited to name, gender, date of birth, telephone number, email address, company and department; verification code mainly refers to a one-time verification string generated by the application integration platform for requesting identity legitimacy confirmation. The verification code has a short-term validity and becomes invalid after use and cannot be reused. After obtaining the verification code, the multi-tenant application first verifies the request identity with the application integration platform, and creates a new tenant after the verification passes.

[0050] After the tenant is successfully activated, the tenant is bound. After the multi-tenant application activates a new tenant, the new tenant's information is synchronized to the application integration platform. The application integration platform binds the new tenant to the (current) administrator account of the application integration platform and creates an application shortcut entry.

[0051] The tenant binding process is as follows:

[0052] Step 1: After receiving the information of the new tenant, the application integration platform binds the application information, the new tenant information and the current administrator account of the application integration platform to establish a one-to-one mapping relationship, that is, the application information, the new tenant information and the administrator account are bound in pairs;

[0053] Step 2: Create a quick entry for the multi-tenant application in the application integration platform; it is generally presented in the system page of the application integration platform in the form of an application icon plus an application name.

[0054] Step 300: When it is determined that the multi-tenant application has successfully verified the tenant activation information, a target tenant corresponding to the tenant activation request is created.

[0055] After the tenant binding is completed, the tenant is authenticated and verified. The tenant authentication process includes: when using the application through the above application shortcut entrance, the application integration platform obtains the tenant information corresponding to the login account through the currently logged in account, and implements the identity authentication of the logged in tenant with the authentication interface of the multi-tenant application, and realizes the automatic login of the multi-tenant application account.

[0056] The tenant authentication process specifically includes:

[0057] First, the application integration platform queries the mapping relationship established by tenant binding through the current login account and application identification data, and queries the tenant information corresponding to the current login account;

[0058] Second, generate a one-time verification code and call the application access address to initiate access to the multi-tenant application. After receiving the access request, the multi-tenant application encapsulates the verification code, application ID, application key and other data, and performs a two-way verification of the request with the application integration platform. Among them, the application ID and application key are generated during the application registration stage;

[0059] Third, after the application integration platform passes the verification, the current login information and the application's tenant information are sent to the multi-tenant application. After receiving the tenant information, the multi-tenant application verifies the legitimacy of the tenant. After the verification passes, the page is redirected according to the role and permissions of the login account. Then, the application integration platform jumps to the function corresponding to the tenant account according to the redirection address.

[0060] The multi-tenant application management method provided in this embodiment is applied to a multi-tenant application management system including a multi-tenant application and an application integration platform. When a tenant activation request is received, the application registration information of the multi-tenant application is called through the application integration platform to obtain a tenant activation service interface; the tenant activation information is sent to the tenant activation service interface through the application integration platform; the multi-tenant application verifies the tenant activation information, and if the verification passes, creates a target tenant corresponding to the tenant activation request. This application simplifies the login authentication method of the multi-tenant application through the integrated authentication of the multi-tenant application, solves the account management problem of the multi-tenant application, and reduces the integration difficulty of the multi-tenant application.

[0061] In one embodiment, the multi-tenant application management method provided in the embodiment of the present application may further include:

[0062] Step 10, obtaining application information of the multi-tenant application; the application information includes an address of a service interface for activating a tenant; the tenant activation service interface is determined based on the address of the service interface;

[0063] Step 20: register the application information on the application integration platform to obtain the application registration information.

[0064] Before receiving tenant activation, you need to register the multi-tenant application information in the application integration platform. The multi-tenant application information includes the application name, application icon, application type, access address, activation address, and unsubscription address.

[0065] The application name refers to the name of the multi-tenant application system, which can be expressed in multiple languages; the application icon refers to the logo image of the multi-tenant application system, which is generally in multiple image formats such as png, svg, jpeg and webp, and is used as an application logo to facilitate user search; the application type refers to the classification of the application, for example, it can be divided into production and manufacturing, R&D design and operation management by function. It can be divided into cloud computing, big data and artificial intelligence by field; the access address refers to the address of the multi-tenant application system accessed in the browser; the activation address refers to the address of the service interface opened by the multi-tenant application for opening new tenants; the unsubscribe address corresponds to the activation address, and refers to the address of the service interface opened by the multi-tenant application for deregistering tenants.

[0066] After the multi-tenant application is successfully registered, the application ID and application key are automatically generated for subsequent verification. The application key can be generated by a hash algorithm.

[0067] This embodiment registers the information of the multi-tenant application in the application integration platform to enable the multi-tenant application.

[0068] Please refer to Figure 2 In one embodiment, the multi-tenant application management method provided in the embodiment of the present application may further include:

[0069] Step 400, determining tenant information of the target tenant and determining an administrator account of the application integration platform;

[0070] Step 500, binding the application information, the tenant information and the administrator account through a one-to-one mapping method;

[0071] Step 600: When the binding is completed, log in to the primary account of the target tenant through the administrator account.

[0072] After the tenant is successfully activated, the tenant is bound. After the multi-tenant application activates a new tenant, the new tenant's information is synchronized to the application integration platform. The application integration platform binds the new tenant to the current administrator account of the application integration platform and creates an application shortcut entry.

[0073] The specific process of tenant binding is as follows:

[0074] Step 1. After receiving the information of the newly activated tenant, the application integration platform binds the application information, the new tenant information and the current administrator account of the application integration platform to establish a one-to-one mapping relationship, that is, the application information, the new tenant information and the administrator account are bound in pairs; the application information mainly includes the application ID and the application name; the tenant information mainly includes the tenant ID, tenant name, master account ID, master account name, master account password, enterprise ID and user name.

[0075] Step 2: Create a quick entry for the multi-tenant application in the application integration platform; it is generally presented in the system page of the application integration platform in the form of an application icon plus an application name.

[0076] After the application information, tenant information, and administrator account are bound, log in to the target tenant's primary account using the administrator account.

[0077] This embodiment enables the administrator account to log in to the main account of the target tenant through the binding of application information, tenant information and the administrator account, thereby solving the account management problem of multi-tenant applications and reducing the difficulty of integrating multi-tenant applications.

[0078] Please refer to Figure 3 In one embodiment, the multi-tenant application management method provided in the embodiment of the present application may further include:

[0079] Step 700, upon receiving a sub-account creation request initiated based on the target tenant, determining a target sub-account corresponding to the sub-account creation request;

[0080] Step 800, binding the target sub-account with a common account;

[0081] Step 900: When the binding is completed, log in to the target sub-account through the common account.

[0082] When receiving a sub-account creation request initiated by the target tenant, determine the target sub-account corresponding to the sub-account creation request. In the multi-tenant application, sub-accounts are opened and authorized, and the multi-tenant application synchronizes the sub-account information to the application integration platform to realize the binding of the general account of the application integration platform and the sub-account, and create an application shortcut for the sub-account.

[0083] The management content of the sub-account is as follows:

[0084] 1. After the tenant is created, the tenant administrator can log in to the multi-tenant application system to create and authorize sub-accounts. Sub-account creation is mainly performed in the multi-tenant application;

[0085] 2. After the sub-account is created or updated, the multi-tenant application triggers a synchronization operation to synchronize the sub-account information created or updated by the user to the application integration platform. Sub-accounts can be created in batches by importing according to the rules. The rules mainly refer to the application integration platform sending the platform account information that needs to be opened to the multi-tenant application, and the multi-tenant application adds a prefix identifier based on the platform account to achieve batch sub-account creation. The platform account information mainly includes account ID, account name, user name, contact number, email address, and department, etc.;

[0086] 3. After obtaining the sub-account information, the application integration platform binds it to the platform's general account, and establishes a one-to-one mapping relationship between the application, tenant, sub-account, and platform's general account. A quick entry to the multi-tenant application is created for general platform users in the application integration platform, which is generally presented on the system page in the form of an application icon plus the application name;

[0087] 4. After the user of the application integration platform logs in to the application integration platform, he can see the application quick entrance. When clicking to use, the application integration platform automatically obtains the tenant and sub-account information associated with the user, automatically authenticates with the multi-tenant application, and jumps to the function corresponding to the tenant sub-account after the authentication is passed. The sub-account authentication process is the same as the tenant authentication. The sub-account information includes the application ID, tenant ID, tenant name, sub-account ID, sub-account name, and sub-account password. This completes the integrated authentication of the multi-tenant application on the application integration platform.

[0088] This embodiment solves the account management problem of multi-tenant applications through integrated authentication of multi-tenant applications and their sub-accounts, and reduces the difficulty of integrating multi-tenant applications.

[0089] In one embodiment, the multi-tenant application management method provided in the embodiment of the present application may further include:

[0090] Step 1000, upon receiving a login request, determining a login account and an application identifier corresponding to the login request;

[0091] Step 1100: If the tenant information corresponding to the application identifier is not found, it is determined that the login account has failed to log in.

[0092] The first step in the tenant authentication process is to query the tenant information corresponding to the current login account. If not found, it means that the application is not bound to a tenant. Tenant information includes application ID, tenant ID, tenant name, primary account ID, primary account name, and primary account password; then a one-time verification code is generated, and the application access address is called to initiate access to the multi-tenant application. After receiving the access request, the multi-tenant application encapsulates the verification code, application ID, application key and other data, and performs a two-way verification of the request with the application integration platform. Among them, the application ID and application key are generated during the application registration phase.

[0093] This embodiment realizes automatic login of tenant accounts through the tenant authentication process, solves the account management problem of multi-tenant applications, and reduces the difficulty of integrating multi-tenant applications.

[0094] Please refer to Figure 4 In one embodiment, the multi-tenant application management method provided in the embodiment of the present application may further include:

[0095] Step 1200, when the tenant information corresponding to the application identifier is queried, verify the tenant information corresponding to the application identifier;

[0096] Step 1300, if the verification is successful, determine the tenant account in the tenant information corresponding to the application identifier;

[0097] Step 1400: load the target function corresponding to the tenant account, and output the target function on the targeted page corresponding to the tenant account.

[0098] The third point of the tenant authentication mentioned above is that the tenant information is the tenant data queried above, including application ID, tenant ID, tenant name, primary account ID, primary account name, and primary account password, etc. The tenant information of the application can be encrypted in the request using encryption methods such as SHA256, symmetric encryption, and asymmetric encryption to protect information security and avoid data leakage.

[0099] If the verification is successful, the tenant account in the tenant information corresponding to the application identifier is determined; the target function corresponding to the tenant account is loaded, and the target function is output on the directional page corresponding to the tenant account.

[0100] This embodiment ensures the information security of account login through tenant authentication and verification.

[0101] In one embodiment, the multi-tenant application management method provided in the embodiment of the present application may further include:

[0102] Step 1500: upon receiving a tenant deregistration request, determining a sub-account to be deregistered corresponding to the tenant deregistration request;

[0103] Step 1600: Unbinding the sub-account to be cancelled from the target application, and unbinding the sub-account to be cancelled from the common account.

[0104] According to the above content, tenant cancellation is related to tenant activation. When a tenant cancellation request is received, the sub-account to be cancelled corresponding to the tenant cancellation request is first determined, that is, the tenant sub-account to be cancelled. Then the binding between the sub-account to be cancelled and the ordinary account is released. Turning off the function corresponding to the tenant sub-account to be cancelled also includes eliminating the application icon corresponding to the account to be cancelled.

[0105] This embodiment further solves the account management problem of multi-tenant applications through the tenant deregistration process corresponding to the tenant activation, and reduces the difficulty of integrating multi-tenant applications.

[0106] The multi-tenant application management device provided by the present invention is described below. The multi-tenant application management device described below and the multi-tenant application management method described above can be referenced to each other.

[0107] Please refer to Figure 5 The present invention also provides a multi-tenant application management device, including:

[0108] The tenant activation service interface determination module 501 is used to call the application registration information of the multi-tenant application through the application integration platform to obtain the tenant activation service interface when receiving the tenant activation request;

[0109] A tenant activation information sending module 502, configured to send tenant activation information to the tenant activation service interface through the application integration platform;

[0110] The target tenant creation module 503 is used to create a target tenant corresponding to the tenant activation request when it is determined that the multi-tenant application has successfully verified the tenant activation information.

[0111] Optionally, the multi-tenant application management device further includes:

[0112] An application information acquisition module, used to acquire application information of the multi-tenant application; the application information includes an address of a service interface for opening a tenant; the tenant opening service interface is determined based on the address of the service interface;

[0113] The application registration information determination module is used to register the application information on the application integration platform to obtain the application registration information.

[0114] Optionally, the multi-tenant application management device further includes:

[0115] A tenant information determination module, used to determine the tenant information of the target tenant and determine the administrator account of the application integration platform;

[0116] An application account binding module, used to bind the application information, the tenant information and the administrator account in a one-to-one mapping manner;

[0117] The target tenant account login module is used to log in to the target tenant's main account through the administrator account when the binding is completed.

[0118] Optionally, the multi-tenant application management device further includes:

[0119] a target sub-account determining module, configured to determine a target sub-account corresponding to the sub-account creation request upon receiving the sub-account creation request initiated based on the target tenant;

[0120] An account binding module, used to bind the target sub-account to a common account;

[0121] The target sub-account login module is used to log in to the target sub-account through the common account when the binding is completed.

[0122] Optionally, the multi-tenant application management device further includes:

[0123] A first determination module, configured to, upon receiving a login request, determine a login account and an application identifier corresponding to the login request;

[0124] The login failure determination module is used to determine that the login account has failed to log in when the tenant information corresponding to the application identifier is not found.

[0125] Optionally, the multi-tenant application management device further includes:

[0126] A tenant information verification module, configured to verify the tenant information corresponding to the application identifier when the tenant information corresponding to the application identifier is queried;

[0127] A tenant account determination module, used to determine the tenant account in the tenant information corresponding to the application identifier when the verification is passed;

[0128] The target function output module is used to load the target function corresponding to the tenant account and output the target function on the targeted page corresponding to the tenant account.

[0129] Optionally, the multi-tenant application management device further includes:

[0130] A to-be-cancelled account determination module, configured to, upon receiving a tenant cancellation request, determine a to-be-cancelled sub-account corresponding to the tenant cancellation request;

[0131] The binding release module is used to release the binding between the sub-account to be cancelled and the target application, and release the binding between the sub-account to be cancelled and the common account.

[0132] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6 As shown, the electronic device may include: a processor (processor) 610, a communication interface (Communications Interface) 620, a memory (memory) 630 and a communication bus 640, wherein the processor 610, the communication interface 620, and the memory 430 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the multi-tenant application management method.

[0133] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0134] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the multi-tenant application management method provided by the above-mentioned methods.

[0135] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0136] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0137] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A multi-tenant application management method, characterized in that: A multi-tenant application management system is applied to a multi-tenant application and an application integration platform; the method comprises: When receiving a tenant activation request, calling the application registration information of the multi-tenant application through the application integration platform to obtain a tenant activation service interface; Sending tenant activation information to the tenant activation service interface through the application integration platform; When it is determined that the multi-tenant application has successfully verified the tenant activation information, a target tenant corresponding to the tenant activation request is created.

2. The multi-tenant application management method according to claim 1, characterized in that: In the case of receiving a tenant activation request, the application registration information of the multi-tenant application is called by the application integration platform to obtain a tenant activation service interface, which includes: Acquire application information of the multi-tenant application; the application information includes an address of a service interface for opening a tenant; the tenant opening service interface is determined based on the address of the service interface; Register the application information on the application integration platform to obtain the application registration information.

3. The multi-tenant application management method according to claim 2, characterized in that: The step of creating a target tenant corresponding to the tenant activation request includes: Determine the tenant information of the target tenant and determine the administrator account of the application integration platform; Binding the application information, the tenant information and the administrator account through a one-to-one mapping method; When the binding is completed, log in to the primary account of the target tenant through the administrator account.

4. The multi-tenant application management method according to claim 3, characterized in that: The application information, the tenant information and the administrator account are bound by a one-to-one mapping method, and then the following steps are included: Upon receiving a sub-account creation request initiated based on the target tenant, determining a target sub-account corresponding to the sub-account creation request; Binding the target sub-account to the common account; When the binding is completed, log in to the target sub-account through the ordinary account.

5. The multi-tenant application management method according to claim 3, characterized in that: The application information, the tenant information and the administrator account are bound by a one-to-one mapping method, and then the following steps are further included: Upon receiving a login request, determining a login account and an application identifier corresponding to the login request; If the tenant information corresponding to the application identifier is not found, it is determined that the login account has failed to log in.

6. The multi-tenant application management method according to claim 5, characterized in that: In the case of receiving a login request, determining a login account and an application identifier corresponding to the login request, and then comprising: When the tenant information corresponding to the application identifier is found, verifying the tenant information corresponding to the application identifier; If the verification is successful, determine the tenant account in the tenant information corresponding to the application identifier; The target function corresponding to the tenant account is loaded, and the target function is output on the directional page corresponding to the tenant account.

7. The multi-tenant application management method according to claim 4, characterized in that: The application information, the tenant information and the administrator account are bound by a one-to-one mapping method, and then the following steps are further included: When receiving a tenant deregistration request, determining a sub-account to be deregistered corresponding to the tenant deregistration request; The binding between the sub-account to be cancelled and the target application is released, and the binding between the sub-account to be cancelled and the common account is released.

8. A multi-tenant application management device, characterized in that: include: A tenant activation service interface determination module is used to call the application registration information of the multi-tenant application through the application integration platform to obtain the tenant activation service interface when receiving a tenant activation request; A tenant activation information sending module, used to send tenant activation information to the tenant activation service interface through the application integration platform; The target tenant creation module is used to create a target tenant corresponding to the tenant activation request when it is determined that the multi-tenant application has successfully verified the tenant activation information.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the multi-tenant application management method as described in any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the multi-tenant application management method as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • General calculation account management system and realization method thereof

    CN102611705A

  • Multi-tenant system achievement based on software as a service (SAAS) application

    CN103036856A

  • Container cloud platform multi-tenant construction method and device based on kubernetes

    CN110519361A

  • Cloud edge cooperation system and cluster resource control method and device

    CN112925647A

  • Kubernetes-based multi-tenant application unified management system

    CN115766458A