Research and Implementation based on event-driven UNIX concurrency control algorithm

Author
YangHongKe
Advisor
ZuoGuoYong
School
Shaanxi Normal University
Major
Computer Software and Theory
Classification
TP316.81
Degree
Master's thesis
Year
2010
Downloads
32
Citations
0

Request the full text

Abstract

With the rapid development of hardware technology and escalating , concurrent and real-time critical factors to measure the efficiency of the communication system , concurrency refers to multiple execution units at the same time , parallel execution ; real-time is very short response time , thread technology is one of the most important features of a modern operating system , the most powerful tool for the programmers to develop high-performance concurrent program to meet the needs of users ; Therefore , multi-threaded concurrency control algorithm has become an important issue for everyone . A UNIX operating system to support multi-user , multi-tasking , pay attention to the real-time , concurrency , stable operating system functions , it is a generic interactive time-sharing operating system is the hardware platform to run one of the most widely used operating system , the UNIX operating system is often used as the server of the communication system to be developed using . In addition , the UNIX operating system provides a C language library to implement a series of complex functional operation , so the UNIX operating system has become the first choice for the majority of users the system design . Currently , the communication system used by the server is basically the UNIX family of operating systems , which requires the algorithm used by the server processing tasks must be UNIX-based algorithms . Basic algorithms for concurrency control algorithm design as a communication system , the UNIX concurrency control algorithm research has become a research focus of the algorithm . In order to improve the efficiency and stability of the operation of the communication system , the article describes the concurrency control algorithm research background to understand the current concurrency control algorithm technology , the use of multi-threaded , multi- queue thread pool technology UNIX -based event-driven concurrency the control algorithm , it is an asynchronous multi-threaded concurrency control algorithm , allows multiple users to communicate and exchange real-time with the device , and then through the C language implementation to ensure the system 's real-time , concurrency and stability . The experiments show that , based on event-driven concurrency control algorithm can improve the real-time nature of the system , concurrency and stability , improve the efficiency of the system has great feasibility in communication design .

Table of contents

Abstract 3-4 Abstract 4-7 Chapter 1 Introduction 7-11 1.1 Introduction 7 1.2 concurrency control algorithm Research 7-9 1.3 topics significance 9 1.4 content and structure of the paper arrangements 9-10 1.5 This chapter Summary 10-11 Chapter 2 concurrency control algorithm based 11-23 2.1 multi-threading technology 11-15 2.1.1 concept 11-12 the characteristics 2.1.2 multithreading 12-13 2.1.3 Inter-thread communication 13-14 2.1.4 thread pool 14-15 2.2 process concurrent 15-18 2.2.1 process the order 15 2.2.2 process concurrency 15-16 2.2.3 critical area with PV operating 16-17 2.2.4 deadlock prevention 17-18 2.3 queue 18-19 2.4 UNIX operating system 19-21 2.4.1 UNIX introduction 19-20 the characteristics 2.4.2 UNIX 20-21 2.5 This chapter Summary 21-23 Chapter 3 UNIX-based event-driven concurrency control algorithm 23-35 3.1 Introduction 23 the algorithm 3.2 Project Background 23-24 3.3 algorithm description 24-25 The key point 3.4 algorithm 25-34 3.4.1 asynchronous multithreaded concurrent structure 25-26 3.4.2 thread function 26-28 3.4.3 achieve concurrency control 28-30 3.4.4 Timer function 30-31 3.4.5 SOCKET devices connected 31-32 a 3.4.6 state-based communication 32-33 3.4.7 FTP upload and download commands 33-34 3.5 This chapter Summary 34-35 Chapter 4 of the realization of the algorithm in the UNIX system 35-45 4.1 development platform and development environment 35-36 4.2 process design and implementation 36-44 4.2.1 process of structural design 36-37 4.2.2 specific process to achieve 37-42 4.2.3 process to achieve other key points 42-44 4.3 This chapter Summary 44-45 Chapter 5 algorithm performance test 45-49 5.1 test environment 45 5.1.1 hardware environment 45 5.1.2 software environment 45 5.2 test data 45-46 5.3 test results 46-47 5.4 This chapter Summary 47-49 Chapter 6 Summary and Outlook 49-51 6.1 paper summarizes 49 6.2 Looking 49-50 6.3 This chapter Summary 50-51 the References 51-55 Acknowledgements 55-57 studying for a master's degree during research 57

Related dissertations

  1. Design and Realize the Model of Transaction Scheduling in Real-time Database System
  2. Research & Development of Comprehensive Front-banking System
    WangJing ·Central South University ·2003 ·Master's thesis
  3. Study of Related Issues of Network Accounting Information System Establishment
    YangYan ·Ocean University of China ·2012 ·Master's thesis
  4. Research and Implementation of the Evaluation Technology of Energy Consumption in Wireless Sensor Networks under the Complex Environments
    XuJie ·Harbin Institute of Technology ·2012 ·Master's thesis
  5. The Design and Implementation of Engineering Project Management System
  6. Design and Implementation of Dongying Tobacco Companies Instant Communication System
  7. The Design and Realization of the Networking Packets Simulation Software
    ZouNing ·Zhejiang University of Technology ·2013 ·Master's thesis
  8. Research and Implementation of Node Energy Modeling in Wsn Based on Queueing Petri Nets
    XieHePing ·Harbin Institute of Technology ·2013 ·Master's thesis
  9. Computational Analysis on Casing Stability and Thread Connection Strength and Its Experimental Research
  10. A Study on Erp Financial Management System Based on Agile Financial Chain
    WangYiLing ·Chengdu University of Technology ·2012 ·Master's thesis
  11. The Development Analyais of Guangxi Normal University Press
    LuJunLin ·Guangxi University for Nationalities ·2012 ·Master's thesis
  12. Event-Driven Based Hierarchical and Adaptive Network Management System
  13. Research on the Techniques for Componentized Control Functions of Reconfigurable Network
    WangWei ·Zhejiang University ·2013 ·Master's thesis
  14. Application Research on Event Driven and Protocol Driven of Given Field Oriented of Topic Crawler
  15. Modular design and optimization of front banking system
    ZhuXinRong ·Fudan University ·2011 ·Master's thesis
  16. Based on QP-nano Automobile ABS Simulation Software System Design and Realization
    SunZhiPeng ·Jilin University ·2012 ·Master's thesis
  17. Design and Implementation of an Epoll-Based Information Push System
  18. Design and Implementation of a Instant Message System for LAN
  19. Testing for Selecting Atm Equipments Based on Event-Driven
  20. The Design and Implementation of Telecom Billing System Based on Unix
    LiuXiaoLin ·Shandong University ·2012 ·Master's thesis