{"title":"基于时间自动机的独立任务抢占调度仿真","authors":"Amarat Pimkote, W. Vatanawood","doi":"10.1145/3457784.3457786","DOIUrl":null,"url":null,"abstract":"To consider the effects of preemptive scheduling occurred in the concurrent threads of the independent tasks with priority values, we propose an alternative to simulate the preemptive scheduling using timed automata tool. Firstly, each independent task with priority value is expected to be represented as an ordinary timing diagram with its priority value. The timing diagram focuses on the state changings within and among lifeline along a linear timeline, of a particular independent task. Then, we propose a set of translating rules to map the timing diagrams and their associated priority values into the corresponding timed automata with the extra dormant states as to serve the task preemptions. Our resulting timed automata are sufficient and ready to be simulated using UPPAAL real-time simulation tool, yielding the model-in-loop simulation as to verify the logic hazards that might be found in the preemptive scheduling. The possibility of the violation of the hard time constraint and deadlock is checked.","PeriodicalId":373716,"journal":{"name":"Proceedings of the 2021 10th International Conference on Software and Computer Applications","volume":"10 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-02-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Simulation of Preemptive Scheduling of the Independent Tasks Using Timed Automata\",\"authors\":\"Amarat Pimkote, W. Vatanawood\",\"doi\":\"10.1145/3457784.3457786\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"To consider the effects of preemptive scheduling occurred in the concurrent threads of the independent tasks with priority values, we propose an alternative to simulate the preemptive scheduling using timed automata tool. Firstly, each independent task with priority value is expected to be represented as an ordinary timing diagram with its priority value. The timing diagram focuses on the state changings within and among lifeline along a linear timeline, of a particular independent task. Then, we propose a set of translating rules to map the timing diagrams and their associated priority values into the corresponding timed automata with the extra dormant states as to serve the task preemptions. Our resulting timed automata are sufficient and ready to be simulated using UPPAAL real-time simulation tool, yielding the model-in-loop simulation as to verify the logic hazards that might be found in the preemptive scheduling. The possibility of the violation of the hard time constraint and deadlock is checked.\",\"PeriodicalId\":373716,\"journal\":{\"name\":\"Proceedings of the 2021 10th International Conference on Software and Computer Applications\",\"volume\":\"10 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-02-23\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 2021 10th International Conference on Software and Computer Applications\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3457784.3457786\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2021 10th International Conference on Software and Computer Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3457784.3457786","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Simulation of Preemptive Scheduling of the Independent Tasks Using Timed Automata
To consider the effects of preemptive scheduling occurred in the concurrent threads of the independent tasks with priority values, we propose an alternative to simulate the preemptive scheduling using timed automata tool. Firstly, each independent task with priority value is expected to be represented as an ordinary timing diagram with its priority value. The timing diagram focuses on the state changings within and among lifeline along a linear timeline, of a particular independent task. Then, we propose a set of translating rules to map the timing diagrams and their associated priority values into the corresponding timed automata with the extra dormant states as to serve the task preemptions. Our resulting timed automata are sufficient and ready to be simulated using UPPAAL real-time simulation tool, yielding the model-in-loop simulation as to verify the logic hazards that might be found in the preemptive scheduling. The possibility of the violation of the hard time constraint and deadlock is checked.