Research on Application of SME Manufacturing Cloud Platform Based on Micro Service Architecture

Research on Application of SME Manufacturing Cloud Platform Based on Micro Service Architecture

Available online at www.sciencedirect.com Available online at www.sciencedirect.com ScienceDirect ScienceDirect Available online atonline www.science...

611KB Sizes 1 Downloads 67 Views

Available online at www.sciencedirect.com Available online at www.sciencedirect.com

ScienceDirect ScienceDirect Available online atonline www.sciencedirect.com Available at www.sciencedirect.com Procedia CIRP 00 (2019) 000–000 Procedia CIRP 00 (2019) 000–000

ScienceDirect ScienceDirect

www.elsevier.com/locate/procedia www.elsevier.com/locate/procedia

Procedia CIRP 00 (2017) 000–000 Procedia CIRP 83 (2019) 596–600 www.elsevier.com/locate/procedia

11th CIRP Conference on Industrial Product-Service Systems 11th CIRP Conference on Industrial Product-Service Systems

Research on Application of SME Manufacturing Cloud Platform Based on Research on Application of SME Manufacturing Cloud Platform Based on 28th CIRP Design Conference, May 2018, Nantes, France Micro Service Architecture Micro Service Architecture A new methodology to analyze theRenYuan functional physical architecture of a, b b Zhou Yi *,Wang Meilina, Chen ,Wangand YangShuai , Wang Jiaob a b b Yi a,*,Wang Meilin , Chen RenYuan ,Wang YangShuai , Wang Jiaob existingZhou products for an assembly oriented product family School of Information Engineering, Guangdong University of Technology, China identification a

baSchool School

of of Information Information Engineering, Engineering, Guangdong Guangdong University University of of Technology, Technology, China China

bSchool of Information Engineering, Guangdong University of Technology, China Paul Stief *, Jean-Yves Dantan, Alain Etienne, Ali Siadat * Corresponding author. Tel.: +8618318881572; E-mail address:[email protected]

* Corresponding author. Tel.: +8618318881572; E-mail address:[email protected] École Nationale Supérieure d’Arts et Métiers, Arts et Métiers ParisTech, LCFC EA 4495, 4 Rue Augustin Fresnel, Metz 57078, France

*Abstract Corresponding author. Tel.: +33 3 87 37 54 30; E-mail address: [email protected]

Abstract For SMEs, intelligent manufacturing execution is an important part of perfecting PSS. the business requirements of small and medium-sized manufacturing enterprises vary greatly, and system maintenance arethe facing enormous challenges. However, the existing For SMEs, intelligent manufacturing execution is an development important partand of perfecting PSS. business requirements of small and medium-sized Abstract manufacturing execution can not and quickly respond to the requirements of business reconfiguration. at the current requirements enterprisessystem vary greatly, system development and maintenance are facing enormous Aiming challenges. However, the existing of manufacturing execution system of quickly SME, respond and withto the requirements development of of business enterprise in cloud manufacturing, this paperrequirements proposes a manufacturing execution system can not reconfiguration. Aiming at the current Inof today’s business environment, the trend towards more product variety and customization Due to this development, the need ofa manufacturing cloud platform system application for small and development medium-sized enterprises based on micro-service manufacturing execution of research SME, and with the ofmanufacturing enterpriseisinunbroken. cloud manufacturing, this paper architecture. proposes agile andresearch reconfigurable production systems emerged tosmall copeand with various products and product families. To design and optimizearchitecture. production In this we have introduced the design of for platform's micro-service architecture and the implementation platform-based business manufacturing cloud platform application research medium-sized manufacturing enterprises based onofmicro-service systems as aswetohave choose the optimal product product analysis methods needed. Indeed, of of the known methods aim to system. It well can solve the problems of the business expansion and user requirement cannotarebeand quickly respondmost caused by platform-based the huge application of In this research introduced design ofmatches, platform's micro-service architecture the implementation business analyze aItproduct or one product family on the physical level. Different product families, however, differ caused largely in of the number and traditional monolithic architecture. It an effective support the development systems. system. can solve the problems ofprovides business expansion and userfor requirement cannotof bebusiness quicklymay respond byterms the huge application of nature of components. This fact impedes an efficient comparison andthe choice of appropriate product family combinations for the production traditional monolithic architecture. It provides an effective support for development of business systems. system. new methodology is proposed to analyze © 2019AThe Authors. Published by Elsevier B.V. existing products in view of their functional and physical architecture. The aim is to cluster © 2019 The Authors. Published by Elsevier B.V. these products in new assembly product families for optimization ofConference existingonassembly lines and the creation of future reconfigurable Peer-review under responsibility ofthe thescientific scientific committee of 11th CIRP on Industrial Product-Service Systems. © 2019 The under Authors. Publishedoriented by Elsevier B.V. Peer-review responsibility of committee ofthe thethe 11th CIRP Conference Industrial Product-Service Systems assembly systems. on Datum Chain, the physicalofstructure the products is analyzed. Functional subassemblies are identified, and Peer-review underBased responsibility of Flow the scientific committee the 11thofCIRP Conference on Industrial Product-Service Systems. Framework;Cloud Platform;MES ;SME ;Cloud Manufacturing a Keywords: functionalMicroservices analysis is performed. Moreover, a hybrid functional and physical architecture graph (HyFPAG) is the output which depicts the similarity product families by providing design support to both, production system planners and product designers. An illustrative Keywords:between Microservices Framework;Cloud Platform;MES ;SME ;Cloud Manufacturing example of a nail-clipper is used to explain the proposed methodology. An industrial case study on two product families of steering columns of thyssenkrupp Presta France is then carried out to give a first industrial evaluation of the proposed approach. ⚫ There is a big difference in MES business models Introduction ©1.2017 The Authors. Published by Elsevier B.V. between enterprises. Peer-review under responsibility of the scientific committee of the 28th CIRP Conference 2018. ⚫ Design There is adifferent big difference in MES business models 1. Introduction

