Font Size: a A A

Research And Implementation Of MQTT Io T Protocol And Access Technology

Posted on:2024-09-24Degree:MasterType:Thesis
Country:ChinaCandidate:K HanFull Text:PDF
GTID:2568307094483564Subject:Communication Engineering (including broadband network, mobile communication, etc.) (Professional Degree)
Abstract/Summary:
Currently,the application of loT devices in various fields of society is accelerating development,with their number and scope of use constantly expanding,and higher requirements for device management are also proposed.However,the current loT device access management platform still has some shortcomings,such as the lack of unified management of devices in heterogeneous scenarios,the lack of handling complex correspondence between users and devices,and poor scalability of the platform.These issues will affect the efficiency of user management of devices,and also increase the cost of user management of devices.In response to the above issues,this thesis has implemented a series of functions such as device access,data storage,user and device management,and data visualization in heterogeneous scenarios by studying and learning the most widely used MQTT communication protocol and using it as a standard protocol for communication between the platform and devices.This thesis first analyzes the needs of the loT device access platform and determines the overall design scheme used and relevant technologies.The entire system can be divided into three parts according to functional modules,including the device access module,data persistence module,and user and device management system.To complete the equipment access module,it is necessary to build an MQTT message server and platform client,complete the equipment access authentication,transmission encryption,and MQTT communication topic design;The data persistence module is mainly used for data storage and reading.This platform uses a combination of InfluxDB temporal database,MySQL relational database,and Redis cache database to create tables and store different data types,maximizing the advantages of various databases;The user and device management system builds web pages using the Vue.js front-end framework and the Flask back-end framework to complete user access and device management.In addition,it designs an HTTP API interface on the back-end to receive Get/Post requests sent by the mobile phone APP.Finally,the platform is deployed on Alibaba Cloud ECS,and Nginx reverse proxy and load balancing are configured to improve the load capacity of the platform.At present,the intelligent commercial concrete station project has been put into practical operation.Currently,the intelligent commercial concrete station project has connected to 58 commercial concrete stations,recording more than 3million pieces of data since its launch for more than a year.In addition,there is a cable nail project in the testing stage,and has completed equipment side data collection and communication testing within the local area network.This indicates that the platform has been successfully put into use and is running well.
Keywords/Search Tags:MQTT communication protocol, Internet of Things device access platform, Data persistence, API interface
Related items