Design and Implementation of a Cyber-Physical-Oriented Fire Detection System
- Author
- FengChangJian
- Advisor
- LuKuiJun
- School
- Zhejiang University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 2
- Citations
- 0
- Cyber-physical systems
- Dual relations
- fire detection system
- Asynchronous Socket
- Communication message stack
Abstract
With technology improvement and social development, CPS (Cyber-physical systems) plays an important role in industry automatization area. CPS is a modern intelligent system based on3C(Computation, Communication, Control) technology. It coordinates and allocates resources effectively, provides flexible, efficient and intelligent networked information services, and achieves environmental perception in wide-area spacetime in industrial control systems. CPS consists of physical space and cyber space. The integration of physical space and cyber space is essentially to find and establish the relevant dual relations.This paper introduces the idea of CPS, makes the original single, closed and isolated fire detection system become networking, extensible, remote cooperative and terminal convenient without loss of real-time and reliability. The fire detection system establishs the dual relations on the service level, makes four major subsystems of gateway, data server, monitor and management server cooperate with each other, achieves the purpose of managing smoke sensor devices through the wide area network. This paper focuses on the design and implementation of a cyber-physical-oriented fire detection system.Firstly, this paper presents the design of system mode and logic structure of the whole system on the basis of system requirements, and describes the design, packaging and implementation of communication message stack in detail.Secondly, this paper describes the design and key technologies used in the implementation of gateway and RS-485network. It introduces the techniques of programming serial devices, presents the implementation of six modules which are serial management, network management, initialization management, real-time state management, smoke sensor communication and log management.Thirdly, this paper introduces the design of data server and the methods to improve system efficiency by multi-threaded programming and asynchronous Socket programming. It presents the implementation of three modules which are connection management, message scheduling management and log management.Fourthly, this paper introduces the design of monitor and the method to set timer in the system. It presents the implementation of five modules which are authentication, real-time monitoring, device management, connection management and log management.Fively, this paper describes the design of management server, presents the implementation of permission management system and load balancing system, and the design of load balancing algorithm. It also presents the implementation of connection management module and log management module in management server subsystem.
Table of contents
Summary 4-6
Abstract 6-8
directory 8-11
LIST 11-12
Table directory 12-13
Chapter 1 Introduction 13-21
1.1 proposed research background Status 13-16
1.2 research and meaning 16-18
1.2.1 Current Situation 16-17
1.2.2 significance 17-18
1.3 of this paper main content 18-19
1.4 thesis structure 19-20
1.5 Summary 20-21
Chapter 2 overall fire detection system design 21-48
2.1 system model design 21-22
2.2 system architecture design 22-25
2.3 design and implementation of packet stack 25-37
2.3.1 RS-485 network packet design 25-27
2.3.2 packet smoke detection equipment designed 27-30
2.3.3 Universal packet design 30-31
2.3.4 stack packet encapsulation 31-33
2.3.5 packet stack implementation 33 -37
2.4 system to achieve key technical 37-47
2.4.1 Windows platform serial communication 37-40
2.4.2 multithreading technology 40-44
2.4.3 asynchronous Socket technology 44-47
2.5 Summary design 47-48
Chapter 3 gateway subsystem and Implementation 48-57
3.1 gateway subsystem design 48-50
3.1.1 RS-485 network design 48-49
3.1.2 gateway design diagram 49-50
3.2 gateway subsystem to achieve 50-56
3.2.1 serial management module 50-51
3.2.2 network management module 51-53
3.2.3 initialization management module 53-54
3.2.4 real-time status management module 54
3.2.5 sensor communication module 54-55
3.2.6 log management module 55-56
3.3 Summary 56-57
Chapter 4 data Server son the design and implementation of the system 57-65
4.1 data Server subsystem design 57-60
4.1.1 communication Model 57
4.1.2 data Server design diagram 57-60
4.2 data Server subsystem to achieve 60-64
4.2.1 connection management module 60-62
4.2 .2 packet scheduling module 62-64
4.2.3 log management module 64
4.3 Summary 64-65
Chapter 5 monitoring design and implementation of the terminal subsystem 65-86
5.1 monitoring terminal subsystem design 65-67
5.2 monitoring terminal subsystem to achieve 67-85 <br / > 5.2.1 authentication Module 67-68
5.2.2 Real-time monitoring module 68-70
5.2.3 device Management module 70-84
5.2.4 connection management module 84
5.2.5 log management module 84-85
5.3 Summary 85-86
Article design and implementation of Chapter 6 management Server subsystem 86-92
6.1 management server subsystem design 86-87
6.2 management server subsystems to achieve 87 - 91
6.2.1 rights management subsystem 87-88
6.2.2 load balancing subsystem 88-90
6.2.3 connection management module 90
6.2.4 log management module 90-91
6.3 summary 91-92
Chapter 7 summary and Outlook 92-95
7.1 summary 92-93
7.2 job Outlook 93-95
References 95-99
master's degree during the main research 99-100
Thanks 100
Related dissertations
- Research and Design of Intelligent Electronic Bus Stop Based on C/S Architecture
- Energy Management for Cyber-Physical Systems
- Design and Implement of Online Monitoring System Based on GPRS Used in Transformer Substation
- Research and Implementation of C / S structure system of communication and multi-user technology
- Design and Application of FBG Highway Fire Monitoring System
- Aspect-Oriented Timing Model for Real-Time Systems in Cyber Physical Systems
- Wireless Sensor Network Application Platform System Network Layer Design and Implementation
- Round-the-clock Video Fire Detection System
- ZigBee-based wireless fire detection system