Poor dynamic configuration between different enterprises.of business processes within the Poorenterprise. dynamic configuration of business processes within The shortage of enterprise information technology the enterprise. is an intelligent production site management industrial PSS formanufacturing SMEs. The manufacturing execution system talents. The shortage of enterprise information technology solution.Manufacturing Execution System(MES) is an is an intelligent manufacturing production site management In order to solve the above problems in the construction of talents. part in the Execution process of System(MES) smart manufacturing solution.Manufacturing is an of the product 1.important Introduction rangethe andabove characteristics manufactured and/or In order tosystems solve problems in thethis construction of information for SSME at this stage, paper adopts upgrading of Small and manufacturing Medium-sized important and part transformation in the process of smart assembled in this system. In this context, the main challenge in information systems for SSME at this stage, this paper adopts the micro-service framework technology to implement MES. Manufacturing to "made China 2025". upgrading and Enterprises(SMME) transformation of Small andinMedium-sized Due to the fast development in the domain of modelling and analysis is now not only to cope with single the The micro-service framework technology to implement MES. (1) micro-service technology adopts unified management At present, theEnterprises(SMME) manufacturing execution system technology Manufacturing to "made in China 2025". communication and an ongoing trend of digitization and products, a registration, limited product rangediscovery, or existing product families, (1) The micro-service technology adopts unified management of service service message bus, load research needs large number ofexecution technical system personnel maintain, At present, thea manufacturing technology digitalization, manufacturing enterprises are facing important but also to be able to analyze anddiscovery, to compare products torealize define of service registration, service message bus, load balancing and other technologies, which can at the same time it requires and expensive information research needs a large numberhigh of technical personnel maintain, challenges in today’s market environments: a continuing new productand families. It can beofobserved that classical existing balancing and other technologies, which can realize decoupling combination the business modules of MES construction costs. So it high only and applies to some large at the same time it requires expensive information tendency towards reduction of product development times and product families regrouped in the function ofintegrated clients or features. decoupling and are combination of business modules ofsystem MES system quickly. The highly coupled manufacturing enterprises, SMMElarge to construction costs. So it and only difficult applies for to some shortened product lifecycles. In addition, there is an increasing However, assembly oriented product families are hardly to find. system quickly. The highly coupled integrated system applications are divided into micro-service business modules implement. Also,enterprises, there are fewand MESdifficult system platforms suitable manufacturing for SMME to demand of customization, being at the same time in a global On the product family level, products differ mainly in two applications divided into business business modules with small are granularity. Formicro-service different enterprise for small andAlso, medium-sized enterprises in theplatforms market. suitable implement. there are few MES system competition with competitors all over the world. This trend, main characteristics: (i) the number of components and (ii) the with small For differentbusiness enterprise business systems, the granularity. decoupled micro-service modules can the small main and problems in the implementation in SSME for medium-sized enterprises inof theMES market. which is inducing the development from macro to micro type of components (e.g. mechanical, electrical, electronical). systems, the decoupled micro-service business be assembled through the micro-service system,modules so that can the are as follows: the summarized main problems in the implementation of MES in SSME markets, results in diminished lot sizes due to augmenting Classical methodologies considering mainly single products be assembled through the micro-service system, so that the are summarized as follows: product varieties (high-volume to low-volume production) [1]. or solitary, already existing product families analyze the 2212-8271 © 2019 Theaugmenting Authors. Published by Elsevier To cope with this variety as wellB.V. as to be able to product structure on a physical level (components level) which Peer-review the scientific committee the 11th CIRP Conference Product-Service 2212-8271 possible ©under 2019responsibility The optimization Authors. of Published by Elsevier B.V. identify potentials in ofthe existing causeson Industrial difficulties regardingSystems. an efficient definition and doi:10.1016/j.procir.2017.04.009 Peer-review under responsibility of the scientific committee of the 11th CIRP Conference on Industrial Product-Service Systems.families. Addressing this production system, it is important to have a precise knowledge comparison of different product Intelligent manufacturing is an important part of improving

