Data processing apparatus and method
AssigneeShanghai Cambricon Information Technology Co., Ltd.
InventorsTianshi Chen, Lei Zhang, Shaoli Liu
Life of this patent
Estimating the term…
Abstract
The disclosure provides a data processing device and method. The data processing device may include: a task configuration information storage unit and a task queue configuration unit. The task configuration information storage unit is configured to store configuration information of tasks. The task queue configuration unit is configured to configure a task queue according to the configuration information stored in the task configuration information storage unit. According to the disclosure, a task queue may be configured according to the configuration information.
Claims19
A data processing device, comprising:
- a task configuration information storage unit configured to store configuration information of tasks, wherein the task configuration information storage unit includes multiple storage units configured to store multiple task queues respectively into each of the multiple storage units according to the configuration information;
- a task queue configuration unit configured to configure a task queue according to the configuration information stored in the task configuration information storage unit, and
- an external device configured to provide the configuration information and execute the task queue, wherein the external device is configured to send the configuration information to the task configuration information storage unit, wherein the task queue configuration unit is configured to send tasks sequentially to the external device according to priority information in the configuration information, and the external device is configured to execute the tasks in the task queue, and then send a first end signal to the task configuration information storage unit every time a task is executed, wherein the task configuration information storage unit is configured to send an interrupt signal to the external device every time the first end signal is received, and the external device is configured to process the interrupt signal and send a second end signal to the task configuration information storage unit, wherein the task configuration information storage unit is configured to modify the stored task configuration information after receiving the first end signal.
A data processing method, comprising:
- storing, by a task configuration information storage unit, configuration information of tasks, wherein the task configuration information storage unit stores multiple task queues separately into each of storage units of the task configuration information storage unit according to the configuration information;
- configuring, by a task queue configuration unit, a task queue according to the configuration information stored in the task configuration information storage unit;
- providing, by an external device, the configuration information;
- executing, by the external device, the task queue;
- sending, by the external device, the configuration information to the task configuration information storage unit;
- sending, by the task queue configuration unit, the tasks sequentially to the external device according to the priority information in the configuration information;
- executing, by the external device, tasks in the task queue;
- sending, by the external device, a first end signal to the task configuration information storage unit every time a task is completed;
- sending by the task configuration information storage unit, an interrupt signal to the external device every time a first end signal is received;
- processing, by the external device, the interrupt signal and sends a second end signal to the task configuration information storage unit;
- and
- modifying, by the task configuration information storage unit, the stored configuration information of a task after receiving the first end signal.
An electronic device, comprising:
- a data processing device that includes:
- a task configuration information storage unit configured to store configuration information of tasks, wherein the task configuration information storage unit includes multiple storage units configured to store multiple task queues respectively into each storage unit according to the configuration information;
- a task queue configuration unit configured to configure a task queue according to the configuration information stored in the task configuration information storage unit;
- and
- an external device configured to provide the configuration information and execute the task queue, wherein the external device is configured to send the configuration information to the task configuration information storage unit, wherein the task queue configuration unit is configured to send tasks sequentially to the external device according to priority information in the configuration information, and the external device is configured to execute the tasks in the task queue, and then send a first end signal to the task configuration information storage unit every time a task is executed, wherein the task configuration information storage unit is configured to send an interrupt signal to the external device every time the first end signal is received, and the external device is configured to process the interrupt signal and send a second end signal to the task configuration information storage unit, wherein the task configuration information storage unit is configured to modify the stored task configuration information after receiving the first end signal.
Dependencies are inferred from the claim text.