• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2015, Vol. 37 ›› Issue (02): 226-230.

• 论文 • Previous Articles     Next Articles

A realtime scheduling algorithm
based on protection threshold for CPS   

ZHOU Benhai,YAO Dapeng   

  1. (Teaching Department of Computer Science,Shenyang Institute of Engineering,Shenyang  110136,China)
  • Received:2013-03-19 Revised:2013-08-26 Online:2015-02-25 Published:2015-02-25

Abstract:

CPS is a novel complex realtime distributed system consisting of computing,communication and control,in which computation process and physical process interacts and integrates in an open environment.In order to respond to the physical world information in real time, the system usually adopts preemptive scheduling methods to guarantee the implementation of crucial tasks before deadline.However,in the distributed environment,preemptive scheduling methods easily lead to frequent task switching, thus affecting the system’s real-time performance. We propose a realtime scheduling algorithm based on protection threshold to maximize the execution time of low priority tasks by establishing a protection threshold model which can reduce the frequency of task switching. Experimental results show that the proposed algorithm effectively reduces the frequency of task switching, thus improving the realtime performance of CPS system. 

Key words: CPS;real time characteristics;relaxation time;protection threshold;task switches