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

A method and device for centralized scheduling of asynchronous services supporting time strategy

A technology of centralized scheduling and strategy, applied in the Internet field, can solve the problems of inconvenient maintenance and occupy a lot of resources, and achieve the effects of easy reuse, low management cost and high efficiency

Active Publication Date: 2020-10-30
MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In practical applications, such application scenarios that require asynchronous processing are very common, and most of the technical solutions adopted are to develop corresponding service processes for each application scenario, which not only takes up a lot of resources, but also is very inconvenient to maintain

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
  • A method and device for centralized scheduling of asynchronous services supporting time strategy
  • A method and device for centralized scheduling of asynchronous services supporting time strategy
  • A method and device for centralized scheduling of asynchronous services supporting time strategy

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0023] Such as figure 1 As shown, it is a flow chart of an asynchronous service centralized scheduling method supporting time policy according to an embodiment of the present invention, wherein the method includes:

[0024] 101. Establish a task table, the task table stores the task identification, execution protocol, extended information required for executing the task, and time policy of the task corresponding to the business to be executed;

[0025] 102. S...

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 present invention provides a centralized scheduling method and device for asynchronous services that support time policies, and establishes a task table, which stores the task identification, execution protocol, and extended information required to execute the task corresponding to the task to be executed. 1. Time policy, the method includes: starting the core scheduling process, polling the tasks in the task table that meet the time policy; for each task that meets the time policy, matching the execution protocol of the current task; starting an independent processing process, according to the execution task Execute the corresponding operation on the required extended information, and lock the current task in the task table at the same time; after the current task is executed, delete the task from the task table. The above technical solution has the following beneficial effects: the present invention centralizes scattered service processes for unified management and scheduling, clear business logic, higher efficiency, lower management costs, supports multiple data transmission protocols, and supports calls according to time policies, with good flexibility .

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a centralized scheduling method and device for asynchronous services supporting time policies. Background technique [0002] In daily applications, we often encounter scenarios such as sending welcome emails when registering an account, sending private messages in batches when the management background passes some review, etc. At this time, the technical solutions used often have the following two types: [0003] 1. It is implemented through serial logic. After all the logic is processed, it returns to execute successfully. At this time, the end user waits for a long time. If there is an exception in the middle, the implementation of the compensation mechanism is also very cumbersome. For example, after successfully registering an account, send an email directly. If the sending email takes a long time to process, the subsequent program cannot continue to execute, and the use...

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 Patents(China)
IPC IPC(8): G06F9/48H04L12/58H04L29/08
CPCG06F9/4881H04L51/214H04L67/62
Inventor 马文东
Owner MICRO DREAM TECHTRONIC NETWORK TECH CHINACO