Task processing method and related product

A task processing and task technology, applied in the Internet field, can solve the problems of scheduling management service address changes, inability to guarantee the consistency of task status, and inability to update task status to producers, etc., to achieve the effect of ensuring consistency

Pending Publication Date: 2021-08-06
SHENZHEN SENSETIME TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the producer restarts after delivering the task, the address of the scheduling management service will change, and the task status cannot be updated to the producer, and the consistency of the task status cannot be guaranteed.

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 related product
  • Task processing method and related product
  • Task processing method and related product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0066] The terms "first", "second" and the like in the specification and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, bu...

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 a related product. The task processing method comprises the steps that a server side receives a first task uploaded by a user side; task data of the first task are created and persisted, a task data message containing the task data is delivered to a first message queue, and the first message queue is a queue in a producer-consumer mode; under the condition that it is monitored that an execution feedback message of the first task enters a second message queue, the persistent task data are updated, and the second message queue is a queue in a publish-subscribe mode. According to the method of the invention, the consistency of task states can be ensured.

Description

technical field [0001] This application relates to the technical field of the Internet, in particular to a task processing method and related products. Background technique [0002] The task scheduling management platform involves the processing of many types of tasks, such as image and video processing tasks. In order to ensure that the task is not executed repeatedly, the message queue of the producer-consumer mode is generally used to implement the task scheduling management service. If the producer restarts after delivering the task, the address of the scheduling management service will change, and the task status cannot be updated to the producer, and the consistency of the task status cannot be guaranteed. Contents of the invention [0003] Embodiments of the present application provide a task processing method and related products, which can ensure the consistency of task status. [0004] The first aspect of the embodiments of the present application provides a ta...

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/54G06F21/60G06F21/62
CPCG06F9/4881G06F9/546G06F21/602G06F21/6245
Inventor 李海兵
Owner SHENZHEN SENSETIME TECH CO LTD
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