| Currently,smart home information management is not a good solution,so we need to develop a mature management system for smart home information management.Nowadays,large management systems are mostly developed with a single architecture.However,with the continuous improvement of system scalability,high availability,maintainability and other requirements,the traditional single architecture has been unable to meet the needs of system development.Nowadays,microservice architecture is starting to attract more and more attention.The main idea of microservice architecture is to break business logic into separate services that can be extended independently,thus reducing coupling.Systems developed with microservices architecture have significant improvements in scalability,performance,and availability.Therefore,this paper uesed microservice architecture to design a new system.Through specific analysis of intelligent home information management system,this paper will adopt Spring Cloud ecological technology combined with Spring Boot,Redis and other open source technologies for development.This paper introduces the theoretical knowledge points that need to be used in the development process in detail.Then it introduces the overall architecture deployment of the system and the analysis and design of user service,equipment service,data service and log service in detail.The function points of each service and the design of relevant system database are described in detail.In the detailed design and implementation stage of the system,this paper introduces the service registry discovery center,the establishment process of the registry and API gateway in the system,and describes the design and implementation of each service in detail by means of functional structure diagram,UML class diagram and introduction of core interface code.This research topic completes the design and realization of the specific functions of the system.This paper introduces the process of testing the system.The test mainly includes functional test and performance test.The function test verifies that all the services in the smart home information management system can meet the expected demand.Through the performance test,it is found that the system has good stability. |