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

Task processing method and device, server and storage medium

A task processing and processor technology, applied in the field of information processing, can solve problems such as wasting machine resources, reducing the timeliness and timeliness of post-task response, and inflexible implementation of chain tasks, so as to improve flexibility and avoid resources. the wasteful effect of

Inactive Publication Date: 2019-08-06
SHENZHEN LEXIN SOFTWARE TECH CO LTD
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the prior art, there is a strong logical coupling relationship between the post-task and the pre-task, the change of the pre-task will inevitably lead to the change of the polling check logic of the post-task, the implementation of the chain task is not flexible, and A large number of invalid polling tasks before startup seriously waste machine resources and reduce the timeliness and timeliness of subsequent task responses

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] figure 1 It is a flowchart of a task processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the task scheduling platform is used as the scheduling center to actively schedule the chain tasks executed by each node. This method can be implemented by a A task processing device can be used to implement the device, which can be implemented in software and / or hardware, and is preferably configured on a task scheduling platform. The method specifically includes the following:

[0026] Step 110, receiving an execution result reported by at least one execution node associated with the current chained task in the task chain.

[0027] In a specific embodiment of the present invention, a task chain refers to a task execution chain composed of a series of tasks with an execution sequence, wherein each independent task in the task chain is called a chain task in this embodiment, and each chain task Tasks can be exec...

Embodiment 2

[0039] On the basis of the first embodiment above, this embodiment provides a preferred implementation manner of the task processing method, which can process the execution result and decide the subsequent scheduling behavior according to the processing result. figure 2 A flow chart of a task processing method provided by Embodiment 2 of the present invention, such as figure 2 As shown, the method includes the following specific:

[0040] Step 210, receiving task chain registration information of the task chain.

[0041] In a specific embodiment of the present invention, before the execution of the task chain, the task chain information and the task scheduling policy are obtained by receiving the task chain registration information of the task chain. Among them, the user can pre-configure task chain information and executable node information in the task scheduling platform to complete the registration of task chain information. Or each execution node pre-deploys chain tas...

Embodiment 3

[0063] Figure 4 It is a schematic structural diagram of a task processing device provided by Embodiment 3 of the present invention. This embodiment is applicable to the situation where the task scheduling platform is used as the scheduling center to actively schedule the chain tasks executed by each node. The device can realize The task processing method described in any embodiment of the present invention. Specifically, the device includes:

[0064] An execution result collection module 410, configured to receive the execution result reported by at least one execution node associated with the current chained task in the task chain;

[0065] The task scheduling module 420 is configured to determine the successor task of the current chained task according to the task chain registration information and the execution result, and schedule at least one execution node associated with the successor task to execute the successor task.

[0066] Further, the device also includes a ch...

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 discloses a task processing method and device, a server and a storage medium. The method comprises the following steps: receiving an execution result reported by at least one execution node associated with a current chain task in a task chain; and according to task chain registration information and the execution result, determining a postposition task of the current chain type task, and scheduling at least one execution node associated with the postposition task to execute the postposition task. According to the embodiment of the invention, by collecting the task chain registration information and the task execution result and actively scheduling the rear task, the logic coupling relationship between the rear task and the front task is relieved, the waste of resources in the execution node associated with the rear task is avoided, and the flexibility, the timeliness and the timeliness of chain task response are improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of information processing, and in particular, to a task processing method, device, server, and storage medium. Background technique [0002] With the rise of the Internet, more and more computers are used as task execution nodes to perform various tasks to support people's daily work and life. [0003] For chained tasks with execution order, in the traditional stand-alone environment, the purpose of chained tasks can be achieved by constructing a task chain in the memory of a single machine and executing them sequentially. In order to improve the processing performance of the task, the chain task is gradually transformed from a stand-alone environment to a distributed environment. At present, in the distributed chain task execution environment, usually by providing a separate public area to store the execution results of the predecessor task, and pre-writing the logic code of its p...

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/46G06F9/48
CPCG06F9/466G06F9/4881
Inventor 杨尚京王枫谭仕朝
Owner SHENZHEN LEXIN SOFTWARE TECH CO LTD