Research and Realization of Linux Multiple Process Server Software Technology
- Author
- HeXiaoPing
- Advisor
- ZhangNengLi
- School
- Wuhan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 173
- Citations
- 0
Abstract
With the development of the domestic network applications, more and more enterprises recognize that in addition to want to rely on the network equipment itself and the reliability of the network architecture, network management is a key part. Structures are becoming increasingly complex, and the increasing scale of network systems, network management software to ensure the normal operation of the system, the quality of the network management will directly affect the quality of the operation of the network, managing a network and network construction are equally important. Network performance management systems, combined with the development of an information company in Wuhan to discuss the multi-process server software Linux system some general technology and the system's technical background, product demand, software architecture, and the concrete realization, mainly including the following aspects: 1. the product definition of the network performance management system, the target user group. Analysis of the network topology and the software hierarchy describes the functional requirements of the system in accordance with the level. According to the purpose of network management to introduce a mainstream network management protocol SNMP, NetFlow, sFlow basic principles, the scope of application and their respective advantages and disadvantages, and highlights the different NetFlow data format. Discussed the needs of network performance management system, and focuses on the need to implement a number of functions based on NetFlow collection system, including network metadata acquisition, conversion and storage, and system security needs. Analysis of the difficulty system requirements, multi-process programming techniques LinuX platforms, and various process communication means. In addition, in order to achieve efficient processing and storage of huge amounts of data in the system, specializing in the Berkeley DB embedded database. This paper discusses the use of the system development environment and Extreme Programming development model in the system development process. According to the needs of the system, elaborated the NetFlow collection procedures basic design idea flowd in, that the parent process receives network metadata, multiple child process handling and storage of data, as well as system functionality of the parent and child. The innovation of this paper in the last chapter, detailed instructions on how to take advantage of multi-process server software technology to achieve the functionality of the system. Discusses the first the network metadata collection, the realization of the the system single copy run; system initialization and exit the realization of the clean-up, and show the specific use of shared memory and message queues in the system; highlights how the use of Unix domain socket word heartbeat mechanism between the parent and child. Describes how to use the lock mechanism to achieve multi-process under Berkeley DB, the open close operations.
Table of contents
Abstract 4-5
Abstract 5-10
Chapter 1 Introduction 10-14
1.1 research background 10-12
1.2 topics sources 12
1.3 research objectives and content of 12-14
Chapter 2 Network Performance Management System Product Description 14-19
2.1 NPMS system definition 14-15
2.1.1 NPMS System Product Description 14
2.1.2 Product-oriented user groups 14-15
2.2 NPMS system architecture introduced 15-16
2.2.1 NPMS system software level 15
2.2.2 NPMS system hardware architecture 15-16
2.3 NPMS product functional requirements 16-19
Chapter 3 mainstream network management protocol 19-28
3.1 SNMP SNMP 19-20
3.1.1 SNMP Profile 19-20
3.1.2 SNMP scope and characteristics 20
3.2 NetFlow protocol 20-26
3.2.1 NetFlow origins and definitions 20-21
3.2.2 NetFlow version of evolution 21-22
3.2.3 NetFlow V5 and NetFlow V7 22-24
3.2.4 NetFlow V9 24-25
3.2.5 NetFlow scope and characteristics 25-26
3.3 sFlow Profile 26-28
3.3.1 sFlow defined 26
3.3.2 sFlow features and advantages 26-28
Chapter 4 System Requirements Analysis and key technology research 28-40
4.1 system functional requirements 28-30
4.1.1 network metadata collection 28
4.1.2 metadata format transformation and unification 28-30
4.1.3 xflow information storage and simple statistical 30
4.2 System security requirements 30-31
4.2.1 only a single copy of the system running in the background 30
4.2.2 Signal shielding and heartbeat mechanism 30-31
4.2.3 system initialization and exit cleaning 31
4.3 key technology research 31-40
4.3.1 Linux under the multi-process programming 32-34
4.3.2 IPC research and compare 34-36
4.3.3 Berkeley DB introduction 36-40
Chapter 5 System development environment and overall design 40-44
5.1 system development environment 40-42
5.1.1 System development platform 40
5.1.2 Extreme Programming mode 40-42
5.2 overall system design 42-44
Chapter 6 System Design and Implementation 44-61
6.1 NetFlow reception, conversion and transfer 44-47
6.1.1 IP filter policy 44
6.1.2 NetFlow receive 44-45
6.1.3 NetFlow conversion, transmission and statistical 45-47
6.2 system initialization and exit cleaning 47-51
6.2.1 running on a single copy of the system to achieve 47-49
6.2.2 Initialization of system resources 49-50
6.2.3 system exits the resource cleanup 50-51
6.3 system running in the background 51-52
6.4 domain socket heartbeat mechanism based on the realization 52-57
6.4.1 heartbeat mechanism necessity 52
6.4.2 heartbeat mechanism connotation and IPC mode selection 52-53
6.4.3 heartbeat mechanism concrete realization 53-57
6.5 multi-process operating under the Berkeley DB 57-61
Chapter 7 Conclusions and Prospects 61-63
7.1 Conclusion 61
7.2 Prospects 61-63
References 63-65
acronyms 65-66
Acknowledgements 66-67
papers published during the master's degree 67
Related dissertations
- Research and Realization of Network Performance Management System
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Research and Design of Embedded Building Security System
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Study on Embedded Data Acquisition System Application
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System
- Design of Industrial Ethernet Motion Controller Based on ARM
- Research on Pulsating Vacuum Pressure Steam Sterilization Control System Based on ARM
- The software design of intelligent control Home Furnishing gateway based on ARM11
- The System Design and Implementation of Smart Home Control Terminal Based on Linux
- Movement Gait Control Research of Six Feet Bionic Robot
- Research on Embedded Control System for Palletizing Robot
- Control system design of robot based on ARM