Abstract
Cyber-Physical System (CPS) has attracted extensive attention in diverse application fields. However, the modeling and verification of CPS is a great challenge because of its complexity and the changing interactive environments. Hence, how to simplify the complicated system design, improve the flexibility and correctness is a concerned research issue. Therefore, we provide a microservice-based framework of CPS application, named MSBF. The MSBF uses a level structure to explicit the interface and communication, and adopts the microservice architecture to guarantee the flexibility. To prove the correctness and reliability of MSBF, the formal method Communication Sequential Processes (CSP) is adopted to model and verify the MSBF. A method is proposed for transforming the main component of MSBF to CSP. Moreover, a case study of smart museum system is given, which has several requirements to be satisfied. The system is built by MSBF, and transformed to CSP. The modeling of the system includes the modules and interactive communications, and that illustrates the feasibility and sustainability of the framework. The Process Analysis Toolkit (PAT) is used to verify the properties of the constructed model. The verification results show that the deadlock does not exist and the requirements are satisfied.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Rajkumar, R., Lee, I., Sha, L., Stankovic, J.: Cyber-physical systems: the next computing revolution. In: Design Automation Conference. IEEE (2010)
Sha, L., Gopalakrishnan, S., Liu, X., Wang, Q.: Cyber-physical systems: a new frontier. In: 2008 IEEE International Conference on Sensor Networks, Ubiquitous, and Trustworthy Computing (SUTC 2008), Taichung. IEEE (2008)
Lee, E.: Cyber physical systems: design challenges. In: IEEE Symposium on Object Oriented Real-time Distributed Computing. IEEE Computer Society (2008)
Paik, H.-y., Lemos, A.L., Barukh, M.C., Benatallah, B., Natarajan, A.: Web service composition: overview. In: Paik, H. (ed.) Web Service Implementation and Composition Techniques, pp. 149–158. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-55542-3_5
Hasselbring, W., Steinacker, G.: Microservice Architectures for Scalability, Agility and Reliability in E-Commerce, pp. 243–246 (2017)
Hoare, C.A.R.: Communicating Sequential Processes. Prentice Hall International in Computer Science, Boston (1985)
Brookes, S.D., Hoare, C.A.R., Roscoe, A.W.: A theory of communicating sequential processes. J. ACM 31(3), 560–599 (1984)
PAT: Process Analysis Toolkit. http://pat.comp.nus.edu.sg/
Sun, J., Liu, Y., Dong, J.S.: Model checking CSP revisited: introducing a process analysis toolkit. In: Margaria, T., Steffen, B. (eds.) ISoLA 2008. CCIS, vol. 17, pp. 307–322. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-88479-8_22
Lee, J., Bagheri, B., Kao, H.A.: A cyber-physical systems architecture for Industry 4.0-based manufacturing systems. Manuf. Lett. 3, 18–23 (2015)
Masin, M., et al.: Cross-layer design of reconfigurable cyber-physical systems. In: 2017 Design, Automation and Test in Europe Conference and Exhibition (DATE). IEEE (2017)
Hong, Y., et al.: A novel multi-agent model-free control for state-of-charge balancing between distributed battery energy storage systems. IEEE Trans. Emerg. Top. Comput. Intell. 99, 1–10 (2020)
Barik, R.K., Dubey, H., Mankodiya, K.: SoA-Fog: secure service-oriented edge computing architecture for smart health big data analytics. In: 2017 IEEE Global Conference on Signal and Information Processing (GlobalSIP). IEEE (2018)
Batchkova, I., Ivanova, T.: Model-driven development of agent-based cyber-physical systems. IFAC-Papers OnLine 52(25), 258–263 (2019)
Hu, Y., Zhou, X.: CPS-Agent oriented construction and implementation for cyber physical systems. IEEE Access 1 (2018)
He, X., et al.: A framework for developing cyber physical systems. In: The 29th International Conference on Software Engineering and Knowledge Engineering (2017)
Cicirelli, F., et al.: Model continuity in cyber-physical systems: a control-centered methodology based on agents. Simul. Model. Pract. Theory Int. J. Feder. Eur. Simul. Soc. 83, 93 (2018)
Feljan, A.V., et al.: SOA-PE: a service-oriented architecture for planning and execution in cyber-physical systems. In: International Conference on Smart Sensors and Systems. IEEE (2017)
Mohalik, S.K., et al.: Adaptive service-oriented architectures for cyber physical systems. In: 2017 IEEE Symposium on Service-Oriented System Engineering (SOSE). IEEE (2017)
Bigheti, J.A., Fernandes, M.M., Godoy, E.D.P.: Control as a service: a microservice approach to Industry 4.0. In: IEEE International Workshop on Metrology for Industry 4.0 and Internet of Things National Service of Industrial Training (Senai), Lençóis Paulista, São Paulo State University (Unesp) (2019)
Pop, E., Gifu, D.: A cyber-physical systems oriented platform using web services. In: 2019 22nd International Conference on Control Systems and Computer Science (CSCS) (2019)
Nakagawa, H., et al.: A model transformation approach to constructing agent-oriented design models for CPS/IoT systems. In: SAC 2020: The 35th ACM/SIGAPP Symposium on Applied Computing. ACM (2020)
Acknowledgment
This work was supported financially by the National Natural Science Foundation of China ((No. 61572195, 61872145), the Open Project of Shanghai Key Laboratory of Trustworthy Computing (No. 07dz22304201603).
Author information
Authors and Affiliations
Corresponding authors
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Wang, J., Mao, H., Jiang, N. (2021). Formal Modeling and Verification of Microservice-Based Cyber-Physical System. In: Xue, J., Nagoya, F., Liu, S., Duan, Z. (eds) Structured Object-Oriented Formal Language and Method. SOFL+MSVL 2020. Lecture Notes in Computer Science(), vol 12723. Springer, Cham. https://doi.org/10.1007/978-3-030-77474-5_3
Download citation
DOI: https://doi.org/10.1007/978-3-030-77474-5_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-77473-8
Online ISBN: 978-3-030-77474-5
eBook Packages: Computer ScienceComputer Science (R0)