The intelligent helmet system is an important part of the smart construction site,but there are still some disadvantages such as lack of intelligent function,high power consumption,limited positioning scene,and single function of management platform.Therefore,this thesis develops a LoRa based intelligent helmet system based on helmet application scenarios and low-power Internet of Things LoRa technology,which has good economic value and application value and is of great significance to promote the development of smart construction sites.Management platform is an important part of intelligent helmet system.This thesis mainly completes the design and implementation of intelligent helmet system management platform.According to the application scenarios,service requirements and system functions of the intelligent helmet system,the management platform mainly completes the functions of helmet wearer status monitoring,helmet positioning,helmet terminal access activation,helmet device management,helmet wearer data analysis and processing,and business presentation.Through analyzing the demand of the management platform,LoRa in research orientation,LoRa protocol design,the server key technology such as concurrent design,the message queue management,on the basis of using modular and extensible design concept,management platform system design scheme by the network server,data server,application server and Rocket MQ of four parts.In order to optimize the concurrent processing performance of the network server,Netty is designed as a custom service thread model combining with the service characteristics of the intelligent helmet system.A downlink gateway selection strategy is proposed based on the status of downlink queue and the timestamp of downlink message,which improves the success rate of system downlink communication.As the data center of the management platform,the project adopts the combination design idea of Redis and My SQL,and uses Redis to realize the cache and improve the operating efficiency of the system.My SQL database uses automatic table building and fragmented storage to realize efficient storage and query of data,and uses message middleware Rocket MQ to realize asynchronous persistence of data,decoupling business processing and data storage,and effectively shortening the response time of the system.The application server uses the front-end and back-end separation architecture to build a Web access platform and provide users with services such as data display and device management.Aiming at the situation that LoRa SX1280 chip location anchor circle is prone to disintersect,a radius correction scheme based on location error is proposed to avoid the occurrence of no solution,and improve the adaptability and positioning accuracy of the system.According to the system design of the management platform,the detailed design and code implementation of each functional module of the management platform are completed by using IDEA development platform and Java language.Finally,the local test environment was built,and the physical helmet terminal,gateway and Jmeter test tools were used to complete the function and performance test and verification of the management platform.The test results show that the functional indexes and performance indexes of the management platform meet the design requirements and have good engineering significance. |