Keywords: Assembly; Family identification industrial PSSmanufacturing for Design SMEs.method; Theismanufacturing execution system Intelligent an important part of improving

⚫ ⚫ ⚫ ⚫

doi:10.1016/j.procir.2017.04.009

2212-8271©©2017 2019The The Authors. Published by Elsevier 2212-8271 Authors. Published by Elsevier B.V. B.V. Peer-reviewunder underresponsibility responsibility scientific committee of the CIRP Conference on 2018. Industrial Product-Service Systems. Peer-review of of thethe scientific committee of the 28th11th CIRP Design Conference 10.1016/j.procir.2019.04.091

2

Zhou Yi et al. / Procedia CIRP 83 (2019) 596–600 Author name / Procedia CIRP 00 (2019) 000–000

implementation and expansion of the business can be realized quickly. (2) The small-grained business module built by micro-service technology has the specific function and limited influence scope. Therefore, according to the business requirements of SSME it can be rapidly reconstructed, which greatly reducing the complexity of business restructuring. (3) The micro service business module can be deployed as a Docker image. The rapid deployment of Docker [9] can realize the rapid installation and implementation of the cloud, which can solve the problem of shortage of technical personnel in the manufacturing industry.

597

business is divided into production order service, process management service, quality management service and production process service. The micro-service development model is used to develop various micro-service modules. According to the requirements of production services, different enterprises can configure and deploy corresponding micro-service modules to implement the enterprise manufacturing business. By this way, the enterprise can achieve individualized production requirements. The overall architecture of the system is shown in the Fig.1

2. MES research status 2.1. Cloud manufacturing, microservice architecture Li Bohu, a well-known Chinese expert on manufacturing informatization, proposes a new model of networked-oriented service manufacturing, which integrates existing networked manufacturing, cloud computing, service-oriented technology, high-performance computing, Internet of things and other related technologies. He named this model as cloud manufacturing. [3] With the concept of microservices architecture which is similar to the idea of software isolation proposed in 2012, the theory of micro services is constantly improving, and the number of developers of micro services is constantly increasing. Jiang Yong proposed the basic design based on micro-service architecture [4] Tan Yiming has carried out the design and implementation of high coupling platform service framework based on micro-service architecture [5]. At present, the application requirements of micro-service technology in various fields are increasing and some enterprise projects have emerged, such as manufacturing, e-commerce, etc. [6]. 2.2. SOA, configurable MES In recent years, the research team of Liu Weining's manufacturing laboratory at Chongqing University in China conducted in-depth research on the introduction of serviceoriented technology in the field of manufacturing execution systems. [1]. Zhang Yingfeng, a manufacturing technology team of Northwestern Polytechnical University, proposed a manufacturing execution system based on the Internet of things technology by combining the emerging Internet of things technology. [2][7] Aiming at the variability and complexity of manufacturing execution system application, Rao Yunqing and Zhou Wei of Huazhong University of Science and Technology in China have studied the configurable MES system for assembly workshops, and guided and controlled the execution of process models through workflow engine [8]. 3. MES microservice framework 3.1. Framework system A manufacturing execution system based on microservice framework is built in this paper. Manufacturing execution

Fig. 1. System Framework

Application interaction layer The technology of separating the front and back ends is used to implement the business operations of the manufacturing execution system on the Web and mobile clients. Through the RESTful interface of the micro-service layer, the services can be called from each other. ⚫ Microservice layer The micro-service layer consists of some manufacturing execution system function micro-services, including production management micro, quality management, process management, and production process micro-services. Built with micro-service technology, the micro-service layer can quickly form a new micro-service business system. ⚫ Atomic Business layer The atomic business component layer deploys the business logic components of the MES system, such as materials, quality, equipment, work in process management components, and so on. When the microservice starts, the atomic business component implementation is obtained according to the functional mode, and the combination of the microservices is completed by various atomic services. ⚫ Infrastructure layer This layer mainly provides infrastructure services for upper-layer services, including some functional components of micro-service architecture technology to implement monitoring of micro-service services, Ribbon, Redis, and database underlying resources. ⚫

Zhou Yi et al. / Procedia CIRP 83 (2019) 596–600 Author name / Procedia CIRP 00 (2019) 000–000

598

3.2. Gateway implements manufacturing business In the micro-service framework, the micro-service function of the manufacturing execution system is implemented by adopting the micro-service gateway technology, and the micro-service gateway provides a unified request entry for the client and is responsible for request routing, service composition, and protocol conversion. The gateway implementation flow chart is shown in Fig.2

Fig. 2. Microservice Gateway Implementation Process

The service gateway is the unified portal of the system. The registration center provides a unified underlying microservice API entry and registration management. Encapsulates the internal system architecture and provides REST APIs to clients. During the startup process, the microservice first registers its information to the service registry through service registration. When the microservice client sends a request, it requests the service gateway, and then the service gateway reads the request data and obtains it from the service registry. Corresponding information. Finally, the service gateway calls the corresponding microservice. 4. MES based on microservice architecture 4.1. Service call protocol In the manufacturing execution system under the microservice architecture, each micro-service communicates through the HTTP protocol. The production order service, the engineering process service, the order scheduling service, and the quality control service all pass the request parameters to realize the information transmission. This kind of message delivery method is difficult to ensure the uniformity of the service request format between the microservices in the entire manufacturing execution system.A service call protocol based on the HTTP protocol is specified to encapsulate the service request information, which can unify the entire manufacturing execution. Each micro-service request invocation format in the system realizes the unification of the message format of the service consumer and the service publisher. When the service invocation request occurs, the message carried by the request parameter is encapsulated by a unified protocol to achieve the consistency of the request call between the services, which is the key to ensure the consistency of the service call. This section proposes a Service Request Protocol (SRP) for this problem. The SRP describes the target service and the required parameter information of the target service

3

through different service name attributes and parameter attributes, which are represented by JSON data. With the SRP protocol, a request entity that encapsulates the target service and the parameters required by the target service can be provided to the service consumer. The SRP protocol is a unified service request and service response protocol, and is a service communication protocol customized to realize the consistency of service request information and service response information format. It mainly consists of the target service information and the parameter information required by the target service. These two parts together form a data protocol package for a service request or response. To achieve consistency with the common data protocol format, the SRP protocol also consists of a header and a body. The various attributes of the SRP protocol are shown in the following table: Table 1. SRP Protocol Attribute Element Parent element ServiceName Header ServicePath Header OperationType Header OperationPath Header Token Header Entity Body RequestEntity Entity ParamName RequestEntity ParamType RequestEntity ResponseEntity Entity ResponseName ResponseEntity ResponseType ResponseEntity

Type String String String String String Object List String Object List String Object

4.2. Production business process realization In the overall process of production in a manufacturing enterprise, the main process is that receive the acquisition order information -> order release -> process route -> scheduling production -> production execution -> product inspection -> product report. In this process, different service modules need to be called to execute. MES system based on the micro-service architecture is a service-centered workshop manufacturing information management system, and the business process is designed and optimized according to each functional service of the MES. For example, the flow chart of the production process of metal MES is as follows:

4

Zhou Yi et al. / Procedia CIRP 83 (2019) 596–600 Author name / Procedia CIRP 00 (2019) 000–000

Fig. 3. Production process business flow chart

Production management is an aggregation service. It is a boundary service exposed to the client. It mainly manages the entire production process by aggregating order service, process service, scheduling service, and quality inspection service. After the front-end order request arrives at GateAPI, the production management micro-service is called. The production management service generates a production order by calling the API interface provided by the order service according to the order number. The production management service calls the process service to generate the shop floor process according to the production order number and the order type. After the generated shop floor process is modified and confirmed, the scheduling service can be called to release the order job. The workshop operator obtains the specific target operation through the scheduling service. After the processing is completed, the quality inspection information is reported through the production management aggregation service. ⚫ Order Service The order service is mainly responsible for the production and editing of the production order. A production order batch is automatically generated after the enterprise order is obtained from the ERP system. The split operation before the job is released is split in the production order batch. Each batch of production orders corresponds to a unique shop floor and shop quality inspection template, and the shop floor and shop quality inspection templates corresponding to the batch production order can be edited before the production order job is released. The interface information of the entire order service is as follows: Table 2. Order micro service interface business description API

Parameter Type

Business Description

/order/crea te

