Journal of Applied Sciences ›› 2021, Vol. 39 ›› Issue (4): 521-531.doi: 10.3969/j.issn.0255-8297.2021.04.001

• Special Issue on CCF NCCA 2020 • Previous Articles    

Dynamic Microservice Interaction Platform Design Based on Stream Engine

YIN Yifan1, XU Kaizhou2, WANG Yanhua2, ZHOU Xin1, CAI Hongming1   

  1. 1. School of Software, Shanghai Jiao Tong University, Shanghai 200240, China;
    2. Xinli Power Equipment Institute, Shanghai Academy of Spaceflight Technology, Shanghai 201109, China
  • Received:2020-08-25 Published:2021-08-04

Abstract: In view of problems of traditional service design, such as high coupling, low transparency and complex change, a dynamic microservice interaction platform design based on stream engine is proposed. Service process is decomposed into fine-grained microservice models whose boundaries are defined in a unified model representation, so that a service can be implemented independently of the interfaces of other services. Microservices are connected through stream channels. Service encapsulation is carried out on the producer side based on temporal and spatial features of data to construct unified information representation. Service analysis is carried out on the consumer side to divide and reorganize data. A complete service process for business process is constructed, driven by streaming data. Based on this design, a visual microservice interaction management platform is realized and applied to spinning detection process of engine manufacturing. Compared with traditional service systems, this platform design features in lower coupling, more flexibility in service change, expansion and evolution, and improved performance in service monitoring and fault handling.

Key words: Internet of things, stream engine, microservice, service interaction, big data

CLC Number: