Secure Gateway of Internet of Things Based on AppWeb and Secure Sockets Layer for Intelligent Granary Management System [chapter]

Rong Tao, Senbin Yang, Wei Tan, Changqing Zhang
2014 IFIP Advances in Information and Communication Technology  
To develop an intelligent granary management system (IGMS) based on Internet of Things (IOT), secure gateway of IOT (IOTGW), the key component in the system, is designed and achieved. According to the functional requirements of IOTGW in IGMS, embedded Web server is adopted as a lightweight approach for accessing perception devices and interacting with heterogeneous networks. The design scheme based on ARM chip and embedded Web server is given and the hardware and software architectures of IOTGW
more » ... are investigated in detail. By comparing the major performances, AM3352, Linux, AppWeb, SQLite and C language are chosen for IOTGW implementation. In order to protect the sensitive information transmitted between the client and server, the secure sockets layer (SSL) protocol is added in AppWeb, and the compilation and transplantation of AppWeb with SSL are given detailedly. Experiment shows that the IOTGW can access different types of perception devices and actuators widely, exchange information between the perception layer and network layer safely, and control the perception nodes remotely, so the management of granary becomes convenient, efficient and intelligent. Keywords: gateway, internet of things, intelligent granary management system, AppWeb, secure sockets layer. Granary is a storehouse or room in a barn for threshed grain, and grain reserve has become a key issue concerning about people's livelihood and national defense. In order to reduce unnecessary losses caused by animals, floods, fires, etc in the process of grain storage, granary monitoring system is applied subsequently. The original method is manual inspection by sampling, which is time-consuming, inaccurate and inefficient. The second generation technique is electronic detection using computer and bus standard, that is, electronic monitoring equipments such as temperature and humidity sensors are installed to collect the temperature and humidity data of granary, and bus standard, take RS485, RS422 or fieldbus for example, is adopted to transmit these data to the monitoring computer [1] . This technique improves the accuracy of monitoring data and reduce the costs of granary management, however, there are Secure Gateway of Internet of Things Based on AppWeb and Secure Sockets Layer 79 some disadvantages including low transmission rate, weak system reliability, difficult for remote communication and big workload of wiring. With the rapid development of communication and network technology, the third generation monitoring system is featured by networking, in other words, short-range wireless communication technologies such as Wireless Sensor Network (WSN) are employed to connect monitoring equipments and collect data, meanwhile, long-range wired and wireless communication technologies such as Internet and mobile communication system are used to convey sensor data and control commands remotely [2] . In this way, the management level of automation and information is improved greatly. Nevertheless, the system's scalability and intelligence are not good enough for it's not easy to increase the number or type of monitoring nodes, or to obtain, fuse and process monitoring information in real time and actively. To address these issues, Internet of Things (IOT) is introduced to granary monitoring as a new technique [3] . Internet of Things is a dynamic global network infrastructure with self configuring capabilities based on standard and interoperable communication protocols where physical and virtual "things" have identities, physical attributes, virtual personalities and use intelligent interfaces, and are seamlessly integrated into the information network. IOT is characterized by more thorough sense and measure, more comprehensive interoperability and intelligence, whose application areas cover modern agriculture, infrastructure construction, public security, environment protection, intelligent industry, urban management and other fields [4] . Restricts of time, space, region and human to real-time monitoring of granary can be broken through by using the technology of IOT, and the IOT-based granary monitoring system can collect, memorize and transmit the parameters including food temperature, humidity, gas concentration, insect and water content to the control center as well as execute the orders from the control center [5] . Baisen Xu et al. analyzed the information function model and architecture reference model of IOTbased grain monitoring system, which is composed of four layers: perception layer, transport layer, processing layer and application layer [3] . However, they only discussed the related key technical problems theoretically, the methods and steps of system implementation were not given. [6] proposed a wireless LAN monitoring system adopting intelligent granary monitoring, which is consisted of a central monitoring station, a wireless relay station and wireless collection points. The multifunction real time data is collected by collection points made by ARM11 embedded processor, and then they were sent to the wireless relay station by ZigBee wireless module. The wireless relay station was responsible for monitoring and preserving the information from the collection points, and sending the comprehensive information to the central monitoring station by WiFi module. The received data was processed by the central monitoring station to realize the monitoring of the real-time information of granary working status. However, the wireless relay station has many deficiencies. Firstly, it can only access these collection points supporting ZigBee protocol, and the collecting information is confined to temperature, humidity, oxygen and pest pictures; Secondly, it can't manage or control the collection equipments; Thirdly, it communicates with the central monitoring station only by WiFi, which has small network coverage, high cost and susceptible radio channel; Finally, its security is poor, for it lacks authentication, encryption and other information security measures.
doi:10.1007/978-3-642-54344-9_10 fatcat:ddwd5tshabdxbf2u2aewapfbo4