Formalizing hierarchical scheduling for refinement of real-time systems
Formalizing hierarchical scheduling for refinement of real-time systems
The Event-B formalism offers a stepwise development approach for managing complexity in system design. However, the existing work that extends Event-B models with discrete timing properties inadequately represents the communication and competition between concurrent tasks in concurrent systems. In this paper, we present the semantics of the parameterized real-time trigger-response properties of Event-B models based on timing invariants. We show a method of syntactically encoding parameterized real-time trigger-response properties in Event-B machines. To capture the concurrency between tasks, we distinguish end-to-end timing properties and scheduler-based timing properties from the perspective of different system design phases. We model end-to-end timing properties as parameterized timing properties and scheduler-based timing properties as unparameterized timing properties. A nondeterministic queue-based scheduling framework is proposed to replace end-to-end timing properties with scheduler-based timing properties. Additional gluing invariants are provided for this refinement. To demonstrate the usability of the framework, we formalize a two-level hierarchical scheduling system with local resource sharing managed by a time-division multiplexing global scheduler and two alternative local schedulers refined by the nondeterministic queue-based scheduling policy. Models are proved using the Rodin tool.
Concurrency, Event-B, Hierarchical scheduling, Refinement, Timing
Zhu, Chenyang
67a1c085-5e0b-4dcf-8770-b99c520115fc
Butler, Michael
54b9c2c7-2574-438e-9a36-6842a3d53ed0
Cirstea, Corina
ce5b1cf1-5329-444f-9a76-0abcc47a54ea
1 April 2020
Zhu, Chenyang
67a1c085-5e0b-4dcf-8770-b99c520115fc
Butler, Michael
54b9c2c7-2574-438e-9a36-6842a3d53ed0
Cirstea, Corina
ce5b1cf1-5329-444f-9a76-0abcc47a54ea
Zhu, Chenyang, Butler, Michael and Cirstea, Corina
(2020)
Formalizing hierarchical scheduling for refinement of real-time systems.
Science of Computer Programming, 189, [102390].
(doi:10.1016/j.scico.2020.102390).
Abstract
The Event-B formalism offers a stepwise development approach for managing complexity in system design. However, the existing work that extends Event-B models with discrete timing properties inadequately represents the communication and competition between concurrent tasks in concurrent systems. In this paper, we present the semantics of the parameterized real-time trigger-response properties of Event-B models based on timing invariants. We show a method of syntactically encoding parameterized real-time trigger-response properties in Event-B machines. To capture the concurrency between tasks, we distinguish end-to-end timing properties and scheduler-based timing properties from the perspective of different system design phases. We model end-to-end timing properties as parameterized timing properties and scheduler-based timing properties as unparameterized timing properties. A nondeterministic queue-based scheduling framework is proposed to replace end-to-end timing properties with scheduler-based timing properties. Additional gluing invariants are provided for this refinement. To demonstrate the usability of the framework, we formalize a two-level hierarchical scheduling system with local resource sharing managed by a time-division multiplexing global scheduler and two alternative local schedulers refined by the nondeterministic queue-based scheduling policy. Models are proved using the Rodin tool.
Text
scp2019
- Accepted Manuscript
More information
Accepted/In Press date: 1 January 2020
e-pub ahead of print date: 9 January 2020
Published date: 1 April 2020
Additional Information:
Funding Information:
Our sincere thanks go to anonymous reviewers who provided helpful suggestions to improve the quality of the paper. This work is supported in part by the scholarship from China Scholarship Council (CSC) under the Grant CSC NO. 201708060147 .
Publisher Copyright:
© 2020 Elsevier B.V.
Keywords:
Concurrency, Event-B, Hierarchical scheduling, Refinement, Timing
Identifiers
Local EPrints ID: 437484
URI: http://eprints.soton.ac.uk/id/eprint/437484
ISSN: 0167-6423
PURE UUID: d4b98940-690b-4351-a715-d839042d83b5
Catalogue record
Date deposited: 31 Jan 2020 17:34
Last modified: 17 Mar 2024 05:13
Export record
Altmetrics
Contributors
Author:
Chenyang Zhu
Author:
Michael Butler
Author:
Corina Cirstea
Download statistics
Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.
View more statistics