Service Router Segmentation for Flexible Message Routing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current service routing systems lack flexibility and convenience in routing request messages based on service logical addresses, physical addresses, and message rules, limiting their ability to efficiently match and route messages across service networks.
Innovation Solution
A routing method and apparatus that receive a service registration request carrying a service logical address, physical address, and message rule, extract and register this information, and match it with request messages to generate a routing record list, selecting the appropriate record to route the request message, thereby enabling flexible and convenient routing.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If traditional service routing is used based on simple address mapping, then the routing process is straightforward, but the routing flexibility and adaptability are insufficient
Solution Approach 1:
The routing information is segmented into multiple independent components: service logical address, service physical address, and message rule. This segmentation allows each component to be processed and matched independently, enabling flexible routing decisions without requiring complex monolithic routing logic. The message rule itself is segmented into message format and message content sub-rules for granular matching.
Solution Approach 2:
The service provider performs preliminary action by pre-registering the service logical address, service physical address, and message rule with the service router before actual service invocation. This preliminary registration creates a ready-to-use routing record list that enables rapid message routing without complex real-time analysis, balancing flexibility with processing efficiency.
2Measurement precision
If detailed message format and content matching is implemented, then routing precision is improved, but the matching complexity increases
Solution Approach 1:
The message rule is segmented into two independent matching dimensions: message format matching and message content matching. This segmentation allows the system to evaluate format compliance and content relevance separately, achieving precise matching while maintaining modularity. Each matching dimension can be processed independently, reducing the complexity of evaluating all criteria simultaneously.
Solution Approach 2:
The system implements partial matching by evaluating message format and message content separately rather than requiring complete simultaneous matching. The routing record selection can be based on format matching alone, or content matching alone, or both, providing flexible precision levels. This partial action approach achieves sufficient routing precision without the excessive complexity of comprehensive multi-criteria optimization.
Data Source
Figure 1~2
Figure 3~5
Figure 6~7
AI summary
A routing method, apparatus and system are disclosed. The method includes: receiving from a service provider a service registration request which carries a service logical address, a service physical address, and a message rule; registering routing information according to the service registration request; and routing a request message of a service requestor according to the routing information. The present invention enables routing of the request message of a service requestor according to the service logical address, service physical address, and message rule, so that routing is more flexible and more convenient.