OrderInfo

Create an order based on a business order

/order/craft /{id}

Integer

Get process information based on order ID

/order/craft

PlantCraftIn fo

Edit workshop process information

/order/batc h/{id}

Integer、Ba tchList

Split production orders based on batch information

Process Service In the process management business, the process management micro-services and production management micro-services are first selected from the production management micro-applications to select the production orders, and the standard process is selected as the workshop process through the standard process library, and each order batch is selected in the process management. Develop a craft card. The process card sets the set of processes required to produce the part, including all possible processes. ⚫

599

Table 3. Process microservice interface business description API

Parameter Type

Business Description

/craft/order/{id}

Integer

/craft/CraftType

PlantCraftTypeInfo

/craft/CraftEdit

PlantCraftEditInfo

/order/CraftChec kStatus

PlantCraftCheckSta tusInfo

Get process information based on order ID Workshop process type information Edit workshop process information Review process templates based on orders

Quality service The quality management micro-service controls the quality and business process according to the criteria to provide platform statistics, analysis and query related information for production data processing, and feeds the quality report information to the production management micro-service through the micro-service architecture API Gateway. ⚫

API

Table 4. Quality microservice interface business description Parameter Type Business Description

/Job/create{id}

VARCHAR

/order/ReportQualified Count

Integer

/order/ReportBadCount

PlantReportBadCountI nfo

Get business job order information Reporting on products according to quality inspection services Handling inconsistent information

5. Conlusion This paper studies and implements the application research of manufacturing cloud platform of SMME based on microservice architecture, which divides the business functions of manufacturing execution system into various micro-services. Building the manufacturing execution system business through micro-service framework, each business module is a unit that can be deployed and run independently. And Clear boundaries are defined between modules in the form of message-driven RESTAPI . For the diversity of SME business, the microservice system is used to assemble the decoupled microservice service modules to achieve rapid assembly of services. For the variability of internal business processes, small - grained business module components are built by microservice technology. Each small - grained component has a small scope of influence and can realize the rapid combination of internal business processes. The micro-service module is deployed as a Docker image to quickly implement cloud deployment and installation of micro-services to solve the shortage of technical talents in SMEs. Acknowledgements This work is supported by the National Nature Science Foundation of China (no. U1701266, no. 61372173 and no. 61671163), the Guangdong Province (2014B050502014, 2017KCXTD011, 501130144, GDJ2016004, 2017B090901056, 2018B030322016), Hong Kong (no. S/E/070/17), Guangzhou (No. 201802020007).

600

Zhou Yi et al. / Procedia CIRP 83 (2019) 596–600 Author name / Procedia CIRP 00 (2019) 000–000

References [1] WANG Qifeng,LIU Fei,HUANG Hailong.Research on service-oriented discrete workshop reconfigurable manufacturing execution system[J].Computer Integrated Manufacturing Systems,2008(04):737-743. [2] Zhang Yingfeng, Zhao Yubin, Sun Shudong, Wang Junqiang, Si Shubin. A Method and Key Technology of Manufacturing Execution System Based on IoT Technology[J]. Computer Integrated Manufacturing Systems, 2012, 18(12): 2634-2642. . [3] Li Bohu, Zhang Lin, Wang Shilong, Tao Fei, Cao Junwei, Jiang Xiaodan, Song Xiao, Chai Xudong. Cloud Manufacturing——A New Model of Service-Oriented Networked Manufacturing[J].Computer Integrated Manufacturing Systems,2010,16(01) :1-7+16. [4] Jiang Yong. Infrastructure Design Based on Microservice Architecture[J]. Software, 2016, 37(05): 93-97.

5

[5] Tan Yiming. Design and implementation of platform service framework based on microservice architecture [D]. Beijing Jiaotong University, 2017. [6] Lu Wenhu. Design and implementation of manufacturing execution system based on microservice architecture [D]. Zhejiang University, 2018. [7] WANG Junqiang, ZHOU Xueming, GUO Yinzhou, YANG Hongan, ZHANG Yingfeng, SUN Shudong.Design and implementation of software architecture for scalable manufacturing execution system[J].Computer Integrated Manufacturing Systems,2014,20(05):1035-1050. [8] ZHOU Wei, RAO Yun-qing, SHAO Xin-yu, WANG Kun-peng. Workflow-based Assembly Shop Configurable Manufacturing Execution System[J].Mechanical Science and Technology,2009,28(09):1162-1166. [9] Wang Yaling, Li Chunyang, Cui Wei, Zhang Jing. Construction of PaaS Platform Based on Docker[J]. Computer Systems, 2016, 25(03): 72-77.