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

Monitoring and automatic switching method and system based on multiple blockchain nodes

An automatic switching and block chain technology, applied in the field of block chain, can solve the problem that the quality of service cannot be effectively guaranteed, and achieve the effect of reducing the risk of manual misoperation, ensuring stability, and increasing availability

Active Publication Date: 2021-01-26
SHANGHAI WANXIANG BLOCK CHAIN CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The monitoring method of this patent can only achieve the step of discovering abnormalities. In the follow-up, manual intervention is still required to troubleshoot and deal with problems, and the service quality cannot be effectively guaranteed during non-working hours.

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
  • Monitoring and automatic switching method and system based on multiple blockchain nodes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] A monitoring and automatic switching system based on multiple block chain nodes provided by the present invention includes: figure 1 as shown,

[0045] Module M1: The node status collection module collects the running status information of the blockchain nodes, and sends the running status information of the blockchain nodes to the information aggregation processing module;

[0046] Module M2: The information aggregation processing module calculates the status characteristic value of the blockchain node according to the received blockchain node operation status information, and generates a blockchain node according to the status characteristic value of the blockchain node within the preset time period. The node state change record is saved to the information storage unit, and the node label value in the information storage unit is modified through the trend judgment unit according to the node state change record;

[0047] Module M3: Use the alarm module to judge the he...

Embodiment 2

[0075] Embodiment 2 is a modification of embodiment 1

[0076] Through monitoring, automatic switching, and automatic preparation of different blockchain chain nodes, the availability of blockchain nodes is guaranteed and the recovery time of failures is reduced.

[0077] For blockchain nodes joining the system, at least two normal nodes must be guaranteed to operate, one to provide services for business calls, and one as a backup. In addition, you need to label the nodes in advance, and write a script containing the label value. The label value includes:

[0078] Node name, for example: BTC

[0079] Node exception handling strategy, for example: restart|initialization|rebuild

[0080] Node restart script name, for example: BTC_Restart.sh

[0081] Node initialization script name, for example: BTC_Initialization.sh

[0082] Node rebuild script name, for example: BTC_rebuild.sh

[0083] The required cpu number, for example: 4x2.5GHZ

[0084] The required memory size, for e...

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 invention provides a monitoring and automatic switching system and method based on multiple blockchain nodes. The method comprises steps of a node state acquisition module acquiring the running state information of the blockchain nodes; calculating to obtain a state characteristic value of the blockchain node according to the received operation state information of the blockchain node, generating a blockchain node state change record, storing the blockchain node state change record in an information storage unit, and modifying a node label value in the information storage unit; judging thehealth state of the state characteristic value of the blockchain node through an alarm module according to the obtained state characteristic value of the blockchain node, and generating a switching request when the state characteristic value of the blockchain node is unhealthy; the node switching module receiving the node switching request, modifying proxy service configuration and switching theservice flow corresponding to the unhealthy blockchain node to the healthy blockchain node; and the node preparation module receiving the node preparation request, preparing a blockchain node according to a preset node label value, and generating a request to notify the node state acquisition module to add the prepared blockchain node into a cluster.

Description

technical field [0001] The present invention relates to the technical field of block chains, in particular to a method and system for monitoring and automatically switching nodes based on various block chains. Background technique [0002] In the process of business systems frequently uploading data to popular and different blockchains, and reading and analyzing data on different blockchains in real time, there are extremely high requirements for the availability of chain nodes. At present, due to various problems such as server resources and network jitter, the chain nodes often exit abnormally due to the failure of synchronous data, or the synchronous block height lags behind, etc., requiring operation and maintenance personnel to manually handle the exception. In particular, some chain nodes need to synchronize data from the first block when restarting, and it takes several days or even longer to synchronize to the latest data, which seriously affects the availability of ...

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 Applications(China)
IPC IPC(8): H04L12/24H04L12/26H04L29/08
CPCH04L41/06H04L41/0668H04L43/08H04L67/10
Inventor 周仙王劼宁江波
Owner SHANGHAI WANXIANG BLOCK CHAIN CO LTD
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