Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Message consumption method and device, computing equipment and storage medium

A message and consumer-side technology, applied in the computer field, to solve the problem of repeated consumption and reduce processing pressure

Inactive Publication Date: 2021-09-03
北京房江湖科技有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, the processing pressure on the message consumer end is caused

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 consumption method and device, computing equipment and storage medium
  • Message consumption method and device, computing equipment and storage medium
  • Message consumption method and device, computing equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0064] The embodiment of the present invention discloses a message consumption method, see figure 2 , including the following steps 201-204:

[0065] 201. The message generator sends the generated message and the timestamp corresponding to the message to the message maintenance service.

[0066] In this embodiment, after generating a message, the message generating end does not directly se...

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 provides a message consumption method and device, computing equipment and a storage medium. The method comprises the steps that: a message generation end sends a generated message and a timestamp corresponding to the message to a message maintenance service; when the message maintenance service determines that the received message is the same as the stored message, the timestamp of the received message is compared with the timestamp of the stored message, and whether the received message is a repeated message is judged; if not, the message maintenance service generates a signature according to the message and the timestamp and stores the signature, and sends a storage success notification to the message generation end, and the message generation end sends the message to the message consumption end through the message queue for consumption; and if yes, the message maintenance service sends a storage failure notification to the message generation end, and the message generation end cancels sending of the message to the message queue, so that the idempotency does not need to be ensured by the message consumption end, and the processing pressure of the message consumption end is relieved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a message consumption method and device, a computing device and a storage medium. Background technique [0002] In the Internet era, a large number of message transmission scenarios are required, such as various messages sent from the message generator to the message consumer, and the message consumer consumes the received messages. [0003] The message consumption process in the prior art is as follows: figure 1 shown. The entire message consumption model includes: message generator, message queue and message consumer. First, the message generator generates a message and sends it to the message queue, and then the message queue confirms receipt of the message, and then the message queue delivers the message to the relevant message consumer, and the message consumer confirms receipt of the message and consumes it. [0004] Then, for the message consumer, it is necess...

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): G06F9/54
CPCG06F9/546
Inventor 毛良献
Owner 北京房江湖科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products