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

Message cross-cluster routing forwarding method and system

A forwarding method and cross-cluster technology, applied in transmission systems, digital transmission systems, data exchange networks, etc., can solve problems such as increased consumption of computing resources and increased maintenance costs, and achieve avoidance of consumption of computing resources, low maintenance costs, and savings The effect of computing resources

Active Publication Date: 2021-03-16
SUNING CLOUD COMPUTING CO LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The defects in this method of implementing the routing and forwarding function are also obvious. Since each routed Topic corresponds to a routing and forwarding task, as the business volume and business scale increase, the number of routed Topics increases. The number of routing and forwarding tasks has also increased. In addition, every time when routing rules are adjusted, new routing topics are added, redundant and complex maintenance tasks such as redevelopment, compilation, and operation are required on the business side. Not only Increased maintenance costs and increased consumption of additional computing resources

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 cross-cluster routing forwarding method and system
  • Message cross-cluster routing forwarding method and system
  • Message cross-cluster routing forwarding method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] see figure 1 , an embodiment of the present invention provides a cross-cluster routing and forwarding method for messages, including:

[0049] The server obtains the routing rule configuration record written in the distributed coordination system;

[0050] The server uses the routing rule parser in the Topic to convert the routing rule configuration record into the corresponding routing rule executor;

[0051] The server uses the routing rule executor to perform routing rule matching on the message that needs to be routed in the Topic, and obtains the routing cluster list corresponding to the message;

[0052]The server uses the routing replicator in the Topic to forward the message to the corresponding cluster according to the routing cluster list.

[0053] The cross-cluster routing and forwarding method of messages provided by the embodiment of the present invention abstracts the calculation task of routing into a simple routing rule configuration record, writes it ...

Embodiment 2

[0075] see Figure 4 , the embodiment of the present invention provides a message cross-cluster routing and forwarding system, including a server and a distributed coordination system, the server includes a configuration acquisition module and at least one Topic, the Topic includes a routing replication unit and a message management unit, and the routing replication unit includes Routing rule parser, routing rule executor and routing replicator, wherein,

[0076] The configuration obtaining module is used to obtain the routing rule configuration record written in the distributed coordination system, and notify the routing rule parser;

[0077] Routing rule parser, used to convert routing rule configuration records into corresponding routing rule executors;

[0078] A routing rule executor, configured to perform routing rule matching on messages that need to be routed in the message management unit, and obtain a routing cluster list corresponding to the messages;

[0079] The...

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 cross-cluster routing forwarding method and system, and the method comprises the steps that a server obtains a routing rule configuration record written in a distributed coordination system; the server converts the routing rule configuration record into a corresponding routing rule executor by using a routing rule analyzer in the Topic; the server performs routingrule matching on messages needing to be routed in the Topic by utilizing the routing rule executor to obtain a routing cluster list corresponding to the messages; and the server forwards the messageto the corresponding cluster according to the routing cluster list by using a routing duplicator in the Topic. According to the message cross-cluster routing forwarding system provided by the invention, the message cross-cluster routing forwarding method is adopted, and the cross-cluster routing replication forwarding of the message is realized by relying on the distributed coordination system atthe server to perform routing rule configuration, so that the consumption of additional computing resources is avoided, and the maintenance cost is reduced.

Description

technical field [0001] The invention relates to the technical field of message middleware, in particular to a method and system for cross-cluster routing and forwarding of messages. Background technique [0002] At present, when the cross-cluster routing and forwarding function of messages is realized in the industry, it can only be implemented on the business side by relying on streaming computing tasks such as Storm and Flink or other similar self-developed services. The routed messages in the Topic complete the routing rule matching through the computing pipeline. , and then write to the corresponding cluster via the Sink, and finally achieve the purpose of the message being routed and forwarded. The defects in this method of implementing the routing and forwarding function are also obvious. Since each routed Topic corresponds to a routing and forwarding task, as the business volume and business scale increase, the number of routed Topics increases. The number of routing...

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): H04L12/58H04L12/741H04L12/801H04L12/947H04L45/74
CPCH04L45/54H04L49/252H04L47/33H04L51/214
Inventor 程星林王淘郭业俊赵云马宏滨
Owner SUNING CLOUD COMPUTING 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