The Research of IOCP and Its Application on the Remote Monitoring System of Construction Machinery

Author
DuanZhanQin
Advisor
PengChuWu
School
Hunan University
Major
Control Theory and Control Engineering
Classification
TP277 Monitoring, alarm,fault diagnosis system
Degree
Master's thesis
Year
2009
Downloads
168
Citations
3

Request the full text

Abstract

IOCP (I/O Completion ports) is a mechanism which provides an efficient threading model for processing multiple asynchronous I/O requests. The completion ports model based on Windows service platform offers the best scalability and the best system performance when an application does manage many sockets at once. Focusing on scientific and technological project in Hunan Province and aiming at the requirement of the construction machinery remote system, the paper has designed an application server which is able to manage connections and data from machine-used terminals, which has laid a solid foundation for the client to monitor and control machine-used terminals.The paper analyses the development of construction machinery in China. Aiming at the development actualities and problems of domestic and overseas construction machinery monitoring system, the paper brings a C/S model for the construction machinery remote monitoring system which has four parts, including machine-used terminals, server, database and client. At the time, the paper analyses and proves the advantage of the model in construction machinery remote monitoring. The paper studies the Winsock network programming techniques, analyses and compares the advantages and disadvantages of several Winsock I/O methods, and understands deeply I/O completion ports, which has laid a solid foundation for designing a high-performance scalable server of the construction machinery remote monitoring system. Aiming at the construction machinery remote monitoring system providing services of I/O requests for many machine-used terminals, the paper studies the IOCP technology, combines with overlapped I/O technology, thread pools , memory pools and so on, and designs and realizes a high-performance server. For solving the problem that the system needs be experimented with other parts in the laboratory, the paper designs a machine-used terminal emulator. Furthermore, the paper designs special test procedures taking advantage of multi-threading technology to meet the needs of performance testing. The procedures not only reduce development costs and are simple, effective.In this paper, the remote monitoring system has been experimented in the laboratory. The experimental result testified that the system is stable and reliable, and the communication is correct, the system’s response speed achieve design requirements. Client has a simple and prudent interface, logical clarity, easy operation and convenience features to monitor and so on. This also indicates the validity and application value of the research result.

Table of contents

Abstract 5-6 Abstract 6-11 Chapter 1 Introduction 11-18 1.1 Introduction 11 1.2 Remote Monitoring system Development construction Machinery necessity 11-14 1.2.1 construction Machinery future market demand analysis 11-12 1.2.2 Remote Monitoring systems Development Engineering Machinery level and prospects 12-13 1.2.3 background and significance 13-14 1.3 Remote Monitoring System engineering machinery key technology 14-17 < br /> 1.3.1 GPRS technology 14-15 1.3.2 IOCP technology 15 1.3.3 IOCP server testing technology 15 1.3 .4 Oracle database technology 15-16 1.3.5 geographic Information and positioning technology 16-17 1.4 the main contributions of this research work 17-18 Chapter 2 construction Machinery remote monitoring system design 18-29 2.1 construction Machinery remote monitoring system structure 18-19 2.2 onboard terminal 19-20 2.3 application server 20-21 2.4 database server 21-23 2.4.1 rights management data structure design 21-22 2.4.2 login information data management and basic structural design 22 2.4.3 project information management data structure design 22-23 <br / > 2.5 remote monitoring client 23-29 2.5.1 software environment and development platform of choice 23-24 2.5.2 client software monitors the overall design 24-25 2.5.3 monitoring client software sections describe 25-29 Chapter 3 IOCP-based network model 29-43 3.1 Winsock foundation 29-34 3.1.1 Winsock initialization 29-30 3.1.2 error checking and control 30 3.1.3 Winsock programming process 30-34 3.2 completion Port I / O model 34-38 3.2.1 completion port concept 34-35 3.2.2 IOCP to use 35-38 3.3 IOCP technical advantages 38-43 3.3.1 select models 39 3.3. 2 WSAAsyncSelect model 39 3.3.3 WSAEventsSelect model 39 3.3.4 overlapped I / O 39-42 3.3.5 completion port model 42-43 Chapter 4 IOCP application server design and implementation 43-63 4.1 application server overall design 43-44 4.2 server each functional module 44-56 4.2.1 main Window module 44 4.2.2 server module 44-55 4.2. 3 database module 55-56 4.2.4 communication protocol module 56 4.2.5 data framing module 56 4.2.6 DTU list maintenance module 56 4.3 application server data communication 56-63 4.3.1 TCP / IP protocol 56-58 4.3.2 data Storage strategy 58-59 4.3.3 communication protocol developed 59-63 Chapter 5 IOCP application server testing and optimization 63-73 <br / > 5.1 terminal emulator airborne research and Design 63-67 5.1.1 simulator overview 63 5.1.2 simulator function of each part describes 63-67 5.2 server performance test 67-71 5.2.1 testing program 68-70 5.2.2 test contents and outcome 70-71 5.3 application server process optimization 71-73 5.3.1 memory resource management 71 5.3.2 Receive connection methods 71-72 5.3.3 malicious client connectivity issues 72 5.3.4 packet reordering problem 72-73 Conclusion 73 - 75 References 75-78 Thanks 78-79 Appendix A study for a degree of academic papers published during the directory 79-80 <br / > Appendix B to participate during the study for a degree of research 80

