Method and device for multi-user cloud product and authority sharing management
Technical Field
The invention relates to the technical field of cloud product management, in particular to a method and a device for multi-user cloud product and authority sharing management.
Background
In recent years, with the continuous development of cloud computing services, the devices required by internet services are rapidly increasing. How to enable enterprises to manage purchased cloud products quickly and effectively becomes a problem facing current development of the internet. In this context, a method of sharing multi-user cloud products and rights is created.
The method takes a user as a center, provides safe, quick and convenient product sharing and permission sharing services, and enables a cloud computing platform to become a product management platform and a settlement center of each company. The method enables a company to change from managing all cloud products by a single user to managing different cloud products by multiple users, multiple roles and multiple rights.
Cloud computing resource management and scheduling urgently need to solve the following key problems: (1) the multi-level users mutually share the cloud products and the permissions, and the requirement of the scale increase of the users can be met. (2) The lower-level user can use the balance of the upper-level user to purchase the cloud product, so that the requirement of scattered purchase of a large amount of cloud products can be met.
The existing multi-user sharing management means has the following defects: the automation capacity of the newly-built subordinate user is insufficient: in the existing process, sharing of cloud products and permissions of users is already finished, and when a user has a large number of subordinate accounts to be created, the process is somewhat complicated, and batch automatic creation cannot be completely achieved; insufficient resource limitation on sub-accounts: according to the existing process, the sub-account can share the resources and the balance of the main account, but the main account can only be aligned to limit whether the main account can share the balance and the resources, and cannot completely reach the upper limit of the resources and the upper limit of the balance used by the control sub-account.
The existence of the above-mentioned problems has resulted in affecting the perception of users in creating and operating subordinate users as the business personnel of the users continue to expand. There is a need for a flexible and flexible mutual resource management mechanism to solve and improve the problems encountered by users, and make full use of the existing resources to improve the perception of users.
Disclosure of Invention
The invention aims to provide a method and a device for multi-user cloud product and authority sharing management, so as to solve the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme: a multi-user cloud product and authority sharing management device comprises a multi-user management module, a cloud product sharing module, an authority management module, a resource management module and a user report module, wherein the multi-user management module is sequentially connected with the cloud product sharing module, the authority management module, the resource management module and the user report module;
the multi-user management module manages the accounts in multiple latitudes according to different requirements of customers, and the account types are divided into three types: a. the type of the primary account number: the main account can share the cloud products and corresponding permissions to the following sub-accounts; b. external sub-account type: the external sub-account can acquire products shared by the main account to perform corresponding management, and the products of the external sub-account cannot be shared to a superior account; c. internal sub-account type: the internal sub-account has the right to share the balance of the main account, and the cloud product is purchased by using the balance of the main account.
Preferably, the flow of the multi-user management is as follows:
step 101: a client A and a client B register two account accounts A and B through websites;
step 102: account A adds account B as a sub-account, and the relationship between two accounts AB is as follows: account a is the primary account for account B;
step 103: the account A creates an internal sub-account, and can create a plurality of internal sub-accounts;
step 104: the internal sub-account A-1 creates the internal sub-account of the user again, and can create a plurality of internal sub-accounts;
the sharing process of the cloud product sharing module is as follows:
step 201: account a owns two cloud products;
step 202: the account A selects a cloud product to be shared to carry out permission setting;
step 203: selecting a configuration needing sharing by the account A;
step 204: account A shares internal sub-account A-1 to account B;
the management flow of the authority management module is as follows:
step 301: selecting an internal sub-account A-1 from the account A, and configuring corresponding product authority to prepare sharing according to the account B to be subjected to product receiving;
step 302: configuring the period of the user use permission according to the role of the account B for accepting the product;
step 303: the account B successfully acquires the management authority of the internal sub-account A-1;
step 304: the account B continues to share the internal sub-account A-1 to the account C, and whether the account B has the authority of continuing to share the internal sub-account A-1 needs to be judged;
step 305: the 301 and 302 processes are executed again, the account B needs to be verified to have the authority for continuously sharing the internal sub-account A-1 in the process, and the next authority setting is carried out according to the authority of the internal sub-account A-1 owned by the account B;
step 306: completing the process of sharing the internal sub-account A-1 to the account C by the account B;
step 307: an internal sub-account A-1 of an account A purchases cloud products, and whether the account A gives purchase permission to the internal sub-account A-1 is judged;
step 308: after the internal sub-account A-1 has the cloud product purchasing authority given by the account A, judging whether the account A has enough balance;
step 309: after the account A has enough balance, the account A purchases the cloud products selected by the internal sub-account A-1;
step 310: after the account A is purchased successfully, the cloud products selected by the internal sub-account A-1 are automatically shared to the internal sub-account A-1, and the internal sub-account A-1 has all the rights of the products.
Preferably, the user reporting module has the following use flow:
step 501: the account A selects single sub-account information or a plurality of sub-account information which are required to be acquired;
step 502: the account A is freely combined according to four dimensions of a time period, a cloud product type, different cloud product resource types and a payment type to prepare and generate desired report information;
step 503: and calculating report data according to the information selected by the account A.
Compared with the prior art, the invention has the beneficial effects that:
(1) the behavior habit of the enterprise user when using the cloud product is deeply analyzed. According to the multi-user management, centralized purchasing, decentralized purchasing, centralized management, decentralized management, unified report forms, decentralized report forms and resource limitation, the management perception of the user is improved.
(2) The invention has the following functions: the method completes the functions of user consent management by creating internal sub-accounts and adding external sub-accounts.
(3) The invention can realize authority distribution and resource control: different products are distributed according to different sub-accounts including external sub-accounts and internal sub-accounts, and different product management authorities are distributed according to products owned by different user sub-account roles. And allocating the enjoyable main account authority through different senses of the internal sub-accounts to finish various operations.
(4) The invention has a flexible reporting system: and completing the calculation and statistics of the report according to six dimensions of different sub-accounts, different sub-account numbers, different sub-accounts, and different sub-accounts, and different sub-accounts, and the computing and the sub-accounts.
Drawings
FIG. 1 is a schematic diagram of the apparatus of the present invention;
FIG. 2 is a flow chart of multi-user management of the present invention;
FIG. 3 is a flow chart of the cloud product sharing module sharing process of the present invention;
FIG. 4 is a flowchart of the rights management module management of the present invention;
FIG. 5 is a flow diagram of a resource management module according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the present invention provides a technical solution: a multi-user cloud product and authority sharing management device comprises a multi-user management module 1, a cloud product sharing module 2, an authority management module 3, a resource management module 4 and a user report module 5, wherein the multi-user management module 1 is sequentially connected with the cloud product sharing module 2, the authority management module 3, the resource management module 4 and the user report module 5; the multi-user management module manages the accounts in multiple latitudes according to different requirements of customers, and the account types are divided into three types: a. the type of the primary account number: the main account can share the cloud products and corresponding permissions to the following sub-accounts; b. external sub-account type: the external sub-account can acquire products shared by the main account to perform corresponding management, and the products of the external sub-account cannot be shared to a superior account; c. internal sub-account type: the internal sub-account has the right to share the balance of the main account, and the balance of the main account is used for purchasing cloud products; the external sub-account and the internal sub-account are mainly distinguished: the external sub-account can purchase cloud products belonging to the external sub-account, and the ownership of all the cloud products purchased by the internal sub-account is the main account. For example: the enterprise manages the users from the perspective of departments, corresponding sub-accounts are created according to different departments, and different management roles are created in the departments according to different roles.
As shown in fig. 2, the flow of multiuser management is as follows:
step 101: a client A and a client B register two account accounts A and B through websites;
step 102: account A adds account B as a sub-account, and the relationship between two accounts AB is as follows: account a is the primary account for account B;
step 103: the account A creates an internal sub-account, and can create a plurality of internal sub-accounts;
step 104: the internal sub-account a-1 creates its own internal sub-account again, and a plurality of internal sub-accounts can be created.
As shown in fig. 3, the cloud product sharing module sharing process is as follows:
step 201: account a owns two cloud products;
step 202: the account A selects a cloud product to be shared to carry out permission setting;
step 203: selecting a configuration needing sharing by the account A;
step 204: account a shares internal sub-account a-1 to account B.
As shown in fig. 4, the management flow of the rights management module is as follows:
step 301: selecting an internal sub-account A-1 from the account A, and configuring corresponding product authority to prepare sharing according to the account B to be subjected to product receiving;
step 302: configuring the period of the user use permission according to the role of the account B for accepting the product;
step 303: the account B successfully acquires the management authority of the internal sub-account A-1;
step 304: the account B continues to share the internal sub-account A-1 to the account C, and whether the account B has the authority of continuing to share the internal sub-account A-1 needs to be judged;
step 305: the 301 and 302 processes are executed again, the account B needs to be verified to have the authority for continuously sharing the internal sub-account A-1 in the process, and the next authority setting is carried out according to the authority of the internal sub-account A-1 owned by the account B;
step 306: completing the process of sharing the internal sub-account A-1 to the account C by the account B;
step 307: an internal sub-account A-1 of an account A purchases cloud products, and whether the account A gives purchase permission to the internal sub-account A-1 is judged;
step 308: after the internal sub-account A-1 has the cloud product purchasing authority given by the account A, judging whether the account A has enough balance;
step 309: after the account A has enough balance, the account A purchases the cloud products selected by the internal sub-account A-1;
step 310: after the account A is purchased successfully, the cloud products selected by the internal sub-account A-1 are automatically shared to the internal sub-account A-1, and the internal sub-account A-1 has all the rights of the products.
In the invention, a resource management module: setting resource permissions according to accounts, for example: the method comprises the steps of limiting the purchase quantity of certain cloud products, limiting the total fund for purchasing the cloud products, limiting the purchase quantity of the cloud products according to the size of report data, and setting an authority group to simplify user perception in the sharing process. Has the following functions: function one: limiting the quantity of the purchased cloud products, and setting the upper limit of the quantity of the purchased cloud products of the internal sub-account according to different conditions of the internal sub-account; the internal sub-account A can limit the quantity of the internal sub-account A-1 again according to the quantity upper limit of the currently owned purchased cloud products; and a second function: the limit of using funds for purchasing cloud products sets the upper limit of the funds when the cloud products are purchased by the internal sub-account according to different conditions of the internal sub-account; the internal sub-account A can limit the fund of the internal sub-account A-1 again according to the current owned fund upper limit for purchasing the cloud products; and function III: the set authority group can set the authorities of all cloud products, the account can set a public authority group for a certain batch of sub-accounts, the authority group is directly selected when the products are shared, the corresponding cloud product line selection in the authority group is obtained, and the perception of users in the batch sharing process is simplified.
As shown in fig. 5, the user reporting module has the following usage flow:
step 501: the account A selects single sub-account information or a plurality of sub-account information which are required to be acquired;
step 502: the account A is freely combined according to four dimensions of a time period, a cloud product type, different cloud product resource types and a payment type to prepare and generate desired report information;
step 503: and calculating report data according to the information selected by the account A.
The behavior habit of the enterprise user when using the cloud product is deeply analyzed. According to the multi-user management, centralized purchasing, decentralized purchasing, centralized management, decentralized management, unified report forms, decentralized report forms and resource limitation, the management perception of the user is improved.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.