| With the development of information technologies, traditional software architectures have many challenges to face. On the one hand, the service logic of applications has become more complex than ever, yet shorter development cycles are required; on the other hand, the development of open API, container and other new technologies has propelled the evolution of software architecture. In this context, micro-service architecture gradually attracts the attention of the industry because of the loose coupling, independent deployment and high reusability. But it still lacks effective guidance on how to design and implement a micro-service system.To solve these problems, an "Open Micro-service Framework" is brought forward in this paper. The concept and characteristics of micro-service architecture are clarified; and the principles is put forward which should be followed in the development of the open micro-service. These principles include how to shift from the traditional architecture to micro-service architecture, how to organize the communication among services,how to conduct service deployment efficiently and so on. Besides, the typical solution and the sample implementation of each parts are discussed in detail.In this paper, the concept and practice of micro-service architecture is investigated to analyze the functional and non-functional requirements of micro-service framework. Then the "Open Micro Service Framework" is proposed. The framework is defined in six aspects: service partition,service portal, service communication, service data management, service deployment and service monitoring. In the end, a sample application is implemented according to the design paradigm of the framework to verify its effectivity. |