Related dissertations

  1. Research of Communication Server for Traffic Signal Control Based on IOCP
    ShuAiBing ·Shanghai Jiaotong University ·2012 ·Master's thesis
  2. Research to the Design of the Network Games
    ZhouRan ·Jilin University ·2006 ·Master's thesis
  3. IOCP - based MMO server design
  4. Zoomlion Channel Conflict Research
    YiWenJie ·Hunan University ·2012 ·Master's thesis
  5. Research on reasons and integration strategy of ZOOMLION channel conflict
    HeTingFeng ·Yunnan University of Finance ·2013 ·Master's thesis
  6. S Company Customer Satisfaction Surveys and Research
    WuQun ·South China University of Technology ·2013 ·Master's thesis
  7. A Study on the International Strategy of Zoomlion
    NiuMeng ·Lanzhou Commercial College ·2014 ·Master's thesis
  8. The Research on Competitive Intelligence Construction for S Company
    YangZaiSui ·Anhui University ·2014 ·Master's thesis
  9. Software Design of a Certain Experience Platform Multi-parameter Monitoring System
    BaiZuoZuo ·University of North ·2014 ·Master's thesis
  10. The Design and Implementation on Network-based Remote Control System of XY Table
    LinJianPing ·Anhui University of Engineering ·2013 ·Master's thesis
  11. Research on the Construction Machinery Travel Speed Detection Based on Machine Vision
    ZhangWenXiang ·Chang'an University ·2013 ·Master's thesis
  12. Multi-threshold Image Segmentation Techniques Based on Intelligent Optimization Algorithm and Its Parallel Speedup
  13. Design and Implementation of Guangxi Investment Group Coordination Office Automation System Based on the SOA
    LiangKaiRong ·Guangxi University ·2012 ·Master's thesis
  14. Research on mining algorithm of hierarchical clustering and frequent patterns in time series stream
  15. The Design and Optimization of Select Operation in Column-storage Database Based on Multi-core Processor
  16. Design and Implementation of Customers Value Management System for Shandong Agricultural Bank
    XieFei ·Shandong University ·2013 ·Master's thesis
  17. Design and Implementation of the Online Learning System for the C Language Based on the J2EE
    QuXiao ·South China University of Technology ·2013 ·Master's thesis
  18. Design and Implementation of Management System of Construction Hoisting Machinery and Special Operations Personnel for Tai’an City Construction Bureau
    ZuoGuoHua ·Shandong University ·2013 ·Master's thesis
  19. Design and Implement of Network Traffic Statistical Analysis System Based on Winpcap
  20. Design of supervisory control configuration software based on XML document