Blockchain link monitoring management method and terminal

By storing the transmission status and transmission objects in the blockchain road monitoring module, the connection matching and stability issues in blockchain road data exchange are solved, and the stability and continuity of cross-block data transmission are achieved.

CN118646676BActive Publication Date: 2025-12-12福建天晴在线互动科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410870254.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2025-12-12
Estimated Expiration
2044-07-01

AI Technical Summary

Technical Problem

In the Web3.0 era, the data exchange process in blockchain involves cross-domain block data connection matching and data stability interaction issues, especially when a block interacts temporarily with another block member, which often involves data connection instability.

Method used

By storing transmission status and transmission objects in the blockchain road monitoring module and re-establishing the transmission link in case of anomalies, the blockchain road monitoring management method and terminal, including memory and processor, execute computer programs to achieve monitoring and management, ensuring the stability of data transmission.

Benefits of technology

It ensures the stability of data connections between blocks during blockchain road monitoring, improves the stability of data interaction, and allows tasks to continue even when disconnected without interfering with data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118646676B_ABST
    Figure CN118646676B_ABST
Patent Text Reader

Abstract

The application discloses a kind of blockchain link monitoring management method and terminal, when block carries out link data transmission, block is linked with block link monitoring module, and the transmission state and transmission object corresponding for the transmission link of block are stored in block link monitoring module, therefore, block link monitoring module can unilateral receive and backup data link condition, when block and transmission object are disconnected, block link monitoring module can also continue to carry out task, while block link monitoring module also does not interfere with the data transmission between block and transmission object.And, when the transmission state of block in block link monitoring module is abnormal, the transmission link of block and its transmission object can also be re-established.This way, a kind of monitoring cross-block data method is provided, which can ensure the data connection between blocks and improve the stability of data interaction when monitoring blocks.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of blockchain link management, and particularly relates to a blockchain link monitoring management method and a terminal. BACKGROUND

[0002] At present, under Web3.0, it is necessary to monitor the data exchange and data usage of blocks, and to provide backup services for the routes between blocks, that is, to handshake the route links. Moreover, the current blockchain link monitoring module is equivalent to a relay terminal and will be passed through in the process of data exchange. However, when cross-domain data interaction between blocks is encountered, the data connection matching problem and the data stability interaction problem between blocks often occur when a block temporarily interacts with another block member. SUMMARY

[0003] The technical problem to be solved by the present application is to provide a blockchain link monitoring management method and a terminal, which can ensure the data connection between blocks and improve the data interaction stability when monitoring blocks.

[0004] To solve the above technical problems, the technical scheme adopted by the present application is:

[0005] A blockchain link monitoring management method, comprising the steps of:

[0006] When the block performs link data transmission, link the block with a block link monitoring module;

[0007] In the block link monitoring module, store the corresponding transmission state and transmission object for the transmission link of the block;

[0008] When the transmission state of the block in the block link monitoring module is abnormal, reestablish the transmission link for the block and its transmission object.

[0009] To solve the above technical problems, another technical scheme adopted by the present application is:

[0010] A blockchain link monitoring management terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to realize each step of the above-mentioned blockchain link monitoring management method.

[0011] The beneficial effect of the present application is that when the block performs link data transmission, the block is linked with the block link monitoring module, and the corresponding transmission state and transmission object of the transmission link of the block are stored in the block link monitoring module, so that the block link monitoring module can receive and backup the data link unilaterally, and when the block is disconnected from the transmission object, the block link monitoring module can continue to perform the task, and the block link monitoring module does not interfere with the data transmission between the block and the transmission object. And when the transmission state of the block in the block link monitoring module is abnormal, the transmission link of the block and the transmission object can be re-established. In this way, a method for monitoring cross-block data is provided, which can ensure the data connection between the blocks and improve the data interaction stability when the blocks are monitored. BRIEF DESCRIPTION OF DRAWINGS

[0012] Figure 1 A flow chart of a block link monitoring management method according to an embodiment of the present application;

