QoS requirements with secure multi- database access middleware technology
- Author
- XuQingSong
- Advisor
- ChenTianHuang
- School
- Wuhan University of Technology
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 82
- Citations
- 3
- QoS ( Quality of Service )
- Data Access Middleware
- Deprived of connection multiplexing algorithm
- Database connection pool
Abstract
Most applications are based on the data access SQL requests sent directly to the database or by calling database stored procedures prewritten way, and then returns the results. Once the need to transplant database, you need to spend a lot of time and effort in the process of rewriting code to connect to the database. For the realization of distributed databases in different geographic locations and more joint operations, cross-database transaction processing, data synchronization, and there are also some problems. As the number of database connections limit user access directly affects the quantity and quality of services. Large number of concurrent open and close the database connection will spend a lot of time and system resources. When the connection limit is reached, other users can not access the database, the user's service quality can not be guaranteed. In this paper, the design database connection pool, unified multi-database access interface, connected via two multiplexing full use of resources, optimize the efficiency of access to the database, and propose a band QoS (Quality of Service) demand data access middleware model, the intermediate member may be different according to the user's permissions to access the database connection, when the number of database connections limit is reached when the middleware with QoS requirements can be deprived of connection multiplexing algorithm deprivation, reject, or assign users to connect to the access to meet different user QOS requirements. At the same time, the model of the communication transmission is encrypted and database encryption to ensure data security. The issue is the major research work and innovation is reflected in the following aspects: 1) design a generic data access mechanism, unified multi-database access interface, capable of multiple databases for a unified and efficient connectivity and access management. 2) Design Universal Database connection pool to achieve controllable for each connection. And designed for all connections pool management, maintenance, distribution, release, reuse, deprivation tactics. 3) based on QoS requirements deprive type connection access method to be more effective, flexible control and management of the database connection. For multi-user simultaneous access to the database, if the database has reached the maximum number of connections, the middleware connection algorithm will be used by depriving the user's permissions to connect to the database for effective management. When a user accesses reached the maximum number of connections, and at this time the user requests a connection to a high-level database, middleware layer based on the user's permission, to take deprivation connection strategies for low-privilege denied the connection, the connection cross-deprived for advanced users, and in accordance with connection multiplexing algorithm is complete deprivation user's connection reuse. 4) Since data access middleware can be used independently of the database server and the client, so to a certain protocol designed to complete its normal communication, and for return to client's data to be processed and its effective security controls.
Table of contents
Abstract 4-6
Abstract 6-11
Chapter 1 Introduction 11-18
1.1 of this topic sources and research significance 11-13
1.1.1 Data Access Middleware made 11
1.1.2 research purpose and significance 11-13
1.2 data access middleware research status and deficiencies 13-15
1.2.1 Foreign Development 13-14
1.2.2 domestic developments 14-15
1.2.3 Analysis of the lack of domestic data access middleware 15
1.3 The main work and innovation 15-16
1.4 paper structure 16-18
Chapter 2 Data Access Technology Review 18-28
2.1 data access interface 18-20
2.2 data communications and protocol 20-24
2.2.1 SOCKET Technical Overview 21
2.2.2 the problems of traditional Socket 21-24
2.3 data exchange format 24-26
2.4 database encryption technology 26-27
2.4.1 database encryption level 26
2.4.2 database encryption algorithm 26-27
2.4.3 database encryption granularity 27
2.5 Chapter Summary 27-28
Chapter 3 Universal Database connection pool design 28-58
3.1 connection pooling basic principle 29-30
3.2 database connection pool the benefits 30-33
3.3 Classification of database connection pool 33-38
3.3.1-oriented database connection pool 33-35
3.3.2 with QoS requirements for the database connection pool 35-36
3.3.3 user-oriented connection pool 36
3.3.4 with the identity of the database connection 36-37
3.3.5 QoS requirements with user-oriented connection pool 37-38
3.4 design generic and efficient database connection pool to be solved 38
3.5 initialize the database connection pool management 38-45
3.5.1 database connection pool at initialization time to solve the problem 38-40
3.5.2 database connection pool in a multi-database application initialization 40-41
3.5.3 database connection pool during initialization permission 41-42
3.5.4 database connection pool connections created during initialization mode 42-45
3.6 maintains its own database connection pool management 45-52
3.6.1 Connect the connection pool allocation strategy designed 45-50
3.6.2 connection pooling and close the connection recovery strategies 50
3.6.3 Connection Pooling own maintenance management 50-52
3.7 database connection pool out of service 52-54
3.8 connection pool design 54-57
3.9 Chapter Summary 57-58
Chapter 4 with QOS requirements of multi-database access middleware design 58-71
4.1 data connection access middleware introduction 58-59
4.2 Data Access Manager is designed 59-67
4.2.1 network communication and the communication protocol design 60-65
4.2.2 database encryption technology 65-67
4.3 Data Connection Manager is designed 67-69
4.3.1 multi-database operations to achieve 67-69
4.4 middleware and client interaction 69-70
4.5 Chapter Summary 70-71
Chapter 5 Analysis of test results 71-87
5.1 test environment 71
5.2 data access efficiency test 71-81
5.2.1 configuration parameters 71-74
5.2.2 Open the connection operation test 74-79
5.2.3 insert test 79-81
5.3 more unified data access interface test 81-84
5.4 QoS requirements based testing 84-86
5.5 Chapter Summary 86-87
Chapter 6 Summary and Outlook 87-90
6.1 This thesis summarizes the work done 87-88
6.2 The system deficiencies 88
6.3 system improvements 88-90
References 90-93
Thanks 93-94
papers published during the master's degree 94
Related dissertations
- Research and Application of Pool Resource and Cache in Data Access Middleware
- Research of Application Based on Lightweight Similar Database Middleware
- Design and Implementation of the Campus SMC Query System
- Design and Implementation of Enterprise-level Application Monitoring Platform
- Design and Implementation of An Online Examination Management System Based on B/S Structure
- Research and Implementation on Database Middleware of Transmission Network Management System
- A Study on Reflective Hydro-Database Access Middleware
- Design and Application of Struts Framework Based on MVC Design Pattern
- The Research and Realization of County Power Company Automation Management Information System
- Online Scoring System Based on Struts and Multiple Database Connectionpool
- Design and Implementation of Significant Dangerous Source Supervising System Platform on Internet
- Design and Implement of Middleware for Intelligent Home Network Based on BACnet
- Design and Implementation of the Military Equipment Support System Based upon J2EE
- Design on J2EE-based E-Business Model System
- The Research and Realizing on the Management Information System of Teaching on the Basis of MVC Mode
- Design and Implementation of Optimization Performance of Database Middleware
- Research and Application of Remote Data Access Middleware
- Study and Implementation of Substation Automation Software Based on Internet
- System based on J2EE architecture design and implementation monitoring platform
- Research of CAI on Internet for Computer Base Lesson--Instruct Platform Based on Web of Remote Education