Patent ID: 11941434
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 1:
2. The method according to claim 1, wherein the task description information comprises identifiers of task streams corresponding to the plurality of tasks, and a first threshold is greater than a second threshold; and, to determine the task streams corresponding to the plurality of tasks, the method further comprises:
when a quantity of resources of idle task streams is greater than or equal to the first threshold, allocating corresponding task streams in the idle task streams to the plurality of tasks;
when the quantity of resources of idle task streams is less than or equal to the second threshold, allocating, by the first processing apparatus, corresponding task streams in existing task streams on the second processing apparatus to the plurality of tasks; or
when the quantity of resources of idle task streams is greater than the second threshold and less than the first threshold, allocating the corresponding task streams in the idle task streams to a first portion of the plurality of tasks, and allocating the corresponding task streams in the existing task streams on the second processing apparatus to a second portion of the plurality of tasks.