Research and development of high-performance remote control system
- Author
- LiuJia
- Advisor
- LuXianLiang
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 238
- Citations
- 0
Abstract
The project, "High-performance Remote Control System (RCS)", is supported by Electronic Development fund of Information Industry Ministry. As the rapid development of Internet and software industry, the research and development of remote control system is motivated by various requirements, such as, the complexity of the operation and maintainance of software, the need of remote desktop monitoring in specific areas, etc. However, the foreign software are the on the dominating position in the remote control field. It is not only theoretically significant but socially meaningful to research and develope the remote control software of our own country.The project is completed by a group, and this dissertation will put emphasis on my contribution to the project. It includes two components: the minor efficient template engine and the high-performance communication server. In the first component, the necessity is presented at the beginning, then the compiling principle and compiler design process are researched, after that, automatic tools for compiler design are introduced; besides, the key technologies in the designs, such as scanner, parser, interpreter, CACHE mechanism and error-correction mechanism are presented in detail. In the second component, the several traditional I/O mechanisms are researched firstly, and the problem is revealed that if applying the traditional network I/O model with the high concurrence network connections, the server may crash however the network brandwith may not fully be utilized, figuring out the model which employs single process event driven plus EPOLL will meet the requirement of implementing the high performance communication server best. Furthermore, the communication protocol and system security mechanism are presented, the design and implementation of SPED communication server are described, and some modules of the server are analysed as well. Besides, key technologies, such as, two forwarding modes of partial packet and entire packet forwarding, and the dynamic water level of sending buffer, are presented.At the end, the two components are tested both in function and performance. The test results are analysed and they prove the high performance of the software.
Table of contents
Chapter Introduction 9-12
1.1 subject background and significance 9-10
1.2 project objectives 10-11
1.3 chapters arranged nbsp 11-12
second overall system architecture; 12-19
2.1 composition and function the the 12-18
2.1.1 system consisting 12-13
2.1.2 Description 13-18
2.1.2.1 Broker Description 13-17
the 2.1.2.2 Commsvr function described 17
2.1.2.3 client functionality described 17-18
the 2.2 main job is 18-19
Chapter template engine design the 19-48 3.1 template engine in the BROKER
19-23
the 3.1.1 Broker's main design patterns 19-21
3.1.1.1 the ACE Reactor model 19-20
3.1.1.2 design patterns borrowed from Click 20-21
the 3.1.2 template engine application examples 21-23
3.2 compiler theory 23-29
the 3.2.1 compiler structural 23-27
3.2.2 compiler structure 27-29
3.3 FLEX and BISON 29-32
3.3.1 FLEX 29-31
3.3.1.1 regex LEX convention 29-30
3.3.1.2 LEX input file format 30-31
3.3.2 BISON 31-32
3.4 PERL TEMPLATE TOOLKIT 32-34 < br /> 3.5 key technical analysis 34-48
3.5.1 lexer design of 35-41
3.5.1.1 BM algorithm 35-37
3.5.1.2 lexical design process the 37-38
3.5.1.3 key technical points 38-41
3.5.2 grammar is. designed 41 - 44
3.5.2.1 design process 41-43
3.5.2.2 output 43-44
the 3.5.3 interpreter Design 44 - 47
3.5.3.1 design process the 45-46 output
3.5.3.2 46-47
3.5.4 CACHE mechanisms 47 <br / > 3.5.5 error correction mechanism 47-48
Chapter COMMSVR Design and Implementation 48-79
4.1 Server Advanced Technology Research 48-58 < br /> 4.1.1 Multi-process server 48-49
4.1.1.1 a request / process the pre 48-49
4.1.1.2 create a process 49
4.1.2 Multi-thread server 49-50
4.1.2.1 request / thread the 4.1.2.2 thread pool
49-50 50
4.1.3 SPED server 50-54
4.1.3.1 traditional event dispatching mechanism 52-53
4.1.3.2 Real-time signal 53
4.1.3.3 EPOLL 53-54
4.1.4 design choice 54-55
4.1.5 problems that need attention 55-58 < br /> 4.2 RCS security mechanisms the 4.2.1 password login protection
58-62 59-60
4.2.2 authentication 60-61
4.2.3 Data Encryption 61-62
4.3 COMMSVR of, module division 62-63
4.4 communication protocol 63-66
4.4. 1 BCP 63-65
4.4.2 CCP 65-66
4.5 key technologies and optimization 66-70
4.5.1 efficient Network I / O strategy 66
4.5.2 design and analysis of the forward mode 66-67
4.5.3 on the design and analysis of the transmit mode 67-68
4.5.4 Nagle algorithm and ACK Delay of real-time systems analysis the 68-70
4.6 core data structure definitions 70-71
4.6.1 connection Control Block NCB the (coNnection Control Block) the 70-71 4.6.2 session (Session)
71
4.7 core module design and implementation of 71-79
4.7.1 event-driven module the 4.7.2 Broker
71-73 communication modules the 73-75 4.7.3 session communication module
75-76 < br /> 4.7.4 timing processing module the 4.7.5 log management module 76-78
78-79
Chapter test results 79 - 86
5.1 testing purposes and environmental 79
5.2 template engine testing and results analysis the 79-82 5.2.1 Functional Test
79-80
5.2.2 Performance test the template engine optimization 80-82
5.2.2.1 performance comparison 80-81
5.2.2.2 template engine with the performance of similar products 81-82
5.3 COMMSVR of, testing and results analysis 82-86
5.3.1 Functional Test 82-83
5.3.2 Performance Test 83-86
5.3.2.1 server forwards delay test 83
5.3.2.2 Burst mode server load test 83-84
5.3 .2.3 hot and cold connection load test 84-86
Chapter 6 Conclusions 86-88
Acknowledgements 88-89
Reference nbsp research during the study period; 89-91
91
Related dissertations
- Research on the RIA-based Techniques for Remotely Monitoring and Controlling Experiments
- Research and implementation of Word document service based on OOXML
- The Design of Virtual Instrument Program Development Tools Based on Flex
- Network Based Remote Digital Circuit Experiment under Virtual and Real Combination Framework
- Design and Implementation of ASP.NET Content of the Three-tier Management System
- The architecture of B/S auto repair technical support system design and Implementation Based on
- Design and implementation of performance assessment system of government based on SOA
- System Analysis and Design on Internet Repair Calling Management of Chongqing Wenli College
- Design and Implementation of Sichuan Conservatory of Music Performing Arts Project Resource Management Information System
- Design and Implementation of Online Examination System Based on Flex and J2EE
- Research and Develop Exquisits Courses Management Platform for Jiujiang Vocational University
- Community Comprehensive Business Information Management Platform for Research and Development
- Design and Implementation of an Assets Management System for a XinJiang Company
- Design and Implementation of Taxation Analysis System Based on Flex and Java
- Development of Virtual Training Platform of B/S-based"Computer Assembly and Maintenalice"
- The Design and Implementation of Data Center Management Platform Based on FLEX Technology
- Design and Implementation of Video Surveillance System Based on Flex
- Catering Industry Fumes Real-time Monitoring Platform Based on Internet of Things Technology
- Design and implementation of city underground integrated pipelines Rest and RIA information system based on
- Fujian Statistical Information Website Design Based on Web GIS