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

A way to control task execution

A task execution and task control technology, applied in the computer field, can solve problems such as server pressure, impact deployment, and complex execution of business, and achieve the effect of effective control and orderly execution

Active Publication Date: 2021-06-29
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the existing technology has the following disadvantages: the task execution system executes tasks at regular intervals, and does not pay attention to the existence of other applications. During the execution process, if there are too many tasks and the execution business is complicated, it will cause serious pressure on the server and affect the services of other applications deployed on the same server

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
  • A way to control task execution
  • A way to control task execution
  • A way to control task execution

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Exemplary implementations of the present invention are described below in conjunction with the accompanying drawings, which include various details of the implementations of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0022] like figure 2 As shown, a flow chart of steps of a method for controlling task execution in an embodiment of the present invention. Specific steps are as follows:

[0023] Step S1: Traverse the task list to determine whether there are unexecuted tasks. Wherein, before the step of traversing the task list, the task execution thread is regularly executed, ...

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 present invention proposes a method for controlling task execution, including: traversing the task list, judging whether there are unexecuted tasks; dividing task types for each unexecuted task according to predetermined multiple task types, and querying according to the divided task types Run the parameter list to obtain records that include a plurality of type-specific operating parameters corresponding to the divided task types, wherein the operating parameter list includes a plurality of type-specific operating parameters assigned to each task type; traversing the operating parameter list, Judging whether the traversal of multiple type-specific operating parameters in the record has been completed, if not completed, then determine whether the actual operating parameters match the corresponding type-specific operating parameters, and if not, return the traversal of the task list Step, if it is met, continue to execute the step of traversing the running parameter list, and if it has been completed, execute the unexecuted task and update the task status to executed.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method for controlling task execution. Background technique [0002] In the field of computer technology, with the vigorous development of the network, in the development process of large-scale application systems, it is inevitable to use asynchronous methods to complete certain functions. , encapsulated into a task record, and use a scheduled thread to execute the task record. In this way, the task can be retried multiple times to ensure that the task execution is 100% complete. In the prior art, the task system is executed regularly, and the task execution timing thread queries the task list to be executed, traverses the task list, and executes each task record. If the execution is successful, the task status is changed to the completed state; If not successful, execute again next time. The specific flow chart is as figure 1 shown. [0003] However, the existing techno...

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 Patents(China)
IPC IPC(8): G06F9/48G06F9/50
Inventor 韩松
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO 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