Unlock instant, AI-driven research and patent intelligence for your innovation.

Distributed task processing method and system

A technology of distributed tasks and processing methods, applied in the field of distributed task processing methods and systems, can solve problems such as low utilization of computing resources, and achieve the effect of improving utilization and processing efficiency

Pending Publication Date: 2022-05-27
中关村海华信息技术前沿研究院
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of the shortcomings of the above-mentioned related technologies, the purpose of this application is to provide a distributed task processing method and system to overcome the technical problem of low utilization of computing resources in the above-mentioned related technologies

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
  • Distributed task processing method and system
  • Distributed task processing method and system
  • Distributed task processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] see image 3 and Figure 4 , image 3 Shown is a schematic diagram of the principle of an embodiment of the distributed task processing architecture of the present application, Figure 4 Shown is a schematic flowchart of an embodiment of the distributed task processing method of the present application. Taking the single-tenant mode as an example, when the worker node executes the current round of training tasks to obtain the task parameters (such as the gradient values ​​obtained from the training subset), such as image 3 and Figure 4 As shown, the working node executes step S101.

[0061] In step S101, a first data packet containing task parameters and identification information of a node used to instruct an aggregation operation is sent; wherein the identification information is used to instruct a forwarding node or a parameter node to perform an aggregation operation on the task parameters ; wherein, the task parameters are obtained by executing a distributed...

Embodiment 2

[0093] The above embodiment is the workflow of each node in the single-tenant mode. In the multi-tenant mode (that is, the worker node performs multiple tasks at the same time), the node performing the aggregation operation needs to know which task the currently received data packet corresponds to, so as to prevent the parameters of different tasks from being confused. Therefore, on the basis of any of the foregoing embodiments or any combination thereof, in some embodiments, the first data packet sent by the working node further includes task identification information, so that the node performing the aggregation operation can confirm the The distributed computing task corresponding to the first data packet.

[0094] Here, the working node adds task identification information in the header of the first data packet, and when the forwarding node or the parameter node receives and parses the first data packet, it can learn the current first data according to the task identificat...

Embodiment 3

[0096] The above embodiment describes the flow in a normal situation (here, normal refers to a situation in which the packet loss problem does not occur due to communication link interruption, network delay, etc.). In actual scenarios, there may be packet loss problems caused by communication link interruptions, network delays, and so on.

[0097] Therefore, on the basis of any of the foregoing embodiments or any combination thereof, in some embodiments, the method further includes performing packet loss detection during sending of the first data packet, and resending the first data packet when packet loss is detected data pack.

[0098] Here, as image 3 For example, the working node starts timing when sending the first data packet, and when the timing data reaches the preset threshold and still does not receive the returned data packet, then the working node judges that there is a packet loss situation, then Resend the first packet containing the task parameters. When the...

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 invention discloses a distributed task processing method and system. The distributed task processing method comprises the steps of receiving a plurality of first data packets containing task parameters and resource configuration identification information used for indicating allocation and execution of computing resources of aggregation operation; wherein the plurality of task parameters are obtained by executing a distributed computing task by a plurality of working nodes; dynamically allocating computing resources corresponding to the same distributed computing task according to resource configuration identification information in each first data packet, and performing aggregation operation on the corresponding task parameters by utilizing the computing resources to obtain aggregation parameters corresponding to the distributed computing task; the aggregation parameters are used for each working node corresponding to the same distributed computing task to perform data processing. According to the method, the forwarding node dynamically allocates the computing resources, so that the utilization rate of the computing resources is improved, and the processing efficiency of the distributed computing task is improved.

Description

technical field [0001] The present application relates to the field of computer data processing, in particular to a distributed task processing method and system. Background technique [0002] At present, the distributed computing system uses parameter nodes and multiple working nodes to cooperate to complete a complex engineering calculation. When the distributed computing system is applied in a multi-tenant (Multi-tenant) scenario, the related art adopts a processing method in which computing resources are partitioned, and the computing resources in each partition are used to process one task. However, this approach leads to low utilization of computing resources. SUMMARY OF THE INVENTION [0003] In view of the above-mentioned shortcomings of the related art, the purpose of the present application is to provide a distributed task processing method and system to overcome the technical problem of low utilization of computing resources in the above-mentioned related art. ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50G06N3/08
CPCG06F9/5083G06N3/08
Inventor 吴文斐刘俊林陈奕熹
Owner 中关村海华信息技术前沿研究院