[0013] Figure 2 A schematic diagram of a block link monitoring management terminal according to an embodiment of the present application;

[0014] Figure 3 A schematic diagram of a block binary tree structure according to an embodiment of the present application;

[0015] REFERENCE NUMERALS:

[0016] 1. A block link monitoring management terminal; 2. A memory; 3. A processor. DETAILED DESCRIPTION

[0017] To explain the technical content, the achieved purposes and effects of the present application in detail, the following will be explained in combination with the embodiments and the accompanying drawings.

[0018] Please refer to Figure 1 The present application provides a block link monitoring management method, which comprises the following steps:

[0019] When the block performs link data transmission, the block is linked with the block link monitoring module;

[0020] The corresponding transmission state and transmission object of the transmission link of the block are stored in the block link monitoring module;

[0021] When the transmission state of the block in the block link monitoring module is abnormal, the transmission link of the block and the transmission object is re-established.

[0022] From the above description, the beneficial effects of the present application are that when the block performs link data transmission, the block is linked with the block link monitoring module, and the corresponding transmission state and transmission object of the transmission link of the block are stored in the block link monitoring module, so that the block link monitoring module can receive and backup the data link unilaterally, and when the block is disconnected from the transmission object, the block link monitoring module can continue to perform the task, and the block link monitoring module does not interfere with the data transmission between the block and the transmission object. Moreover, when the transmission state of the block in the block link monitoring module is abnormal, the transmission link of the block and the transmission object can be re-established. In this way, a method for monitoring cross-block data is provided, which can ensure the data connection between the blocks and improve the data interaction stability during block monitoring.

[0023] Further, linking the block with the block link monitoring module further comprises:

[0024] The information of the transmission object of the block and the operation type of the data transmission are sent to the block link monitoring module.

[0025] From the above description, by sending the information of the transmission object of the block and the operation type of the data transmission to the block link monitoring module, the subsequent monitoring and management of the data transmission link by the block link monitoring module are facilitated, and the block link monitoring module no longer exists in the form of a relay end, and does not interfere with the data transmission between the block and the transmission object, thereby ensuring that the data connection between the blocks is not disturbed by the monitoring module.

[0026] Further, the corresponding transmission state and transmission object of the transmission link of the block are stored in the block link monitoring module, comprising:

[0027] The binary tree structure is created according to the IP information of the block in the block link monitoring module, and the transmission state and the transmission object corresponding to the transmission link of the block are stored according to the binary tree structure, and the transmission object includes a block or a node.

[0028] Further, the transmission state comprises:

[0029] Data exchange state, used to indicate that the block and the transmission object are performing data transmission through the link;

[0030] Closed waiting state, used to indicate that the data transmission is completed and waiting to be awakened;

[0031] Block data sending state, used to indicate that the block sends data to the transmission object, but has not received the response of the transmission object.

[0032] From the above description, a binary tree structure is created according to the block IP information in the block link monitoring module to store the transmission state information of the blocks and the transmission objects, so that the transmission pressure of each block can be quickly obtained.

[0033] Further, when the block performs link data transmission, the method further comprises:

[0034] creating a transmission port in the block and the transmission object thereof;

[0035] When the transmission state of the block in the block link monitoring module is abnormal, the transmission link of the block and the transmission object thereof is re-established, and the method further comprises:

[0036] When the transmission link is re-established, a new transmission port is created in the block.

[0037] From the above description, when the transmission state of the block in the block link monitoring module is abnormal, a new port is set for the block corresponding to the transmission object, so that the stability of cross-block data transmission can be ensured.

[0038] Please refer to Figure 2 Another embodiment of the application provides a block link monitoring management terminal, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements each step of the above-mentioned block link monitoring management method when executing the computer program.

[0039] The above-mentioned block link monitoring management method and terminal are suitable for monitoring the link during cross-domain transmission of blocks, ensuring the data connection between blocks and improving the stability of data interaction, which will be described below through specific embodiments.

[0040] Embodiment one

