| In recently years, with the rapid development of the mobile Internet, the development of the Internet of things also had its spring. More and more devices accessed the platform of IOT formed a huge physical network. For the network, its architecture still follow the traditional network, which means the data forward is controlled by switches and routers. With the development of economy and society, the enterprises put forward increasing high demand for flexibility and configurable of network structure. The goal that can change the data flow only by configuration is becoming the pursuit of more and more enterprises. The main obstacle that restricts the realization of this goal is that the information flow in traditional network is often set up in the beginning of the network designed, the coupling of control layer and data forwarding layer is very high, the result is that the network architecture unable to get rid of the limitation of hardware. How to decouple the control layer and data forwarding layer is becoming the pursuit of the enterprises.Software Defined Network is a new innovation network structure, its core idea is separating the control level from the data level of the network and separating the underlying network facilities from network application abstract, it realize the network management through opening programming interfaces. In the architecture of SDN, controller, independent of forwarding plane, is the core of control. The control for equipment of the network is accomplished by the controller. The way that controller to change matching rule is through send configuration information to the flow table located in the devices.This paper using the thought that separating control level from data level in SDN, design the configurable network based on platform of IOT, to achieve the goal that separating control layer and data forwarding layer in IOT. The premise of study is in the LAN environment, network equipment with the communication capability above IP layer. Based on the idea of control and forwarding layer, integrated the configuration and control module in the platform, by this module, achieve the goal that control the data flow flexibly in the equipment. The details are as follows:Firstly, design and implementation of the configuration and control module. This topic through the configuration and control module to send configuration message to the physical devices. By this way to realize the controlling of the data flow of device network. This study points including the position and function of the configuration and control module, the process that application invoke the module to operate the terminal, the analytical that this module to the configuration parameters and the distribution mechanism of this module to configuration message.Secondly, design and implementation of the enhanced Machine-to-Machine protocol. Protocol is the language which supports the communication between the centralized module, the access module, and the devices network. The routing configuration information that data forwarding devices received is included in the configuration message, the message is issued by the controller. In traditional network, the controller to physical devices is router and switch, however, in the new network architecture, the controller is the centralized control module which located in the platform of IOT.Thirdly, design and implementation of the routing table in data forwarding devices. In the topic, the data forward device store configuration message in router table in some format. The router table consist one or more configuration message. In SDN, when the data forwarding device receive a packet, the data packet matches the routing information table on the device to decide the next action. This study points including the format of the configuration message in router table, the rules that the modify of the configuration message. |