Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Task processing method and device, equipment and storage medium

A task processing and task technology, applied in the direction of multi-program device, electronic digital data processing, program control design, etc., can solve the problems of distributed system load imbalance, many preempted tasks, and preempted tasks cannot be preempted, etc., to achieve The effect of improving balance

Pending Publication Date: 2021-11-05
ENVISION DIGITAL INT PTE LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the above-mentioned related technologies, due to the slight deviation of the clocks of each node, the time of the clocks in some nodes will be faster than the time of the clocks in other nodes. It is impossible to realize that each node starts to preempt tasks at the same time, which inevitably leads to some nodes preempting too many tasks, and other nodes preempting fewer or no tasks, which leads to load imbalance in the distributed system

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 and device, equipment and storage medium
  • Task processing method and device, equipment and storage medium
  • Task processing method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of approaches consistent with aspects of the application as recited in the appended claims.

[0029] In the method provided in the embodiment of the present application, the execution subject of each step may be a computer device, and the computer device refers to an electronic device capable of data calculation, processing and storage. The computer device may be a terminal such as a PC (Personal Computer, personal computer), a tablet computer, a smart phone, a wearable device, or an intelligent robo...

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 provides a task processing method and device, equipment and a storage medium, and relates to the technical field of program design and task processing. The method comprises the steps of obtaining a plurality of to-be-processed tasks and a plurality of available processing nodes, wherein the plurality of to-be-processed tasks are tasks needing to be processed within a target time period; based on a hash algorithm, dividing the to-be-processed tasks into a plurality of to-be-processed task sets, wherein the number of the to-be-processed task sets is equal to the number of the available processing nodes; allocating a plurality of to-be-processed task sets to the corresponding available processing nodes, wherein in the target time period, one to-be-processed task set corresponds to one available processing node; and respectively processing the to-be-processed tasks in the corresponding to-be-processed task set by adopting the plurality of available processing nodes. By adopting the technical scheme provided by the embodiment of the invention, the load balance of the distributed system can be improved.

Description

technical field [0001] The embodiments of the present application relate to the technical fields of program design and task processing, and in particular, to a task processing method, device, device, and storage medium. Background technique [0002] Distributed system technology is a task processing technology often used by Internet companies to deal with high concurrency scenarios. [0003] In the related technology, a preemptive task processing solution is adopted, and each node immediately preempts the task and processes it after the preemption start time is reached. However, in the above-mentioned related technologies, due to the slight deviation of the clocks of each node, the time of the clocks in some nodes will be faster than the time of the clocks in other nodes. It is impossible to realize that each node starts to preempt tasks at the same time, which inevitably leads to some nodes preempting too many tasks, and other nodes preempting fewer or no tasks, thus causi...

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/48G06F9/50
CPCG06F9/4881G06F9/5038G06F9/5083
Inventor 李建军
Owner ENVISION DIGITAL INT PTE LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products