| With the continuous development of the Internet of things technology,the demand for the location information of the sensor and the real-time change of the sensor data is increasing.The data change displayed in the traditional form can not meet the real-time monitoring requirements of the real time data.Through the map to show the real-time changes in the sensor data,the manager can make a reasonable judgment and accurate decision based on the real-time changing sensor data on the map.WebGIS technology combines the Geographic Information System(GIS)and Web technology,and applies the WebGIS technology to the management of the sensor equipment.The sensor data is displayed on the Web page to realize the functions of query,browse,analysis and control of the information of the sensor equipment based on the electronic map.This paper mainly studies the management scheme of sensor devices based on WebGIS system,uses non relational database Redis for data caching on the WebGIS server,and uses Node.js to build the sensor data and business data in WebGIS client data acquisition,and uses OpenLayers3 as a visualization tool for map data and sensor real-time data,and completes the real-time monitoring system of sensor based on WebGIS design.First,this paper analyzes the development status of Internet of things and WebGIS technology at home and abroad,as well as the needs of the manager of the sensor equipment in the Internet of things,and studies the feasibility of the application of WebGIS to the sensor data processing and visualization of the Internet of things.Secondly,in the design process of WebGIS server,the operation process of sensor data in traditional WebGIS server is analyzed.The traditional WebGIS system can store the data of sensor by frequent call of JDBC,so that the IO overhead of the spatial database is too large and the real time of the data can not be guaranteed.Therefore,the non relational database Redis is used.For the caching of sensor data,the full memory operation characteristic of Redis database ensures the real-time performance of sensor data in the process of storage operation,and uses the message publish and subscribe function to complete the real-time forwarding of sensor data,and improves the timing of processing sensor data by the WebGIS server.Then,the process of sensor data visualization in the traditional WebGIS client is analyzed.The static map page is unable to meet the needs of the sensor manager for the real-time data.Therefore,in the process of front end data operation,based on the traditional WebGIS client,the acquisition process of sensor data and business data is completed through the Node.js framework in the WebGIS client.According to the real-time data dynamic control of the Overlay object layer style in OpenLayers3,the real-time change of the Overlay object layer is realized,and the real-time visualization of the sensor data in the WebGIS client is completed.Finally,this paper gives a detailed design of the WebGIS system used for real-time monitoring of the sensor.The system is divided into data layer,service layer and application layer,and the design of each layer is analyzed in detail.An example verification system based on temperature monitoring of sensor equipment.It shows the real-time map display function,historical data viewing function and privilege management function of the system,and tests the function modules and performance of the system. |