摘要

Increasing attention has been directed towards the issue of security service for real-time applications with security requirements on clusters. In this paper, we propose a novel two-phase scheduling strategy TPSS which takes timing constraints and security needs of tasks into consideration. In the first phase, the authors propose a novel algorithm DSRF to schedule real-time tasks. When the system is in heavy burden, DSRF is able to degrade the security levels of new tasks and tasks waiting in local queues so as to enhance schedulability. On the contrary, when the system is in light burden, DSRF is capable of employing slack time to adequately improve the security qualities of new tasks. In the second phase, a new algorithm FMSL is proposed to minimize the difference of security levels of accepted tasks and further improve the security levels of these tasks on the whole, which degrades the probability of the applications being attacked. The authors compare TPSS, DSRF, SAEDF and RF by extensive simulation experiments. The experimental results indicate that TPSS significantly outperforms other algorithms and improves the security and flexibility of the cluster systems.