Service Registration Node Network Partition Handling
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In distributed network systems, service registration and usage face challenges in managing network partitions, leading to risks and performance issues due to the lack of differentiation between AP-type and CP-type service providing nodes during network partitions.
Innovation Solution
A registration service node determines whether to allow service registration or usage based on network partition information and the distributed characteristics of service providing nodes, distinguishing between AP-type and CP-type nodes to manage network partitions effectively.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If the registration service node uniformly processes all service providing nodes without differentiation during network partitions, then the system maintains simplicity in processing logic, but the reliability and availability of service registration deteriorate due to inability to handle different distributed characteristics appropriately
Solution Approach 1:
The patent applies local quality by differentiating the processing logic based on the distributed characteristic type (CP or AP) of each service providing node. The registration service node identifies the node type and applies different registration rules: CP nodes require consistent registration across all registration service nodes, while AP nodes allow registration in available partitions only. This localized differentiation resolves the contradiction by maintaining simple uniform processing for each node type while achieving reliable service registration overall.
2Reliability
If the registration service node allows service registration from all service providing nodes during network partitions, then the availability of service registration is improved, but the consistency of service data deteriorates due to potential conflicts from multiple partitions registering simultaneously
Solution Approach 1:
The patent segments service providing nodes into two distinct categories: CP (Consistency-Partition tolerant) nodes and AP (Availability-Partition tolerant) nodes. This segmentation allows the system to apply different registration strategies to different node types. CP nodes enforce strict consistency by requiring all registration service nodes to agree before registration, while AP nodes prioritize availability by allowing registration in any available partition. This segmentation resolves the contradiction by preventing consistency conflicts while maintaining registration availability.
3Loss of information
If the registration service node enforces strict consistency checks for all service providing nodes during network partitions, then the consistency of service data is improved, but the availability of service registration deteriorates due to registration failures in partitioned networks
Solution Approach 1:
The patent implements dynamic processing logic that adapts to the distributed characteristic type of each service providing node. For CP nodes, the system dynamically enforces strict consistency checks across all registration service nodes. For AP nodes, the system dynamically relaxes consistency requirements and allows registration in available partitions only. This dynamic adaptation resolves the contradiction by adjusting the consistency-availability tradeoff based on the specific node type and network partition state.
Data Source
AI summary
A service registration method and usage method, and a related apparatus are used to reduce risks generated when a service of an AP-type service providing node cannot be registered and a CP-type service providing node provides a service since distributed characteristics of a service providing node are not distinguished in a network partition scenario. The method is: obtaining, by a registration service node, network partition information, and receiving a registration request of a service providing node, where the registration request carries a distributed characteristic of the service providing node, and the distributed characteristic meets both consistency and partition tolerance, or meets both availability and partition tolerance; and determining, by the registration service node according to the network partition information and the distributed characteristic of the service providing node, whether registration of a service provided by the service providing node is allowed.


