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

Message consumption method based on set, production method, system and storage medium

A message and consumer-side technology, applied in the Internet field, to achieve the effect of clear data structure, rapid analysis of consumption, and reduction of resource consumption

Pending Publication Date: 2021-12-03
武汉美和易思数字科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a set-based message consumption method, production method, system and readable storage medium, aiming at solving the problem of how to reduce resource consumption and improve consumption efficiency in the process of message production and consumption in the prior art technical problem

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 based on set, production method, system and storage medium
  • Message consumption method based on set, production method, system and storage medium
  • Message consumption method based on set, production method, system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0043] The invention provides a set-based message processing system. The set-based message processing system includes a message producer and a message consumer, the message producer is used to produce messages, and the message consumer is used to consume messages.

[0044] Please refer to figure 1 , figure 1 It is a schematic structural diagram of the hardware operating environment involved in the embodiment scheme of the set-based message processing system of the present invention.

[0045] Such as figure 1 As shown, the set-based message processing system may include a processor 1001 such as a CPU, a communication bus 1002 , a user interface 1003 , a network interface 1004 and a memory 1005 . Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user i...

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 discloses a message consumption method based on a set, a message production method based on the set, a system and a storage medium, and the consumption method comprises the steps: obtaining a message array based on a message queue, and integrating a plurality of to-be-consumed messages which are generated based on a preset format and have the same consumption type in the message array; consuming each to-be-consumed message, generating a state identifier of each to-be-consumed message, and monitoring whether an abnormal state identifier exists in each state identifier; if yes, importing the message array into the message queue again, executing the step of obtaining the message array based on the message queue until the state identification of each message to be consumed in the message array is the normal state identification, and completing consumption of the message array. According to the invention, the message array read from the message queue each time contains multiple items of messages to be consumed, so that resources consumed due to one-by-one transmission and consumption of the messages to be consumed are reduced. And meanwhile, the to-be-consumed message is generated in a preset format, so that consumption can be quickly analyzed, and the message consumption efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a set-based message consumption method, production method, system and storage medium. Background technique [0002] With the rapid development of Internet technology, the Internet has been integrated into all aspects of people's life and work. People use the Internet to shop, chat, watch videos, hold meetings, share files, and build virtual machines. The various functions realized by the Internet are actually the data transmission and processing process through the Internet. Moreover, data can be transmitted and processed in the form of messages, that is, messages produced by message producers are put into message queues, and message consumers are taken out of message queues for consumption. [0003] The generation and consumption of current messages usually exist in the form of a single item, that is, a single message is generated and put into the message queue for consump...

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 Applications(China)
IPC IPC(8): G06F9/54
CPCG06F9/546G06F2209/548
Inventor 海克洪
Owner 武汉美和易思数字科技有限公司
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