[0041] Please refer to Figure 1 A block link monitoring management method comprises the following steps:

[0042] S1, when the block performs link data transmission, the block is linked with a block link monitoring module.

[0043] When the block performs link data transmission, a transmission port needs to be created in the block and the transmission object thereof, so that data transmission and exchange can be performed through the port, and the transmission object includes a block or a node. When the block is linked with the block link monitoring module, the information of the transmission object of the block and the operation type of data transmission are sent to the block link monitoring module.

[0044] In the embodiment, when each block is linked with a transmission object, the block is first linked with the block link monitoring module, and the block link monitoring module waits for the transmission object corresponding to the request after receiving the request. The purpose of this is to receive and backup data unilaterally, because the block link monitoring module is not an intermediate relay end, but belongs to the assistance monitoring: first, the data interaction between blocks or the data interaction between cross-block nodes, and the content and state to be operated are fed back to the block link monitoring module in real time during the interaction, which is equivalent to that the block link monitoring module saves the data state between the block and the transmission object in real time, and does not directly interfere with the data interaction between the block and the transmission object.

[0045] It can be seen that when the block is disconnected from the transmission object, the block link monitoring module can continue to perform the task, and the block link monitoring module does not interfere with the data transmission between the block and the transmission object.

[0046] S2, the transmission state and the transmission object corresponding to the transmission link of the block are stored in the block link monitoring module.

[0047] In the block link monitoring module, a binary tree structure is created according to the IP information of the block, and the transmission state and the transmission object corresponding to the transmission link of the block are stored according to the binary tree structure.

[0048] The transmission state includes:

[0049] The data exchange state is used to indicate that the block and the transmission object are performing data transmission through the link;

[0050] The closing waiting state is used to indicate that the data transmission is completed, and is waiting to be awakened;

[0051] The block data sending state is used to indicate that the block sends data to the transmission object, but has not received the response of the transmission object.

[0052] In the embodiment, please refer to Figure 3 , the block corresponds to N nodes, and a binary tree structure is created for the block when the block link monitoring is created. The binary tree structure is used for link storage, and the binary tree storage is performed on the data state according to the IP of the block. In this way, when the link is re-established, the previous state can be known.

[0053] S3, when the transmission state of the block in the block link monitoring module is abnormal, the transmission link of the block and the transmission object is re-established.

[0054] When the transmission link is re-established, a new transmission port needs to be created in the block.

[0055] Specifically, when the block and the node are faulty, that is, the block and the transmission object send data errors, the state of the block and the transmission object is: disconnected, the block link monitoring sets a new port for the block after detecting the abnormality, and reestablishes the link for the block and the transmission object.

[0056] For example:

[0057] Block 1 is interacting with node 1, at this time block 1 sends a fault and disconnects node 1, and the block link monitoring detects that the port is in the block data sending state when the link is created, which is equivalent to assuming that the port: 8181 is used when block 1 communicates with node 1. If data is interacting, the port is occupied and busy. At this time, the fault of block 1 will cause the block link monitoring to detect that the port is in the block data sending state and cannot detect feedback, so the block link monitoring knows that block 1 has a fault, at this time a new port is opened for block 1 (the purpose is not to affect the data interaction access of block 1). If block 1 uses the original port 8181, block 1 and node 1 continue to transmit data, if the port of block 1 is occupied or node 1 cannot be found, data is transferred by the block link monitoring. In this way, the transmission object can be monitored and maintained.

[0058] Embodiment two

[0059] Please refer to Figure 2 A block link monitoring management terminal 1, comprising a memory 2, a processor 3 and a computer program stored in the memory 2 and executable on the processor 3, wherein the processor 3 implements each step of the block link monitoring management method of embodiment one when executing the computer program.

