Design and Realization of Soft Gateway Based on Twisted Framework for GPS Device Protocol Conversion

Author
RuanZhengJie
Advisor
XuZhiJiang
School
Zhejiang University of Technology
Major
Electronics and Communication Engineering
Classification
TN915.05 Communication network equipment
Degree
Master's thesis
Year
2013
Downloads
4
Citations
0

Request the full text

Abstract

With the development of economy, the automobile has become one of the most important vehicle. With the increase of the number of vehicles, road traffic intelligent appeared more new market demand. GPS monitoring system based on GPS location technology, sensor technology and GIS technology, as the major solution has been widely applied to various vehicles transport demand management. With the development of the vehicle monitoring system, there have been many mature GPS vehicle terminal equipment on the market. In order to keep the flexibility and scalability of the functions and protocols, these equipment offen has been deeply custom-developed based on private protocol by their manufacturers. These private protocols of different equipment have brought a series of problems of data compatibility between server and terminals, processing complexity of server-side, limited scalability of system, and etc.Based on the study of GPS monitoring system architecture, according to the characteristics of the most GPS terminal equipment and the monitoring server interactive protocol, this paper designs a soft gateway for gps device protocol conversion based on Twisted framework. The soft gateway has been developed by Python script language, and using Twisted nonblocking network framework for the realization of network communication part. It uses the Python/C API to design the protocol conversion part, in order to improve the process efficiency and flexibility. It also implements the authentication of access terminal equipment.This proposal could keep the uniform of session communication and data format, without the need of custom modifications to existing vehicle GPS terminal equipment, and also strengthened the data expansion ability. It plays a key role in whole GPS monitoring system.

Table of contents

Summary 5-6 ABSTRACT 6-9 Chapter 1 Introduction 1.1 9-13 research background and significance 9-10 1.2 Status of research and development at home and abroad major work 10-11 1.3 papers organizational structure 11 1.4 papers 11 - 13 Chapter 2 protocol conversion software gateway implementation technologies 13-21 2.1 GPS vehicle monitoring system 13-14 2.2 Python language 14 -18 2.2.1 C language extensions 15-17 2.2.2 Twisted network development component 17-18 2.3 SIP session control protocol 18-19 2.4 SQLite database system 19-20 2.4.1 SQLAlchemy database development component 19-20 2.5 Summary 20-21 Chapter 3 summary of requirements analysis and design 21-29 3.1 protocol conversion software gateway system overview 21-23 3.2 overall design goal 23 -24 3.3 gateway software requirements specification 24-27 3.3.1 GPS terminal equipment access functional requirements 24-25 3.3.2 SIP server session features demand 25-26 3.3.3 administrators maintain the functional requirements 26 3.3.4 summarizes the functional requirements 26 3.3.5 non-functional demand 26-27 3.4 design and implementation principles 27 3.5 software gateway system design 27-28 3.6 Summary 28-29 detailed in Chapter 4 system design and Implementation 29-57 4.1 development environment 29-30 4.2 to achieve functional modules divided 30-32 4.3 Details of each functional module design and implementation 32-56 4.3.1 to achieve the main module 32-39 4.3.2 proprietary protocols achieve conversion module 39-44 realize 4.3.3 session analog equipment modules achieve 44-50 4.3.4 local data management module 50 - 54 realize 4.3.5 other modules 54-56 4.4 Summary 56-57 Chapter 5, debugging and deploying 57-65 5.1 unit testing 57 5.2 system integration testing 57-60 5.3 deployment and testing 60-64 5.4 Summary 64-65 Chapter 6 summary and Outlook 65-66 References 66-68 Thanks 68-69 <br / > to participate in research projects and achievements during study for a degree 69

Related dissertations

  1. Research and Design of High-power Temperature Control System Based on PROFIBUS
  2. The Design of Data Acquisition Controller Based on Wireless Ad-Hoc Network Technology
  3. The development of simulation rolling system of hot strip mill with 1549 plate
  4. E1Ethernet Protocol Slot Auto-Negotiation Conversionthe Design and Implementation
  5. Design and Implementation of MIDIS by Materials Intelligent Design Integration Studio
  6. Design and Implementation of the Dongying City Management Cooperative Office Platform
  7. Development and Analysis of Secondary Vocational School Education Management System Based on Django
    QiJunFeng ·Lanzhou University ·2013 ·Master's thesis
  8. Analysis and Design of Senior High School Course Arrangement System
    YuBi ·Xiamen University ·2014 ·Master's thesis
  9. Design and Implementation of Industrial Gateway Device Based on ARM
    ZuoXiaoJing ·Harbin Engineering University ·2013 ·Master's thesis
  10. Design of CAN-Ethernet Gateway Based on ARM
    ZhangNanJie ·Dalian Jiaotong University ·2013 ·Master's thesis
  11. Design of Equipment Sensors Intelligent Interface Adapter in Farm Machinery
  12. Power Statute Universal Testing Technology Research Based on Python Script
  13. Design for Remote Security Monitoring&Failure Alarm System for Elevators
    ZhouJun ·Zhejiang University of Technology ·2013 ·Master's thesis
  14. Structural Optimization of Rubber Elastic Components
    LiMing ·Xiangtan University ·2013 ·Master's thesis
  15. Design of in vehicle network system of communication quality detector
  16. Design and Implementation of Multifunction Ethernet Nodes in Coal Mine
  17. Design of Stinger Video Monitoring System on Deepwater Pipe-laying Ship
  18. Construction of Overall Landuse Planning Database at County Level Based on GIS
    ZhaoMei ·Shandong Agricultural University ·2013 ·Master's thesis
  19. Research of Protocol Conversion Module Based on DeviceNet-Modbus
    WangQing ·Tianjin University of Technology ·2012 ·Master's thesis
  20. Research of Fieldbus Multi-Protocol Conversion Gateway Based on PROFIBUS-DP Slave