| CPC G06F 9/5038 (2013.01) [G06F 9/5066 (2013.01); G06F 9/4887 (2013.01); G06F 2209/503 (2013.01)] | 20 Claims |

|
1. A method of automatically scheduling tasks, applicable in an electronic device; the electronic device comprises a non-transitory storage medium with program codes and a processor; the processor executes the program codes in the non-transitory storage medium to implement the method; the method comprises following steps:
obtaining data processing tasks and data sources corresponding to each of the obtained data processing tasks;
forming a job queue including a plurality of job tasks, which is obtained by breaking down the data processing task, wherein the job queue comprises an execution frequency and a logic dependence relationship for each of the plurality of job tasks based on a detected content of the data sources associated with each of the plurality of job tasks;
extracting the plurality of job tasks from the job queue according to an operation sequence of the plurality of job tasks of the job queue;
distributing computing resources required by each of the plurality of job tasks extracted from the job queue based on a resource permission time point of each computing resource of the computing resources; and
obtaining a result of the data processing tasks based on executing each of the plurality of job tasks according to the operation sequence when the computing resources in the electronic device is more than the computing resource required by one of the plurality of job tasks being executed and then inputting the data sources into a pre-trained model corresponding to one of the plurality of the executed job task, wherein a passing rate of the data sources is greater than a specified threshold.
|