| Global climate change and frequent human activities aggravate the occurrence of soil erosion.Soil erosion has a huge impact on the ecosystem.In areas chronically affected by soil erosion,the ecological environment becomes fragile,the economic development lags behind,and the survival of human beings are also affected.Hence soil and water conservation plays an important role in ecosystem balance.In the process of implementation,data monitoring is vitally important which helps to analyze the effectiveness of soil and water conservation and provide reference for making the next work decision.So the digitalization of soil and water conservation monitoring is necessary.To achieve the above goal,this paper designs and realizes the monitoring platform.This platform takes the Jiusan Soil and Water Conservation Experiment Station(Jiusan)as the research object.First,according to the observation of Jiusan’s monitoring business,the user roles and functional requirement are analyzed with the UML use case diagrams,and the requirements for non-functional are put forward.Then,the overall design of the platform is completed with network structure diagram,software hierarchy diagram,functional module diagram,ER diagram,and prototype diagram.Next,the detailed design is completed by applying UML class diagrams,and using sequence diagrams to show the sequential interaction process between various objects.Finally,Spring Cloud is adopted to build microservices architecture.The development mode of front and back separation is adopted for each microservice.Spring Boot and Vue are used as the development framework.MySQL is selected as the database management system.Canal is adopted to sync incremental data of MySQL.Docker is adopted to deploy.And the development of monitoring platform of soil and water conservation test station is completed.After the development,the test cases are designed in this paper following the results of requirements analysis.Functional and non-functional tests are completed,and the test results are analyzed to verify the effectiveness of the monitoring platform.At present,the monitoring platform is in operation and can meet the needs of users. |