IP Library Granted Patent US 8,549,525
Granted Patent B2
US 8,549,525 · App. 11/681,819 · Granted Oct 1, 2013

Method for tuning service performance of multi-task system and multi-task system thereof

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,549,525
App. No.
11/681,819
Granted
Oct 1, 2013
Kind
B2
Abstract

A method for executing a first and a second task in M time units is disclosed. The method includes comparing the priority of the first task and the task. If the first task has a higher priority than the second task, the first task is executed. The first task is then suspended after the first duration, and the second task is executed for a second duration.

Claims (17)

1. A method for controlling the execution of a first task and a second task over a system in a periodical time frame of M time units, comprising:

executing the first task, wherein the first task has a higher priority than the second task; and

before the execution of the first task is completed, suspending the execution of the first task in each periodical time frame of M time units, to preserve at least some of system resource for the second task,

wherein the first task is executed for a first duration before the execution of the second task, the second task is executed for a second duration and a ratio between the periodical time frame of M time units and the second duration is constant.

2. The method as claimed in claim 1 , wherein the ratio between the first duration and the second duration is constant.

3. The method as claimed in claim 1 , wherein the first duration is proportional to a parameter, the method further comprising increasing the parameter when the first task and the second task are completed in M time units.

4. The method as claimed in claim 3 , further comprising decreasing the parameter when the first task can not be completed in M time units.

5. The method as claimed in claim 3 , further comprising initializing the parameter so that the first and the second tasks are completed within M time units.

6. The method as claimed in claim 1 , wherein the first task is realized by at least two threads, a first and a second thread, the first thread is an interrupt service routine executed once every M time units, and the second thread is executed succeeding the first thread.

7. The method as claim in claim 6 , wherein the first task is a real-time task, and the second thread is source coding and channel coding.

8. The method as claimed in claim 7 , wherein the second task is a man-machine interfacing, image decoding, or file transferring.

9. A streaming service system for executing a first and a second task in a periodical time frame of M time units, comprising a processor executing the first task, wherein the first task has a higher priority than the second task, and wherein before the execution of the first task is completed, the execution of the first task is suspended in each periodical time frame of M time units, to preserve at least some of system resource for the second task, wherein the first task is executed for a first duration before the execution of the second task, the second task is executed for a second duration and a ratio between the periodical time frame of M time units and the second duration is constant.

10. The streaming service system as claimed in claim 9 , wherein the first duration is proportional to a parameter.

11. The streaming service system as claimed in claim 10 , wherein the processor increases the parameter when the first task and the second task are completed in M time units and decreases the parameter when the first and second task can not be completed in M time units.

12. The streaming service system as claimed in claim 11 , wherein the first task is a real-time task.

13. The stream service system as claimed in claim 12 , wherein the parameter is a source encoding rate or a channel encoding rate.

14. The streaming service system as claimed in claim 9 , wherein the second task is man-machine interfacing, image decoding, or file transferring.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 17, 2024
From: MEDIATEK INC.
To: INTERLINK SILICON SOLUTIONS INC.
Reel/Frame 069604/0902 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 5, 2007
From: HUNG, KUO-HSIEN; HSIANG, LIN YU
To: MEDIATEK INC.
Reel/Frame 018957/0153 →