Skip to main content

An Approach to Modeling and Verifying Multi-level Interrupt Systems with TMSVL

  • Conference paper
  • First Online:
Structured Object-Oriented Formal Language and Method (SOFL+MSVL 2019)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 12028))

  • 575 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Labrosse, J.J.: uC/OS-III: The Real-Time Kernel. Micrium Press, Weston (2009)

    Google Scholar 

  2. Wing, J.M.: A specifier’s introduction to formal methods. Computer 23(9), 8–22 (1990)

    Article  Google Scholar 

  3. Alur, R., Dill, D.L.: A theory of timed automata. Theor. Comput. Sci. 126(2), 183–235 (1994)

    Article  MathSciNet  Google Scholar 

  4. 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)

    Article  Google Scholar 

  5. Bouyer, P., Chevalier, F., Markey, N.: On the expressiveness of TPTL and MTL. Inf. Comput. 208(2), 97–116 (2010)

    Article  MathSciNet  Google Scholar 

  6. Katoen, J.P.: Principles of Model Checking. The MIT Press, Cambridge (2008)

    MATH  Google Scholar 

  7. Gallier, J.H.: Logic for Computer Science: Foundations of Automatic Theorem Proving. Courier Dover Publications, Mineola (2015)

    MATH  Google Scholar 

  8. Duan, Z., Zhang, N., Koutny, M.: A complete proof system for propositional projection temporal logic. Theor. Comput. Sci. 497, 84–107 (2013)

    Article  MathSciNet  Google Scholar 

  9. Wang, H., Duan, Z., Tian, C.: Model checking multi-agent systems with APTL. Adhoc Sens. Wirel. Netw. 37, 35–52 (2017)

    Google Scholar 

  10. 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

    Book  MATH  Google Scholar 

  11. Cui, J., Duan, Z., Tian, C., Zhang, N.: Modeling and analysis of nested interrupt systems. J. Softw. 29, 1670–1680 (2018)

    MathSciNet  MATH  Google Scholar 

  12. 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)

    Article  Google Scholar 

  13. 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

    Chapter  Google Scholar 

  14. 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

    Chapter  Google Scholar 

  15. 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)

    Google Scholar 

  16. Zhang, N., Duan, Z., Tian, C.: Model checking concurrent systems with MSVL. Sci. China Inf. Sci. 59(11), 118101 (2016)

    Article  Google Scholar 

  17. 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)

    Google Scholar 

  18. 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)

    Article  Google Scholar 

  19. 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

    Chapter  Google Scholar 

  20. 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)

    Article  Google Scholar 

  21. Yu, B., Duan, Z., Tian, C., Zhang, N.: Verifying temporal properties of programs: a parallel approach. J. Parallel Distrib. Comput. 118, 89–99 (2018)

    Article  Google Scholar 

  22. Duan, Z.: Temporal Logic and Temporal Logic Programming. Science Press, Beijing (2005)

    Google Scholar 

  23. Yang, K., Duan, Z., Tian, C., Zhang, N.: A compiler for MSVL and its applications. Theor. Comput. Sci. 749, 2–16 (2018)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Jin Cui or Xu Lu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics