| With the continuous improvement of the degree of social informatization,many enterprises and institutions have built their own computer rooms,and the scale of the computer rooms has also increased,which has brought difficulties to people to manage the computer rooms.The traditional computer room environmental monitoring system only focuses on the monitoring of the overall environment of the computer room,and cannot make timely alarms about the abnormal microenvironment where the IT equipment is located.In view of the above problems,this project has studied and designed a set of computer room IT micro-environment monitoring system based on the OneNET cloud platform,which can not only carry out refined monitoring of the micro-environment of the cabinet where the high-end equipment of the computer room is located,but also realize the automatic statistics of the use of U-bit space inside the cabinet with the help of RFID technology,which can greatly improve the efficiency of enterprise IT asset shelf planning.The system is designed with the Internet of Things cloud platform as the carrier,combined with MQTT data transmission protocol,wireless communication technology,real-time operating system FreeRTOS and RFID and other technologies,using a combination of software and hardware.The system hardware takes ARM as the core processor,builds a multi-sensor hardware acquisition system,realizes the real-time collection of temperature,humidity,smoke and the U-bit space occupied by the shelf equipment,and uses Wi Fi and MQTT protocol to upload the data collected by the terminal device to the OneNET cloud platform to achieve remote real-time monitoring of the micro-environment parameters of the computer room and the U-bit space capacity data;The system software is designed based on free RTOS operating system,first according to the system functions for task division,and the priority of the task and the communication between tasks are designed,and then the Wi Fi network connection,U-bit space capacity automatic statistics and temperature and humidity detection and other tasks are designed,and finally complete the deployment of the system on the OneNET cloud platform,to achieve historical data query and email early warning and other functions.In order to ensure the security of the asset data(U-bit space capacity)uploaded by the terminal device through the MQTT protocol,this paper combines the Chinese residual theorem with the ECDH key negotiation algorithm to design a lightweight key negotiation algorithm for the MQTT protocol,and analyzes the algorithm from three aspects: security,memory consumption and communication consumption,which proves its feasibility in MQTT encrypted communication.Through the functional test of the system,it is found that the functions of cloud,data collection,email early warning and remote monitoring of the client on the system terminal equipment can operate normally and stably,and the stability and real-time performance of the system reach the expected design goals under the action of FreeRTOS and the lightweight communication protocol MQTT. |