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

Timed task processing method and device

A technology of timed tasks and processing methods, applied in the field of financial technology, can solve problems such as high system resources, occupation, and server performance degradation, and achieve the effect of increasing storage capacity

Pending Publication Date: 2021-03-30
WEBANK (CHINA)
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, when processing timed tasks in the customer service operating system scenario, most of the timed tasks are set by the background server, and different timers are set for different tasks. However, in the case of complex task scenarios and many tasks, different tasks This way of setting different timers will take up too much system resources, resulting in a significant drop in server performance

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
  • Timed task processing method and device
  • Timed task processing method and device
  • Timed task processing method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example ;

[0111] If the position of the first timed task in the cache is greater than the position of any instance, then assign the first timed task to the instance closest to the start position of the preset integer range interval.

[0112] Optionally, the processing unit 1002 is further configured to:

[0113] After allocating the timed tasks in the cache to the instances, if any instance of the instances fails, the instance that fails will be cleared from the preset integer range interval, and assigned to The timing task of the instance where the failure occurs is reassigned.

[0114] Optionally, the processing unit 1002 is specifically configured to:

[0115] After performing hash processing on the identifier of any timing task and the identifier of any instance, a hash value of the identifier of any timing task and a hash value of the identifier of any instance are obtained;

[0116] According to the preset integer range interval, perform a modulo operation on the hash value of t...

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 timed task processing method and device. The method comprises the steps: obtaining a timed task, storing the timed task in a cache, and distributing the timed task in the cache to each instance according to the recognition of the timed task in the cache and the recognition of each instance, and synchronizing the timing task to the local cache of each instance according toa preset time interval, thereby enabling each instance to obtain the timing task meeting a time condition from the local cache of each instance at a preset frequency for processing. When the embodiment processes the timing task, the corresponding timing task is obtained from the local cache of the embodiment for processing, and the timing task cannot be obtained from the cache of the server in real time, so that the throughput of the server cannot be increased, and the cache performance of the server cannot be reduced.

Description

technical field [0001] The present invention relates to the technical field of financial technology (Fintech), in particular to a timing task processing method and device. Background technique [0002] With the development of computer technology, more and more technologies are applied in the financial field, and the traditional financial industry is gradually transforming into financial technology. However, due to the security and real-time requirements of the financial industry, higher requirements are also placed on technology. In the customer service operating system in the financial field, how to deal with timing tasks is an important issue. [0003] At present, when processing timed tasks in the customer service operating system scenario, most of the timed tasks are set by the background server, and different timers are set for different tasks. However, in the case of complex task scenarios and many tasks, different tasks This method of setting different timers will oc...

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/48G06F16/27
CPCG06F9/4881G06F16/27Y02D10/00
Inventor 刘沛峰陈朝亮卢道和陈晔
Owner WEBANK (CHINA)