Supercharge Your Innovation With Domain-Expert AI Agents!

Distributed message processing method, device and system based on delay time

A technology of message processing and delay time, which is applied in the directions of multi-programming devices, electronic digital data processing, database distribution/replication, etc., can solve the problems of low flexibility of delayed message consumption and low practicability of delayed message consumption, and achieve The effect of improving flexibility

Pending Publication Date: 2021-06-04
SHANGHAI ZHONGTONGJI NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the object of the present invention is to provide a distributed message processing method, device and system based on delay time to solve the problem of using delayed messages in the prior art. The message consumption is carried out at the time point, resulting in low flexibility of message delayed consumption, and low practicability of delayed message consumption

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
  • Distributed message processing method, device and system based on delay time
  • Distributed message processing method, device and system based on delay time
  • Distributed message processing method, device and system based on delay time

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other implementations obtained by persons of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.

[0049] figure 1 is a flow chart provided by an embodiment of the delay time-based distributed message processing method of the present invention, such as figure 1 As shown, the delay time-based distributed message processing method of this embodiment specifically includes the following steps:

[0050] S101. Obtain the to-be-delayed consumption data and the delay time corresponding to the to-be-delayed consumption data.

[0051] In this embodiment, the user ca...

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 relates to a distributed message processing method, device and system based on delay time. The method comprises the following steps: acquiring consumption data to be delayed and delay duration corresponding to the consumption data to be delayed, both the to-be-delayed consumption data and the delay duration carrying an initial time slice when the to-be-delayed consumption data is sent; storing the delay duration in a configuration center, and storing the consumption data to be delayed in a distributed storage cluster; determining an index time slice corresponding to each initial time slice according to the current time and all delay durations stored in the configuration center; detecting the distributed storage cluster according to a preset detection period, and taking each piece of obtained to-be-delayed consumption data matched with the index time slice as to-be-consumed data; and consuming all the to-be-consumed data. By adopting the scheme, the user sets the delay duration corresponding to the consumption data to be delayed in advance, and then stores the delay duration in the configuration center, so that the delay duration can be dynamically set, and the flexibility and practicability of message delay consumption are improved.

Description

technical field [0001] The present invention relates to the technical field of message processing, in particular to a delay time-based distributed message processing method, device and system. Background technique [0002] Internet companies will have such demand scenarios. A piece of data needs to be processed after a specific delay time. The message that delays processing the data is a delayed message. A delayed message is also called a timed message, which means that it needs to be consumed after a period of time. news. [0003] In the prior art, the use of delayed messages is only to select a fixed time point for message consumption after the delayed message is sent out, resulting in low flexibility of delayed message consumption and low practicability of delayed message consumption. Contents of the invention [0004] In view of this, the object of the present invention is to provide a distributed message processing method, device and system based on delay time to sol...

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/54G06F9/50G06F16/22G06F16/27
CPCG06F9/546G06F9/5027G06F16/2228G06F16/27G06F2209/548G06F2209/5018
Inventor 郝健
Owner SHANGHAI ZHONGTONGJI NETWORK TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More