{"title":"实时系统中同步通信的上限优先级","authors":"Junghwan Lee, Myungjun Kim","doi":"10.1109/ITNEC48623.2020.9084783","DOIUrl":null,"url":null,"abstract":"Software complexity has increased in real-time systems such as automotive electronic control units (ECUs), as many functions are required for such systems. As software complexity has increased, component-based development has been broadly used to decouple software components for reusability, modifiability, and extensibility. Synchronous communication is frequently used between components in component-based development such as AUTomotive Open System ARchitecture (AUTOSAR). Previous studies on scheduling algorithms did not investigate the blocking and priority inversion problem in synchronous communication between tasks. We have observed that synchronous communication has same problem with resources sharing such as critical sections and semaphores, which have been investigated in many studies. The priority inversion also exists in synchronous communication between tasks since all consumer tasks communicating with the same provider tasks must wait until the provider tasks respond. We propose Ceiling Priority for Synchronous Communication (CPSC) for priority assignment and schedulability analysis based on rate-monotonic scheduling. The proposed algorithm was used for automotive battery management system (BMS) based on AUTOSAR and a multiprocessor in multi-criticality real-time systems.","PeriodicalId":235524,"journal":{"name":"2020 IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC)","volume":"12 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Ceiling Priority for Synchronous Communication in Real-Time Systems\",\"authors\":\"Junghwan Lee, Myungjun Kim\",\"doi\":\"10.1109/ITNEC48623.2020.9084783\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Software complexity has increased in real-time systems such as automotive electronic control units (ECUs), as many functions are required for such systems. As software complexity has increased, component-based development has been broadly used to decouple software components for reusability, modifiability, and extensibility. Synchronous communication is frequently used between components in component-based development such as AUTomotive Open System ARchitecture (AUTOSAR). Previous studies on scheduling algorithms did not investigate the blocking and priority inversion problem in synchronous communication between tasks. We have observed that synchronous communication has same problem with resources sharing such as critical sections and semaphores, which have been investigated in many studies. The priority inversion also exists in synchronous communication between tasks since all consumer tasks communicating with the same provider tasks must wait until the provider tasks respond. We propose Ceiling Priority for Synchronous Communication (CPSC) for priority assignment and schedulability analysis based on rate-monotonic scheduling. The proposed algorithm was used for automotive battery management system (BMS) based on AUTOSAR and a multiprocessor in multi-criticality real-time systems.\",\"PeriodicalId\":235524,\"journal\":{\"name\":\"2020 IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC)\",\"volume\":\"12 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2020-06-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2020 IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ITNEC48623.2020.9084783\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ITNEC48623.2020.9084783","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Ceiling Priority for Synchronous Communication in Real-Time Systems
Software complexity has increased in real-time systems such as automotive electronic control units (ECUs), as many functions are required for such systems. As software complexity has increased, component-based development has been broadly used to decouple software components for reusability, modifiability, and extensibility. Synchronous communication is frequently used between components in component-based development such as AUTomotive Open System ARchitecture (AUTOSAR). Previous studies on scheduling algorithms did not investigate the blocking and priority inversion problem in synchronous communication between tasks. We have observed that synchronous communication has same problem with resources sharing such as critical sections and semaphores, which have been investigated in many studies. The priority inversion also exists in synchronous communication between tasks since all consumer tasks communicating with the same provider tasks must wait until the provider tasks respond. We propose Ceiling Priority for Synchronous Communication (CPSC) for priority assignment and schedulability analysis based on rate-monotonic scheduling. The proposed algorithm was used for automotive battery management system (BMS) based on AUTOSAR and a multiprocessor in multi-criticality real-time systems.