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

Task processing method and task scheduler

A task scheduling and task processing technology, applied in the computer field, can solve the problems of high stand-alone load, low availability, and limited number of threads, and achieve the effect of reducing stand-alone load, reducing the number of tasks, and increasing service time

Pending Publication Date: 2020-04-10
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a task processing method and a task scheduler to solve the problems of low availability, limited number of threads that can be started, and excessive load of a single machine when background programs process tasks.

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 task scheduler
  • Task processing method and task scheduler
  • Task processing method and task scheduler

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0052] figure 1 It is one of the flowcharts of the task processing method provided in the embodiment of the present invention. The method is applied to a task scheduler, and specifically includes the following steps.

[0053] Step 101, the task scheduler packages the tasks to be executed into multi-thread tasks; the task scheduler is determined by the server from multiple stand-alone machines.

[0054]In the embodiment of the present invention, multiple stand-alone computers and task schedulers form a distributed system to implement distributed processing tasks. The method of distributed processing tasks is actually to distribute one or a batch of tasks to multiple single machines for execution. Multithreading is the method of running multiple independent program segments at the same time on a single...

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 task scheduler. The method comprises the following steps of: forming a substrate; packaging the to-be-executed task into a multi-thread task through a task scheduler; the task scheduler allocates the multi-thread task to a predetermined execution machine; wherein the execution machine is used for processing the multi-thread task, the execution machine is one of the plurality of single machines, and one single machine in a distributed system formed by the plurality of single machines can receive the multi-thread task, so that the service providing time of the single machines is prolonged, and the high availability effect is achieved; in addition, as multiple single machines can execute tasks, the number of threads capable of being started at the same time is increased compared with that of threads capable of being started at the same time when one single machine executes the tasks, and the pressure measurement effect can be achieved; moreover, the task scheduler can distribute the tasks to a plurality of single machines for execution, so that the number of tasks integrated on one single machine can be reduced, and the load of the single machine is reduced.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a task processing method and a task scheduler. Background technique [0002] At present, we will put some tasks in the background program for processing, but the background program processing tasks will have the following problems: [0003] First of all, in order to avoid the repeated execution of tasks caused by multiple processes running at the same time, the background program can only run one process at a time, so many background programs deploy one process. In this case, if the program that executes this process fails, the background program will be in an idle state that cannot provide services. Therefore, the deployment of a process will increase the time that the background program cannot provide services. Correspondingly, provide The available time of the service is reduced, causing low availability problems; secondly, in order to test the request threshold that the ba...

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/48
CPCG06F9/4843
Inventor 林周治
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More