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

A Distributed Message Forwarding Method

A message forwarding and distributed technology, applied in the field of data interaction services, can solve the problems of message sequence and priority without a better solution, so as to avoid continuous growth of occupation and ensure stable operation

Active Publication Date: 2019-06-25
INSPUR SOFTWARE CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

MetaQ uses the Java language to redevelop on the basis of Kafka, and expands transaction support, message asynchronous sending, message broadcasting and other mechanisms, but there is no better solution in terms of message order and priority

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 Message Forwarding Method
  • A Distributed Message Forwarding Method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0034] The implementation of the distributed message forwarding method of the present invention includes: distributed message queue service and distributed message service interface.

[0035] (1) Distributed message queue service

[0036] (1) Distributed framework

[0037] as attached figure 1 As shown, the distributed message queue uses the distributed management tool Zookeeper to realize configuration synchronization and state management among forwarding servers. Each forwarding server is a node (called znodeServer) in the Zookeeper cluster. The state of the forwarding server is monitored. When the state of other forwarding server nodes changes (new forwarding nodes or existing forwarding nodes crash), the load balancing algorithm is triggered to redistribute the changed forwarding server tasks.

[0038] The Zookeeper cluster manages and publishes the information of each forwarding server in a unified manner. Subscriber and publisher nodes can obtain address information an...

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 distributed message forwarding method, which belongs to the field of data interaction services. The method realizes the configuration synchronization and status management between forwarding servers with the distributed management tool Zookeeper. Each forwarding server is used as a node in the Zookeeper cluster, and each forwarding server node monitors the status of other forwarding servers. When other forwarding servers When the server node status changes, the load balancing algorithm is used to redistribute the changed forwarding server tasks. Compared with the prior art, the method of the present invention provides a subscription / publishing function to realize on-demand customization of messages; each forwarding server is mutually active and standby to ensure that any forwarding server crashes without affecting the normal operation of the service; Messages are stored persistently to ensure data security; high-concurrency and batch data are conditionally serialized and cached to ensure the stability of service operation.

Description

technical field [0001] The invention relates to the field of data interaction services, in particular to a distributed message forwarding method. Background technique [0002] Message queuing is a system-to-system communication method. Systems communicate by writing and retrieving queued data (messages) without the need for dedicated connections linking them. With message queues, systems can execute independently -- they don't need to know where each other is, or wait for the receiving program to receive the message before continuing execution. [0003] Message queues provide a loosely coupled approach to constructing distributed applications that can be implemented synchronously or asynchronously. Interface calls to message queues are embedded in new or existing applications to provide information exchange by sending messages to or reading from memory or disk-based queues. Message queues can be used in applications to perform functions such as requesting services, exchan...

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 Patents(China)
IPC IPC(8): H04L29/08H04L12/865H04L47/6275
CPCH04L47/6215H04L67/1034H04L67/60
Inventor 马骏邵兵乔富龙郭炜
Owner INSPUR SOFTWARE CO LTD
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