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
CN114356609APending Publication Date: 2022-04-15政采云有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
政采云有限公司
Publication Date
2022-04-15

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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