| At present,the application of information technology in China’s oil industry has a considerable scale,but the production information system of each oil subordinate unit is mostly realized by traditional monolithic software architecture,so there are problems such as low system maintenance efficiency and information silos.The research content of this paper comes from a part of the research project of the No.2 Oil Production Plant of the Changqing Oilfield of China Petroleum.This paper proposes to adopt the idea of cloud framework of microservice architecture to study and develop the management information system of oil production plant.The main objective is to establish a cloud platform to manage the production management subsystems under it and logically integrate each production system through unified login.The article analyzes the requirements of the existing production information system and cloud platform,and the outline design and module detailed design are carried out according to the microservice architecture.In a broad sense,the system is divided into three layers: the service resource,the business,and the service governance layer.The system studied in this thesis is written in Java and developed using the Java-based Spring Cloud framework,with data persistence services built mainly from MySQL and Redis.The microservice architecture splits the system business into fine-grained components,which communicate with each other through HTTP remote connections,while each component can use an independent data source,thus reducing the coupling between modules and allowing each service component to be deployed independently.In this thesis,functional and non-functional tests are conducted on the system.The nonfunctional tests include reliability and concurrency tests,and the results show that the system designed based on microservice architecture can effectively solve the problems of scaling difficulties and insufficient concurrency performance under the monolithic architecture,and all aspects of the system meet the expected design requirements. |