Task scheduling method, device, equipment and system and storage medium

A scheduling system and task scheduling technology, applied in the computer field, can solve the problems of high dependency of third-party scheduling components, incomplete task scheduling scheme, waste of service resources, etc.

Pending Publication Date: 2021-01-15
GUANGZHOU NETSTAR INFORMATION TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this mode, a coordinator needs to be used to manage multiple schedulers, which is highly dependent on third-party scheduling components, wasting service resou...

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 scheduling method, device, equipment and system and storage medium
  • Task scheduling method, device, equipment and system and storage medium
  • Task scheduling method, device, equipment and system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024]The present invention will be further described in detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for ease of description, the drawings only show a part but not all of the structure related to the present invention. In addition, the embodiments of the present invention and the features in the embodiments can be combined with each other if there is no conflict.

[0025]figure 1 This is a scenario architecture diagram of an application scenario to which a task scheduling method provided in an embodiment of the present invention is applicable. Specifically, refer tofigure 1 , The application scenario may include a storage service 10 and at least two schedulers 20. The embodiment of the present invention does not limit the number of schedulers, and can be flexibly configured accord...

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 scheduling method, device, equipment and system and a storage medium. The method comprises the steps: acquiring the maximum serial number in occupied scheduling serial numbers corresponding to a current scheduling event from a storage service, wherein the occupied scheduling serial numbers are sequentially increased; sending an occupation request ofa first serial number to the storage service, and when an occupation success message returned by the storage service is received, setting the first serial number as a first scheduling serial number corresponding to the first scheduler, the first serial number being the next serial number of the maximum serial number, and allocating a corresponding task based on the first scheduling serial number.According to the technical scheme provided by the embodiment of the invention, the occupied scheduling sequence number is stored by adopting the lightweight storage service, the scheduler autonomously applies for the scheduling sequence number and allocates the corresponding task according to the applied scheduling sequence number, so that the service resources are saved, and the maintenance costcaused by additional components is avoided.

Description

Technical field[0001]The embodiments of the present invention relate to the field of computer technology, in particular to task scheduling methods, devices, equipment, systems, and storage media.Background technique[0002]At present, task scheduling problems are often involved in the construction of distributed software systems. Task scheduling is generally implemented by a scheduler. In a distributed system, there are usually multiple schedulers.[0003]Common scheduler implementations are generally through third-party scheduling services to schedule services in the system, but a third-party scheduler system framework needs to be introduced, and other middleware, such as zookeeper, must be prepared around the framework. In this mode, a coordinator needs to be used to manage multiple schedulers, which is highly dependent on third-party scheduling components, wastes service resources, and additional components will also bring additional maintenance costs. Therefore, the current task sch...

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/48G06F9/50
CPCG06F9/4843G06F9/4881G06F9/5027
Inventor 黄朝翔
Owner GUANGZHOU NETSTAR INFORMATION 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