Cluster Message Distribution via Association Code Mapping
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current cluster systems face inefficiencies and resource wastage due to dual device mode, which affects system performance and reliability, especially in handling multi-node transactions and associated messages, leading to suboptimal processing capability and increased construction costs.
Innovation Solution
A cluster system with a dual device transaction distribution server and single device transaction processing servers, where the distribution server analyzes association codes to route messages efficiently between transaction processing servers, ensuring secure and reliable message distribution, and utilizing a mapping relationship between association codes and server numbers to maintain data consistency and redundancy.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a dual device mode is used to guarantee security, then system security is improved, but resource utilization deteriorates due to one device being idle and another inactive for long periods
Solution Approach 1:
The patent implements dynamic load balancing where the standby server actively participates in processing transactions. The system dynamically distributes incoming transactions between primary and standby servers based on load conditions, allowing the standby server to transition from idle to active state when needed, thus improving resource utilization while maintaining security through distributed processing
2Reliability
If a dual device mode is used for security, then system reliability is improved, but switching capability deteriorates when abnormality occurs and normal switching cannot be completed
Solution Approach 1:
The patent implements preliminary action by pre-establishing a mapping relationship between association codes and server numbers before transactions occur. This mapping table is maintained in advance, allowing the system to quickly determine the correct server for associated messages without complex real-time decision-making during failures, thus enabling rapid and reliable switching capability
3Productivity
If cluster system is used to extend system performance, then processing capability is improved, but complexity of message distribution and maintaining data consistency worsens
Solution Approach 1:
The patent introduces an association code as an intermediary element that links related messages and transactions. This association code acts as a mediator that simplifies the distribution process by providing a direct mapping key to the appropriate server, eliminating the need for complex real-time coordination and routing logic in the cluster system
4Productivity
If transaction distribution server distributes messages to multiple transaction processing servers, then processing capability is improved, but ensuring data consistency and maintaining association relationships worsens
Solution Approach 1:
The patent implements feedback by having transaction processing servers report back their processing status and associated message handling results to the transaction distribution server. This feedback mechanism allows the distribution server to track which server processed which transaction based on association codes, enabling it to maintain data consistency by routing subsequent related messages to the same server that originally handled the associated transaction
Data Source
Figure 1
Figure 2
Figure 3
AI summary
The invention provides a cluster system and request message distribution method for processing multi-node transaction. The cluster system comprises a transaction distribution server and multiple transaction processing servers connected to the transaction distribution server. The transaction distribution server is configured to determine whether a request message received from an external system is an initial request message, and if yes, analyze an association code carried in the initial request message, and transmit the initial request message to the selected transaction processing server; and the transaction processing server is configured to process the request message received from the transaction distribution server. The invention may extend processing capability of application systems, reduce construction cost of the system, and ensure security and reliability of the system, while solving the problem of distribution of association messages in a transactional cluster system to ensure normal operation and reliability of the multi-node transactional cluster system.