CN109670336A - A kind of cloud management method of multistage application - Google Patents
A kind of cloud management method of multistage application Download PDFInfo
- Publication number
- CN109670336A CN109670336A CN201811565621.9A CN201811565621A CN109670336A CN 109670336 A CN109670336 A CN 109670336A CN 201811565621 A CN201811565621 A CN 201811565621A CN 109670336 A CN109670336 A CN 109670336A
- Authority
- CN
- China
- Prior art keywords
- tenant
- user
- department
- data
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007726 management method Methods 0.000 title claims abstract description 17
- 238000002955 isolation Methods 0.000 claims abstract description 16
- 238000013316 zoning Methods 0.000 claims description 14
- 238000004321 preservation Methods 0.000 claims description 6
- 238000012986 modification Methods 0.000 claims description 4
- 230000004048 modification Effects 0.000 claims description 4
- 238000005315 distribution function Methods 0.000 claims description 3
- 238000012423 maintenance Methods 0.000 abstract description 5
- 238000007405 data analysis Methods 0.000 abstract description 2
- 238000000034 method Methods 0.000 description 3
- 238000007619 statistical method Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2141—Access rights, e.g. capability lists, access control lists, access tables, access matrices
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Medical Informatics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to a kind of cloud management method of multistage application, the department of cloud will be needed to create a database for it and be used to store using essential information (tenant), system function menu, user role, the information such as user right, while recording tenant ID.Tenant ID is obtained according to the certain field attribute of department.When users log on, tenant ID is obtained according to user affiliated function, custom system function menu and user right, user data is obtained according to tenant ID.User can be used shared system and carry out operation data, this can bring the user experience of similar exclusive system to user.Due to realizing the isolation of data, user needs statistical data by oneself, provides foundation to the data analysis between applications at different levels.The present invention is for realizing multidisciplinary, and in the system that multi-user uses, each user shares identical system or component, and user data realizes isolation, is independent of each other, and reduces server input cost, reduces the maintenance cost of system, convenient for management.
Description
Technical field
The present invention relates to field of computer technology, the cloud management method of especially a kind of multistage application.
Background technique
Under current big data internet environment prevailing, different areas is needed using same set of system.Traditional does
Method is often that set of system is disposed in each area respectively, and database used in system or other third party's components require list
Solely deployment, not only increases fund cost, but also each server distribution needs to put into a large amount of people in different areas in this way
Power goes the system for safeguarding each area, considerably increases the maintenance cost of system.Simultaneously as data used in each area
Library is different, and the difficulty of data statistics and aggregate analysis to each area will also greatly increase.
Summary of the invention
In view of this, can be realized multistage the purpose of the present invention is to propose to a kind of cloud management method of multistage application and answer
Data isolation between reduces server input cost, reduces the maintenance cost of system, convenient for management.
The present invention is realized using following scheme: a kind of cloud management method of multistage application provides one excellent gram of general cloud platform,
The following steps are included: step S1: multistage application division is carried out according to department, it will generation in You Kepu cloud platform department edit page
The field of each department of table is by default regular assignment and is saved in database, to find the higher level of each department according to field
Department;
The field is department's zoning coding;
The rule is the higher level department that the field according to department finds the department;
It is equipped in the database to carry out a set of of the department of multistage application cloud creation and applying data;
The application data include applying essential information, that is, tenant, system function menu, department user Role Information and user's function
Energy authority information, while the data-base recording tenant ID;
Step S2: after carrying out multistage application division according to department according to step S1, by department's cloud information preservation to institute
It states in database, and is managed as an application;It include tenant's information, department user angle needed for cloud in the application
Color information and user function authority information;
Step S4: department's zoning is encoded into tenant ID corresponding with its and is saved in same configuration file;One tenant couple
Answer an application;
Step S5: logging in system by user finds out tenant ID according to user affiliated function zoning coding, obtains step by tenant ID
The system function menu of the corresponding application operating of department obtained after multistage application division, user angle are carried out described in S2 according to department
Color, user right;
Step S6: owning user data are operated according to tenant ID, realize the isolation of multi-stage user data.
Further, the step S5 specifically includes the following steps:
Step S51: judging whether there is the cloud application of login user affiliated function, i.e., with the presence or absence of preservation department Yun Huaxin
The database of breath obtains tenant ID if finding;It is no to then follow the steps S52;
Step S52: it if tenant ID is not present, is searched into configuration file;Tenant ID is obtained if finding;Otherwise step is executed
Rapid S53;
Step S53: if tenant ID is also not present in configuration file, higher level department is searched according to the rule, and search
The tenant ID of grade department, if finding, using the tenant ID of the higher level department of lookup as the tenant ID of the department;If not finding
Step S51 is then continued to execute to step S53 until getting tenant ID;
Step S54: obtaining application function menu according to the tenant ID of acquisition, supplies user according to user right distribution function menu
It is operated.
Further, the step S6 specifically: user data is saved using the same database, every in database
The data of a table all correspond to a tenant ID;When different user logs in, the tenant ID of the user is first obtained, is obtained using the tenant ID
The data that family needs to operate are taken, to achieve the purpose that data isolation between multistage application.
Further, owning user data described in step S6 are that tenant's id field is equal to the tenant in database data table
The data of ID;A tenant ID is assigned when operation user data increases data newly for data to be saved in database;Root when inquiry
Inquiry displaying is carried out as a querying condition according to tenant ID;The tenant ID of data is constant when modification and is saved in database.
Compared with prior art, the invention has the following beneficial effects:
The present invention realizes the data isolation between multistage application, reduces server input cost, reduces the maintenance cost of system, just
In management.
Detailed description of the invention
Fig. 1 is the flow chart of the embodiment of the present invention.
Specific embodiment
The present invention will be further described with reference to the accompanying drawings and embodiments.
As shown in Figure 1, present embodiments providing a kind of cloud management method of multistage application, one excellent gram of general Yun Ping is provided
Platform, comprising the following steps:
Step S1: multistage application division is carried out according to department, manually by multistage portion in You Kepu cloud platform department edit page
The certain field (such as zoning coding) of door assignment and is saved in database according to certain rules, (or voluntarily write a program
Field is automatically saved in database by rule) the higher level department of this department can be found according to the field;
Applications at different levels are classified according to department.The certain field of selection department, as zoning coding comes some department of unique identification.
Department's coding has certain rule, and the higher level department of certain department can be found according to this rule.Such as: the zoning in Fujian Province is compiled
Code is 350000, and the zoning of Quanzhou City coding is 350500, and rear four position 0 that Quanzhou City's zoning encodes is obtained 350000, right
It answers the zoning in Fujian Province to encode, learns that the higher level department of Quanzhou City is Fujian Province.
Step S2: saving in the database to need the department of multistage application cloud to create a set of application data, main to wrap
It includes using essential information (tenant), system function menu, user role, the information such as user right, while recording tenant ID.
Multistage application is divided according to department.By department's cloud information preservation into database, pipe is carried out as an application
Reason.It include tenant's information needed for cloud, department user Role Information, user function authority information etc. in.Tenant ID
Department's coding corresponding with its is saved among the same configuration file.The corresponding application of one tenant.
Step S3: when user logs in, tenant ID is found out according to user affiliated function zoning coding, is somebody's turn to do by tenant ID
The function menu of grade application operating, user role, the data such as user right.
When user logs in, the cloud application there are the department is first searched whether, i.e., with the presence or absence of preservation department Yun Huaxin
The database of breath obtains tenant ID if finding.If tenant ID is not present, searched into configuration file.If tenant ID is also
It is to be not present, then higher level department is searched according to rule, and search the tenant ID of higher level department, it is known that until getting tenant ID.
Application function menu is obtained then according to tenant ID, user is supplied according to user right distribution function menu and is operated.
Step S4: owning user data are operated according to tenant, realize the isolation of multi-stage user data.
User data is saved using the same database, and the data of each table have a tenant ID to belong in database
Property, the data for not having to tenant are distinguished using the attribute.When different user logs in, the tenant ID of the user is first obtained, the rent is utilized
Family ID obtains the data that user needs to operate, to achieve the purpose that data isolation between multistage application.It, can be with when statistical analysis
Statistical data is distinguished according to tenant ID, reaches the understanding to each area or division data overall condition.It is searched according to tenant ID
Or delete user data;The tenant ID is written in the data when data that Add User, to realize multi-stage user data
Isolation.The owning user data are the data that tenant's id field is equal to the tenant ID in database data table;Operate user
A tenant ID is assigned when data increase data newly for data to be saved in database;It is looked into according to tenant ID as one when inquiry
Inquiry condition carries out inquiry displaying;The tenant ID of data is constant when modification and is saved in database.
Preferably, in the present embodiment, firstly, each area uses same set of system, database and other components are unified
Deployment, it is at different levels to do separation in logic with tenant ID using data, be independent of each other, greatly reduce the capital investment of server at
This.Secondly as system unified plan, in unified area, server Relatively centralized reduces the maintenance cost of server.And
Due to using same set of database, data Relatively centralized, statistical analysis of data difficulty is reduced.Finally, passing through multistage application cloud
Change, can be realized system capability linear expansion, preferably ensure information safety.
Preferably, in the present embodiment, first according to certain rules by the certain field of multistage department (such as department encodes)
Assignment can find the higher level department of certain department according to this rule.It then is that the department of cloud is needed to create a database
Cloud information is saved, including applies essential information (tenant), system function menu, user role, the information such as user right, simultaneously
Record tenant ID.Next the corresponding relationship of department and tenant are saved in configuration file.When logging in system by user, according to
User affiliated function finds corresponding tenant ID, if can not find, searches tenant of the tenant ID of higher level department as the department
ID, the i.e. data of the department are managed collectively by the higher level department.When user's operation data, data can all have a tenant
Mark of the ID as the user data, to achieve the purpose that data isolation.Moreover, when current division data needs another department
When (tenant is different) processing, since data are stored in the same database, another department can be arrived by certain Rule
The data of the department are handled, without other development interface propelling data.
Particularly, the present embodiment is related to a kind of application cloud management mode of multi-tenant, different using same set of
System or component reach the data isolation between multistage application by tenant ID.For realizing for multidisciplinary, multi-user's use
Application management mode, realize the logic isolation of data, reduce cost, convenient for management.
Particularly, the present embodiment is for realizing multidisciplinary, and in the system that multi-user uses, each user shares identical
System or component, user data realize isolation, are independent of each other.It is it by the department for needing cloud in method provided by the invention
Create a database for store using essential information (tenant), system function menu, user role, user right etc. believes
Breath, while recording tenant ID.Tenant ID can be obtained according to the certain field attribute (such as department's zoning encodes) of department.When
When user logs in, tenant ID is obtained according to user affiliated function, custom system function menu and user are obtained according to tenant ID
Permission, user data etc..User can be used shared system and carry out operation data, this can bring similar exclusive system to user
User experience.Due to realizing the isolation of data, user can need statistical data by oneself, between applications at different levels
Data analysis provides foundation.
The foregoing is merely presently preferred embodiments of the present invention, all equivalent changes done according to scope of the present invention patent with
Modification, is all covered by the present invention.
Claims (4)
1. a kind of cloud management method of multistage application provides one excellent gram of general cloud platform, it is characterised in that: the following steps are included:
Step S1: multistage application division is carried out according to department, the field of each department will be represented in department's edit page by pre-
If regular assignment is simultaneously saved in database, to find the higher level department of each department according to field;
The field is department's zoning coding;
The rule is the higher level department that the field according to department finds the department;
It is equipped in the database to carry out a set of of the department of multistage application cloud creation and applying data;
The application data include applying essential information, that is, tenant, system function menu, department user Role Information and user's function
Energy authority information, while the data-base recording tenant ID;
Step S2: after carrying out multistage application division according to department according to step S1, by department's cloud information preservation to institute
It states in database, and is managed as an application;It include tenant's information, department user angle needed for cloud in the application
Color information and user function authority information;
Step S4: department's zoning is encoded into tenant ID corresponding with its and is saved in same configuration file;One tenant couple
Answer an application;
Step S5: logging in system by user finds out tenant ID according to user affiliated function zoning coding, obtains step by tenant ID
The system function menu of the corresponding application operating of department obtained after multistage application division, user angle are carried out described in S2 according to department
Color, user right;
Step S6: owning user data are operated according to tenant ID, realize the isolation of multi-stage user data.
2. a kind of cloud management method of multistage application according to claim 1, it is characterised in that: the step S5 is specific
The following steps are included:
Step S51: judging whether there is the cloud application of login user affiliated function, i.e., with the presence or absence of preservation department Yun Huaxin
The database of breath obtains tenant ID if finding;It is no to then follow the steps S52;
Step S52: it if tenant ID is not present, is searched into configuration file;Tenant ID is obtained if finding;Otherwise step is executed
Rapid S53;
Step S53: if tenant ID is also not present in configuration file, higher level department is searched according to the rule, and search
The tenant ID of grade department, if finding, using the tenant ID of the higher level department of lookup as the tenant ID of the department;If not finding
Step S51 is then continued to execute to step S53 until getting tenant ID;
Step S54: obtaining application function menu according to the tenant ID of acquisition, supplies user according to user right distribution function menu
It is operated.
3. a kind of cloud management method of multistage application according to claim 1, it is characterised in that: the step S6 is specific
Are as follows: user data is saved using the same database, and the data of each table correspond to a tenant ID in database;It is different
When user logs in, the tenant ID of the user is first obtained, the data that user needs to operate are obtained using the tenant ID, to reach more
The purpose of data isolation between grade application.
4. a kind of cloud management method of multistage application according to claim 1, it is characterised in that: belonging to described in step S6
User data is the data that tenant's id field is equal to the tenant ID in database data table;Operate the i.e. newly-increased data of user data
When for data assign a tenant ID be saved in database;It is inquired according to tenant ID as a querying condition when inquiry
It shows;The tenant ID of data is constant when modification and is saved in database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811565621.9A CN109670336A (en) | 2018-12-20 | 2018-12-20 | A kind of cloud management method of multistage application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811565621.9A CN109670336A (en) | 2018-12-20 | 2018-12-20 | A kind of cloud management method of multistage application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109670336A true CN109670336A (en) | 2019-04-23 |
Family
ID=66144115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811565621.9A Pending CN109670336A (en) | 2018-12-20 | 2018-12-20 | A kind of cloud management method of multistage application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109670336A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112748920A (en) * | 2019-10-29 | 2021-05-04 | 福建天泉教育科技有限公司 | Method and storage medium for product component tenancy |
CN114301714A (en) * | 2022-01-20 | 2022-04-08 | 杭萧钢构股份有限公司 | Multi-tenant permission control method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063486A (en) * | 2010-12-28 | 2011-05-18 | 东北大学 | Multi-dimensional data management-oriented cloud computing query processing method |
CN104123616A (en) * | 2014-07-25 | 2014-10-29 | 南京邮电大学 | Cloud computing system towards multiple tenants |
US20150058363A1 (en) * | 2013-08-21 | 2015-02-26 | Robert Lancer | Cloud-based enterprise content management system |
CN106779597A (en) * | 2016-12-09 | 2017-05-31 | 武汉中瀚科技有限公司 | A kind of network general office information processing system and method |
US20180063089A1 (en) * | 2016-08-29 | 2018-03-01 | Microsoft Technology Licensing, Llc. | Cross-tenant data leakage isolation |
-
2018
- 2018-12-20 CN CN201811565621.9A patent/CN109670336A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063486A (en) * | 2010-12-28 | 2011-05-18 | 东北大学 | Multi-dimensional data management-oriented cloud computing query processing method |
US20150058363A1 (en) * | 2013-08-21 | 2015-02-26 | Robert Lancer | Cloud-based enterprise content management system |
CN104123616A (en) * | 2014-07-25 | 2014-10-29 | 南京邮电大学 | Cloud computing system towards multiple tenants |
US20180063089A1 (en) * | 2016-08-29 | 2018-03-01 | Microsoft Technology Licensing, Llc. | Cross-tenant data leakage isolation |
CN106779597A (en) * | 2016-12-09 | 2017-05-31 | 武汉中瀚科技有限公司 | A kind of network general office information processing system and method |
Non-Patent Citations (1)
Title |
---|
韩义: "跟我上"云"端(二)多租户的数据隔离", 《CSDN》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112748920A (en) * | 2019-10-29 | 2021-05-04 | 福建天泉教育科技有限公司 | Method and storage medium for product component tenancy |
CN112748920B (en) * | 2019-10-29 | 2023-09-15 | 福建天泉教育科技有限公司 | Method and storage medium for tenant product components |
CN114301714A (en) * | 2022-01-20 | 2022-04-08 | 杭萧钢构股份有限公司 | Multi-tenant permission control method and system |
CN114301714B (en) * | 2022-01-20 | 2024-01-19 | 杭萧钢构股份有限公司 | Multi-tenant authority control method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8527451B2 (en) | Business semantic network build | |
Tsai et al. | Inference aggregation detection in database management systems | |
Schindler | A fast renormalisation for arithmetic coding | |
US10740398B2 (en) | Structuring incoherent nodes by superimposing on a base knowledge graph | |
JP4955876B2 (en) | Cost-based materialized view selection for query optimization | |
CN105740411B (en) | A kind of data migration method based on SOA and WebService | |
US20080154927A1 (en) | Use of federation services and transformation services to perform extract, transform, and load (etl) of unstructured information and associated metadata | |
CN100350381C (en) | Method and system for recording macros in language independent syntax | |
CN104239513A (en) | Semantic retrieval method oriented to field data | |
CN107391502B (en) | Time interval data query method and device and index construction method and device | |
EP3182304A1 (en) | Computer-implemented method for storing unlimited amount of data as a mind map in relational database systems | |
WO2003001322A3 (en) | Hybrid use of rule and constraint engines | |
CN102207955A (en) | Context-based security policy evaluation using weighted search trees | |
CN102081515A (en) | Method and equipment for providing input data perceptible to context | |
CN101645092B (en) | Method for mapping an X500 data model onto a relational database | |
CN102880720B (en) | The management of information resources and semantic retrieving method | |
CN111080479A (en) | Method and device for establishing unified data model of power grid | |
CN109670336A (en) | A kind of cloud management method of multistage application | |
CN103455335A (en) | Multilevel classification Web implementation method | |
CA2427185A1 (en) | Automated database query generation | |
CN105138638A (en) | Database distribution method based on application layer | |
CN112068812B (en) | Micro-service generation method and device, computer equipment and storage medium | |
CN107656943A (en) | Job enquiry method and server | |
CN116739080A (en) | Method and system for automatically comparing and finding power standard difference information | |
CN109344239A (en) | A kind of business process model querying method and inquiry system based on temporal aspect |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190423 |