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

Distributed event bus processing method based on message queue, terminal and medium

A message queue and event bus technology, applied in the computer field, can solve the problems of no client-side provision of message middleware, cumbersome client-side operation, no client-side, etc., to achieve easy configuration and use, easy client-side operation, and reduce complexity Effect

Pending Publication Date: 2021-03-19
广州伊智信息科技有限公司
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, many message middleware are composed of several components. When using them, the client needs to understand the functions and usage methods of different components. At the same time, when using these middleware, the client needs to pay attention to details such as routing and partitioning of different events. It does not provide an easy-to-configure and use interface based on event bus semantics for the client, and the operation of the client is cumbersome
[0004] In view of the related technologies mentioned above, the applicant believes that the existing message middleware does not provide the client with an interface based on event bus semantics that is easy to configure and use, and the client operation is cumbersome.

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
  • Distributed event bus processing method based on message queue, terminal and medium
  • Distributed event bus processing method based on message queue, terminal and medium
  • Distributed event bus processing method based on message queue, terminal and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The application will be described in further detail below in conjunction with the accompanying drawings.

[0052] This specific embodiment is only an explanation of this application, and it is not a limitation of this application. Those skilled in the art can make modifications to this embodiment without creative contribution according to needs after reading this specification, but as long as the rights of this application All claims are protected by patent law.

[0053] The embodiment of the present application provides a distributed event bus processing method based on a message queue, which includes publishing an event by the publisher; the server polls and selects a message queue node until the message queue node is an available node; the server selects the available node and sends a message The middleware pushes the message; when the consumer requests to subscribe to the message, the server subscribes the relevant message queue to the message middleware, and the me...

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 relates to the technical field of computers, and aims to provide a distributed event bus processing method based on a message queue, a terminal and a medium, and the method comprises thesteps: building connection with a publisher, and obtaining a published event message; performing basic attribute verification of event data on the obtained event message to generate a unique event ID; selecting available nodes from the node pool, and pushing messages to the message middleware; after a subscription event request message of a consumer is received, decoding the subscription event request message, verifying the legality of event data and obtaining an event ID; establishing connection with the message middleware, subscribing a related message queue to the message middleware according to the event ID, and establishing a callback processor; and acquiring an event of a callback processor to receive a message of the message middleware, decoding the message, converting the messageinto a subscribed event structure, and pushing the event message flow to a consumer. The method has the effect of realizing lightweight operation of the client.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a message queue-based distributed event bus processing method, terminal and medium. Background technique [0002] At present, in the distributed event bus system, there are a large number of scenarios where message middleware is used to decouple application logic to transmit messages in different applications. Messaging middleware implements communication between processes in a distributed environment by providing message passing and message queuing models. Message middleware utilizes an efficient and reliable message delivery mechanism for platform-independent data exchange, and integrates distributed systems based on data communication. Message middleware supports both synchronous and asynchronous methods. Because asynchronous middleware is more fault-tolerant than synchronous middleware, it is more widely used. The publish-subscribe interface of asynchronous midd...

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): G06F9/54
CPCG06F9/546G06F9/542G06F2209/547G06F2209/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