| China is a country rich in geographic resources,and while it is abundant in geographic resources,it also faces the impact of geological hazards.Among the geological disasters,deformation-type disasters including landslides are especially prominent.Especially,Guangxi,which has many mountainous areas,has a humid climate and complex geological structure and is prone to deformation-type geological disasters.Therefore,the implementation of deformation monitoring and intelligent processing of potential hazard areas combined with information system means is an effective means to deal with deformation disasters,based on which the purpose of disaster prevention can be further achieved.In the context of the rapid development of information technology,this paper designs and implements a deformation monitoring system based on microservice architecture,which is optimized for the problems of traditional deformation monitoring systems such as the inability to handle large data volume,inflexible data transmission interface,delay in reading a large amount of data,and lack of uniform data type.The main research work of this paper is as follows:(1)This paper implements the microservice management of the deformation monitoring system based on the microservice architecture.Adopting the design idea of microservice architecture,we study and select the popular microservice frameworks and management components in the industry,and build an architecture with SpringCloud as the core and Nacos,GateWay,OpenFeign and Sentinel as the main components.(2)Completed the design and implementation of the deformation monitoring system.Firstly,based on the overall design of the deformation monitoring system from the user’s point of view,we analyzed and designed the functions of each microservice module in detail.Secondly,according to the first to the third paradigm of database theory,the E-R model and the database table structure were designed for each entity class and the correspondence between entity classes in the deformation monitoring system.Finally,according to the requirement analysis and design requirements,the implementation of each microservice module of the deformation monitoring system is completed by using Java and Vue.js framework.(3)In this paper,a deformation monitoring algorithm based on weight assignment is improved.In this algorithm,different monitoring devices in the same monitoring area can be combined with multi-source sensors to unify the deformation monitoring hardware devices as the primary and sensors as the secondary to accurately monitor the possible deformation.(4)The deformation monitoring system was tested and deployed.According to the functions of the deformation monitoring system,functional tests were conducted by designing different test cases for each function,and performance tests were conducted by using JMeter.The test results show that the deformation monitoring system can still ensure good response speed and meet the performance requirements under the high concurrency situation.After the system passed the test,the system was deployed with the idea of containerized deployment,and it can run on the server stably and reliably. |