Design and Implementation of the Communication Midware for the Distributed System

Author
LinNa
Advisor
XuGaoChao
School
Jilin University
Major
Computer System Architecture
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2005
Downloads
262
Citations
0

Request the full text

Abstract

In this paper, the mechanism for inter-process communication in-depth research and analysis of traditional UNIX system environment interprocess communication mechanism and process communication mechanism in the existing distributed environment . And on this basis, interprocess communication mechanism in a distributed environment . This paper, and implementation of distributed interprocess communication mechanism - semaphores mechanism with the message queue mechanism , enables traditional UNIX user need not familiar with the the communication mechanism under the existing distributed environment , and also do not have to use a more complicated socket , you can achieve the distributed environment , the program design . New distributed interprocess communication mechanism - semaphore mechanism and message queue mechanism is achieved through a daemon . On each node in a distributed environment , there is a daemon , the daemon is responsible for the communication between the different nodes , the nodes within the process into process communication with other nodes on the same node within interprocess communication interface achieve. Semaphores and message queues , interprocess communication of design ideas and concrete realization is given in this paper , and is compared with the traditional way , come in the basic reduced performance , and provide a better user interface and the higher location transparency and access transparency .

Table of contents

The first chapter 7-14 1.1 Problem Formulation 7-8 1.2 traditional UNIX interprocess communication mechanism 8-9 1.2. a basic concept of inter-process communication 8 1.2.2 on the same node interprocess communication method 8-9 1.2.3 on different nodes interprocess communication method 9 1.3 existing distributed process communication mechanism 9-10 1.3.1 PVM (Parallel Virtual Machine, Parallel Virtual Machine) 9-10 1.3.2 MPI (Message-Passing Interface, message passing interface) 10 1.4 Why design a new distributed process communication mechanism? 10-12 1.4 .1 traditional distributed interprocess communication --- socket (Socket) 10-11 1.4.2 Design of new distributed interprocess communication mechanism causes 11 - 12 1.5 This work 12 1.6 The paper is structured 12-14 Chapter distributed interprocess communication mechanism design ideas 14 -22 2.1 goals 14 2.2 design basis 14-18 2.2.1 keyword value table (Key list) 15 2.2.2 Daemon (daemons, daemon) 15-18 2.3 Creating a distributed interprocess communication 18 2.4 Reading (receiving) data 18-19 2.5 write (send) data 19-20 2.6 distributed interprocess communication control 20-22 Chapter distributed semaphore Design and Implementation 22-36 3.1 Overview 22-25 3.1.1 Introduction 22-23 3.1.2 semaphore set and the signal volume element of the data structure 23 3.1.3 semaphore operations 23-24 3.1.4 Distributed semaphore key value table 24 - 25 3.2 Creating a distributed semaphore 25-27 3.3 Distributed semaphore operations 27-29 3.4 Distributed semaphore control 29-31 3.5 hardware and software platforms 31 3.6 to achieve the main function of the distributed semaphore and functions 31-35 3.6.1 init_keylist () function 31-32 3.6.2 init_daemon () function 32 3.6.3 find_key () function 32-33 3.6.4 semget_d () function 33 3.6.5 semop_d () function 33-34 3.6.6 semctl_d () function 34-35 3.7 Functions Implementation Notes 35-36 Chapter distributed message queue design and implementation 36-48 4.1 Overview 36-37 4.1. 1 Why is achieved using message queues for example? 36 4.1.2 Distributed message queue key value table 36-37 4.2 Create (open) distributed message queue 37-39 4.3 Distributed message queue operations 39-43 4.3.1 unread messages 39-41 4.3.2 Write message 41-43 4.4 Distributed message queue control 43-45 4.5 implementation of distributed message queue of the main function and its function 45-48 4.5.1 msgget_d () function 45 4.5.2 msgsnd_d () function 45-46 4.5.3 msgrcv_d () function 46 4.5.4 msgctl_d () function 46-48 Chapter SOCKET communication with comparative 48-51 5.1 Comparison principle 48 5.2 Compare contents 48-49 5.3 compare the results 49-50 5.4 Conclusion 50-51 Chapter Summary 51-52 References 52-54 Summary 54-56 ABSTRACT 56-59 Thanks 59-60 instructor and author 60-61

Related dissertations

  1. Distributed Implementation of Inter-Process Communication
    LiYong ·Jilin University ·2004 ·Master's thesis
  2. Distributed computing environment , inter-process communication strategy
    LiYan ·Tianjin Polytechnic University ·2007 ·Master's thesis
  3. Design and Implementation of the Distributed Computer Automated Measurement and Control System for Pressure Cycle Test-bed of Oil Cooler
    MiLing ·Zhejiang University ·2005 ·Master's thesis
  4. Research and Implemention of Distributed Real-Time InterProcess Communication in RTLinux
  5. Improving the Performance of Distributed Real Time Operating System by IPv6 Multicast
    LiTieCheng ·Jilin University ·2008 ·Master's thesis
  6. Formation Control of Mobile Robots and Its Application in the Odor Source Tracking
    WeiJianLong ·Tianjin University ·2012 ·Master's thesis
  7. Research on Distributed Data Mining System Based on Dynamic Agent Technology
    ZhouKai ·Hebei University of Engineering ·2013 ·Master's thesis
  8. Design and Implementation of Rehabilitation Detection and Training System
  9. Design and Implementation of Office Automation System Based on B/S
  10. Research on Message Log Recovery Algorithm Based on Message Reordering and Message Number Check
    WangXiaoQiang ·Shandong University ·2013 ·Master's thesis
  11. The Research and Implementation of IPTV Distributed System Based on HLS
  12. Research and Implementation of DCS System Based on Wireless Communication
  13. Research and Implementation of High Reliability and Real-time Perfomance for High-speed Train's Wireless Data Transmission
    WuDaQuan ·Beijing Jiaotong University ·2014 ·Master's thesis
  14. Design and Implementation of Intelligent Distributed System for Monitoring and Analysis of Vibration
    ChengShuai ·Jilin University ·2013 ·Master's thesis
  15. Design and Implementation of On-line Yarn Defects Detecting System
  16. Research and Application of Device Driver Development Kit in Substation Monitoring System
    WangShui ·Shandong University ·2013 ·Master's thesis
  17. Design and Implementation of the Remote Machine-room Monitoring System Based on Web Service
    LiuYan ·Ocean University of China ·2012 ·Master's thesis
  18. The Research and Application of Data Acquisition Interface Technology in SCADA System
  19. Research on Addressing Resolution and Protocol Technology of the Distributed Application System
  20. Research and Implementation of Merchandise Security Based on QR Code