| With a mass of progresses made in embedded technology and communication technology,Internet of Things has entered a golden age of development.Applications and terminal devices of different kinds have come to the fore during the recent years.However,each of the manufacturers and organizations has its own standard ranging from physical layer to application layer due to a lack of unified de facto standard.This situation makes it more difficult for devices and systems obeying different standards to communicate.The isolated development pattern reduces the scalability and interoperability of the IoT device and service.Moreover,disagreement of standard also leads to a repetitive work in development,which raises the cost and lowers the efficiency.Given this,this article proposes an IoT device development framework which extracts the general characters in device service development and provides a standard procedure for it.With this framework,heterogenous devices can dynamically access to the platform in a uniformed way,and provide different kinds of services through interfaces of the same style.More specifically,the system includes:1.The design and implementation of device-resource information model:The model defines the meta data of device and device service,which describes the service interface and communication interface of devices.2.The design and implementation of interface model of IoT access platform and device development framework:the article propose a driver model for IoT device development and a service model for IoT application development and defines its interfaces respectively.3.The design and implementation of the system of IoT access platform and device development framework:With the help of programming frameworks such as Jersey,Netty,SSH,this article merges the model described above and the M2M communication protocol into the system and develops an access platform and a device development framework which provide a uniformed way of service accessing and service development of IoT devices. |