The Design and Implementation of Internet Advertising Management System
- Author
- WeiZhiChun
- Advisor
- ChenKeFei , JiaoJianMin
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 170
- Citations
- 1
Abstract
With the development of web application, online advertising platform has become a new profitable way, which will undertake the web requests from a large quantity of users simultaneously. Building a fast, big concurrent and sustainable expandable web application framework is the key to such application. It is the fundamental condition for the success of the website to apply the existing software sources to the realization of fast application integration.For the sake of the demands of large-scale Internet advertisement management, a distributed, large-capacity and extensible Internet advertisement management system is designed based on Linux operating system platform. Through the management system, the following three main functions, i.e. the releasing, the broadcasting durations trading and the broadcasting statistics of Internet advertisements, can be fulfilled, thus providing an easy, safe and fast advertisement trading platform for the advertisers, advertising clients and the website managers, and making the advertisement audiences quickly browse the content of advertisements without any barrier.The management system is explored by adopting the structure of Browser/Server, using Python language as the basic programming language, applying MVC (Model-View-Controller) software as the frame and integrating such common components of open source codes as memcached, memcacheQ and Twisted. In this way, the requests of distributed users can be processed, guaranteeing the high applicability and extension capacity of the system.The Consistent Hashing is introduced and studied in detail in this thesis. When the number of the distributed caching nodes changes, the storage nodes need to be redistributed for a great deal of caching content, which will result in the problems of decrease in cache rate. With the Consistent Hashing, the problems can be effectively solved. The distributed algorithm and the corresponding protocols aim at memcache service, are not realized in Twisted Web Framework. Therefore, the system in the study accomplishes a non-blocking and asynchronously distributive client end module, which can effectively process the distributive storage of a great deal of aching content in memcache services. In addition, the event callback mechanism and the event delay mechanism of the event-based Twisted web framework are introduced. As for the large-capacity, multi-connection and highly concurrent network application service system, the possible bottom-level network IO structures are analyzed and researched. The number of endurable concurrent users of the WEB application approach based on CGI protocols and that of the WEB application approach based on HTTP server are contrastively tested. Furthermore, the distributed processing approach of the First-In/First-Out essage queue system for large-quantity data is introduced, and by adopting that approach, a broadcasting statistical sub-system of internet advertisements is realized, on which a user can receive the delayed data.In this system, the products and components of open source codes are widely used in operating system, programming languages and application service components, which can reduce the operating cost of the enterprises and obtains plot technology support. As for the products and components of the open source codes, the source codes of the free software can be assessable for anyone. So many functions of the software can be utilized for mutual reference without making efforts to redevelop them and therefore, the quality and pace of software development can be greatly improved.
Table of contents
Abstract 5-7
ABSTRACT 7-11
1 Introduction 11-14
1.1 Background 11-12 <br / > 1.2 advertising management system functions 12
1.3 this chapter arrangements 12-14
2 software architectures and subsystem design 14-20
2.1 software architecture 14-17
2.2 advertising management system software programming languages ??and frameworks 17
2.3 subsystems and modules 17-19
2.3 .1 advertising content management subsystem 17-18
2.3.2 advertising content distribution subsystem 18
2.3.3 advertising content distribution subsystem cache sub-module 18
2.3.4 advertising content playback analysis subsystem and a distributed message queue sub-module 18-19
2.4 Summary 19-20
3 advertisements management subsystem design and implementation 20-33
3.1 MVC model and apply WEB development MVT model (Django) 20-22
3.1.1 View 21
3.1.2 Controller 21-22
3.1.3 Model 22
3.2 advertising content management subsystem design methods 22-32
3.2.1 advertising content management subsystem MVT structure 23-27
3.2.2 advertising content management system applications into 27-32
3.3 chapter Summary 32-33
4 high concurrency advertising content distribution subsystem design and implementation 33-48
4.1 introduces the basic IO model 33-38 <br / > 4.1.1 synchronous blocking I / O 34-35
4.1.2 synchronization nonblocking I / O 35-36
4.1.3 asynchronous blocking I / O 36-37
4.1.4 asynchronous non-blocking I / O (AIO) 37-38
4.2 advertising content distribution subsystem performance solutions 38 <br / > 4.3 advertising content distribution subsystem implementation 38-45
4.3.1 Reactor 39
4.3.2 callback 39
4.3.3 Deferred 39-41
4.3.4 Deferred advertising content distribution subsystem in the specific use 41-42
4.3.5 Protocol and Factory 42-45 < br /> 4.4 Twisted networking framework written in HTTP server application performance testing 45-46
4.5 chapter Summary 46-48
5 advertising content distribution subsystem cache sub-module design and Implementation 48-60
5.1 cache sub-modules in the advertising content distribution subsystem role 48-49
5.2 Memcache Introduction and use of 49
5.3 Memcache distributed service algorithm 49-55
5.4 cache sub- modules of the application interface design and implementation 55-56
5.5 cache subsystem for automated unit testing 56-59
5.6 chapter Summary 59-60
6 ad content delivery message queue design and implementation 60-65
6.1 message Queue 60-61
6.2 ad delivery subsystem message queue 61-62
6.3 message Queue Client API 62
6.4 MemcacheQ message Queuing Service distributed design 62-64
6.5 chapter Summary 64-65
7 Summary and Outlook 65-67
7.1 this article summarizes 65 - 66
7.2 job Outlook 66-67
References 67-69
Thanks 69-70
published during the academic degree program Publication List 70-72
Related dissertations
- Design and Implementation of Heating Meter Reading Information System Basing on GPRS
- The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
- A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
- The Design and Implementation of Multi-sight Traffic Video Joint Interactive System
- Design and Development of C Language Program Design of Excellent Course Website
- Design and Implementation of Multilevel Mapping-based Clinical Pathway System
- Design and Implementation of Practice Teaching Management Platform Based on the MVC Architecture
- Books Management System of Vocational School Based on the J2EE Multi-layer Framework
- Mobile Stock Information Analysis and Browser System Based on Pervasive Computing
- Design and Implementation of Fire Police Dispatch System Based on Java Technology
- Design and Implementation of GIS Distribution Network Management System
- Research and Design of ASP.NET Technique-based Training System for Corporate Staff
- Research on the Agricultural Biological Resources Utilization Information System Based on Webgisc
- Research and Application of Enterprise Information System Based on J2ee Architecture Platform
- Design and Implementation of a Mobile Learning System Based on Android Platform
- The Design and Implementation of the Investment Plan Management System Based on ASP.NET in Huozhou Coal Group
- The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
- Design and Realization of Training Grade Comprehensive Rating System of Nanjing Information Technology Institute
- Design and Implementation of the Campus Network Information Security Management System Based on ThinkSNS
- The Analysis and Design of the Prison Event Investigation System Based on JAVA EE