Patent ID: 8782649

Claim:
A real-time scheduling method, comprising: verifying a weight of each of a plurality of tasks; determining a first task set and a second task set from the plurality of tasks using the verified weights; scheduling the first task set to be processed in a first core of a central processing unit comprising a plurality of cores; scheduling the second task set to be processed in at least one of a second core and a third core of the central processing unit; and processing at least one of the first scheduled task set and the second scheduled task set, wherein the weight of each of the plurality of tasks is a number greater than or equal to 0 and less than or equal to 1, and related to the execution time duration of the task, and wherein the determining the first task set includes: determining tasks in which a pre-calculated cache hit ratio is higher than a predetermined ratio from among the plurality of tasks; determining sets of tasks in which a sum of weights is less than a number of cores from among the determined tasks; and determining the first task set in which a largest number of tasks are presented from among the determined sets.