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

Multi-task processing method and device, computer equipment and storage medium

A processing method and multi-task technology, applied in the field of process optimization, can solve problems such as reducing work efficiency and interrupting tasks

Pending Publication Date: 2019-05-21
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a Chinese multi-tasking processing method, device, computer equipment and storage medium for the problem of interrupting the execution of subsequent tasks and reducing work efficiency when the retry mechanism is currently used to deal with multi-task exceptions.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042]In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0043] figure 1 For the flow chart of the multitasking method provided in one embodiment of the present application, such as figure 1 shown, including:

[0044] S1. Start a plurality of tasks, call a first-level task handler to execute a plurality of tasks, and obtain the execution start time of each task;

[0045] In this step, a plurality of tasks are obtained from the existing task platform, and the execution codes corresponding to the plurality of tasks are sent to the thread pool in the first-level task execution program in sequence, and are executed in the thread po...

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 field of process optimization, in particular to a multi-task processing method and device, computer equipment and a storage medium, and the method comprises the steps: starting a plurality of tasks, calling a first-level task processing program to execute the plurality of tasks, and obtaining an execution starting moment of each task; After the task is normally executed, obtaining an execution completion moment of the task, and obtaining an execution period according to the execution starting moment and the execution completion moment of the task; When the task execution is abnormal and interrupted, transmitting the task which is abnormal to the second-level task processing program to be executed; Monitoring the execution result of the task in the second-leveltask processing program in real time, obtaining the execution frequency of the task in the second-level task processing program, and judging whether to terminate the task or not according to the execution result of the task and the task execution frequency. Abnormal tasks are processed in a two-stage task processing mechanism mode, execution of follow-up tasks cannot be affected, robustness of themulti-task processing system is guaranteed, and working efficiency is improved.

Description

technical field [0001] The present application relates to the field of process optimization, in particular to a multi-task processing method, device, computer equipment and storage medium. Background technique [0002] A task refers to a thing to be done by the computer. Executing a task by the computer usually corresponds to running an application program, and the processing of the task can be divided into single task processing and multi-task processing. The single task processing refers to the former The operation of the next task can only be started after the task is completed, and the tasks are executed sequentially. The multi-tasking process means that the system can run multiple processes at the same time, and each process can also execute multiple threads at the same time. A thread refers to an execution path of the program, which completes a specific function in the time slice specified by the system. Using multitasking technology can improve user productivity and ...

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
IPC IPC(8): G06F9/48
Inventor 张国梁
Owner PING AN TECH (SHENZHEN) 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