With the widespread use of the Internet in daily life,the amount of information people get in daily life is also exploding.Simultaneously,with the rapid development of global informatization,the level of Internet communication is also rising rapidly.As a result,there are more and more types of electromagnetic signals in space,which brings difficulties to the collection,analysis,management and other operations of electromagnetic signals in space.Although the monolithic software architecture of traditional data management systems can meet the needs of data management,the problem of bloated code bases and serious coupling between systems leads to long development cycles,difficult maintenance,and iterative system development costs.These problems have long plagued the majority of developers.Therefore,for the problem of traditional monolithic architecture,this thesis designs a microservice-based electromagnetic data management system that can divide users into different levels to manipulate different levels of data.After a detailed requirements analysis of the electromagnetic data management system,a microservice-based system architecture is proposed.Then the system is divided into five microservices according to their respective business boundaries and microservices division criteria.The system design and implementation,including single sign-on services,rights management microservices,and data management microservices services,file microservices,and log microservices are carried out.Each microservice can be independently developed,compiled,and deployed,effectively reducing the coupling between various modules.Besides business function services,the developed system also contains several microservice components,including service registration and development,service gateway,and distributed configuration center,respectively implemented by Nacos Discovery,Spring Cloud Gateway,and Nacos Config.Based on the design of each microservice database,this paper implements the functions of various business modules,including interactive process design,service interface design,and interface-related design.Finally,combined with the requirements of electromagnetic management,an electromagnetic data management system that is easy to operate,safe,stableand qualified in performance is realized.In the end of this thesis,a detailed test is performed on the electromagnetic data management system based on microservices.The test is divided into two aspects:functional test and performance test.The functional test verifies the integrity of the functions of each interface in the system service.The performance test verifies the response speed of the system interface and the amount of concurrency that can be tolerated,ensuring the system’s operating efficiency and availability.The method and results obtained in this thesis have certain reference value for the implementation of microservices in electromagnetic data management systems. |