Remote monitoring system based on SMS Gateway Design and Implementation
- Author
- SunQiuWei
- Advisor
- YuZhen
- School
- Xiamen University
- Major
- Detection Technology and Automation
- Classification
- TP277 Monitoring, alarm,fault diagnosis system
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 136
- Citations
- 3
Abstract
Short Message Service SMS-based design and development of wireless remote monitoring system in the monitoring field is used widely. Such monitoring system makes full use of the advantages of the GSM network, with a short development cycle, development and low cost, and because monitoring alarm information can be directly monitored by the monitoring officer sends to the handheld device, so that the alarm can be performed quickly and accurately. In this paper, the monitoring system based on SMS gateway system development and design to do a detailed exposition. SMS gateway program monitoring system based on the development at the heart of the position, and its main function is to achieve SM-TP protocol defines a variety of short message PDU generation and analysis, to ensure reliable delivery of short messages and message content correctness and timeliness resistance, and to receive and transmit system upper provides short message interface. System Gateway program design quality is directly related to the monitoring system stability, reliability and robustness. In this paper, the short message sending process SMS-end process flow details, in-depth analysis of the SMS in the SM-TL layer followed protocol and provides the interface to the gateway from a software point of view gives the realization of various functions, effectively improved the development of SMS-based monitoring system stability, reliability and robustness. As part of the system gateway function is dependent on reasonably short message content customized format, this SMS-based features and existing constraints, analysis of the short message user information protocol developed key points are discussed in this communication protocol of the design . In theoretical innovation, this paper combined with SM-TL layer defines the message reference and status reporting solution that allows sending SMS message is sent to the state of the short track, short message retransmission mechanism for the realization of great significance; This combination of 8bit and 7bit encoded in the short message sent separately binary message data and alarm monitoring, make full use of the advantages of the two encoding methods. Based on the theoretical analysis, this paper based on SMS developed a remote street in Xiamen City, a road and cable burglar alarm system monitoring PC monitoring platform that enables remote control of lights on the Avenue, the line current and voltage monitoring and burglar alarm lamp cable. This gateway to the monitoring platform specific design and implementation are described in detail.
Table of contents
Abstract 4-5
Abstract 5-13
first chapter 13-18
1.1 research background 13-14
1.2 SMS application status in the surveillance and problems 14-15
1.3 the main work 15-18
Chapter short Message Service 18-27
2.1 GSM system Introduction 18-19
2.1.1 GSM communication system consisting 18
2.1.2 GSM system features 18-19
2.2 short Message Service 19-26
2.2.1 short Message Service About 19-20
2.2.2 SMS-based monitoring advantages and disadvantages of the system 20-21
2.2.3 SMS architecture 21-22
2.2.4 SMS transceiver procedures 22-23 <br / > 2.2.5 SMS wireless interface protocol 23-24
2.2.6 SM-TP protocol and a short message primitives 24-26
2.3 chapter Summary 26-27
Chapter monitoring system gateway designs 27-50
3.1 overall system architecture 27-28
3.2 system gateway Design 28 - 41
3.2.1 gateway structure analysis 28
3.2.2 gateway procedures Functional Analysis 28-29
3.2.3 AT command 29-31
3.2.3.1 basic AT command syntax 30
3.2.3.2 commonly associated with the SMS AT commands 30-31
3.2.4 SM-TP protocol PDU analysis 31-41
3.2.4.1 SMS-SUBMIT 31-35
3.2.4.2 SMS-DELIVER 35-38
3.2.4.3 TP -UD encoding 38-40
3.2.4.4 for TPDU analysis 40-41
3.3 retransmission short message gateway , filtering and validation implementation 41-49
3.3.1 message retransmission mechanism 41-48
3.3.1.1 MS communication with the SMSC 42-43
3.3.1.2 message Reference 43-44
3.3.1.3 SMS status report PDU format 44-46
3.3.1.4 message retransmission mechanism implementation process 46 - 48
3.3.2 short Message filtering 48-49
3.3.2.1 nothing short message filtering method 48
3.3.2.2 overdue packet filtering method 48-49
3.3.3 message content validity check 49
3.3.4 rejecting a call 49
3.4 Summary 49-50
Chapter monitoring system SMS user information protocol design 50-55
4.1 binary value encoding format of user information design 50-52
4.1.1 Modbus protocol 50-51
4.1.2 Modbus class of the SMS user information Protocol 51-52
4.2 interactive instruction format of short message user information design 52-54
4.3 alarm message user information format designed 54
4.4 Summary 54-55
Chapter SMS-based street light monitoring systems development 55-77
5.1 Streetlight Monitoring overall system architecture 55
5.2 PC monitoring platform structure 55-56
5.3 implementation of Gateway monitoring System 56-69
5.3.1 serial communication module 57-58
5.3.2 SMS function module 58-61
5.3.3 gateway function module 61-65
5.3.3.1 gateway function module data structures 62-63
5.3.3.2 unrelated news filtering 63-64
5.3.3.3 gateway module sub-thread processes 64-65
5.3.4 using named pipes for interprocess communication 65-69
5.3.4.1 Windows interprocess communication mechanisms 66-67
5.3.4.2 Windows named pipe to use 67-69
5.4 user interface program 69-75
5.4.1 short Message platform user information Protocol 69-71
5.4.2 monitoring platform database design 71-72
5.4.3 in C # call Win32API methods 72-74 < br /> 5.4.4 user Interface 74-75
5.5 short message processing flow monitoring platform overview 75
5.6 chapter Summary 75-77
Chapter VI Conclusion 77-79
6.1 work Summary 77-78
6.2 herein deficiencies 78-79
Appendix 79-85
References 85-87
Thanks 87
Related dissertations
- The Study and Implement of Multi-functional Communication Terminal and Short Message Service Based on ARM
- Monitoring System of Motion Position Platform Design Based on Wincc
- Application Study of Comprehensive Video Monitoring System of Railways
- Design and Research on Monitoring and Diagnosis System of Superconducting Medium Radiator Automatic Filling Production Line
- Design and implementation of computer monitoring and control system of pumping station based on PLC
- The Research of Facility Agriculture Based on the Wireless Network
- Research on Tunnel Monitoring System Key Technology
- Design and Implementation of Software for Highway Tunnel Monitoring System
- Based on GSM/GPRS GPS Monitoring System Design for Construction Machinery
- Design and Implementation of Application Monitor System for Commercial Bank
- Design and Implementation of Monitoring System for Lamination Based on PLC and Qt
- Remote Monitor System Based on3G and Web Technology
- Design and Implementation of Monitoring System for Industrial Rice Breeding
- Design and Implementation of Military Barracks Security Monitoring System
- Design of the Hazard Source Monitoring System Based on CAN Bus
- The Research and Design of Embedded Wireless Wild Animals Monitoring System Based on NT96211
- Design and Implementation of Bacterial Colony Growth Monitoring System in Bacterination Experiment
- Embedded Network Monitoring System Based on ZIGBEE
- The Design and Implementation of Android Smart Home Control System
- Task Scheduling and Process Control of Serial Production Line Coupled with Transmission and Station