Research and Realization of Smart Home Controller and Communication Protocol Based on IPv6

Author
PanHaiDi
Advisor
WuXiangQian
School
Xinjiang University
Major
Control Theory and Control Engineering
Classification
TN915.04 Communication protocols, communication protocols
Degree
Master's thesis
Year
2013
Downloads
47
Citations
0

Request the full text

Abstract

With the progress of science and technology, people’s request of life quality and livingenvironment are constantly improving, these cases promote the research on smart home, itsrealization becomes more and more urgent. But now there are two aspects condition needs tosolve urgently: Firstly, there are wide range of intelligent home’s control equipments andcomplex control protocol and control function, the compatibility among control systems ispoor, so the front-end user-oriented controller needs unify; Secondly, the introduction ofInternet network technology into smart home to achieve remote control has become a trend,but the IPv4address is nearly exhausted, which affected the full realization of intelligenthome furnishing remote system control, so the IPv6address is imperative.Internet for public services are using the32-bit IPv4address, in order to achieve thetransition from IPv4to IPv6protocol, the collaboration and compatibility issues betweenthese two protocols of switchboard, router and LAN need to solve. China is activelypromoting IPv6commercial process, proposed large-scale trial of IPv6commercial in2015.Thus, the IPv6protocol with128-bit address will be the main protocol of smart homeremote control. The introduction of IPv6into the smart home system provides a wider spacefor the development of intelligent home furnishing (of smart home).Home appliancesconnected to the Internet network, each household electrical appliance can obtain an IPaddress, the purpose of remote control home appliances will be achieved through the remoteclient.This paper mainly targets the smart home system, researched and realized the remotecommunication based on IPv6, completed the design of the controller and simulated theremote control of implements the electrical users’on/off simulatively.First of all, the paperstudied the principle and structure of the TCP/IP protocol, designed and implemented thecustom application layer protocol based on TCP, compared the IPv4communication protocolwith IPv6communication protocols, used Visual C++software to complete the Winsock C/S mode communication testing based on IPv4and IPv6protocol, analyzed the difficultiesof IPv6communication and the difference with IPv4. Secondly, wrote the controller controlinterface based on IPv6communication protocol, and use the software program to completeserial communication user layer protocols. Finally, this paper realized the visual controlinterface, which facilitated operation and accomplished the controller’s remote control oflamp on/off.

Table of contents

Summary 4-5 Abstract 5-9 first chapter 9-14 background research of 1.1 , meaning 9-10 Status and Development Trend 1.2 communication protocol smart home and abroad Status 10-11 1.2.1 Global smart Home development 10 1.2 .2 domestic smart home mainstream protocol development status and trends 10-11 1.3 IPv6 protocol status quo and development trend of domestic 11-12 1.4 the main thesis work 12-14 Chapter II IPv6 protocol based smart home systems and related protocols 14-22 2.1 IPv6 protocol -based smart home system composition and working principle 14 -15 2.1.1 IPv6 protocol -based smart home system consisting 14 2.1.2 IPv6 protocol -based smart home system works 14-15 2.1 .3 IPv6 protocol based smart home system controller 15 2.2 TCP / IP communication protocol Profile 15-17 2.2.1 TCP / IP protocol of five model 15-17 2.2.2 TCP / IP addressing 17 2.3 IPv4/v6 communication protocols Profile 17-22 2.3.1 IPv4/v6 protocol header format 17-19 2.3.2 IPv4/v6 protocol address format 19 2.3.3 IPv4/v6 protocol address configuration 19-20 2.3.4 IPv6 protocol advantage 20-22 Chapter III TCP / IP communication programming and testing 22-44 3.1 Socket network programming under 22 3.2 VC Socket network programming 22-26 3.2.1 Winsock API function 23-25 ?? 3.2.2 streaming sets sockets communication principle 25-26 3.3 custom application-layer network communications protocol 26-30 3.3.1 stream socket shortcomings 27 3.3.2 design custom application-layer communication protocol 27-29 3.3.3 custom application layer protocol 29-30 3.4 TCP/IPv4 protocol communication to achieve 30-36 3.4.1 TCP/IPv4 protocol client programming server -side program 30-32 3.4.2 TCP/IPv4 protocol design wired / wireless communications test 32-33 3.4.3 TCP/IPv4 protocol communications 33-36 3.5 TCP/IPv6 protocol implementations 36-43 3.5.1 TCP/IPv6 dedicated API function communication program design nbsp 37-39 3.5.2 TCP/IPv6 protocol ; 39-41 3.5.3 TCP / wired / wireless communications test IPv6 protocol 41-43 3.6 Summary 43-44 Chapter IV smart home controller software implementation and testing 44 -53 4.1 smart home user level custom serial communication protocol designed 44-47 4.1.1 user-level serial communication protocol 44-45 4.1. 2 smart home custom serial communication protocol 45-47 4.2 smart home controller and remote clients design 47-50 4.2.1 smart home controller design 47-49 4.2.2 smart home remote client system design 49-50 4.3 intelligent home appliance control tests 50-52 4.3. under an intelligent home appliances bit machine Proteus control test 50-51 4.3.2 intelligent home appliance control system overall control test 51-52 4.4 Summary 52 -53 Chapter summary and Outlook 53-55 References 55-58 papers published during the reading and research 58 -59 Thanks 59

Related dissertations

  1. Smart Home Monitoring System Based on Ni Wireless Sensor Network
    LuZuoChao ·Zhejiang Normal University ·2013 ·Master's thesis
  2. Research on Smart Home System Based on Zigbee
  3. Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System
  4. The Embedded Smart Home System Based on QT and GSM
    WuTong ·Hebei University of Technology ·2012 ·Master's thesis
  5. The Research on Smart Home Management Service
    YeLiLi ·Tianjin University ·2012 ·Master's thesis
  6. A Terminal Software Design and Implementation of Smart Home Based on the Android Platform
  7. The Design and Implementation of Android Smart Home Control System
  8. The Design and Implementation of Gateway and Client of Embedded Smart Home System
  9. Research&Design of the Handheld Device Device Detection Tool Based on the Smart Home System
    ZhangJing ·Wuhan University of Technology ·2013 ·Master's thesis
  10. Embedded System Applications in the Smart Home
    MingHang ·Hubei University ·2013 ·Master's thesis
  11. Design and Implementation of Intelligence Home System Based on ZigBee
  12. Design and Implementation of Smart Home System Based on Android Platform
    ZhouShiWei ·Huaqiao University ·2013 ·Master's thesis
  13. The Research and Design of Smart Home System Based on Zigbee Technology
    ZhangZhiDong ·Liaoning Normal University ·2013 ·Master's thesis
  14. Design and Implementation on Smart Home System and Rf/IR Converter Controller
    TangJinTian ·Hunan University ·2013 ·Master's thesis
  15. The Research on Service Algorithm Based on User Behaviors in the Smart Home
    LiuHao ·Hunan University ·2013 ·Master's thesis
  16. The Research and Design of Smart Home System Terminal Controller Based on ZigBee
    CheXiLong ·Chang'an University ·2013 ·Master's thesis
  17. Design and Implementation of the Smart Home System
  18. The Design and Implementation on Network-based Remote Control System of XY Table
    LinJianPing ·Anhui University of Engineering ·2013 ·Master's thesis
  19. The software design of intelligent control Home Furnishing gateway based on ARM11
    ZuoPengZuo ·Northwestern University ·2013 ·Master's thesis
  20. Study and Development of SmartHome System Based on Wireless Network