摘要 |
PURPOSE: A test scheduling method for ensuring the QoS(Quality of Service) of a multimedia tasks in a mobile terminal is provided to prevent the processing delay of multimedia tasks caused by concentric processing for high-priority tasks by managing the scheduling history of multimedia tasks and to effectively process multimedia tasks by maintaining regular QoS. CONSTITUTION: A processor judges whether a task is on standby in the first priority task queue(301). If a task is on standby in the first priority task queue, the processor judges whether a task is on standby in the second priority task queue(302). If a task is not on standby in the second priority task queue, the processor executes the task of the first priority task queue(308). However, in case that a task is on standby in the second priority task queue, the processor judges whether it is possible to process the two tasks within an execution interval when they are processed in sequence(303). If it is judged that it is possible to process the tasks within the execution interval, the processor executes them in sequence(304). However, in case that it is judged that it is impossible to process the tasks within the execution interval, the processor confirms whether a stored scheduling history value exceeds a preset QoS critical value(305). If the stored scheduling history value exceeds the preset QoS critical value, the processor first executes the task of the second priority task queue, then executes the task of the first priority task queue, and updates the scheduling history value(306).
|