File System Virtualization Technology in Personal Play-on-Demand Software Service
- Author
- LuMeiJuan
- Advisor
- ZhangYouHui
- School
- Tsinghua University
- Major
- Computer Science and Technology
- Classification
- TP311.5 Software Engineering
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 155
- Citations
- 0
Abstract
With the development of network and the increase of users’requirements, the shortcomings of the traditional software application delivery model,“Software as a Product”(SaaP), are emerging. A new model“Software as a Service”(SaaS) rises, in which software applications are provided as services over the Internet. The SaaS has become the industry preferred term and is gradually replacing the earlier models. There are already some successfully SaaS vendors abroad.In this article, we propose a play-on-demand SaaS system, and describe the implementation of the file system virtualization technolgies. This system overcomes the shortcomings of SaaP system. Also, the personal computer environment is highly portable when the customer carries personal data with him. As long as the customer can reach the Internet, she can access software service on demand wherever, only if the host system is compatible.In the system, the customers run a client application package to get software service. The client application package consists of a user-level application and a file system filter driver. Both of them implement file system virtualization through virtualizing a file system on the host which is actually on the Internet. The filter driver filters accesses to certain files on the host and hands them over to the application that will therefore call the P2P module to get data from the internet (server and other clients).This article presents the two parts above (except P2P) and implements file system virtualization. It gives solutions to general problems in driver development, designs the functional/performance test plan, proposes possible improvements and gives suggestions for future work.
Table of contents
Abstract 3-4
Abstract 4-10
Chapter 1 Introduction 10-19
1.1 Introduction of this chapter 10
1.2 Background 10-12
1.2.1 \
1.2.2 \
1.3 Research aim and object 12-16
1.3.1 personal on-demand software services system 12-14
1.3.2 System Feasibility Analysis and Research 14-16
1.4 of this article the main contribution and structural arrangements 16-18
The main contribution of the
1.4.1 of this article 16-17
1.4.2 of this paper structural arrangements 17-18
1.5 Summary 18-19
Chapter 2 file system filter driver principle 19-37
2.1 Introduction of this chapter 19
2.2 Windows file system 19-23
2.2.1 user mode and kernel mode 19-21
2.2.2 driver object and device object 21
2.2.3 device driver category 21-23
2.3 file system filter driver model 23-36
2.3.1 file system filter driver function 23-24
2.3.2 development tools, the DDK (Device Development Kit) 24-25
2.3.3 of the IRP and its introduction of the domain 25-28
2.3.4 I / O stack 28-30
2.3.5 to complete routine 30-32
2.3.6 IRQL introduced 32-33
2.3.7 driver entry function and distribution function 33
2.3.8 driver the normal processing of the IRP 33-34
2.3.9 itself several typical methods of the IRP 34-35
2.3.10 FastIO interface 35
2.3.11-driven development of commonly used functions 35-36
2.4 Summary 36-37
Chapter 3
development platform to build 37-46
3.1 Introduction of this chapter 37
3.2 development / debugging software 37-38
3.2.1 winDbg Software 37
3.2.2 SoftICE software introduced 37-38
3.3 development platform of choice 38-44
3.3.1 development tools choose 39-40
3.3.2 development / debug mode choice 40-44
3.4 debugging environment to use 44-45
3.4.1 Compile the driver 44-45
3.4.2 to install the driver 45
3.5 Summary 45-46
Chapter 4
file system filter driver part 46-76
4.1 Introduction of this chapter 46
4.2 The principles outlined 46-47
4.3 framework process 47-64
4.3.1 entry function DriverEntry 47-50
4.3.2 Device Control IRP distribution function 50-57
4.3.3 Create the IRP dispatch functions 57-59
4.3.4 Cleanup / Close IRP distribution function 59-60
4.3.5 Directory, Control IRP's dispatch function 60-61
4.3.6 Query the Info the IRP distribution function 61-62
4.3.7 Read IRP's dispatch function 62-63
4.3.8 Other relevant distribution function 63-64
4.4 points and difficult points 64-69
4.4.1 drivers and applications to exchange data 64
4.4.2 device name with the letter of the conversion 64-65
4.4.3 file full path to the filter 65
4.4.4 read request to complete 65-68
4.4.5 read request measures to prevent the omission processing 68
4.4.6 be able to judge the end of the file file read operation 68
4.4.7 FastIO IRP treatment 68-69
4.4.8 global variables mutually exclusive access control 69
4.5 design optimization method 69-75
alternative hash table 4.5.1 an array 69-71
4.5.2 replaced using FsContext address file object address 71-72
4.5.3 query data cache 72
4.5.4 to read data cache 72-73
4.5.5 further export to achieve a more complete filtration 73
4.5.6 Write IRP Set Info IRP export 73-75
4.5.7 Multidimensional be handling IRP queue 75
4.6 Summary 75-76
Chapter 5
client application part 76-87
5.1 Introduction of this chapter 76
5.2 The principles outlined 76-77
5.3 framework process 77-85
5.3.1 user profile read into and analysis 79
5.3.2 to obtain the target file information 79-80
5.3.3 construct target file directory entrance chain 80-81
5.3.4 dynamically create, delete directories 81-82
5.3.5 load the driver 82
5.3.6 to the driver sends the user initialization information 82-83
5.3.7 sent to the driver a number of users Device Control the IRP 83
Service Thread 5.3.8 worker thread creation and role of 83-84
5.3.9 infinite loop waiting for - the processing 84
5.3.10 of the main thread's exit 84
data transfer between the 5.3.11 driver and application 84-85
5.4 design optimization method 85-86
5.4.1 asynchronous processing requests 85
5.4.2 multi-thread processing the request 85-86
5.5 Summary 86-87
Chapter 6, the comprehensive evaluation program
87-96
6.1 Introduction of this chapter 87
6.2 functionality evaluation program and results 87-90
6.2.1 executable files of different sizes 87-88
6.2.2 a variety of read files 88
6.2.3 executable file read and write log files 88
6.2.4 ported to the real system from the virtual machine 88-90
function evaluation
6.2.5 90
6.3 performance evaluation program and results 90-92
6.3.1 performance test program 90-91
6.3.2 performance test data and analysis 91-92
6.4 typical error summary and cause analysis 92-95
6.4.1 context IRQL that amounted to less than a function of the requirements to run 93
6.4.2 access to the disk device name when the blue screen 93-94
6.4.3 returns the success status of the other state 94
6.4.4 documents the process of being stranded memory 94
6.4.5 driver uninstall error 94-95
6.4.6 the call ObQueryNameString error 95
error call
6.4.7 IoCompleteIRP is 95
6.5 Summary 95-96
Chapter 7 Conclusion 96-98
References 98-101
thank 101-102
resume, academic and research results published during the study period 102
Related dissertations
- Implementation of Windows File System Virtualization Based on Sandbox Technology
- Design and Implementation of Cross-platform Website Anti-tamper System Based on File Filter Driver
- Mixed-Channel Competition and Coordination Research of SaaS in Service Industry
- Research of Peripherals Control System Based on Trusted Cryptography Module
- An Ant Colony Optimization Algorithm for the Composite SaaS Placement Problem in the Cloud Computing Environment
- Design of Security U Disk and Application in Management of Files with Multi-Security Levels
- Research of Shadow Reduction System Based on Proactive Defense
- Research on Identity Authentic Ation of Multi-Tenancy Services Based on Distributed PKI
- Research and Design on an Identity Authentitacion Service Based on Cloud Service
- Research and Implementation of PC File Protection System Based on File System Filter Driver
- Electronic file Windows intermediate driver operation recognition method based on
- Research and Application of Semantic Search Based on Semantic Web
- Design and Practice of Mobile Housekeeper Platrofm
- The Design and Implementation of Medical Insurance System Based on SaaS
- Design and Implementation of the Serial Log Analytical Tool Based on Filter Driver Technology
- A Research and Design of Original Music Social Networking Services Based on Multiuser Cooperation
- Design and Implementation of Urban Public Safety Systems Based on SOA
- Design and Implementation of Computer Data Security Protection System Based on Driver Layer
- Research on Key Technology of Information Security in Management-type SaaS
- Research and Design of Enterprise Lan File Security Encryption Technology