Multi-server Blockchain Node Heartbeat Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Blockchain nodes experience poor stability and service processing efficiency due to reliance on single servers, leading to instability and inefficiency in service processing and consensus networks.

Innovation Solution

Implementing a blockchain node with multiple servers and a registration center to manage server addresses, ensuring that service requests are distributed across available servers, thereby enhancing stability and efficiency by allowing service requests to be processed even if one server is unavailable.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If a blockchain node uses a single server for service processing, then the device complexity is reduced, but the stability and reliability of the node deteriorates

Engineering Contradiction:
Improveserver structureVSAvoidblockchain node stability
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The blockchain node is segmented into multiple independent servers (first server, second server, third server) that can operate independently. Each server can process service requests and perform consensus operations separately, so that if one server fails, the others can continue to maintain node functionality and network consensus.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements beforehand cushioning by configuring multiple servers before any failure occurs. The system prepares redundant server instances that can immediately take over if a server fails, preventing stability deterioration before it happens. The registration center and heartbeat detection mechanisms are pre-configured to monitor and manage server availability proactively.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

2Device complexity

If a blockchain node uses a single server, then the device complexity is low, but the service processing efficiency deteriorates due to limited software and hardware resources

Engineering Contradiction:
Improveserver structureVSAvoidservice processing efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The service processing function is segmented across multiple servers, allowing parallel processing of service requests. Different servers can handle different requests simultaneously, increasing the overall service processing capacity and efficiency of the blockchain node without requiring a single overly complex server.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Each server in the blockchain node is designed with universal functionality to perform both service processing and consensus operations. This multi-functionality allows any available server to handle any task, maximizing resource utilization and improving overall system efficiency through flexible workload distribution.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Reliability

If a blockchain node uses multiple servers, then the stability and reliability improve, but the device complexity increases

Engineering Contradiction:
Improveblockchain node stabilityVSAvoidserver structure
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The registration center acts as an intermediary that manages the complexity of multiple servers. It handles server address registration, updates, and coordination automatically, so that other components don't need to directly manage the complexity of multiple server instances. This intermediary abstracts the complexity away from individual nodes.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system implements self-service mechanisms where servers automatically register their addresses with the registration center, and the registration center automatically notifies other nodes of server availability changes. The heartbeat detection mechanism automatically monitors server status without requiring manual intervention, allowing the system to self-manage the complexity of multiple servers.

Inventive Principle:
Principle #25Self-service

4Reliability

If the system uses heartbeat detection messages to monitor servers, then the reliability improves through continuous availability checking, but the loss of time increases due to detection overhead

Engineering Contradiction:
Improveserver availability detectionVSAvoidheartbeat detection time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system uses periodic heartbeat detection messages sent at regular intervals to monitor server availability. This periodic action balances reliability monitoring with time efficiency - frequent enough to detect failures promptly, but spaced sufficiently to minimize detection overhead. The registration center sends heartbeat messages at optimized intervals to maintain reliability without excessive time loss.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS11943317B2Multi-server node service processing and consensus method and device based on heartbeat detection messages
Publication Date: 2024.03.26 ADVANCED NEW TECHNOLOGIES CO LTD
  • US11943317B2 patent drawing
  • US11943317B2 patent drawing
  • US11943317B2 patent drawing

AI summary

One example method performed by a registration center includes obtaining addresses of a first plurality of servers of a first blockchain node in a consensus network, where the consensus network further includes a plurality of additional blockchain nodes, where each blockchain node of the plurality of additional blockchain nodes includes a corresponding plurality of servers; sending the addresses of the first plurality of servers to each blockchain node of the plurality of additional blockchain nodes and a client for storage; sending a heartbeat detection message to a first server of the first plurality of servers; determining that a response message to the heartbeat detection message is not returned by the first server in a predetermined time period; determining that the first server is offline; and instructing each blockchain node of the plurality of additional blockchain nodes to delete an address of the first server.