A distributed task scheduling method and system

By using Redis as the sole external dependency in the distributed task scheduling system, real-time message passing between the server and the execution client is achieved, solving the problems of bloated existing system architecture and centralized bottlenecks, improving the real-time performance and reliability of task scheduling, and supporting task scheduling in microservice scenarios.

CN122285205APending Publication Date: 2026-06-26BEIJING QIYI CENTURY SCI & TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING QIYI CENTURY SCI & TECH CO LTD
Filing Date
2026-03-16
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

Existing distributed task scheduling systems are cumbersome in architecture, have poor real-time performance, and are prone to system paralysis due to centralized bottlenecks and single points of failure. They are also inflexible in deployment, have low microservice integration, and have high operation and maintenance costs.

Method used

Redis is used as the sole external dependency, and its publish/subscribe functionality is used to enable real-time message passing between the execution client and the server. The server acts as a stateless scheduling brain, and the execution client acts as a distributed worker, receiving and executing tasks through subscription, supporting task scheduling in microservice scenarios.

Benefits of technology

It simplifies the architecture of the distributed task scheduling system, reduces task scheduling latency and operation and maintenance costs, improves the real-time performance and reliability of task scheduling, and achieves a combination of the convenience of centralized management with the high availability and high scalability of decentralized systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122285205A_ABST
    Figure CN122285205A_ABST
Patent Text Reader

Abstract

This invention provides a distributed task scheduling method and system. The method is applied to a distributed task scheduling system, which includes a server and multiple clients. Each client subscribes to relevant task channels in Redis, where each channel corresponds to a task type that the client can handle. The method includes: the server obtaining the tasks to be processed and their task types; and, based on a pre-set correspondence between task types and task channels, publishing the tasks to be processed to the corresponding task channels in Redis. The executing clients then retrieve the tasks from their subscribed task channels and execute them. The executing clients are those that have subscribed to a target task channel in Redis, where the target task channel is the task channel corresponding to the task type of the task to be processed. Applying this invention improves the real-time performance of task scheduling.
Need to check novelty before this filing date? Find Prior Art