| With the development of information technology and the Internet,the Internet of Things(IoT)has gradually become an inseparable part of the information age,and its application has become more and more extensive.Through the combination of the Internet and numerous communication technologies,the Internet of Things connects objects to objects for data transmission and communication,enabling the collection,transmission and application of large amounts of data.As more and more devices connect to the Internet,it is especially important to make messages safe,secure,and reliable.As an indispensable middleware in Internet of Things messages,message queue effectively solves the problem of message transmission.Message Queuing in the Internet of Things is widely used in the publish-subscribe mode.It is a cloud-centric topology.A large number of devices access the proxy,and the message broker selectively sends the message to the corresponding subscription device.The MQTT(Message Queuing Telemetry Transport)protocol introduced here has an in-depth and extensive application in the field of Internet of Things.The MQTT protocol is simple to implement,provides data transmission with quality of service level,lightweight,high bandwidth utilization efficiency,and data independence.(1)Proposed a quality of service assurance solution for the Internet of Things based on the MQTT protocol.Based on the in-depth study of the MQTT protocol,this thesis proposes a message quality of service assurance scheme based on the MQTT protocol in the Internet of Things,which is based on the content,security,reliability and stability of the message.The specific design and implementation scheme is based on the EMQ message proxy server and the ESP8266 embedded terminal.Using it to set up the experimental environment and realize the communication with the server.By implementing the MQTT client program on the ESP8266 device,based on which the design scheme is implemented and In actual testing,the quality of service assurance scheme given in this thesis guarantees the secure and reliable transmission of MQTT messages.(2)The MQTT abnormal behavior detection algorithm is proposed.At the same time,this thesis also deeply analyzes the various security risks in the MQTT client communication and some abnormal behaviors that may occur on the MQTT client.Based on the analysis of abnormal behavior of MQTT client,the key attributes for judging abnormal behavior are obtained.Based on these analysis,the MQTT security defense framework is given and the MQTT abnormal behavior detection algorithm is proposed.By simulating the abnormal behavior of MQTT client,the abnormal behavior detection algorithm is used to detect several abnormal behaviors mentioned in this thesis,and the corresponding verification is obtained.Through testing and verification,it is proved that the algorithm can effectively detect the MQTT abnormal behavior client,which can be used to better protect the MQTT message proxy server from the abnormal behavior client attack,which has strong practical significance and practical value. |