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

A message isolation and forwarding method and system

Active Publication Date: 2022-04-19
中邮消费金融有限公司
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Each additional message type needs to be judged by adding conditions. The sending logic has not been scaled horizontally. At the same time, manual configuration notification addresses are added to notify the target system through http requests. Automated retries
[0003] At present, the message notification can only be forwarded through the local configuration specified forwarding address, the program is hard-coded to match the message prefix, and the http request notification is transferred to the target system; each system has not uniformly implemented exception automatic processing, and the message loss cannot be collected to the unified service for automatic reset Sending compensation, relying on manual processing by post-management
[0004] The initial planning of the intermediate forwarding system is limited to the transmission of messages by two single services, and can only support http requests; with the rapid development of business, there are more and more types of message services, and the interaction logic of each system to process messages becomes more and more complex
[0005] The storage structure of abnormal messages that appear in their respective business processes is not uniform, there is no policy management for storing abnormal messages, and no policy clearing action is taken after retransmission is completed, resulting in data accumulation, which in turn leads to heavy data query pressure; The http method needs to maintain and manage the address of each retry; there is no unified exception retry management mechanism, which leads to duplication of exception retry codes in various channels
[0006] As a result, the rigid agreement between the systems is not conducive to subsequent program expansion and maintenance, the request mode is single, and the reliability of the message cannot be guaranteed. The intermediate system is prone to network and service exceptions without a compensation retry mechanism; the configuration operation is cumbersome and easy to miss; rely on configuration Address notification, network changes increase system maintenance work; manual configuration to notify each application address, configuration is cumbersome, inconvenient to operate, and easy to miss; automatic retry in the application, code redundancy, and does not support unified automatic exception retry, Bad for code management

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 message isolation and forwarding method and system
  • A message isolation and forwarding method and system
  • A message isolation and forwarding method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The technical scheme of the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments, so that those skilled in the art can better understand the present invention and implement it, but the examples given are not intended to limit the present invention.

[0041] Such as Figure 1-3 As shown, the present invention provides a routing method, comprising the steps of:

[0042]S1. Receiving, identifying and storing message data: receiving message data in a unified way, including monitoring kafka messages, receiving http requests, dubbo message consumption, calling the processor to identify the attributes of the received message data and recording the identification results, and then, according to the identification Classify and store message data according to the message type to form a corresponding message data storage cluster; use the proxy mode to shield the underlying multi-message type scenario, 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 present invention relates to a routing method, comprising the following steps: S1. Receiving, identifying and storing message data: uniformly receiving message data, invoking a processor to perform attribute identification on received message data and recording the identification result, according to the identified message type Classify and save message data; S2. Differentiated processing and forwarding of message data: Differentiate processing of message data according to message type of message data, and message data is converted and processed by corresponding business processor according to message type to obtain business processing data, business processing The data is uniformly delivered to the associated application dubbo corresponding to the parameter key; S3. Return the notification result and judge whether it is abnormal: return the notification result to the routing processor to judge whether the parsed notification result is normal. If the message is processed and responded normally, the program Consume and submit queue messages; if the message is abnormally processed and responded, the unified exception interception record will be recorded in the exception data management table, and the exception handler will be triggered to automatically compensate and retry.

Description

technical field [0001] The present invention relates to the technical field of routing methods, in particular to a message isolation and forwarding method and system. Background technique [0002] With the rapid development of business, there are more and more business types of messages, and the messages in the distributed system need to be forwarded to different business processing channels for different logical processing. Each additional message type needs to be judged by adding conditions. The sending logic has not been scaled horizontally. At the same time, manual configuration notification addresses are added to notify the target system through http requests. Automate retries. [0003] At present, the message notification can only be forwarded through the local configuration specified forwarding address, the program is hard-coded to match the message prefix, and the http request notification is transferred to the target system; each system has not uniformly implemente...

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): H04L45/745H04L45/30
CPCH04L45/745H04L45/306
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