Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

An implementation method of message deduplication in message middleware

A technology of message middleware and implementation method, applied in the field of message deduplication, can solve problems such as message middleware without message deduplication, and achieve the effects of reducing computational pressure, high interaction efficiency, and clear responsibilities

Active Publication Date: 2021-09-07
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Redis can also be used as message middleware, however, there is no Redis-based message middleware with message deduplication function in the prior art

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
  • An implementation method of message deduplication in message middleware

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be described clearly and completely below. Obviously, the described embodiments are some, but not all, embodiments of the present invention. Based on the described embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.

[0025] Unless otherwise defined, technical or scientific terms used in the present invention should have the ordinary meaning as understood by one of ordinary skill in the art to which the present invention belongs.

[0026] According to an aspect of the present invention, a method for implementing message deduplication in message middleware is provided, and the method includes:

[0027] The list structure of Redis is used as the message queue of the message middleware...

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

A method for implementing message deduplication of message middleware, said method comprising: adopting a list structure of Redis as a message queue of message middleware; creating a subscription model of a producer system and a consumer system; adopting a collection of Redis to store existing The identifier of the message. When the message middleware receives a new message, it will query whether the identifier of the message already exists in the corresponding set according to the subject of the message. If it exists, the message will be ignored. If it does not exist, the message will be appended. into the message queue.

Description

technical field [0001] The present invention relates to the technical field of message processing, and more particularly, to a method for realizing message deduplication of message middleware. Background technique [0002] The message middleware uses an efficient and reliable message delivery mechanism for platform-independent data exchange, and integrates distributed systems based on data communication. By providing message delivery and message queuing models, it can expand inter-process communication in a distributed environment. . [0003] In the producer-consumer scenario, the three elements of message middleware are: producer, message, and consumer. The producer produces messages and sends the messages to the message middleware through the message middleware for consumption. As a message middleware, the message middleware is responsible for maintaining the topic subscription relationship of consumers, receiving messages from message producers, and pushing messages to ...

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): H04L29/08
CPCH04L67/02H04L67/10H04L67/1078H04L67/55
Inventor 张振铎张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products