The Design and Implementation of a Delivery and Scheduling System for Video Files

Author
ZhangZhiChao
Advisor
XueJian , LuDeJian
School
University of Chinese Academy of Sciences,College of Engineering&Information Technology
Major
Computer technology
Classification
TP393.092 Web browser
Degree
Master's thesis
Year
2013
Downloads
2
Citations
0

Request the full text

Abstract

The main functions of video delivery and scheduling system are delivering the video files to servers according to certain rules, and scheduling videos on demand (VOD) from users to the server which can provide the best service. The delivery and scheduling system is the core part of a video website. It directly influences the service quality of video on demand for users on the video website. It functions as the foundat-ion of the video website. A video website has several requirements for the delivery and scheduling system of video files:high quality, easy to be deployed, easy to be ex-tended and high tolerance of disasters. High quality refers to accomodate huge amou-nt of user requests of VOD simultaneously. Easy to be deployed refers to that the ope-ration should be easy to deploy the system on thousands of servers. Easy to be exten-ded refers to that when the increase of video files exceed the capacity of the system, it is easy to extend the capacity through deploying new servers. High tolerance of disas-ters refers to that the failure of several servers should be jeopardize the normal operat-ion of the whole system.The main part of the thesis is to design and implement the delivery and scheduli-ng system for video files. The system mainly consists of three subsystems:cache sub-system, delivery subsystem and scheduling subsystem.The cache subsystem is constructed using open source software such as redis, ucarp, and mongodb, which satisfy the requirement such as high quality, huge capac-ity and high tolerance of disasters. This cache subsystem mainly stores the meta data, such as bit rates of video files, file locations, which are used by the other two subsys-tems.The main function of the delivery subsystem is to deliver video files to certain servers. It consists of the deliver global control program and the deliver client progr-am. The deliver global control program calculate the deliver tasks and deliver client program obtains deliver tasks and execute them.The main function of the scheduling subsystem is to schedule the request of VO-D from users to proper servers. It uses the open source software LVS and adopts kee- palived to achieve load balance. The scheduling algorithm adopts the nearby server principle scheduling algorithm based on users’ district and the service providers’ distr-ict.The delivery and scheduling system for video files has been successfully imple-mented and deployed on a video website. The one-cache rate achieves94%, which shows excellent performance.

Table of contents

Abstract 5-6 Abstract 6-8 catalog 8-10 first chapter 10-22 <br / > 1.1 content distribution network and the historical background of the rise of technology 10-12 1.2 CDN work process and principle 12-15 1.3 bearer type of CDN -based classification 15-16 1.4 streaming media CDN status quo 16-18 1.5 video site with CDN research content and organizational structure of 18-19 1.6 article 19-22 Chapter II distribution and scheduling system key technology research 22-30 2.1 caching technology 22-23 2.2 distributed document database mongodb 23-25 ?? 2.3 virtual IP sharing technology 25 2.4 consistent hashing algorithm 25-26 2.5 load balancing and server state detection technology 26-28 2.6 epoll mechanism 28-29 2.7 and scheduling distribution system related subsystems and concepts introduced 29 2.8 Summary 29-30 Chapter III distribution and scheduling system design basic needs 30-38 3.1 system 30-31 3.2 overall system design 31-32 3.3 cache subsystem design 32-34 3.4 distribution subsystem design 34-35 3.5 scheduler subsystem design 35-37 3.6 Summary achieve 37-38 Chapter IV distribution and scheduling system 38-56 4.1 cache subsystem to achieve 38-46 4.1.1 cache subsystem deployment agency services 38-41 4.1.2 cache subsystem 41-42 4.1.3 interface definition 42-44 4.1.4 storage format 44-45 4.1.5 operating procedures 45-46 4.2 distribution subsystem to achieve 46-51 4.2.1 distribution Master Control program 46-50 4.2.2 distribution client program 50-51 4.3 scheduling sub- system implementation introduce 51-55 4.3.1 scheduling algorithm 51-52 4.3.2 demand flow 52-53 4.3. 3 IP access restrictions module 53 4.3.4 scheduling result generation module 53-54 4.3.5 log generation module 54-55 4.4 Summary 55-56 Chapter V system deployment and application 56-62 5.1 system deployment 56-58 5.2 system applications 58-60 5.3 Summary 60-62 Chapter VI Conclusion and Outlook 62-64 6.1 Conclusion 62-63 <br / > 6.2 Looking 63-64 Appendix a 64-72 A.1 cache subsystem proxy service interface 64-65 A. 1.1 video bitrate delete interface 64 A.1.2 video bitrate query interface 64 A.1.3 video file location information into the interface 64 A.1.4 video file location information deleted interface 64-65 A.1.5 video file location information query interface between 65 A.2 distribute and distribution of client total control interface 65-69 A.2.1 distribute client tasks request interface 65-67 A.2.2 task request response interface 67-69 during 76-78 resume, in school ; A.3 distributed between the client interface 69-72 references 72-76 Thanks nbsp published papers and research 78

Related dissertations

  1. Designment and Implementation of Asymmetric Message Switching Mechanism in Network Management System’s Modules of High Performance Router
  2. Constraint satisfaction problem for a class of weight learning algorithm
    ZhangQianLi ·Fuzhou University ·2002 ·Master's thesis
  3. The Application of EVM in R&D
  4. Design and Implementation of High Speed Data Recorder Based on FPGA
  5. Desisn of Switch Based on Shared Structure
    ZuoFeiHu ·WRI ·2012 ·Master's thesis
  6. Research on the Technologies of Internet Traffic Localiztion
    YuJiang ·Jilin University ·2013 ·Master's thesis
  7. An Efficient Hardware Architecture Design of Texture Mapping Unit
    ZhaoGuoYu ·Tianjin University ·2012 ·Master's thesis
  8. Research on Mechanism of Thread ofμ-Kernel Operating System VTOS
    LuLiang ·Nanjing University ·2011 ·Master's thesis
  9. Research on Key Technologies for the Client of Distributed File System
  10. Design and Implementation of Online Examination System of Shanghai Television Video University
    LiZuo ·Dalian University of Technology ·2013 ·Master's thesis
  11. Research on Digital Rights Management Based on Risk
    CuiNingNing ·Beijing Jiaotong University ·2014 ·Master's thesis
  12. Research of Protocol Adaption and Cache Management of Cloud Storage Gateway
  13. Evaluate the Performance of Storage System by Mathematical Modeling Methods
    DiaoYing ·Harbin Engineering University ·2013 ·Doctoral dissertation
  14. Research and Design of Storage Organization and Index on Main Memory Database
    LiuZheYi ·Hunan University ·2013 ·Master's thesis
  15. Research and Implementation of Memory Optimization Based on Parallel Computing Engine Spark
    FengLin ·Tsinghua University ·2013 ·Master's thesis
  16. Energy-Efficient Management for Memory System Based on Access Patterns of Applications
    ZhangTieFei ·Zhejiang University ·2013 ·Doctoral dissertation
  17. Software Optimization Techniques for Small Instruction Caches
    ChenChen ·Zhejiang University ·2014 ·Master's thesis
  18. Key Techniques Research of Memory in Homogeneous General Purpose Stream Processor
  19. The Simulation and Implementation of Processor Register Level for OpenRISC
    TangJianQiu ·Hunan University ·2013 ·Master's thesis
  20. Research on Power Optimization of Cache Architecture Design
    XiangXiaoYan ·Zhejiang University ·2013 ·Doctoral dissertation