CN102340533B - The method that multi-tenant system and multi-tenant system access data - Google Patents
The method that multi-tenant system and multi-tenant system access data Download PDFInfo
- Publication number
- CN102340533B CN102340533B CN201110164372.4A CN201110164372A CN102340533B CN 102340533 B CN102340533 B CN 102340533B CN 201110164372 A CN201110164372 A CN 201110164372A CN 102340533 B CN102340533 B CN 102340533B
- Authority
- CN
- China
- Prior art keywords
- application data
- tenant
- memory node
- management subsystem
- request
- 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.)
- Expired - Fee Related
Links
Abstract
The invention provides a kind of method that multi-tenant system and multi-tenant system access data, the system includes:Routing management subsystem, application data for being sent according to current tenant uses request, the configuration information of the application data of current tenant is determined from the configuration management subsystem, and the application data of the current tenant is routed to using request the memory node of the application data ownership of current tenant according to the configuration information;Configuration management subsystem, for managing the configuration information of the application data of each tenant;Storage management subsystem, exports application data for according to the application data using request on the memory node that the application data store of current tenant is belonged to which and/or from the memory node which belongs to.The present invention passes through distributed storage, by the application data store of each tenant on different memory nodes, it is ensured that application data isolation physically, so as to ensure the safety of system.
Description
Technical field
A kind of the present invention relates to multi-tenant field, more particularly to the side of multi-tenant system and multi-tenant system access data
Method.
Background technology
With the fast development of the Internet, software services (Software as a Service, SaaS) and is increasingly becoming one
Trend is planted, it has overturned traditional Software Delivery pattern, has analyzed from framework aspect, and SaaS is different from the important difference of conventional art
It is not exactly multi-tenant pattern.Multi-tenant is not multi-user or multiple enterprises, and the granularity of tenant is built upon on application, one
Tenant can be that any one domestic consumer applies, or enterprises application, or enterprise external application.It needs
A set of safe, exclusive computing environment, the environment are contained from storage to all of user interface or some selected enterprises
Framework layer.Therefore, high safety, high-performance, the multi-tenant system of easily extension are built, it is ensured that in system between tenant business mutually every
It is rationally highly important from, tenant's resource allocation.
In existing multi-tenant system, it is different tenant's Resources allocation typically all by virtual technology, by difference
Tenant's custom entities and field are realized the storage of tenant data and are isolated.The data of so tenant are actually also stored in one
Rise, physically intercouple, the isolation that tenant is realized by application layer.If the data of a tenant are under attack or damage
Bad, it is possible to the safety of whole multi-tenant system can be affected, in addition, when carrying out upgrade maintenance to one of tenant, also having
Other tenants may be affected.It can be seen that, present multi-tenant system is primarily present problems with:
(1) tenant data close coupling, safety are low.In existing system, by different tenant's custom entities and word
The configurability of section is designed to deal with the customized demand of tenant.It is coupled on Data Physical so between tenant, number
According to coupling can bring problem for security.
(2) isolated by application layer between tenant, poor expandability.In existing system, tenant is typically by virtual skill
Art shares same application example, isolates the data between each tenant by application layer, can so cause application layer service logic multiple
Miscellaneous, when a tenant in system needs application layer to upgrade, it is possible to can other tenants in impact system, cause system
Poor expandability, it is difficult to for different tenants neatly customized demand.
Content of the invention
The invention provides a kind of method that multi-tenant system and multi-tenant system access data, tight to solve tenant data
Couple the low problem of the safety for causing.
The invention provides a kind of multi-tenant system, the system include routing management subsystem, configuration management subsystem and
Storage management subsystem, wherein:
The routing management subsystem, the application data for being sent according to current tenant use request, from the configuration
Management subsystem determines the configuration information of the application data of current tenant, and according to the configuration information by the current tenant's
Application data is routed to the memory node of the application data ownership of current tenant using request;
The configuration management subsystem, for managing the configuration information of the application data of each tenant;
The storage management subsystem, for using request according to the application data, by the application data of current tenant
Store on the memory node which belongs to and/or application data is exported from the memory node which belongs to.
Preferably, the application data using request for write application data when, the configuration management subsystem, be for
Whether the application data for judging current tenant to be written is newly-increased data, if so, then according to default memory module for deserving
The application data distribution memory node of front tenant;If it is not, then according to the application data using the tenant's letter included in request
Breath searches the memory node of the application data ownership of the current tenant.
Preferably, the application data using request for reading during application data, the configuration management subsystem, be for
According to the application data using the tenant's information searching included in request to the current tenant the application data being read out
The memory node of ownership.
Preferably, the application data includes cutting for the memory module of the application data of the current tenant using request
Change request;
The configuration management subsystem, is additionally operable to cause the application data of the current tenant to belong in the handover request
Memory node when changing, by change after the information of memory node be sent to the storage management subsystem.
Preferably, the memory node includes one or more storage servers;The storage management subsystem also includes
Scheduler module, the scheduler module include same area scheduling unit and foreign lands' scheduling unit;
The same area scheduling unit, for all storages by the application data store of current tenant in the memory node
On server;
Foreign lands' scheduling unit, for receiving the letter of the memory node after the change that the configuration management subsystem sends
Breath, and the application data of current tenant is dispatched to by the storage section after change according to the information of the memory node after the change
Point.
Preferably, the storage management subsystem also includes heartbeat module;The heartbeat module, for timing by each storage
The status information feedback of node gives the configuration management subsystem;
The configuration management subsystem, is additionally operable to the status information dimension of each memory node according to heartbeat module feedback
Protect the configuration information of the application data of each tenant.
Present invention also offers a kind of multi-tenant application data access method, the method includes:
Multi-tenant system uses request according to the application data that current tenant sends, and determines the application data of current tenant
Configuration information, and the application data of the current tenant is routed to using request by answering for current tenant according to the configuration information
Memory node with attribution data;
According to the application data using request, on the memory node that the application data store of current tenant is belonged to which
And/or application data is exported from the memory node which belongs to.
Preferably, the application data using request for write application data when, the current tenant's application data of the determination
Configuration information include:
Whether the application data for judging current tenant to be written is newly-increased data, if so, then according to default storage mould
Formula is the application data distribution memory node of the current tenant;If it is not, then according to the application data using including in request
Tenant's information searching described in current tenant application data ownership memory node.
Preferably, the application data using request for reading during application data, the current tenant's application data of the determination
Configuration information include:
According to the application data being read out using the tenant's information searching included in request to the current tenant
The memory node of application data ownership.
Preferably, the application data includes cutting for the memory module of the application data of the current tenant using request
Request is changed, methods described also includes:
When the handover request causes the memory node that the application data of the current tenant belongs to change, described
Configuration information of the multi-tenant system according to the application data of the current tenant for determining, the application data of the current tenant is dispatched
Memory node to after change.
Preferably, the memory node includes one or more storage servers;
Include on the memory node that the application data store by current tenant belongs to which:
In all storage servers by the application data store of current tenant in the memory node.
Preferably, methods described also includes:
The multi-tenant system timing monitors the status information of each memory node, and the status information according to each memory node
Safeguard the configuration information of the application data of each tenant.
The method that above-mentioned multi-tenant system and multi-tenant system access data, by distributed storage, answering each tenant
With data storage on different memory nodes, it is ensured that application data isolation physically, so as to ensure the safety of system.
Description of the drawings
Fig. 1 is structural representation of the present invention based on the multi-tenant system embodiment of distributed storage;
Fig. 2 is the illustrative view of functional configuration of storage management subsystem of the present invention;
Fig. 3 is the flow chart of the implementation method embodiment of multi-tenant system of the present invention.
Specific embodiment
For making the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with accompanying drawing to the present invention
Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application
Feature can mutual combination in any.
The invention provides a kind of multi-tenant system, the system include routing management subsystem, configuration management subsystem and
Storage management subsystem, wherein:
The routing management subsystem, the application data for being sent according to current tenant use request, from the configuration
Management subsystem determines the configuration information of the application data of current tenant, and according to the configuration information by the current tenant's
Application data is routed to the memory node of the application data ownership of current tenant using request;
The configuration management subsystem, for managing the configuration information of the application data of each tenant;
The storage management subsystem, for using request according to the application data, by the application data of current tenant
Store on the memory node which belongs to and/or application data is exported from the memory node which belongs to.
Wherein, the application data using request for write application data when, the configuration management subsystem is for sentencing
Whether the application data of disconnected current tenant to be written is newly-increased data, if so, then current for this according to default memory module
The application data distribution memory node of tenant;If it is not, then according to the application data using the tenant's information included in request
Search the memory node of the application data ownership of the current tenant.The application data is reading application data using request
When, the configuration management subsystem, be for according to the application data using the tenant's information searching included in request to institute
State the memory node of the application data ownership being read out of current tenant.Wherein, memory module is to resource according to current tenant
Requirement, the application data of the current tenant is configured to shared memory module and/or exclusive memory module.
In addition, the application data includes the switching of the memory module of the application data of the current tenant using request
Request;The configuration management subsystem, is additionally operable to cause the application data of the current tenant to belong in the handover request
When memory node changes, by change after the information of memory node be sent to the storage management subsystem, by storage tube
The application data of tenant is dispatched to the memory node after change from former memory node by reason subsystem.
Specifically, the storage management subsystem can include module for reading and writing;The module for reading and writing, for according to storage mould
The application data of tenant is write the configuration management subsystem according to the application data distribution that memory module is the tenant by formula
In memory node;The application data of tenant to be modified is write the application data that the configuration management subsystem is the tenant to look into
In the memory node for finding;And in the memory node found from the application data that the configuration management subsystem is the tenant
Read the application data of the tenant.
In addition, the storage management subsystem can also include scheduler module;The scheduler module includes same domain scheduling list
Unit and foreign lands' scheduling unit;The same area scheduling unit is used for the module for reading and writing in the application data write storage section by tenant
After point, realize that the application data in all storage servers in same memory node is identical;Specifically by current tenant's
In all storage servers of the application data store in the memory node, so as to ensure that the consistent of data in the memory node
Property.As the application data of each tenant is write different memory nodes according to different memory modules by module for reading and writing, so not
It is different with the data between memory node, so as to ensure that the isolation physically of the application data of each tenant, and it is possible to logical
Crossing increases new memory node system is extended.Foreign lands' scheduling unit is used for realizing the application data in different memory nodes
Scheduling, specifically, foreign lands' scheduling unit, for receiving the storage section after the change that the configuration management subsystem sends
The information of point, and the application data of current tenant is dispatched to by depositing after change according to the information of the memory node after the change
Storage node.
Further, the storage management subsystem can also include heartbeat module;The heartbeat module, for regularly will
The status information feedback of each memory node gives the configuration management subsystem;
The configuration management subsystem, is additionally operable to the status information dimension of each memory node according to heartbeat module feedback
Protect the configuration information of the application data of each tenant.
As shown in figure 1, the structural representation for the present invention based on the multi-tenant system embodiment of distributed storage, many rents
Family system includes routing management subsystem 11, configuration management subsystem 12 and storage management subsystem 13, wherein:
Routing management subsystem, is responsible for receiving application data using request from client tenant, from configuration management
System obtains the configuration information of the tenant and application data, and route the application data of tenant using request according to configuration information
Memory node to application data ownership;
Configuration management subsystem, is responsible for each memory node of the storage management subsystem and specifically stores tenant and its application number
It is believed that tenant and its application data information can be managed for configuration by the configuration of breath according to the selection of memory module, while
The information of the memory node of its corresponding application data ownership according to tenant's acquisition of information is provided;
Storage management subsystem, is responsible for the storage of tenant foreign lands and same area application data, can be incited somebody to action according to the requirement of tenant
The application data store of tenant is on different memory nodes, it is also possible to which the application data to tenant is in multiple storages as needed
It is scheduled between node, it is ensured that system linearity extensibility;Simultaneously can also be in same memory node to the storage section
The data of the storage server in point are scheduled, it is ensured that the concordance of data in the node.
Wherein, the illustrative view of functional configuration of storage management subsystem is as shown in Fig. 2 including module for reading and writing 131, scheduler module
132 and heartbeat module 133, wherein:
Module for reading and writing, for storage management subsystem memory node read-write in terms of operation, including the increasing of application data
Plus, delete, modification, inquiry etc. operation.
Scheduler module, including between the foreign lands' data dispatch between storage management subsystem node and node memory storage server
Same area data dispatch.Foreign lands' data dispatch is applied and is held when tenant data needs and moves to other node from a memory node
Capable operation, same area data dispatch apply the duplicate in memory node memory storage server data to back up, each write operation
The data dispatch of same area can be triggered.Scheduler module depends on module for reading and writing.
The feedback of status of each memory node in storage management subsystem is regularly given configuration management subsystem by heartbeat module
System, used as the basis that configuration management subsystem configures tenant and application data relation.
Above-mentioned multi-tenant system, by distributed storage, by the application data store of each tenant in different memory nodes
On, it is ensured that application data isolation physically, so as to ensure the safety of system;The application data of tenant is carried out at point domain
Reason, the data between same area do duplicate backup, and the data of foreign lands do cluster, can be formed one mutually back up with numeric field data, foreign lands
Mutually isolated safe and reliable, the extendible multi-tenant system of data.
Using the multi-tenant system comprising above-mentioned routing management subsystem, configuration management subsystem and storage management subsystem
Realize that the access procedure of application data includes:
Step one, the routing management of the application data of the routing management subsystem responsible client tenant;
The routing management subsystem responsible receives application data using request from client tenant, and the application by tenant
Data are routed to the memory node of application data ownership using request;
Specifically, the routing management subsystem receives application data using request from client tenant, should according to this
Deposited to the application data that the configuration management subsystem initiates to inquire about the tenant using the tenant's information included in request with data
The request of storage node, storage section of the configuration management subsystem according to the application data ownership of tenant's acquisition of information tenant
Point, and memory node information is returned to the routing management subsystem;
The configuration information pipe of step 2, the configuration management subsystem responsible tenant and its application data in each memory node
Reason;
The configuration management subsystem requires to the difference of resource according to tenant, selects to be configured to tenant's application data
Memory module, or exclusive memory module is shared with other tenants.Shared memory module is multiple tenant's common storage nodes, this
The multiple tenant's application datas of sample are physically stored on together, are suitable for tenant's occasion low to resource requirement;Exclusive memory module is
Tenant monopolizes memory node, is suitable for tenant's occasion high to resource requirement.The configuration management subsystem can be according to tenant's
Require, the application data of tenant is switched between shared memory module and exclusive memory module;If tenant should after switching
Changed with the memory node of attribution data, then by change after memory node notify the storage management subsystem, described
Storage management subsystem according to change after memory node the application data of tenant is scheduled, storage to change after storage
On node;
The configuration management subsystem can be according to the application data distribution memory node that memory module is tenant, it is also possible to
The information of the specific memory node of its corresponding application data according to tenant's acquisition of information.
For the newly-increased operation of application data, the configuration management subsystem is required to the difference of resource according to tenant, is this
Tenant configures suitable memory node;For application data inquiry, update, deletion action, the configuration management subsystem according to
Tenant and its configuration information of application data, obtain the nodal information of tenant's application data store;
Step 3, the storage management subsystem are responsible in tenant's application data store to memory node, and are tenant
Data access interface is provided.
The storage management subsystem is responsible for the storage of tenant foreign lands and same area application data, by tenant's application data store
On different memory nodes, foreign lands are made to store, for same memory node, comprising one or multiple storage servers, by tenant
Application data store makes same area store in one or more storage server of same memory node.Foreign lands store, different
Data on memory node are different, it is possible to achieve the isolation physically of tenant's application data, can pass through to increase storage section
Point realizes the linear expansion of the storage management subsystem memory capacity.Same area is stored, and realizes memory node memory storage server
Duplicate backup functionality, the application data in one or more storage server of same memory node is identical.
The storage management subsystem is responsible for the application data for reading and writing tenant from memory node, and the requirement pair according to tenant
The application data of tenant is scheduled between multiple memory nodes, it is ensured that system linearity extensibility;Simultaneously also same
The data of the storage server in the node are scheduled in memory node, it is ensured that the concordance of data in the node.
In addition, there is heartbeat message with the storage management subsystem in the configuration management subsystem, the storage management
The feedback of status of the memory node to the configuration management subsystem, is matched somebody with somebody by each memory node timing in subsystem as described
Put the basis of management subsystem configuration tenant and application data relation.The state of memory node includes the concurrent tenant of the memory node
The information such as number, system resource utilization rate.
Also include between the step one and step 3:The routing management subsystem is according to the configuration management subsystem
Tenant's application data is forwarded to described depositing using request in the configuration information of memory node by the tenant of feedback and its application data
The corresponding memory node of storage management subsystem, provides corresponding service by the memory node for tenant.
The application data of tenant, by distributed storage, is carried out point domain and is processed by the implementation method of above-mentioned multi-tenant system,
Data between same area do duplicate backup, and the data of foreign lands do cluster, it is possible to achieve application data isolation physically between tenant, solution
Safety that certainly tenant data close coupling is caused is low, demand that is being caused by application layer isolation customizes dumb, poor expandability
The problems such as, it is achieved that one mutually back up with numeric field data, safe and reliable, the extendible multi-tenant that foreign lands' data are mutually isolated
System.
As shown in figure 3, the flow chart of the application data access method embodiment for multi-tenant system of the present invention, the method bag
Include:
Step 301, client tenant initiate application data using request, believe comprising tenant and its application data in the request
Breath;
Step 302, routing management subsystem use request according to the application data that client tenant sends, to configuration management
Subsystem inquires about the configuration information of the corresponding application data of the tenant;
Step 303, configuration management subsystem use request according to the application data that client tenant sends, and inquire about the tenant
The configuration information of corresponding application data;
For the newly-increased operation of application data, configuration management subsystem is required to the difference of resource according to tenant, is the tenant
Configure suitable memory node;For application data inquiry, update, deletion action, configuration management subsystem according to tenant and its
The configuration information of application data, obtains the nodal information of tenant's application data store and returns configuration information and give routing management subsystem
System.
Step 304, routing management subsystem receive the tenant of configuration management subsystem return and application configuration information, according to
Configuration information by tenant's application data using request be forwarded to the corresponding memory node of storage management subsystem, saved by the storage
Point provides application data using service;
Step 305, storage management subsystem, are provided from corresponding memory node using request according to tenant's application data
Application data is used for tenant.
Compared with existing multi-tenant system, advantages below is had based on the multi-tenant implementation method of distributed storage:
(1) tenant data is physically partable, safe.In existing system, by the self-defined reality of different tenants
The configurability of body and field is designed to deal with the customized demand of tenant.It is to be coupled on Data Physical so between tenant
, the coupling of data can bring problem for security.The application data of tenant is carried out a point domain by distributed storage by the present invention
Process, the data between same area do duplicate backup, it is ensured that the reliability of data, the data of foreign lands do cluster, it is possible to achieve between tenant
Isolation on Data Physical, it is ensured that the safety of data.
(2) tenant's application data carries out the isolation in physical layer by memory node, can meet multi-tenant flexible customization
The demand of demand, the system expandability are good.Existing system, tenant typically share same application example by virtual technology,
Data between each tenant are isolated by application layer, can so cause application layer service logic complicated, as a tenant in system
When needing application layer to upgrade, it is possible to can other tenants in impact system, cause the poor expandability of system, it is difficult to for difference
The flexible customized demand of tenant.The present invention carries out the isolation in physical layer by memory node, unrelated with application layer, when a rent
When family needs application layer to upgrade, other tenants in system are not interfered with.
It can be seen that, implementation method of the present invention using the multi-tenant system based on distributed storage, it is achieved that can be
Tenant's offer is mutually backed up with numeric field data, safe and reliable, the extendible multi-tenant system that foreign lands' data are mutually isolated.
Present invention also offers a kind of multi-tenant application data access method, the method includes:
Step one, multi-tenant system use request according to the application data that current tenant sends, and determine answering for current tenant
With the configuration information of data, and the application data of the current tenant is routed to currently using request according to the configuration information
The memory node of the application data ownership of tenant
Wherein, the application data using request for write application data when, the current tenant's application data of the determination
Configuration information includes:Whether the application data for judging current tenant to be written is newly-increased data, is if so, then deposited according to default
Storage pattern is the application data distribution memory node of the current tenant;If it is not, then being used in request according to the application data
Comprising tenant's information searching described in current tenant application data ownership memory node.
The application data using request for reading during application data, the current tenant's application data of the determination with confidence
Breath includes:According to the application data using the tenant's information searching included in request to the current tenant be read out should
Memory node with attribution data.
In addition, the application data includes the switching of the memory module of the application data of the current tenant using request
Request, methods described also include:
When the handover request causes the memory node that the application data of the current tenant belongs to change, described
Configuration information of the multi-tenant system according to the application data of the current tenant for determining, the application data of the current tenant is dispatched
Memory node to after change.
Step 2, according to the application data using request, by the application data store of current tenant to depositing which belongs to
Application data is exported on storage node and/or from the memory node which belongs to.
Wherein, the memory node includes one or more storage servers;
Include on the memory node that the application data store by current tenant belongs to which:
In all storage servers by the application data store of current tenant in the memory node.
In addition, methods described also includes:Multi-tenant system timing monitors the status information of each memory node, and according to
The configuration information of the application data of each tenant of the state information maintenance of each memory node.
Above-mentioned multi-tenant application data access method, by distributed storage, by the application data store of tenant in difference
Memory node on, it is achieved thereby that application data isolation physically, it is ensured that the safety of system.
One of ordinary skill in the art will appreciate that all or part of step in said method can be instructed by program
Related hardware is completed, and said procedure can be stored in computer-readable recording medium, such as read only memory, disk or CD
Deng.Alternatively, all or part of step of above-described embodiment can also be realized using one or more integrated circuits.Accordingly
Can be realized in the form of hardware in ground, each module/unit in above-described embodiment, it would however also be possible to employ the shape of software function module
Formula is realized.The present invention is not restricted to the combination of the hardware and software of any particular form.
Above example only in order to technical scheme to be described and unrestricted, reference only to preferred embodiment to this
Bright it has been described in detail.It will be understood by those within the art that, technical scheme can be modified
Or equivalent, without deviating from the spirit and scope of technical solution of the present invention, the claim model in the present invention all should be covered
In the middle of enclosing.
Claims (10)
1. a kind of multi-tenant system, the system include routing management subsystem, configuration management subsystem and storage management subsystem,
Wherein:
The routing management subsystem, the application data for being sent according to current tenant use request, from the configuration management
Subsystem determines the configuration information of the application data of current tenant, and according to the configuration information by the application of the current tenant
Data are routed to the memory node of the application data ownership of current tenant using request;
The configuration management subsystem, for managing the configuration information of the application data of each tenant;
The storage management subsystem, for using request according to the application data, by the application data store of current tenant
Application data is exported on the memory node belonged to which and/or from the memory node which belongs to;
Wherein, the memory node includes one or more storage servers;
The storage management subsystem also includes scheduler module, and the scheduler module includes that same area scheduling unit and foreign lands' scheduling are single
Unit;
The same area scheduling unit, for all storage services by the application data store of current tenant in the memory node
On device;
Foreign lands' scheduling unit, for receiving the information of the memory node after the change that the configuration management subsystem sends,
And the application data of current tenant is dispatched to by the memory node after change according to the information of the memory node after the change.
2. system according to claim 1, it is characterised in that:
Using request for writing during application data, the configuration management subsystem is to be written for judging to the application data
The application data of current tenant be whether newly-increased data, if so, then according to default memory module be the current tenant should
Use data distribution memory node;If it is not, then according to the tenant's information searching included during the application data is using request
The memory node of the application data ownership of current tenant.
3. system according to claim 1, it is characterised in that:
The application data using request for reading during application data, the configuration management subsystem, be for according to described should
With data using the tenant's information searching included in request to the current tenant be read out application data ownership storage
Node.
4. the system according to Claims 2 or 3, it is characterised in that:
The application data includes the handover request of the memory module of the application data of the current tenant using request;
The configuration management subsystem, is additionally operable to cause what the application data of the current tenant belonged to deposit in the handover request
Storage node is when changing, by change after the information of memory node be sent to the storage management subsystem.
5. system according to claim 1, it is characterised in that:
The storage management subsystem also includes heartbeat module;The heartbeat module, for timing by the state of each memory node
Feedback of the information gives the configuration management subsystem;
The configuration management subsystem, is additionally operable to each according to the state information maintenance of each memory node of heartbeat module feedback
The configuration information of the application data of tenant.
6. a kind of multi-tenant application data access method, the method include:
Multi-tenant system uses request according to the application data that current tenant sends, and determines the configuration of the application data of current tenant
Information, and the application data of the current tenant is routed to using request the application number of current tenant according to the configuration information
Memory node according to ownership;
According to the application data using request, on the memory node that the application data store of current tenant is belonged to which and/
Or application data is exported from the memory node which belongs to;
Wherein, the application data includes that using request the switching of the memory module of the application data of the current tenant please
Ask;
When the handover request causes the memory node that the application data of the current tenant belongs to change, many rents
The application data of the current tenant is dispatched to change according to the configuration information of the application data of the current tenant for determining by family system
Memory node after change.
7. method according to claim 6, it is characterised in that:
The application data using request for write application data when, the configuration information bag of the current tenant's application data of the determination
Include:
Whether the application data for judging current tenant to be written is newly-increased data, if so, according to default memory module is then
The application data distribution memory node of the current tenant;If it is not, then according to the application data using the rent included in request
The memory node of the application data ownership of current tenant described in the information searching of family.
8. method according to claim 6, it is characterised in that:
The application data using request for reading during application data, the configuration information bag of the current tenant's application data of the determination
Include:
According to the application data using the tenant's information searching included in request to the current tenant the application being read out
The memory node of attribution data.
9. the method according to claim 6-8 any claim, it is characterised in that:
The memory node includes one or more storage servers;
Include on the memory node that the application data store by current tenant belongs to which:
In all storage servers by the application data store of current tenant in the memory node.
10. method according to claim 9, it is characterised in that methods described also includes:
The multi-tenant system timing monitors the status information of each memory node, and the state information maintenance according to each memory node
The configuration information of the application data of each tenant.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110164372.4A CN102340533B (en) | 2011-06-17 | 2011-06-17 | The method that multi-tenant system and multi-tenant system access data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110164372.4A CN102340533B (en) | 2011-06-17 | 2011-06-17 | The method that multi-tenant system and multi-tenant system access data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102340533A CN102340533A (en) | 2012-02-01 |
CN102340533B true CN102340533B (en) | 2017-03-15 |
Family
ID=45516031
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110164372.4A Expired - Fee Related CN102340533B (en) | 2011-06-17 | 2011-06-17 | The method that multi-tenant system and multi-tenant system access data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102340533B (en) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102651775B (en) * | 2012-03-05 | 2015-08-12 | 国家超级计算深圳中心(深圳云计算中心) | Based on method, the equipment and system of many tenants shared object management of cloud computing |
CN102833234A (en) * | 2012-08-08 | 2012-12-19 | 浪潮集团有限公司 | Access control method for multi-tenant cloud storage devices |
WO2014184893A1 (en) * | 2013-05-15 | 2014-11-20 | 株式会社日立製作所 | Computer system, and resource management method |
CN104104513A (en) * | 2014-07-22 | 2014-10-15 | 浪潮电子信息产业股份有限公司 | Safety isolation method for cloud side multi-tenant data storage |
CN104270349A (en) * | 2014-09-17 | 2015-01-07 | 广州中国科学院软件应用技术研究所 | Isolation method and device for cloud computing multi-tenant application |
CN106503163B (en) * | 2016-10-31 | 2019-12-20 | 用友网络科技股份有限公司 | Global configuration multi-tenant dynamic data source system based on SaaS application |
CN109327422B (en) * | 2017-08-01 | 2021-04-02 | 中国移动通信集团浙江有限公司 | Multi-tenant isolation method and device |
CN107729472A (en) * | 2017-10-13 | 2018-02-23 | 优公里(北京)网络技术有限公司 | The multi-data source route implementation method and its device of a kind of auto parts machinery |
CN107741832B (en) * | 2017-10-18 | 2021-01-08 | 成都索贝数码科技股份有限公司 | Method for isolating storage directory based on pooling |
CN107766001B (en) * | 2017-10-18 | 2021-05-25 | 成都索贝数码科技股份有限公司 | Storage quota method based on user group |
CN107566405B (en) * | 2017-10-18 | 2021-07-27 | 成都索贝数码科技股份有限公司 | Storage resource pooling method for quick access and copy |
CN108876317A (en) * | 2018-08-20 | 2018-11-23 | 广东技术师范学院 | A kind of data management monitoring method, device and terminal device |
CN109510871A (en) * | 2018-11-27 | 2019-03-22 | 西安中服软件有限公司 | A kind of traditional BS application multi-tenant system based on data routing |
US11139991B2 (en) | 2019-09-28 | 2021-10-05 | Intel Corporation | Decentralized edge computing transactions with fine-grained time coordination |
CN111092816B (en) * | 2019-11-26 | 2022-02-15 | 金蝶软件(中国)有限公司 | Gateway dynamic routing method, gateway dynamic routing device, computer equipment and storage medium |
CN111478961B (en) * | 2020-04-03 | 2021-12-17 | 中国建设银行股份有限公司 | Multi-tenant service calling method and device |
CN112256489A (en) * | 2020-11-16 | 2021-01-22 | 广州速威智能系统科技有限公司 | Data acquisition method and device of cloud development platform and data storage architecture |
CN112256488A (en) * | 2020-11-16 | 2021-01-22 | 广州速威智能系统科技有限公司 | Method and device for acquiring cloud data and data storage architecture of cloud service |
CN112367408B (en) * | 2021-01-13 | 2021-08-03 | 树根互联技术有限公司 | Management system and method for multi-tenant data of Internet of things |
CN113612798A (en) * | 2021-08-24 | 2021-11-05 | 京东科技控股股份有限公司 | Service data processing method, device, equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101499061A (en) * | 2008-01-30 | 2009-08-05 | 国际商业机器公司 | Multi-tenant oriented database engine and its data access method |
CN101639835A (en) * | 2008-07-30 | 2010-02-03 | 国际商业机器公司 | Method and device for partitioning application database in multi-tenant scene |
CN101777047A (en) * | 2009-01-08 | 2010-07-14 | 国际商业机器公司 | System, equipment and method for accessing database under multiple-tenant environment |
-
2011
- 2011-06-17 CN CN201110164372.4A patent/CN102340533B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101499061A (en) * | 2008-01-30 | 2009-08-05 | 国际商业机器公司 | Multi-tenant oriented database engine and its data access method |
CN101639835A (en) * | 2008-07-30 | 2010-02-03 | 国际商业机器公司 | Method and device for partitioning application database in multi-tenant scene |
CN101777047A (en) * | 2009-01-08 | 2010-07-14 | 国际商业机器公司 | System, equipment and method for accessing database under multiple-tenant environment |
Also Published As
Publication number | Publication date |
---|---|
CN102340533A (en) | 2012-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102340533B (en) | The method that multi-tenant system and multi-tenant system access data | |
CN104715001B (en) | The method and system of write operation is performed for the shared resource in the cluster to data handling system | |
CN103765371B (en) | Derive the data-storage system as the logical volume of storage object | |
CN102945139B (en) | Storage device driver and cluster participate in | |
CN102103518B (en) | System for managing resources in virtual environment and implementation method thereof | |
TW440769B (en) | Parallel file system and method for granting byte range tokens | |
CN106446159B (en) | A kind of method of storage file, the first virtual machine and name node | |
CN110998562B (en) | Spacing nodes in a distributed cluster system | |
US20080281959A1 (en) | Managing addition and removal of nodes in a network | |
CN104573093B (en) | A kind of method and apparatus for managing file directory | |
CN106156289A (en) | The method of the data in a kind of read-write object storage system and device | |
CN103827832B (en) | System and method for persisting transaction records in a transactional middleware machine environment | |
CN104765661B (en) | The multinode hot spare method of Metadata Service node in a kind of cloud storage service | |
US20100082546A1 (en) | Storage Tiers for Database Server System | |
US9854037B2 (en) | Identifying workload and sizing of buffers for the purpose of volume replication | |
CN105635311A (en) | Method for synchronizing resource pool information in cloud management platform | |
CN105278882A (en) | Disk management method of distributed file system | |
CN104104582B (en) | A kind of data storage path management method, client and server | |
CN109542636A (en) | A kind of method and device that data update | |
CN102945208B (en) | Multiuser hard disk system and its implementation | |
CN108733311A (en) | Method and apparatus for managing storage system | |
CN104517067B (en) | Access the method, apparatus and system of data | |
CN104166661A (en) | Data storage system and method | |
US7792966B2 (en) | Zone control weights | |
CN108304142A (en) | A kind of data managing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170315 Termination date: 20190617 |
|
CF01 | Termination of patent right due to non-payment of annual fee |