Task processing method, equipment and medium

A task processing and task technology, applied in the computer field, can solve the problems that batch tasks can only be serialized and subtasks are not idempotent, and achieve the effect of shortening time and improving efficiency

Pending Publication Date: 2022-05-17
ZKH IND SUPERMARKET SHANGHAI
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a task processing method, device and medium to solve the technical problem that subtasks do not have idempotence and batch tasks can only be serialized when the task is retried

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present application will be further described below in combination with specific embodiments and accompanying drawings. It can be understood that the specific embodiments described here are only for explaining the present application, rather than limiting the present application. In addition, for the convenience of description, only some but not all structures or processes related to the present application are shown in the drawings. It should be noted that in this specification, like numerals and letters designate like items in the following drawings.

[0031] It should be understood that although the terms "first", "second", etc. may be used herein to describe various features, these features should not be limited by these terms. These terms are used for distinction only and should not be construed as indicating or implying relative importance. For example, a first feature could be termed a second feature, and similarly a second feature could be termed a first f...

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 relates to the technical field of computers, in particular to a task processing method and device and a medium. The method is applied to the electronic equipment and comprises the following steps: generating a plurality of chained calling sub-tasks; executing the plurality of chain-called sub-tasks and recording execution states and input parameters of the plurality of chain-called sub-tasks; and re-executing the sub-tasks which fail to execute by using the recorded input parameters of the sub-tasks which fail to execute. The technical problems that during task retry, sub-tasks do not have idempotence, and batch tasks can only be serial are solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a task processing method, device and medium. Background technique [0002] Among the tasks processed by the computer, some tasks require multiple subtasks to be completed together, and there is a sequence of dependencies among multiple subtasks. When a subtask fails or is abnormal, the overall task fails. When the overall task is retried, the successfully executed subtasks need to maintain idempotency and not be executed repeatedly. The overall task will continue to execute from the last failed or abnormal subtask, so that the overall task can be executed successfully. [0003] However, the existing technical solutions have the following disadvantages: ① Retry can only be performed on a single task. If subtasks are forcibly split during task execution, the subtasks are not idempotent when the task is retried, resulting in data repeat. ② When a certain task is executed in batc...

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): G06F8/30G06F9/448G06F11/07
CPCG06F8/30G06F9/4484G06F11/0718G06F11/0793
Inventor 刘波何丹王俊宇王少峰樊惠良
Owner ZKH IND SUPERMARKET SHANGHAI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products