Task scheduling method, electronic equipment and storage medium

A task scheduling and task technology, applied in the computer field, can solve problems such as system crashes, and achieve the effect of reducing the probability of system crashes and reducing system resources

Pending Publication Date: 2021-12-31
WEBANK (CHINA)
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, an embodiment of the present invention provides a task scheduling method, electronic equipment, and storage media to solve the technical problem in the related art that may cause system crashes during the scheduling of timed tasks in a distributed system

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In related technologies, an open source distributed scheduling timing framework, such as elastic-job, is used to schedule timing tasks. Elastic-job is built based on distributed application coordination service zookeeper as a service registration center. Among them, Zookeeper is a cluster composed of a leader (Leader) and multiple followers (follower). The service provider registers information such as the name of the supported microservice and the IP address of the service provider to the registry, and when the service consumer needs to call microservice A, it searches the registry for the IP of the service provider that supports microservice A Address list, select a service provider from the found IP address list, and call the microservice A of the service provider.

[0047]In related technologies, it is impossible to control a single node in Zookeeper. When the number of scheduled tasks in a distributed system increases sharply, and there are multi-level calls betwee...

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 discloses a task scheduling method, electronic equipment and a storage medium, and the task scheduling method applied to a node of a distributed system comprises the steps: sending a first request to a service node in a first cluster based on a to-be-scheduled first task; wherein any two service nodes in the first cluster can communicate with each other; the first request is used for requesting to acquire first information corresponding to the first task; receiving first information corresponding to the first task returned by the service node based on the first request; wherein the first information comprises equipment information of equipment executing the first task, all service nodes providing a first service related to the first task and task configuration information; and when the equipment information of the node is the same as the equipment information in the first information, executing the first task based on the task configuration information by calling a first service provided by at least one service node.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a task scheduling method, electronic equipment and a storage medium. Background technique [0002] With the development of computer technology, more and more technologies, such as blockchain (Blockchain), big data, distributed and other technologies are applied in the financial field, and the traditional financial industry is gradually transforming into financial technology. However, due to financial The security and real-time requirements of the industry, and financial technology also put forward higher requirements for technology. In the field of financial technology, the distributed timing task scheduling framework is built based on the service registration center. In the process of scheduling timing tasks, the application server in the distributed system looks up the list of IP addresses corresponding to the microservices related to timing tasks from the service registratio...

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/4887
Inventor 庄俊升卢道和罗锶黄叶飞边元乔李建廷
Owner WEBANK (CHINA)
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