Design and Implementation of a Message Queue Based Distributed Image Processing System

Author
ShenYan
Advisor
BoJiaJun , GuoQing
School
Zhejiang University
Major
Applied Computer Technology
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2013
Downloads
6
Citations
0

Request the full text

Abstract

With the big data era, distributed systems show a new promising future, and as the number of images grows fast on the internet, new demands arise both in engineering and research areas. Nowadays, Hadoop has grown to be a successful project, and distributed image processing solutions based on Hadoop emerge from some labs. Since image processing is a computation intensive application, it brings some new challenges. Hadoop based solutions have some deficiencies in this application, so we designed an improved system. Since traditional distributed image processing systems based upon Remote Procedure Call and NFS, they have inherent defects in communication and storage, we will not do comparison with them.We’v designed a message queue based distributed image processing system. With elaborately designed message queues for communication between each component, we implemented a simplified and low coupling computation framework. In processing of a large number of images, our framework reduces the processing and transferring overhead of the intermediate results between map and reduce tasks in hadoop based solutions, also reduces the coupling between each component of our system, which benefits scalibity of our system.We also implemented a task dispatching mechanism for distributed image processing, in which we dispatch tasks for a working server based on the completeness of former tasks. With FastDFS for image storage, we can break down the batch task into single image, which makes it easy for task dispatching and recovery.Our system is implemented with C/C++, and provids interface for native language implemented image processing libraries, like OpenCV and ImageMagick. It’s more convenient for user to program, and more efficient to process images.At last, we did some experiements comparing with a Hadoop based system, and the result shows that our system is more efficient in processing of a large number of images.

Table of contents

Summary 3-4 Abstract 4-11 Chapter 1 Introduction 11-14 1.1 Background 11 <br / > 1.2 Research meaning and purpose 11-12 1.3 thesis organization 12-13 1.4 Summary 13-14 Chapter 2 related technologies Summary ; 14-29 <br 2.1 Summary nbsp distributed architecture system /> 14-17 2.1.1 centralized architecture 15 2.1.2 decentralized architecture 15-16 2.1.3 hybrid architecture 16-17 2.2 distributed file system technology overview 17-19 <br / > 2.2.1 NFS 17 2.2.2 GFS and HDFS 17-18 2.2.3 FastDFS 18-19 2.3 message Queuing technology Summary 19-24 evolution 2.3.1 message Queuing technology 19-20 2.3.2 AMQP protocol review 20-23 2.3. 3 RabbitMQ review 23-24 2.4 lightweight data interchange format message : JSON About 24-25 2.5 nbsp Hadoop -based implementation and analysis of distributed image processing system ; implementation analysis 25-28 2.5.1 HIPI of 25-26 lack 2.5.2 HIPI achieve and improvement program 26-28 2.6 Summary 28-29 Chapter 3 overall system architecture design 29-39 3.1 problem definition 29-30 3.2 physical architecture Design 30-31 3.3 -based service architecture design 31-35 3.3.1 system Storage service design 32-33 3.3.2 system Messages queue service Design 33-35 3.4 application layer design 35-38 3.5 Summary 38-39 Chapter 4 based on message queue lightweight low computational framework coupled 39-46 4.1 computing framework based message queue 39-42 4.1.1 lightweight tasking mechanism 40-41 4.1.2 task of adding low coupling and exit mechanisms join online and exit mechanisms work 41 4.1.3 server 41-42 4.2 client computing framework designed 42-43 4.3 server computing framework design 43-45 4.3.1 daemon designed 44 <br / > 4.3.2 work Service program design 44-45 4.4 Summary 45-46 Chapter 5, adaptive task allocation mechanism based message queue 46-54 5.1 grained batch task decomposition 46-48 5.2 adaptive task allocation scheme 48-49 5.3 restore and re- allocation of tasks mechanism 49-50 5.4 server tasks to get work and deal with 50-52 5.4.1 supports multithreading implementations 50-51 5.4.2 multithreading tasking 51-52 5.5 pre-assigned tasks and RAMFS caching mechanism 52 5.6 Summary 52-54 first 6 System design major news 54-61 6.1 message format 54 6.2 message classification and its contents 54-60 6.2. 1 Task startup message 55-56 6.2.2 Tasklet related news 56-58 6.2.3 Worker processes related news 58-60 6.3 Summary 60-61 Chapter 7 deployment and performance evaluation 61-68 7.1 deployment environment and configuration 61-62 7.2 experimental use cases 62-64 7.3 performance Evaluation 64-67 7.3.1 experiment one : basic communication system performance test 64 7.3. 2 experiment II : IO intensive applications testing 64-66 7.3.3 experiment III : compute-intensive applications testing 66-67 7.4 Summary 67 -68 Chapter 8 summary and Outlook 68-70 8.1 summarizes 68 8.2 Prospects 68-70 references 70-73 master's degree during the main research 73-74 Thanks 74

Related dissertations

  1. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  2. Remote Monitoring System Using in Smart Home
  3. The Research on Fire-fighting Based on Image Processing in Large Space
    XuTieBing ·East China Jiaotong University ·2013 ·Master's thesis
  4. A Gearman/MongoDB Based Transaction Monitoring and Reporting System Research and Implementation
  5. Design and Implementation of MPC System with Remote Model Error Detection
    ChenLiangLiang ·Xiamen University ·2014 ·Master's thesis
  6. Study on Clock Network Structure and Synchronization in Distributed Test System
  7. Surface Defect Detection Based on Laser Scanning Technology for Continuous Casting Slab
    Yang ·Zhejiang University of Technology ·2012 ·Master's thesis
  8. Design and Research on Micro-displacement Measurement System for PZT Actuated HGA
    LiuChaoQing ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. Measurement of Human Breath Based on Ordinary Camera
    DingHe ·Tianjin University ·2012 ·Master's thesis
  10. The Construction Research of Surface Defects Inspecting System for Small Pipes
    HanWenQiang ·Tianjin University ·2012 ·Master's thesis
  11. High-precision Surface Defect Detection Based on Laser Triangulation Method
  12. The Flame Temperature Detection of Stirling Engine Combustor Based RAW Format Data
  13. Research on the System of High Temperature Field Measurement of Melt Surface Based on CCD Image Sensor
  14. Design and Implementation of Information Acquisition System for Industry Field
    WangChongXiang ·Dalian University of Technology ·2013 ·Master's thesis
  15. Design of Data Processing of2D Shape Detection Based on FPGA
  16. Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
    SuKaiZuo ·Zhejiang University ·2014 ·Master's thesis
  17. Design of distributed control system based on embedded platform
    JieZhouKai ·Xi'an Optics and Fine Mechanics ·2010 ·Master's thesis
  18. Coordinated Control of Distributed Multi-agent Systems and Applications
    HouJian ·Zhejiang University ·2013 ·Doctoral dissertation
  19. Research on On-Line Detection Technology for Industrial Robot Based on Binocular Vision
  20. Technology of the AGV Visual Navigation and Path Planning
    ZhangZhiDong ·Chang'an University ·2013 ·Master's thesis