Supercharge Your Innovation With Domain-Expert AI Agents!

Task processing method, device and system, equipment and storage medium

A task processing and task technology, applied in the field of data processing, can solve problems affecting system performance, task execution module idleness, etc., achieve the effect of reducing performance overhead, reducing task arbitration, and improving task processing efficiency

Active Publication Date: 2019-08-30
上海燧原智能科技有限公司 +1
View PDF11 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventor found that the defect of the prior art is that, due to the dependencies between tasks, the task scheduling module needs to wait for the execution of the previous task with dependencies to be completed before assigning the next task to the task The execution of the execution module may cause some task execution modules in the hardware to be idle, and the overhead of task synchronization will also seriously affect system performance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Task processing method, device and system, equipment and storage medium
  • Task processing method, device and system, equipment and storage medium
  • Task processing method, device and system, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] figure 1 It is a flowchart of a task processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of processing tasks. The method can be executed by the task processing device provided by the embodiment of the present invention. The device can be implemented in software and / or hardware, and can generally be integrated into computer equipment. Such as figure 1 As shown, the method of this embodiment specifically includes:

[0045] Step 101. Obtain all tasks corresponding to the target data processing process.

[0046] Wherein, the software management component obtains all tasks corresponding to the target data processing process. The software management component is a task management component in the software, which is used to process and schedule various tasks according to business requirements.

[0047] In deep learning scenarios based on neural networks, each data processing process can be converted into correspond...

Embodiment 2

[0069] figure 2 It is a flowchart of a task processing method provided by Embodiment 2 of the present invention. This embodiment is applicable to the case of processing tasks. The method can be executed by the task processing device provided by the embodiment of the present invention. The device can be implemented in the form of software and / or hardware, and can generally be integrated into computer equipment. Such as figure 2 As shown, the method of this embodiment specifically includes:

[0070] Step 201. Obtain a task flow from the task group assigned by the software management component. The task flow is composed of at least one scheduling unit; the scheduling unit is a task, a task vector or a task frame.

[0071] Wherein, the software management component obtains all tasks corresponding to the target data processing process, generates at least one scheduling unit according to the dependencies of each task and the first definition rule, and then generates At least on...

Embodiment 3

[0085] image 3 It is a flow chart of a task processing method provided by Embodiment 3 of the present invention. This embodiment may be combined with various optional solutions in the foregoing one or more embodiments. In this embodiment, the current processing unit is a task, and a task is a task.

[0086] And, according to the unit type of the current processing unit, assigning the task in the current processing unit to the corresponding hardware execution component may include: judging whether the hardware execution component corresponding to the task has an idle virtual execution channel; if the hardware execution component corresponding to the task If the component has an idle virtual execution channel, the task is allocated to the hardware execution component, and the corresponding message is configured to notify the scheduling module so that the hardware execution component executes the task and returns the task completion information after the task execution is comple...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a task processing method, device and system, equipment and a storage medium. The method comprises the steps of obtaining all tasks corresponding to a target data processing process; generating at least one scheduling unit according to the dependency relationship of each task and the first definition rule; generating at least one task flow according to thedependency relationship of each scheduling unit and a second definition rule; and allocating the at least one task flow as a task group matched with the target data processing process to a hardware scheduling component. According to the embodiment of the invention, the task can be processed according to the dependency relationship and the definition rule of each task, and the processed task is distributed to the hardware scheduling component, so that task arbitration in the task distribution process of the hardware scheduling component can be reduced, the task processing efficiency is improved, and the performance cost of task synchronization is reduced.

Description

technical field [0001] Embodiments of the present invention relate to data processing technologies, and in particular, to a task processing method, device, system, equipment, and storage medium. Background technique [0002] In deep learning scenarios based on neural networks, the calculation process of training and reasoning is usually abstracted into a directed acyclic graph composed of operators by the framework layer, and then converted into a directed acyclic graph composed of hardware-executable tasks through the middleware layer. Acyclic graph, so as to obtain the executable tasks of each hardware. [0003] In the prior art, various tasks are usually delivered sequentially in the form of streams to the task scheduling module in the hardware through the ring buffer, and the task scheduling module distributes them to other task execution modules in the hardware. The task execution module in the hardware executes tasks concurrently to improve task execution efficiency. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/48G06F9/50
CPCG06F9/4881G06F9/5027
Inventor 丁圣阁
Owner 上海燧原智能科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More