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

Message processing method, apparatus, electronic device and computer readable medium

A message processing and message technology, which is applied in the computer field, can solve problems such as waste of resources, long delays, and occupation of computing resources, and achieve the effect of reducing the occupancy rate

Active Publication Date: 2021-07-30
BEIJING SANKUAI ONLINE TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the delay time in this method needs to be manually set. If more delay messages need to be counted, an excessively long delay time needs to be set, resulting in long-term occupation of computing resources and waste of resources.

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
  • Message processing method, apparatus, electronic device and computer readable medium
  • Message processing method, apparatus, electronic device and computer readable medium
  • Message processing method, apparatus, electronic device and computer readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0017] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0018] Please refer to figure 1 , which shows a process 100 according to an embodiment of the message processing method of the present application. The message processing method includes the following steps:

[0019] Step 101, receiving messages in real time, and storing 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 embodiment of the present application discloses a message processing method, device, electronic equipment, and computer-readable medium. Embodiments of the method include: receiving messages in real time, and sequentially storing the received messages in the message queue; determining the target time interval where the current time is located from a plurality of preset time intervals; When the current time is equal to the target time, the messages received in the target time interval in the message queue and the messages sent in the target time interval and received before the target time are included in the messages corresponding to the target time interval Set; process the messages in the message set. This embodiment provides a method for effectively processing out-of-order messages, which reduces the occupancy rate of computing resources.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a message processing method, device, electronic device, and computer-readable medium. Background technique [0002] Message queue (Message queue) is a container for storing messages during message transmission. Through the message queue, the messages received in real time can be stored sequentially. Ideally, the messages in the message queue should be stored in the order of the message sending time from first to last. However, due to reasons such as network jitter, the arrival time of the message in the message queue is delayed (the message may be called a delayed message at this time), which leads to the out-of-order situation of the messages in the message queue. [0003] In the existing method, multiple time segments are usually pre-set (for example, dividing each day by minutes), and a fixed delay period (for example, 30 seconds) is set, a...

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/54
CPCG06F9/546
Inventor 李海泉刘强马方旭徐阳黄伟伦
Owner BEIJING SANKUAI ONLINE TECH CO LTD