Supercharge Your Innovation With Domain-Expert AI Agents!

Task allocation method and device, electronic equipment and computer readable medium

A task allocation and task technology, applied in the field of data processing, can solve problems such as thread waiting, single point of failure, and limited execution scale.

Active Publication Date: 2020-09-04
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of this disclosure is to at least solve one of the above-mentioned technical defects, especially when processing tasks in the prior art, there are problems such as single point of failure and limited execution scale, while each node in distributed Quartz will be preempted A large number of threads wait for database locks, resulting in a technical problem of waste of resources

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 allocation method and device, electronic equipment and computer readable medium
  • Task allocation method and device, electronic equipment and computer readable medium
  • Task allocation method and device, electronic equipment and computer readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.

[0035] It should be understood that the various steps described in the method implementations of the present disclosure may be executed in different orders, and / or executed in parallel. Additionally, method embodiments may include additional steps and / or omit performing illustrated steps. The scope of the present disclosure is not limited in this regard. ...

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 provides a task allocation method and device, electronic equipment and a computer readable medium, and relates to the technical field of data processing. The method comprises the following steps: receiving a task allocation request sent by one of a plurality of equipment nodes in a task cluster; allocating the new task to a preset number of virtual nodes according to the task allocation request; and allocating the to-be-allocated tasks on the virtual nodes to the equipment nodes bound with the virtual nodes. According to the embodiment of the invention, afte the new task is obtained, firstly, tasks are allocated to a preset number of virtual nodes; the tasks on the virtual nodes are distributed to the corresponding equipment nodes; in each task allocation, the allocation modedoes not need to be readjusted according to the number of nodes, it is guaranteed that the tasks can be obtained by a certain involved node in the cluster and scheduled and executed according to setexecution time, failure processing work is well done when the nodes fail, and it is guaranteed that the tasks cannot be lost due to node failures.

Description

technical field [0001] The present disclosure relates to the technical field of data processing, and in particular, the present disclosure relates to a task allocation method, device, electronic equipment, and computer-readable medium. Background technique [0002] A scheduled task is a task that needs to be executed according to a set time, such as a mobile phone alarm clock is a typical scheduled task. The classification of timing tasks can be generally divided into two types: stand-alone timing tasks and distributed timing tasks. [0003] In the prior art, for distributed timing tasks, its solutions mainly include time-sharing scheme, high availability scheme, multi-channel heartbeat scheme, task preemption scheme and task polling scheme, as well as a stand-alone version of Quartz ( Quatz formula) framework, but the stand-alone version has problems such as single point of failure, limited execution scale, etc., coupled with the gradual increase of distributed scenarios, ...

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/50G06F16/27
CPCG06F9/5072G06F9/5077G06F16/27Y02D10/00
Inventor 吕德超张相龙
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
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