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

A Distributed Queue Message Reading Method, Device, and System

A reading device, distributed technology, applied in the field of data processing, can solve the problems of aggravating the risk of repeated message processing and a long period of time, etc.

Active Publication Date: 2016-08-03
深圳华为云计算技术有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In practical applications, there may be a large number of concurrent accesses in the distributed queue. After a message in the distributed queue is read, it takes a period of time to delete all copies of the message. When the number of copies of the message is large, delete all copies of the message. The required period of time is also long, during which the client may read the same message, exacerbating the risk of repeated message processing

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
  • A Distributed Queue Message Reading Method, Device, and System
  • A Distributed Queue Message Reading Method, Device, and System
  • A Distributed Queue Message Reading Method, Device, and System

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0047] Embodiments of the present invention provide a method, system and equipment for reducing the complexity and burden of access equipment. Each will be described in detail below.

[0048] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, emb...

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 distributed queue message reading method, device, and system, the method comprising: receiving a request for obtaining a message sent by a client; obtaining a message corresponding to the request for obtaining a message from a distributed queue, and the message carries an internal Identify the ID; extract the internal identification ID carried by the message, and determine whether the internal identification ID is stored in the distributed database; if so, delete the internal identification ID carried by the message stored in the distributed database, and Deleting the internal identification ID from the obtained message, and sending the message from which the internal identification ID is deleted to the client. The embodiment of the present invention can prevent the client from reading the same message from the distributed queue, and reduce the risk of repeated message processing.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a distributed queue message reading method, device and system. Background technique [0002] With the rise of cloud computing, distributed has also become a trend in software design and development, and one of the cores of distributed software development is distributed queues. In the distributed queue, in order to improve the reliability of the distributed queue, the distributed queue often stores multiple copies of the message when storing a message; and when a message of the distributed queue is read by the client, the distributed queue The queue needs to delete all copies of the message, so as to avoid repeated processing of the same message after being read by the client, which affects the business process. [0003] In practical applications, there may be a large number of concurrent accesses in the distributed queue. After a message in the distributed queue is read, it takes...

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/863
CPCH04L49/9063
Inventor 胡斐然刘先宁晏鹏
Owner 深圳华为云计算技术有限公司