[0060] In summary, the block link monitoring management method and terminal provided by the application can link the block and the block link monitoring module when the block transmits data, and store the corresponding transmission state and transmission object for the transmission link of the block in the block link monitoring module. Therefore, the block link monitoring module can receive and backup the data link on one side, and the block link monitoring module can continue the task when the block and the transmission object are disconnected, and the block link monitoring module does not interfere with the data transmission between the block and the transmission object. When the transmission state of the block in the block link monitoring module is abnormal, the transmission link of the block and the transmission object can be reestablished. In this way, a method for monitoring cross-block data is provided, which can ensure the data connection between the blocks and improve the data interaction stability when the blocks are monitored.

[0061] The above merely illustrates the embodiments of the present application, and is not intended to limit the patent scope of the present application. Any equivalent transformation or direct or indirect application in the related technical field based on the content of the present application specification and drawings is also included in the patent protection scope of the present application.

Claims

1. A monitoring and management method for blockchain paths, characterized in that, Including the following steps: When the block is transmitting data via the link, the block is linked to the blockchain road monitoring module; The blockchain path monitoring module stores the corresponding transmission status and transmission object for the transmission link of the block; When a block in the blockchain path monitoring module has an abnormal transmission status, a new transmission link is established for the block and its transmission object. The blockchain road monitoring module does not exist in the form of a relay terminal, ensuring that the data connection between blocks is not interfered with by the monitoring module; Linking the block to the blockchain road monitoring module also includes: The information of the transmission object of the block and the operation type of the data transmission are sent to the blockchain road monitoring module; The blockchain path monitoring module stores the corresponding transmission status and transmission object for the transmission link of the block, including: In the blockchain road monitoring module, a binary tree structure is created based on the IP information of the block, and the transmission status and transmission object corresponding to the transmission link of the block are stored according to the binary tree structure. The transmission object includes the block or node. When blocks transmit data via link, it also includes: Create transport ports in the block and its transport object; When a block in the blockchain path monitoring module has an abnormal transmission status, the transmission link for the block and its transmission object is re-established, which also includes: When re-establishing the transmission link, a new transmission port is created in the block.

2. The monitoring and management method for a blockchain path according to claim 1, characterized in that, The transmission status includes: Data exchange status indicates that blocks and transport objects are transmitting data over the link; The wait state is disabled to indicate that data transmission is complete and the system is waiting to be activated. The block data sending status indicates that the block has sent data to the transmission object, but has not yet received a response from the transmission object.

3. A monitoring and management terminal for a blockchain network, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it performs the following steps: When the block is transmitting data via the link, the block is linked to the blockchain road monitoring module; The blockchain path monitoring module stores the corresponding transmission status and transmission object for the transmission link of the block; When the transmission status of a block in the blockchain path monitoring module is abnormal, a new transmission link is established for the block and its transmission object. The blockchain road monitoring module does not exist in the form of a relay terminal, ensuring that the data connection between blocks is not interfered with by the monitoring module; Linking the block to the blockchain road monitoring module also includes: The information of the transmission object of the block and the operation type of the data transmission are sent to the blockchain road monitoring module; The blockchain path monitoring module stores the corresponding transmission status and transmission object for the transmission link of the block, including: In the blockchain road monitoring module, a binary tree structure is created based on the IP information of the block, and the transmission status and transmission object corresponding to the transmission link of the block are stored according to the binary tree structure. The transmission object includes the block or node. When blocks transmit data via link, it also includes: Create transport ports in the block and its transport object; When a block in the blockchain path monitoring module has an abnormal transmission status, the transmission link for the block and its transmission object is re-established, which also includes: When re-establishing the transmission link, a new transmission port is created in the block.

4. The monitoring and management terminal for a blockchain network according to claim 3, characterized in that, The transmission status includes: Data exchange status indicates that blocks and transport objects are transmitting data over the link; The wait state is disabled to indicate that data transmission is complete and the system is waiting to be activated. The block data sending status indicates that the block has sent data to the transmission object, but has not yet received a response from the transmission object.

Citation Information

Patent Citations

  • Block chain-based power transaction control method and apparatus

    CN107870996A

  • Node monitoring system applied to block chain

    CN112904770A