Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

SaaS application based global configuration multi-tenant dynamic data source system

A dynamic data and global configuration technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of difficult maintenance, poor isolation effect, and no physical isolation, etc., to achieve simplified implementation Effect

Active Publication Date: 2017-03-15
YONYOU NETWORK TECH
View PDF7 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the solution has data isolation, the effect of isolation is not good
[0007] In the existing technology, similar information of multiple tenants is stored in the same two-dimensional table, which is difficult to maintain in the later stage; business data only achieves logical tenant isolation, not physical isolation; when a tenant data error occurs, the recovery of the database affects all Tenants; when a single group of database servers goes down, access by all tenants is affected
At the same time, the database connection pool is uncontrollable, there is no independent database service for special tenants or special uses, and the problem of data grid and connection pool between tenants cannot be dealt with in a concise way. The implementation process of dynamic data sources is complicated

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • SaaS application based global configuration multi-tenant dynamic data source system
  • SaaS application based global configuration multi-tenant dynamic data source system
  • SaaS application based global configuration multi-tenant dynamic data source system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0026] Specifically, the multi-tenant dynamic switching data source system based on global configuration mainly includes:

[0027] Business module, dynamic data source module, and database server. Tenants carry tenant information, application context information, and user login information to perform data interaction with the database server through the dynamic data source module. The database server includes multiple logics corresponding to each tenant. Database, which isolates data between different tenants.

[0028] The database server includes an ordinary database server and a high-configuration database server, and the dynamic data source module includes an ord...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a global configuration based multi-tenant dynamic switching data source system. The data source system mainly includes: isolating tenant data according to database rank; sharing a connection pool, wherein the connection number is controllable; supporting a database mapping of a specific tenant or a specific application; monitoring configuration information change in real time, and dynamically adjusting linkage information; solving the problem that similar information of multiple tenants are stored in the same two-dimensional table, and the maintenance difficulty is large; solving the problem that service data is isolated logically, and is not isolated physically; solving the problem that recovery of a database will affect all the tenants while data of a certain tenant is wrong; solving the problem that all the user accesses are affected while a single set database server goes down; solving the problem that a database connection pool is not controllable, and there is no an independent database service for the specific tenant or a specific user; overcoming the defect that a tenant data isolation problem and a connection pool problem cannot be dealt in a simple manner; and the implementation manner of a dynamic data source can be simplified.

Description

technical field [0001] The present invention relates to the technical field of multi-tenant scenarios in J2EE applications or SaaS cloud applications, and in particular to a globally configured multi-tenant dynamic data source system based on SaaS applications. Background technique [0002] In more and more J2EE applications or SaaS cloud applications, multi-tenant scenarios are often involved, such as B2B business. In business applications, both storing and obtaining data should be distinguished according to the tenant information to which the user belongs to avoid confusion and influence of data between tenants. [0003] For the two-dimensional table data of the database, usually in the case of a single database, the method of adding the tenant code field to the database table is adopted. When the application performs data query and update, it also needs to carry tenant information to ensure the correctness of the data. In each database table, a tenant ID (tenantid) is st...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
CPCG06F16/252G06F16/256
Inventor 刘建民
Owner YONYOU NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products