| With the rapid development of Internet and sensor technology and embedded technology and communication technology, industry and academia world are paying more and more attention to the Internet of Things (IOT). Digital Home, Smart Building, Precision Agriculture, Intelligent Transportation, and Digital Medical Program also have been widely put forward. IOT is a huge network of things, and it can identify, control and centrally manage all kinds of objects around us through sensors, embedded devices and so on. Comparing with the traditional internet, the perceptual layer of IOT has many features, such as large scale, incompleteness of data, heterogeneity of network, data forwarding rate and big date set.The paper will research the routing algorithm of the perceptual layer of IOT, with a given scene, propose a new routing protocol called Quality Aware Routing Protocol in IOT Base on Data Compress Using the Context-Aware Technology (CACRP) that contains data recovery, data compression and data routing mechanism. Considering the incomplete collected data, a repair method has been presented based on attribute. For sensor energy problem of real-time data transmission, the paper proposes an improved SDT compression algorithm to reduce the data flow. For routing problem of network, author proposes a quality awareness routing protocol based on Ant Colony Algorithm. In this protocol, node chooses the next hop node by the context information that has been compressed, and combining the link residual pheromone and heuristic information and the context information to achieve the optimal solution. At last, in the simulation experiment, comparing with the classical routing protocol:LEACH and Ant-Net, through the average energy consumption of nodes, network lifetime and other parameters to show that the CACRP has better performance. |