| In recent years,China’s tunnel construction is at an unprecedented stage of rapid development,and as of early 2022,40,000 km of railroad and highway tunnels have been put into operation,and tunnels have become an important link in China’s road network.The complexity and concealment of the tunnel environment make accidents still occur frequently during the construction and operation and maintenance phases of tunnels.Traditional tunnel monitoring methods have been gradually replaced by intelligent automatic detection equipment due to their time-consuming,inefficient and high-risk problems.With the rapid development in the fields of Internet of Things,software engineering and artificial intelligence,tunnel engineering intelligent monitoring technology has become an important trend in the development of tunnel construction information technology.This thesis discusses the construction objectives and project requirements of the intelligent monitoring system for tunnel engineering,analyzes the main tasks to be solved,constructs the "edge-end-cloud" system architecture,and studies and optimizes the software and hardware communication flow.an intelligent system framework is designed to integrate the application of tunnel disease detection,which improves the robustness,availability and expansibility of the system.finally,black box testing and automatic testing are used for system verification.The main research work has the following two parts:(1)To study a hardware-software communication process based on improved snowflake algorithm.In order to solve the problem that the client IP changes frequently and is vulnerable to malicious webcast connections in the process of hardware and software communication,firstly,the UDP protocol with no connection,low delay and high transmission efficiency is used in the transport layer to better deal with multi-connection scenarios.Secondly,when the hardware client connects to the server for the first time,the server uses the snowflake algorithm combined with the client IP and time information to randomly generate a unique identity key to return and back up in the Redis cache.Finally,the hardware client integrates the returned identity key into the data packet according to the set format for the server to verify the identity,and the connection that fails the identity key verification will be actively closed.The experimental results show that the software and hardware communication flow based on the improved snowflake algorithm effectively improves the memory leakage and overload of the system,optimizes the memory utilization of the server to more than20%,and reduces the data error rate to less than 0.1%.At the same time,it has a strong ability to resist malicious attacks.(2)Design intelligent system framework to integrate tunnel disease detection application.Based on the front-end and back-end separation model to design the system,the back-end uses Spring Boot framework to build the project,integrating Shiro framework to achieve permission authentication module,Mybatis-plus persistence layer framework to achieve the system and database interaction functions.The front-end uses Element UI component library to achieve static page development and dynamic data binding.The database uses My SQL to store system data and Redis to store Tokens for login authentication services.The middleware uses Rabbit MQ to accomplish peak-shaving and business decoupling in multi-project and multi-device communication scenarios,and My Cat to realize the database high-capacity table splitting optimization function.The system implements an intelligent detection module for tunnel diseases by encapsulating an improved algorithm based on YOLOV5,Trans Yolo.Finally,Docker virtual container technology is used to achieve the overall scripted deployment and installation of the project.After system testing and result evaluation,the tunnel engineering intelligent monitoring cloud information system has the visual monitoring and early warning ability in the process of tunnel construction operation and maintenance,achieves1956/sec page throughput in high concurrency scenarios,maintains about 10%server load,effectively improves the efficiency and safety of the project,and realizes the information management of tunnel project monitoring operation and maintenance. |