A large-scale real-time dynamic group chain networking method based on audit control
By setting policies and audit interfaces in the blockchain and nodes, combined with agent verification and visualization reports, the problem of dynamic management of blockchain networks is solved, and a flexible and efficient networking and a secure and stable blockchain network are achieved.
Patent Information
- Application Number
- CN202310500904.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-06
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-05-06
AI Technical Summary
Existing blockchain networking methods cannot effectively manage nodes and chains dynamically, resulting in high network complexity, an inability to flexibly respond to different data sharing needs, and a lack of effective control measures, making it difficult to achieve large-scale real-time chain networking.
An audit-based control approach is adopted, setting up policy and audit interfaces in the blockchain and nodes. Policy settings and audits are performed through the blockchain management platform, and the legality of policy instructions is verified by an agent program. Visual audit reports and identity verification mechanisms are provided to enable real-time dynamic addition or deletion of nodes and blockchains.
It enables real-time dynamic chain formation and networking of the blockchain network, improving flexibility and efficiency, enhancing network security and stability, and enabling timely detection and handling of potential security risks and faults.
Smart Images

Figure CN116506442B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of blockchain technology, and in particular to a large-scale, real-time, dynamic blockchain networking method based on audit control. Background Technology
[0002] Currently, blockchain technology has been widely applied in finance, logistics, supply chain and other fields. However, due to the large number of nodes and the large amount of data transmission, the management and optimization of blockchain networks still face significant challenges.
[0003] Current blockchain networking methods are based on cryptography, which makes effective dynamic management of chains and nodes impossible. Once a communication connection is established, it cannot be changed. As the scale of the chain increases, the complexity of its network environment also increases. Different data sharing requirements also differ; for example, node A might only want to share information 1 with node B, and node A's information 2 might only want to share it with node C. Traditional cryptographic-based networking environments cannot effectively handle this. Furthermore, how to manage blockchain nodes is also a significant issue. Therefore, efficiently managing the joining and leaving of nodes / chains, improving the flexibility, reliability, and security of blockchains, and enabling large-scale real-time chain networking have become urgent problems to be solved. Summary of the Invention
[0004] The primary objective of this invention is to propose a large-scale, real-time, dynamic chain-building network method based on audit control, enabling the real-time dynamic addition or deletion of nodes / chains to form new link structures. In this method, each node / chain can be used as an independent component, thus greatly improving the system's flexibility and scalability. To achieve the objectives of this invention, the following technical solution is adopted:
[0005] A large-scale, real-time, dynamic chaining network method based on audit control includes the following processes:
[0006] Configure policy and audit interfaces in each blockchain and node;
[0007] Configure policies for target nodes and / or blockchains within the blockchain management platform;
[0008] After the strategy is set up, the strategy command is sent to the corresponding node and / or the strategy interface of the blockchain;
[0009] After receiving the policy instruction, the target node performs the operation of exiting or joining the blockchain network according to the policy instruction, generates audit information, and sends it to the blockchain management platform through the audit interface. After receiving the policy instruction, the target blockchain performs the operation of exiting or joining the cross-chain network according to the policy instruction, generates audit information, and sends it to the blockchain management platform through the audit interface.
[0010] A further improvement is that each blockchain and node has a proxy program with a validator. This validator verifies the legality of policy instructions issued by the administrator based on predefined policy rules. When the administrator sends a policy instruction to the blockchain or node, the proxy program automatically calls the validator to verify whether the policy instruction meets the requirements of the predefined policy rules. If the policy instruction passes the verification, the proxy program will execute the corresponding operation and generate audit information. Otherwise, the proxy program will return an error message to the management platform and refuse to execute the policy instruction.
[0011] A further improvement is that the blockchain management platform receives audit information and performs audit control on each node and blockchain, monitoring its operating status and data interaction.
[0012] A further improvement is that the blockchain management platform provides a visual audit report, which displays the trend and percentage of node and blockchain access and exit in the form of charts and tables. The report also displays the time range, and administrators can choose to view the access and exit of nodes and blockchains for the most recent week, month or year.
[0013] A further improvement is that the method for setting policies for target nodes and / or blockchains in the blockchain management platform is as follows: a user management interface is set up on the blockchain management platform. The administrator selects the target node or blockchain through the policy configuration menu of the user management interface. The administrator can select a node and set it to exit or join the blockchain network and generate policy instructions, or the administrator can select a blockchain and set it to exit or join the cross-chain network and generate policy instructions.
[0014] A further improvement is that the blockchain management platform is equipped with an identity verification and authorization mechanism, requiring administrators to first verify their identity and then assign corresponding policy settings based on their roles or permissions. Identity verification uses any one of password, two-factor authentication, or fingerprint recognition. The blockchain management platform audits and monitors the administrator's operations to promptly detect abnormal behavior. At the same time, a log recording mechanism is established to record the administrator's identity information, operations performed, and timestamps for subsequent review.
[0015] A further improvement is that when setting policies for target nodes in the blockchain management platform, it is necessary to first determine the current state of the target node.
[0016] A further improvement lies in determining the current state of the target node, which includes:
[0017] Each node is configured with a node status checker to automatically execute node status check rules. The node status checker uses monitoring software or log analysis tools to check the node status and send status reports to the management platform. The node status check rules include: checking the node's operating status, hardware health status, network connection status, and data synchronization status.
[0018] A further improvement is that when setting policy 3 for a blockchain in the blockchain management platform, if the policy is to connect the target blockchain to the cross-chain network, it is necessary to first verify whether the cross-chain network to be connected conforms to the cross-chain interaction rules already defined in the target blockchain. If the cross-chain network to be connected does not match the cross-chain interaction rules already defined in the target blockchain, the administrator needs to first define new cross-chain interaction rules in the target blockchain or require the cross-chain network to be connected to adjust according to the rules of the target blockchain.
[0019] A further improvement lies in the method for verifying whether the cross-chain network to be accessed conforms to the cross-chain interaction rules already defined in the target blockchain, including:
[0020] Verify the cross-chain protocol: Check whether the protocol used by the cross-chain network to be connected matches the cross-chain protocol already defined in the target blockchain;
[0021] Verify the interaction data format: Check whether the interaction data format used by the cross-chain network to be connected matches the interaction data format already defined in the target blockchain;
[0022] Verify the security of the interaction: Check whether the security of the cross-chain network to be connected meets the security requirements defined in the target blockchain, including whether it supports digital signatures and encrypted transmission.
[0023] The beneficial effects of this invention are:
[0024] This invention enables real-time dynamic chain formation and networking of blockchain networks. It can add or delete nodes in the blockchain network as needed, and connect or disconnect the blockchain from the cross-chain network as needed, thereby enhancing the flexibility and efficiency of network formation and better adapting to actual situations.
[0025] This invention employs audit control measures for node and blockchain exits and accesses, enabling timely detection and handling of potential security risks and faults, thereby ensuring the security and stability of the blockchain network. Attached Figure Description
[0026] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0027] Figure 1 This is a flowchart of a large-scale real-time dynamic chaining and networking method based on audit control according to the present invention;
[0028] Figure 2 A diagram illustrating a node leaving or joining the blockchain network;
[0029] Figure 3 This is a diagram illustrating how a blockchain can exit or join a cross-chain network. Detailed Implementation
[0030] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0032] Please refer to the attached document. Figure 1 This invention proposes a large-scale real-time dynamic chaining network method based on audit control, which includes the following processes:
[0033] Step S1: Set up policy interfaces and audit interfaces in each blockchain and node.
[0034] By setting up policy and audit interfaces in each blockchain and node, administrators can issue policy commands through a unified blockchain management platform (also known as a central control platform) and monitor and record the operational behavior of nodes and blockchains in real time through the audit interfaces, facilitating subsequent auditing and traceability. Audit information is sent to the blockchain management platform through the audit interfaces, ensuring data privacy and integrity while also improving the transparency and fairness of the entire network.
[0035] Step S2: Configure policies for the target node and / or blockchain in the blockchain management platform.
[0036] Step S3: After the strategy settings are completed, issue the strategy instructions to the corresponding nodes and / or the strategy interface of the blockchain.
[0037] Step S4: After receiving the policy instruction, the target node performs the operation of exiting or joining the blockchain network according to the policy instruction and generates audit information, which is then sent to the blockchain management platform through the audit interface. After receiving the policy instruction, the target blockchain performs the operation of exiting or joining the cross-chain network according to the policy instruction and generates audit information, which is then sent to the blockchain management platform through the audit interface.
[0038] like Figure 2 The diagram illustrates a node leaving or joining the blockchain network. Figure 3 Figure 6 is a schematic diagram of a blockchain exiting or joining a cross-chain network.
[0039] This invention achieves real-time dynamic blockchain network configuration through the above-described scheme. Traditional fixed-structure blockchain networks are ill-suited to handling complex and ever-changing business needs and market environments. This invention, however, allows for the real-time addition or removal of nodes from the blockchain network as needed, and the integration or decoupling of blockchains from cross-chain networks, enhancing the flexibility and efficiency of network configuration and better adapting to real-world conditions. Dynamic networking based on actual needs enables more effective utilization of network resources, improves operational efficiency, and reduces operating costs.
[0040] Furthermore, by employing audit control measures for the exit and access of nodes and the blockchain, this invention can promptly detect and address potential security risks and malfunctions, thereby ensuring the security and stability of the blockchain network.
[0041] In one improved embodiment, a proxy program is set up in each blockchain and node. Each proxy program contains a validator used to verify the legality of policy instructions issued by the administrator according to predefined policy rules. These rules may include verification of the policy instruction format, source, etc. When the administrator sends a policy instruction to the blockchain or node, the proxy program automatically calls the validator to verify whether the policy instruction conforms to the predefined policy rules. If the policy instruction passes verification, the proxy program will make a policy judgment, execute the corresponding operation, and generate audit information; otherwise, the proxy program will return an error message to the management platform and refuse to execute the policy instruction.
[0042] This embodiment improves network security and stability by incorporating a validator within the agent program. The agent program uses the validator to verify the legitimacy of policy commands, effectively preventing malicious attacks or misoperations from damaging the network, reducing unnecessary risks, and enhancing network controllability, thus fundamentally improving network security and reliability.
[0043] In this embodiment, the blockchain management platform receives audit information and performs audit control on each node and blockchain, monitoring its operating status and data interaction.
[0044] Each node's access to and exit from the blockchain generates corresponding audit information. The blockchain management platform can use this audit information to understand the access and exit records of each node and blockchain. Furthermore, the operational status and data interaction of each node and blockchain will also generate corresponding audit information, facilitating the timely detection and handling of potential security risks and faults, ensuring the reliability and stability of the network, and improving the network's controllability and transparency.
[0045] Furthermore, the blockchain management platform provides visualized audit reports, displaying the trends and proportions of node and blockchain access and exit in the form of charts and tables. The reports also display the time range, allowing administrators to choose to view the access and exit status of nodes and blockchains for the most recent week, month, or year.
[0046] For example, line charts can be used to show the trend of node joining and leaving, and pie charts or bar charts can be used to show the percentage of node joining and leaving.
[0047] By providing visualized audit reports, the access and exit status of nodes and the blockchain can be better displayed, improving network visibility and facilitating management and monitoring for administrators. This enhances administrator efficiency, allowing them to intuitively understand the network's operational status, quickly identify anomalies, and take necessary measures to ensure the network's normal operation. Audit reports also provide data support for administrators, helping them make more informed decisions.
[0048] By displaying time ranges in the report, administrators can understand the specific times when nodes join and leave. By showing time ranges and selection functions in the audit report, administrators can also easily review and analyze historical data to understand the network's evolution and development trends.
[0049] In one embodiment of the present invention, the method for setting policies for target nodes and / or blockchains in a blockchain management platform is as follows: a user management interface is set on the blockchain management platform, and the administrator selects a target node or blockchain through the policy configuration menu of the user management interface. The administrator can select a node and set it to exit or join the blockchain network and generate policy instructions, or the administrator can select a blockchain and set it to exit or join the cross-chain network and generate policy instructions.
[0050] By setting up a user management interface, administrator efficiency is improved. Through the policy configuration menu in the user management interface, administrators can more easily configure node and blockchain access and exit, reducing operational difficulty and the probability of errors, and improving operational accuracy and stability. It also enhances the network's scalability and adaptability. The policy configuration menu in the user management interface provides better scalability and adaptability for future policy settings and management.
[0051] In one embodiment of the present invention, the blockchain management platform is equipped with an identity verification and authorization mechanism, requiring administrators to first verify their identity and then assign corresponding policy settings permissions according to their roles or permissions. Identity verification uses any one of password, two-factor authentication, or fingerprint recognition. The blockchain management platform audits and monitors the administrator's operation behavior in order to detect abnormal behavior of the administrator in a timely manner. At the same time, a log recording mechanism is established to record the administrator's identity information, the operation performed, and the timestamp for subsequent review.
[0052] Specifically, administrators can be divided into senior administrators and regular administrators. Senior administrators have policy setting permissions, while regular administrators only have viewing permissions and do not have modification permissions.
[0053] Authentication and authorization mechanisms enable better control over administrator identities, preventing security issues such as unauthorized operations and data leaks. The blockchain management platform audits and monitors administrator actions, promptly detecting anomalies and taking necessary measures to ensure network security and stable operation. Through the combined use of authentication, access control, auditing, monitoring, and logging, illegal operations and improper behavior are effectively prevented, guaranteeing network security and reliability.
[0054] In one embodiment of the present invention, when setting policies for a target node in a blockchain management platform, it is necessary to first determine the current state of the target node.
[0055] Specifically, when setting policies for a target node, the administrator needs to first query the node's current status through the blockchain management platform. If the target node is already connected to the blockchain network, the administrator can choose to remove it from the blockchain network; conversely, if the target node is not yet connected to the blockchain network, the administrator can choose to connect it to the blockchain network.
[0056] By first determining the current status of the target node, administrators can avoid repeatedly configuring nodes already connected to the blockchain network and can promptly detect unreasonable settings and anomalies, ensuring the stable operation and proper use of the blockchain network.
[0057] Specifically, determining the current state of the target node also includes:
[0058] Each node is configured with a node status checker to automatically execute node status check rules. The node status checker uses monitoring software or log analysis tools to check the node status and sends a status report to the management platform. The node status check rules include:
[0059] Check the node's running status: Check whether the node is running normally and record the running log.
[0060] Hardware device health status: Check whether the node hardware devices are malfunctioning or abnormal.
[0061] Network connectivity status: Check whether the network connectivity between the node and other nodes is normal.
[0062] Data synchronization status: Check whether the data synchronization status between the node and other nodes is normal.
[0063] By setting up a node status check program on each node, the node's operating status and various indicators can be obtained in real time, allowing for timely detection and resolution of node faults and anomalies, ensuring normal node operation and data synchronization.
[0064] In one embodiment of the present invention, when setting a strategy for a blockchain in a blockchain management platform, if the strategy is to connect the target blockchain to a cross-chain network, it is necessary to first verify whether the cross-chain network to be connected conforms to the cross-chain interaction rules already defined in the target blockchain. If the cross-chain network to be connected does not match the cross-chain interaction rules already defined in the target blockchain, the administrator needs to first define new cross-chain interaction rules in the target blockchain or require the cross-chain network to be connected to adjust according to the rules of the target blockchain.
[0065] By verifying whether the cross-chain network to be connected conforms to the cross-chain interaction rules defined in the target blockchain, potential problems and risks caused by cross-chain interaction can be effectively prevented.
[0066] Specifically, methods for verifying whether the cross-chain network to be accessed conforms to the cross-chain interaction rules already defined in the target blockchain include:
[0067] Verify the cross-chain protocol: Check whether the protocol used by the cross-chain network to be connected matches the cross-chain protocol already defined in the target blockchain. During cross-chain interaction, different blockchains need to adhere to certain cross-chain protocols to ensure the reliability and security of the interaction. If the protocol used by the cross-chain network to be connected does not match the cross-chain protocol already defined in the target blockchain, it may lead to interaction failure or potential security risks.
[0068] Verify the interaction data format: Check whether the interaction data format used by the cross-chain network to be connected matches the interaction data format defined in the target blockchain; during cross-chain interaction, different blockchains need to transmit data in a certain format. If the transmitted data formats are inconsistent, it may lead to interaction failure or potential security risks.
[0069] Verify interaction security: Check whether the security of the cross-chain network to be connected meets the security requirements defined in the target blockchain, including whether it supports digital signatures and encrypted transmission. During cross-chain interactions, it is necessary to ensure the security and integrity of data; therefore, security measures such as digital signatures and encrypted transmission are required. If the cross-chain network to be connected does not support these security measures, potential security risks and data breaches may occur.
[0070] In other embodiments, the present invention can also establish an audit information database in the blockchain management platform to manage audit information, as detailed below:
[0071] (1) Select a stable and reliable database system and implement data backup and recovery functions as needed to ensure data security and reliability.
[0072] (2) Design the audit information table structure, including fields such as audit time, node or blockchain name, and audit results, to ensure that all audit information can be recorded completely.
[0073] Furthermore, audit information can be linked to policy settings. Recording policy setting-related information in the audit information helps the management platform better understand the effectiveness and problems of policy implementation, providing reference and basis for subsequent policy settings. The specific implementation scheme is as follows:
[0074] In the blockchain management platform, a policy setting table structure is configured. When setting a policy, information such as the policy name, node or blockchain name, policy command (access / exit), execution time, and execution target are recorded and saved in the policy setting table. The policy setting table is associated with the corresponding node or blockchain.
[0075] By using database technology, foreign key constraints are added to the audit information table structure to correspond to the fields in the policy settings table structure, and associations are established with the corresponding fields in the policy settings table structure to ensure that there is a correct relationship between audit information and policy settings.
[0076] Record information related to policy settings in the audit information table structure, including the policy ID and policy name involved.
[0077] By analyzing correlated data and summarizing and analyzing the policy execution results recorded in the audit information, we can identify which policies are not performing well (such as being refused to be executed), providing a reference and basis for subsequent policy settings.
[0078] In addition, administrators need to regularly summarize and analyze audit information, such as daily, weekly, and monthly data. Using the summarized and analyzed data, they can identify problem areas and anomalies, and promptly discover and resolve potential issues.
[0079] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A large-scale real-time dynamic chaining network method based on audit control, characterized in that, Includes the following processes: Configure policy and audit interfaces in each blockchain and node; Configure strategies for target nodes and / or blockchains within the blockchain management platform; When setting policies for a blockchain in a blockchain management platform, if the policy is to connect the target blockchain to a cross-chain network, it is necessary to first verify whether the cross-chain network to be connected conforms to the cross-chain interaction rules already defined in the target blockchain. If the cross-chain network to be connected does not match the cross-chain interaction rules already defined in the target blockchain, the administrator needs to first define new cross-chain interaction rules in the target blockchain or require the cross-chain network to be connected to adjust according to the rules of the target blockchain. After the strategy is set up, the strategy command is sent to the corresponding node and / or the strategy interface of the blockchain; After receiving the policy instruction, the target node performs the operation of exiting or joining the blockchain network according to the policy instruction, generates audit information, and sends it to the blockchain management platform through the audit interface. After receiving the policy instruction, the target blockchain performs the operation of exiting or joining the cross-chain network according to the policy instruction, generates audit information, and sends it to the blockchain management platform through the audit interface.
2. The method for large-scale real-time dynamic chaining and networking based on audit control according to claim 1, characterized in that, Each blockchain and node has an agent program, which contains a validator to verify the legality of policy instructions issued by the administrator according to predefined policy rules. When the administrator sends a policy instruction to the blockchain or node, the agent program automatically calls the validator to verify whether the policy instruction meets the requirements of the predefined policy rules. If the policy instruction passes the verification, the agent program will execute the corresponding operation and generate audit information; otherwise, the agent program will return an error message to the management platform and refuse to execute the policy instruction.
3. The method for large-scale real-time dynamic chaining and networking based on audit control according to claim 1, characterized in that, The blockchain management platform receives audit information and performs audit control on each node and blockchain, monitoring its operational status and data interaction.
4. The method for large-scale real-time dynamic chaining and networking based on audit control according to claim 3, characterized in that, The blockchain management platform provides visualized audit reports, displaying the trends and percentages of node and blockchain access and exit through charts and tables. The reports also show the time range, allowing administrators to view node and blockchain access and exit data for the most recent week, month, or year.
5. A large-scale real-time dynamic chaining network method based on audit control according to claim 1, characterized in that, The method for setting policies for target nodes and / or blockchains in the blockchain management platform is as follows: A user management interface is set up on the blockchain management platform. The administrator selects the target node or blockchain through the policy configuration menu of the user management interface. The administrator selects a node and sets it to exit or join the blockchain network and generates policy instructions. Alternatively, the administrator selects a blockchain and sets it to exit or join the cross-chain network and generates policy instructions.
6. The method for large-scale real-time dynamic chaining and networking based on audit control according to claim 1, characterized in that, The blockchain management platform is equipped with an identity verification and authorization mechanism, requiring administrators to first verify their identity and then assign corresponding policies and set permissions according to their roles or permissions. Identity verification can use any one of password, two-factor authentication, or fingerprint recognition. The blockchain management platform audits and monitors the administrator's operations to promptly detect abnormal behavior. At the same time, a log recording mechanism is established to record the administrator's identity information, operations performed, and timestamps for subsequent review.
7. A large-scale real-time dynamic chaining network method based on audit control according to claim 1, characterized in that, When setting policies for target nodes in a blockchain management platform, it is necessary to first determine the current state of the target node.
8. A large-scale real-time dynamic chaining network method based on audit control according to claim 7, characterized in that, Determining the current state of the target node includes: Each node is configured with a node status checker to automatically execute node status check rules. The node status checker uses monitoring software or log analysis tools to check the node status and send status reports to the management platform. The node status check rules include: checking the node's operating status, hardware health status, network connection status, and data synchronization status.
9. A large-scale real-time dynamic chaining network method based on audit control according to claim 1, characterized in that, Methods for verifying whether the cross-chain network to be connected conforms to the cross-chain interaction rules already defined in the target blockchain include: Verify the cross-chain protocol: Check whether the protocol used by the cross-chain network to be connected matches the cross-chain protocol already defined in the target blockchain; Verify the interaction data format: Check whether the interaction data format used by the cross-chain network to be connected matches the interaction data format already defined in the target blockchain; Verify the security of the interaction: Check whether the security of the cross-chain network to be connected meets the security requirements defined in the target blockchain, including whether it supports digital signatures and encrypted transmission.
Citation Information
Patent Citations
Realization method and device for block chain system, apparatus and memory medium
CN108737536A
