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

Delay message processing method and equipment

A message processing and message technology, which is applied in the direction of digital transmission system, data exchange network, electrical components, etc., can solve the problems such as large delay time span of delayed message, unrealizable, small time granularity value, etc.

Active Publication Date: 2021-05-11
BEIJING ZITIAO NETWORK TECH CO LTD
View PDF10 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the inventor has found that the prior art has at least the following technical problems: the delay time of the delayed message to be sent may span a large span, such as 1 second, 30 minutes, 1 day or 1 month, etc.
In order to achieve more accurate forwarding and delivery of the sending time, the value of the time granularity will be relatively small. When dividing the level queue according to the delay message with the maximum delay time, the server needs to deploy and maintain a large number of level queues, which will put pressure on the processing capacity of the server. Not even possible, usually limits the maximum delay allowed for delayed messages
However, if the value of the time granularity is large, it cannot meet the delay accuracy requirements of the sending time.

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
  • Delay message processing method and equipment
  • Delay message processing method and equipment
  • Delay message processing method and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments It is a part of the embodiments of the present disclosure, but not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present disclosure.

[0028] At present, the existing main way to implement delayed message sending in message queues is as follows: the server divides multiple queues of different levels according to the delayed messages to be sent according to a certain time granularity, and the delay time of each level of queues is incremental. The server maintains queues of a...

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 invention provides a delay message processing method and equipment. The delay message processing method comprises the following steps: dividing a delay message into a first delay message and a second delay message; dividing the first delay messages into corresponding level theme queues according to the delay time of the first delay messages, so that the first delay messages are forwarded, and the time granularity of the level theme queues is divided according to the delay time of the first delay messages; dividing each second delay message into a corresponding time slot according to the delay time of the second delay message, wherein the time slot is divided according to a preset time interval based on absolute time; when it is detected that any target time slot meets a preset loading time condition, loading a second delay message in the target time slot; and dividing all the loaded second delay messages into the corresponding level theme queues to complete the transfer of the second delay messages. According to the embodiment of the invention, the maximum delay time limit is avoided, and the delay precision of the delay message can be improved.

Description

technical field [0001] The embodiments of the present disclosure relate to the field of computer and Internet technologies, and in particular to a delayed message processing method and device. Background technique [0002] In the conventional message queue model, messages are sent and received immediately, which satisfies the FIFO (first in, first out) characteristic. However, in some business scenarios, it is necessary to delay sending some messages. That is, the message to be sent is put into the message queue for sending after the specified delay time, and the message does not block subsequent message sending during the delay period. For example, when shopping online, after the client places an order, the merchant can send a 30-minute delayed message to the client to remind the user of the client whether the payment has been completed. [0003] At present, the existing main way to implement delayed message sending in message queues is as follows: the server divides mult...

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
IPC IPC(8): H04L12/875H04L29/08H04L47/56
CPCH04L47/56H04L67/62
Inventor 周余发田守枝徐建海茌海
Owner BEIJING ZITIAO 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