Abstract
In embedded systems and operating systems, the interrupt mechanism is an important way to ensure real-time response to kinds of asynchronous events. While the interrupt mechanism changes the execution traces of the main program, it makes modeling and verification of systems with interrupt difficulty. Therefore, we propose an approach to modeling and verifying multi-level interrupt systems. Firstly, the model of multi-level interrupt systems based on Time Projection Temporal Logic (TPTL) is proposed. On this basis, the model can be used to extend the TMSVL language and the TMSVL interpreter so that multi-level interrupt systems can be modeled, simulated and verified automatically. Finally, a case study is given to show the correctness and practicability of the proposed approach.
This research is supported by the NSFC Grant Nos. 61806158, 413619001, China Postdoctoral Science Foundation Nos. 2019T120881 and 2018M643585, and PhD research funding No. 134010012.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Labrosse, J.J.: uC/OS-III: The Real-Time Kernel. Micrium Press, Weston (2009)
Wing, J.M.: A specifier’s introduction to formal methods. Computer 23(9), 8–22 (1990)
Alur, R., Dill, D.L.: A theory of timed automata. Theor. Comput. Sci. 126(2), 183–235 (1994)
Sun, J., Liu, Y., Dong, J.S., Liu, Y., Shi, L., André, É.: Modeling and verifying hierarchical real-time systems using stateful timed CSP. ACM Trans. Softw. Eng. Methodol. 22(1), 1–29 (2013)
Bouyer, P., Chevalier, F., Markey, N.: On the expressiveness of TPTL and MTL. Inf. Comput. 208(2), 97–116 (2010)
Katoen, J.P.: Principles of Model Checking. The MIT Press, Cambridge (2008)
Gallier, J.H.: Logic for Computer Science: Foundations of Automatic Theorem Proving. Courier Dover Publications, Mineola (2015)
Duan, Z., Zhang, N., Koutny, M.: A complete proof system for propositional projection temporal logic. Theor. Comput. Sci. 497, 84–107 (2013)
Wang, H., Duan, Z., Tian, C.: Model checking multi-agent systems with APTL. Adhoc Sens. Wirel. Netw. 37, 35–52 (2017)
Clarke, E.M., Henzinger, T.A., Veith, H., Bloem, R.: Handbook of Model Checking, vol. 10. Springer, Heidelberg (2018). https://doi.org/10.1007/978-3-319-10575-8
Cui, J., Duan, Z., Tian, C., Zhang, N.: Modeling and analysis of nested interrupt systems. J. Softw. 29, 1670–1680 (2018)
Huang, Y., He, J., Zhu, H., Zhao, Y., Shi, J., Qin, S.: Semantic theories of programs with nested interrupts. Front. Comput. Sci. 9(3), 331–345 (2015)
Xu, F., Fu, M., Feng, X., Zhang, X., Zhang, H., Li, Z.: A practical verification framework for preemptive OS kernels. In: Chaudhuri, S., Farzan, A. (eds.) CAV 2016. LNCS, vol. 9780, pp. 59–79. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-41540-6_4
Hou, G., Zhou, K., Chang, J., Li, R., Li, M.: Interrupt modeling and verification for embedded systems based on time petri nets. In: Wu, C., Cohen, A. (eds.) APPT 2013. LNCS, vol. 8299, pp. 62–76. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-45293-2_5
Liu, H., Zhang, H., Jiang, Y., Song, X., Gu, M., Sun, J.: iDola: bridge modeling to verification and implementation of interrupt-driven systems. In: Theoretical Aspects of Software Engineering Conference, pp. 193–200. IEEE (2014)
Zhang, N., Duan, Z., Tian, C.: Model checking concurrent systems with MSVL. Sci. China Inf. Sci. 59(11), 118101 (2016)
Pan, M., Chen, S., Pei, Y., Zhang, T., Li, X.: Easy modelling and verification of unpredictable and preemptive interrupt-driven systems. In: Proceedings of the 41st International Conference on Software Engineering, pp. 212–222. IEEE Press (2019)
Cui, J., Duan, Z., Tian, C., Du, H., Zhang, N.: A novel approach to modeling and verifying real-time systems for high reliability. IEEE Trans. Reliab. 67(2), 481–493 (2018)
Duan, Z., Tian, C.: A unified model checking approach with projection temporal logic. In: Liu, S., Maibaum, T., Araki, K. (eds.) ICFEM 2008. LNCS, vol. 5256, pp. 167–186. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-88194-0_12
Wang, M., Tian, C., Zhang, N., Duan, Z.: Verifying full regular temporal properties of programs via dynamic program execution. IEEE Trans. Reliab. 68, 1101–1116 (2018)
Yu, B., Duan, Z., Tian, C., Zhang, N.: Verifying temporal properties of programs: a parallel approach. J. Parallel Distrib. Comput. 118, 89–99 (2018)
Duan, Z.: Temporal Logic and Temporal Logic Programming. Science Press, Beijing (2005)
Yang, K., Duan, Z., Tian, C., Zhang, N.: A compiler for MSVL and its applications. Theor. Comput. Sci. 749, 2–16 (2018)
Author information
Authors and Affiliations
Corresponding authors
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Cui, J., Lu, X., Liang, B. (2020). An Approach to Modeling and Verifying Multi-level Interrupt Systems with TMSVL. In: Miao, H., Tian, C., Liu, S., Duan, Z. (eds) Structured Object-Oriented Formal Language and Method. SOFL+MSVL 2019. Lecture Notes in Computer Science(), vol 12028. Springer, Cham. https://doi.org/10.1007/978-3-030-41418-4_5
Download citation
DOI: https://doi.org/10.1007/978-3-030-41418-4_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-41417-7
Online ISBN: 978-3-030-41418-4
eBook Packages: Computer ScienceComputer Science (R0)