Message consumption method and message system

A message system and message technology, applied in the direction of inter-program communication, multi-program device, etc., can solve the problems of slow message pull speed, reduced message throughput, low message consumption efficiency, etc., to ensure sequence and improve pull efficiency effect

Pending Publication Date: 2022-04-15
政采云有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing technology, when sequential consumption is realized, only one message storage queue is set up on the message consumption server and the message storage server, and only a single message pulling process is used on the message consumption server to pull messages from the message storage server. Under the circumstances, due to the slow speed of a single message pulling process from the message storage server, the consumption efficiency of messages in high concurrency scenarios is very low, which reduces the throughput of messages

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 message system
  • Message consumption method and message system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The core of the present invention is to provide a message consumption method and a message system, which ensure the sequence of messages being consumed, improve the efficiency of message pulling, and the consumption efficiency and throughput of messages in high concurrency scenarios.

[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. 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.

[0027] For details, please refer to figure 1 , f...

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 and a message system, and the method comprises the steps: setting N message storage queues and message consumption queues in one-to-one correspondence at a message consumption server and a message storage server respectively, storing the messages in a message storage queue according to a preset queue storage sequence and the marks of the messages by the message distribution server, and consuming the messages from a message consumption queue according to a preset queue consumption sequence and the marks of the messages by the message distribution server, therefore, the last message consumption and the current message consumption meet the requirement that the message consumption queues consume the messages according to the preset queue consumption sequence by taking the preset number as the unit, and the sequential performance when the messages are consumed is ensured. In addition, N message pulling processes are set in the message consumption server and pull the messages from the message storage server at the same time, so that compared with a single message pulling process, the message pulling efficiency and the message consumption efficiency and the message throughput in a high-concurrency scene are improved.

Description

technical field [0001] The invention relates to the field of message consumption, in particular to a message consumption method and a message system. Background technique [0002] In the field of message payment and the industrial field, after the message producer produces the message, the message distribution server will deliver the message produced by the message producer to the message storage server in a certain order, and the message storage server receives the messages delivered by the message distribution server. After the message is stored in the message storage queue of the message storage server in a certain order, when the message is consumed, the message pulling process in the message consumption server pulls the message from the message storage queue of the message storage server to the message storage server's Messages are consumed in the queue and consumed in a certain order, which is sequential consumption. In the existing technology, when sequential 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
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
Try Eureka
PatSnap group products