The Design and Implementation of IPC Platform Based on Socket
- Author
- ChenJian
- Advisor
- HuiLi , LiLi
- School
- Northeastern University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 292
- Citations
- 2
Abstract
Since the Middleware was used broadly,there are many mature products.But most of them based on the no intrusive technology,which in turn limited the scope of implementation. Nowadays,distributed system has been used in many fields,distributed system is actually executing by agroup of proeesses,which distribute in different nodes in the network and cooperate with each other,these processes accomplish the operations of synehronization, mutex,and data transport,through IPC.In order to communication between each program, Socket is a nice choice.But there isn’t any common solution in the market for this.This passage gives a detail description on the implementation and principle of IPC(Interprocess Communication) which is on behaves of Socket.In addition,it provides a minimal-middleware of platform-independent,language-independent,facility,configurable and no intrusive system.By traditional,IPC includes message transportation(pipeline,FIFO,posix and system V message queue),synchronization(mutex lock,mutex variables,read-write lock,file and record lock),share memory and process invoking.This project based on the Socket technology of message transportation which can achieve the purpose of platform-independent, language-independent and on intrusive system.This paper first introduces the meaning and method of interprocess communication.Next discuss the workflow of each component of IPC platform and give a detail of implementation of this platform.In the implementation process,the method of top-bottom design principle of software project is adopted.Thread Pool,Message Queue and Message Transportation are used to enhance the system’s performance throughout.The paper provides relevant design thinking and some important transactions flow and contrastes the communication middleware with other process communieation mechanisms at present.Though there are already some little defects here,it is a new visual angle to look on the problem.Contrasted With every mechanisms at present,it provides easier develop interfaces and makes some communication details transparent to the developer.
Table of contents
Chinese abstract 5-6
ABSTRACT 6-9
Chapter 1 Introduction 9-13
1.1 Background 9 <br / > development Overview 1.2 Socket technology main contents of 9-11
1.3 herein and the basic structure of 11-13
Chapter 2, the basic theory and development of technology 13-19
2.1 basic theory 13-15
2.1.1 IPC classification 13
2.1.2 soft interrupt communication 13-14
2.1.3 pipeline communications (PIPE) 14
2.1.4 message buffer communication (Message) 14
2.1.5 shared memory communication (Shared Memory) 14-15
2.2 development technologies 15-18
2.2.1 object-oriented technology 15-16
2.2.2 Socket 16 -17
2.2.3 Web architecture 17-18
2.2.4 XML markup language 18
2.3 Summary 18-19 <br / > Chapter 3 IPC platform specific design 19-49
3.1 basic module design principles 19-43
3.1.1 message Format and classification 19 -22
3.1.2 message object 22-23
3.1.3 client listener component 23-26
3.1.4 message queue 26 - 28
3.1.5 message transmission channel 28-36
3.1.6 log management 36-38
3.1.7 error handling 38-43 architecture
3.2 IPC platform 43-44
3.3 workflow 44-45
hierarchy 3.4 IPC platform 45-47 <br / > 3.4.1 interface layer 45-46
3.4.2 transport Layer 46
3.4.3 data storage layer 46-47
3.5 Summary concrete realization 47-49
Chapter 4 IPC system 49-71
4.1 component-based development 49-50
4.2 design of Web-based management system based on the realization architecture 50-59
4.2.1 web architecture 50-53
4.2.2 Web-based architecture to achieve 53-55
4.2.3 registration inquiry process design and implementation 55-59
4.3 application interface 59-66
4.4 pluggable design and Implementation layer 66-69
4.4.1 pluggable layer design model 66-67
4.4.2 pluggable layer to achieve 67-69
4.5 Summary 69-71
Chapter 5 System test 71-75
5.1 test environment 71
5.2 test methods and results 71-75
Chapter 6 summary and Outlook 75-77
References 77-79
Thanks 79
Related dissertations
- Research of RFID-based Commodity Anti-counterfeiting and Traceability System Technology
- Design and Implementation of Sensor Platform for Data Buffering
- Research and Implementation of a Message Distributes Middleware Platform
- Middleware Based on Message Queue Applied in IPTV
- Multi-Process Application Develop Based on Linux Kernel
- Inter-process communication mechanism of Linux and its application in the PC cluster
- Design and Implementation of Integrative Front-bank Business Platform
- The Study of Intelligent Warehouse System Based on the Internet of Things
- Design and Implementation of Multi-channel Data Acquisition System
- Development and Design of Monitoring System of Electrolyte-plasma Processing Machine
- Research on Information Fusion Technology in Internet of Things for Context Awareness in Shmart Home
- Research on Web Information Extraction Middleware for Supply and Demand of Agricultural Products
- Development of Realtime Interface Device for Hit-tena’s Resources
- Research and Application of RFID Middleware Based on Warehouse Management
- Research and Implementation of WiFi File Transfer System Based on Android Platform
- The Design and Implementation of the Securities Industry Large Centralized Trading System
- Research and Design of Middleware about Data Distributing in Campaign System
- Application and Research of Digital Room Service System Based on Cluster Server
- Research and Implementation of Mobile Equipment Middleware of Message Based on Openstack
- Design and Implementation of Food Safety Traceability System for Asia Group