| With the arrival of the times of Internet of things,the high-speed development of the Internet of things technology relies on a variety of wireless communication technologies,the current mainstream technologies mainly include ZigBee,Bluetooth and WiFi.Smart home will use the three kinds of wireless communication technologies in combination.How to achieve the interoperability between these three wireless communication technologies will be a top priority.This thesis implements the communication between the different communication protocols in application layer based on the AllJoyn system,and realizes the interaction between the Bluetooth devices,the ZigBee devices and the WiFi devices.This thesis uses About characteristics to describe the basic attributes of devices,and complete the design and filling of the basic information data of the AboutData,uses the Control Panel frame to build the interfaces of the devices,design the GetCode property interface and Set Code property interface and implement the remote interface calling in the action component and constructs AllJoyn virtual devices on the network,maps the device on the application layer,shields the differences of the underlying communication technology and then based on the hardware,realizes the bluetooth adapter,which matches the Characteristic with the properties of the AllJoyn network virtual bluetooth device and converts the hardware description language to the AllJoyn protocol description language,establishes the peer relationship between the hardware device and the All Joyn virtual device and achieve the goal of calling the interfaces to get the services of the device and implementing the communication between the different communication protocols in application layer.Finally based on the actual application scenario,the test focuses on the communication between the Blutooth device and the ZigBee device and the result shows that this scheme can realize the communication between the wireless communication technologies,and the devices using different wireless communication technologies can communicate with each other in the All Joyn system. |