[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to main content

A Event-B-Based Approach for Schedulability Analysis For Real-Time Scheduling Algorithms through Deadlock Detection

  • Conference paper
  • First Online:
Engineering of Complex Computer Systems (ICECCS 2024)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14784 ))

Included in the following conference series:

  • 60 Accesses

Abstract

Event-B is a refinement-based formal method that enables incremental modeling of complex systems and supports verifying system properties. Real-time systems adhere to strict timing constraints by the tasks within the system. The real-time scheduling algorithm serves as the cornerstone to guarantee the timely completion of tasks. Therefore, modeling real-time scheduling algorithms and verifying schedulability represent prominent areas of focus within the realm of real-time systems. While existing approaches often employ model checking, the scalability of the model and the problem of state explosion during verification remain challenges. Relying on theorem proving, Event-B allows for rigorous verification of system properties and circumvents state explosion. Benefiting from model refinement, the abstract model can be extended and refined to implement various scheduling algorithms.

This paper introduces an Event-B-based framework for modeling real-time scheduling algorithms and verifying properties, including schedulability. The framework provides a common refinement pattern for modeling the schedulability of the Event-B model. It facilitates the transformation of the schedulability analysis on the obtained model into the deadlock detection problem within the model. Deadlock detection can be effectively addressed through either theorem proving or model checker. We utilized Event-B to model and refine several real-time scheduling algorithms. Following the formal verification of functional and environmental requirements, we analyzed and verified the model’s schedulability within the proposed framework.

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

Access this chapter

Subscribe and save

Springer+ Basic
£29.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
GBP 19.95
Price includes VAT (United Kingdom)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
GBP 79.99
Price includes VAT (United Kingdom)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
GBP 59.99
Price includes VAT (United Kingdom)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Abrial, J.R.: Modeling in Event-B: System and Software Engineering. Cambridge University Press, Cambridge (2010)

    Google Scholar 

  2. Abrial, J.R., Butler, M., Hallerstede, S., Hoang, T.S., Mehta, F., Voisin, L.: Rodin: an open toolset for modelling and reasoning in event-b. Int. J. Softw. Tools Technol. Transf. 12, 447–466 (2010)

    Article  Google Scholar 

  3. Abrial, J.R., Hoare, A., Chapron, P.: The b-book. (No Title) (1996)

    Google Scholar 

  4. Butler, M., Falampin, J.: An approach to modelling and refining timing properties in b (2002)

    Google Scholar 

  5. Cansell, D., Méry, D., Rehm, J.: Time constraint patterns for event B development. In: Julliand, J., Kouchnarenko, O. (eds.) B 2007. LNCS, vol. 4355, pp. 140–154. Springer, Heidelberg (2006). https://doi.org/10.1007/11955757_13

    Chapter  Google Scholar 

  6. David, A., Illum, J., Larsen, K.G., Skou, A.: Model-based framework for schedulability analysis using UPPAAL 4.1. In: Model-Based Design for Embedded Systems, pp. 117–144. CRC Press (2018)

    Google Scholar 

  7. Foughali, M., Hladik, P.E.: Bridging the gap between formal verification and schedulability analysis: the case of robotics. J. Syst. Archit. 111, 101817 (2020)

    Article  Google Scholar 

  8. Guan, N., Gu, Z., Deng, Q., Gao, S., Yu, G.: Exact schedulability analysis for static-priority global multiprocessor scheduling using model-checking. In: Obermaisser, R., Nah, Y., Puschner, P., Rammig, F.J. (eds.) SEUS 2007. LNCS, vol. 4761, pp. 263–272. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-75664-4_26

    Chapter  Google Scholar 

  9. Haur, I., Béchennec, J.L., Roux, O.H.: Formal schedulability analysis based on multi-core RTOS model. In: 29th International Conference on Real-Time Networks and Systems, pp. 216–225 (2021)

    Google Scholar 

  10. Leuschel, M., Butler, M.: ProB: a model checker for b. In: FME 2003: Formal Methods: International Symposium of Formal Methods Europe, Pisa, Italy, 8–14 September 2003. Proceedings, LNCS, pp. 855–874. Springer, Berlin, Heidelberg (2003). https://doi.org/10.1007/978-3-540-45236-2_46

  11. Liu, C.L., Layland, J.W.: Scheduling algorithms for multiprogramming in a hard-real-time environment. J. ACM (JACM) 20(1), 46–61 (1973)

    Article  MathSciNet  Google Scholar 

  12. Rehm, J.: From absolute-timer to relative-countdown: patterns for model-checking (2008)

    Google Scholar 

  13. Sarshogh, M.R., Butler, M.: Specification and refinement of discrete timing properties in event-b (2011)

    Google Scholar 

  14. Sha, L., Lehoczky, J.P., Rajkumar, R.: Solutions for some practical problems in prioritized preemptive scheduling, pp. 181–191. IEEE (1986). In: Unknown Host Publication Title

    Google Scholar 

  15. Sprunt, B., Sha, L., Lehoczky, J.: Aperiodic task scheduling for hard-real-time systems. Real-Time Syst. 1, 27–60 (1989)

    Article  Google Scholar 

  16. Strosnider, J.K., Lehoczky, J.P., Sha, L.: The deferrable server algorithm for enhanced aperiodic responsiveness in hard real-time environments. IEEE Trans. Comput. 44(1), 73–91 (1995)

    Article  Google Scholar 

  17. Sulskus, G., Poppleton, M., Rezazadeh, A.: An interval-based approach to modelling time in Event-B. In: Dastani, M., Sirjani, M. (eds.) FSEN 2015. LNCS, vol. 9392, pp. 292–307. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-24644-4_20

    Chapter  Google Scholar 

  18. Waszniowski, L., Hanzálek, Z.: Formal verification of multitasking applications based on timed automata model. Real-Time Syst. 38, 39–65 (2008)

    Article  Google Scholar 

  19. Zhu, C., Butler, M., Cirstea, C.: Refinement of timing constraints for concurrent tasks with scheduling. In: Butler, M., Raschke, A., Hoang, T.S., Reichl, K. (eds.) ABZ 2018. LNCS, vol. 10817, pp. 219–233. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-91271-4_15

    Chapter  Google Scholar 

Download references

Acknowledgments

This work is supported by the National Key Research and Development Program (2022YFB3305200), the National Natural Science Foundation of China NSFC (No. 92370201, No. 62272165), the “Digital Silk Road” Shanghai International Joint Lab of Trustworthy Intelligent Software (No. 22510750100) and Shanghai Trusted Industry Internet Software Collaborative Innovation Center.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Qin Li .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2025 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Quan, J., Li, Q. (2025). A Event-B-Based Approach for Schedulability Analysis For Real-Time Scheduling Algorithms through Deadlock Detection. In: Bai, G., Ishikawa, F., Ait-Ameur, Y., Papadopoulos, G.A. (eds) Engineering of Complex Computer Systems. ICECCS 2024. Lecture Notes in Computer Science, vol 14784 . Springer, Cham. https://doi.org/10.1007/978-3-031-66456-4_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-66456-4_12

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-66455-7

  • Online ISBN: 978-3-031-66456-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics