A blockchain-based information management method and system
By constructing a blockchain-based information management system that combines the historical provenance information of artworks with the physical parameters of nodes, the system solves the data tampering risks and centralized management problems of traditional information management systems, and achieves orderly, efficient management and dynamic updating of artwork information.
Patent Information
- Application Number
- CN202510467262.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-15
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2045-04-15
AI Technical Summary
Traditional information management systems suffer from risks of data tampering, single points of failure due to centralized management, and difficulties in data verification. Existing blockchain solutions cannot meet the multidimensional data storage needs of artworks, lack dynamic update mechanisms, and have low information management efficiency.
By combining historical data acquisition modules, real-time data acquisition modules, node analysis modules, consensus mechanism construction modules, and information management modules, a blockchain is constructed by integrating the historical heritage information of artworks. New blocks are constructed using the physical and network parameters of nodes, thereby achieving blockchain updates and efficient management.
It enables orderly and efficient management of artwork heritage information, ensuring the continuity and integrity of heritage information, and improving the security and transparency of blockchain information management.
Smart Images

Figure CN120455466B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of blockchain technology, and in particular to an information management method and system based on blockchain. Background Technology
[0002] With the development of information technology, the security, integrity, and traceability of data have become increasingly important. Traditional information management systems often face problems such as the risk of data tampering, the potential for single points of failure due to centralized management, and difficulties in data verification. Traditional art management suffers from pain points including the fragility of paper archives (easily damaged / tampered with), lack of transparency in transaction information leading to disputes over authenticity, loss of historical value due to broken provenance chains, and data silos between multiple institutions. Meanwhile, existing technologies have limitations: centralized databases are susceptible to single points of failure, ordinary blockchain solutions cannot meet the multi-dimensional data storage needs of artworks, and existing digital evidence systems lack dynamic update mechanisms. Therefore, a new solution is needed to improve the security, transparency, and reliability of information management systems.
[0003] Chinese Patent Publication No. CN111339209A discloses a blockchain-based information management method and system, including the following steps: upon receiving a request to modify the content of a historical block in the blockchain, obtaining request information corresponding to the modification request, the request information including the target block to be modified, the modified content, and the block identifier of the target block to be modified; calculating a random number of the target block to be modified based on the modified content and the block identifier; and, when verifying that the modified random number meets the chain integrity requirements of the blockchain, saving the modified content in the target block to be modified. It is evident that this invention only analyzes the flexibility of block modification, but does not analyze ensuring modifiable content when creating blocks, resulting in low efficiency in blockchain information management. Summary of the Invention
[0004] The purpose of this invention is to provide a blockchain-based information management method and system to solve at least one of the problems existing in the prior art.
[0005] To achieve the above objectives, the present invention provides a blockchain-based information management system, characterized in that it includes:
[0006] The historical data acquisition module is used to collect historical data of the target.
[0007] The real-time data acquisition module is used to collect target change data within the monitoring period;
[0008] The node analysis module is used to collect network data and physical index data of each node during the monitoring period, analyze the data communication status of each node based on the network data, construct the physical index weights of each node based on the physical index data, construct the voting weights of each node based on the physical index weights and data communication status analysis results, analyze the block production contribution of each node based on the historical block production success rate of each node, process the voting weights of each node based on the analysis results, and calibrate the block production contribution analysis process of each node based on the online rate of each node during the monitoring period.
[0009] The consensus mechanism construction module is used to construct a consensus mechanism based on the analysis results of the target blockchain and the voting weights of each node within the monitoring period, and to select proxy nodes based on the consensus mechanism construction results.
[0010] The information management module is used to manage target change data based on the target blockchain production results and agent nodes.
[0011] Furthermore, it also includes a block analysis module, which is used to generate target data blocks based on target historical data, and generate target blockchain based on target data blocks;
[0012] The block analysis module includes a link analysis unit, which is used to construct data link relationships based on the target historical transaction data;
[0013] The link analysis unit is used to determine the block time interval based on the transaction time, wherein: if the current target duration transaction data is the last target duration transaction data, the link analysis unit sets the block time interval to [a, b]; where a is the current transaction time and b is a marker character;
[0014] The link analysis unit is also used to establish data link relationships for target historical transaction data based on block time intervals.
[0015] Furthermore, the block analysis module also includes a block generation unit, which is used to generate target data blocks based on target historical data;
[0016] The block generation unit uses the target historical inheritance data as the back of the block data and the target historical transaction data as the front of the block data.
[0017] The block generation unit calculates the hash value at the beginning of each block data, combines the hash value at the beginning of each block data with the beginning of each block data, and uses each combination result as the target data block.
[0018] The block analysis module also includes a blockchain generation unit, which is used to determine the on-chain data based on the generation results and data link relationships of the target data block, and to use the on-chain data as the target blockchain.
[0019] Furthermore, the node analysis module includes a single node analysis unit, which is used to construct the data communication index α(i) of each node, and set α(i) = ln{1+wd(i) / WD}; where wd(i) is the network bandwidth of the i-th node, sy(i) is the network latency of the i-th node, WD is the standard network bandwidth, and SY is the standard network latency.
[0020] The single-node analysis unit analyzes the data communication status of each node based on the data communication index construction results of each node: if α(i) < A, the single-node analysis unit determines that the data communication status of the node is normal; if α(i) ≥ A, the single-node analysis unit determines that the data communication status of the node is abnormal; where A is a preset node network quality index.
[0021] Furthermore, the node analysis module also includes a physical index analysis unit. The physical index analysis unit calculates the equity index β(i) of each node and constructs the physical index weights of each node based on the calculation results of the equity index of each node. Wherein: if β(i) < B, the physical index analysis unit determines that the physical index of the node is normal and sets the physical index weight of the node to k1(i); if β(i) ≥ B, the physical index analysis unit determines that the physical index of the node is abnormal and sets the physical index weight of the node to k2(i); where B is a preset physical index.
[0022] Furthermore, the node analysis module also includes a weight construction unit, which is used to construct the voting weight of each node based on the physical index weights of each node and the data communication status analysis results. Specifically, when the data communication status of a node is normal, the weight construction unit sets the voting weight of that node to γ1(i); when the data communication status of a node is abnormal, the weight construction unit sets the voting weight of that node to γ2(i).
[0023] Furthermore, the node analysis module also includes a block analysis unit, which is used to analyze the block contribution of each node based on the historical block success rate v(i) of each node. The block contribution analysis results of each node include normal and abnormal. When the block contribution of a node is abnormal, the voting weight of that node is processed as γj(i)'.
[0024] The node analysis module also includes an online analysis unit, which is used to analyze the response status of each node based on the online rate μ(i) of each node within the monitoring period. The response status of each node includes normal and abnormal. When the response status of a node is abnormal, the preset block success rate is calibrated to V(i), and V(i) is set to V×exp[μ(i) / n(i)-U]; where n(i) represents the highest number of online users of the i-th node within the monitoring period, and U is the preset response index.
[0025] Furthermore, the consensus mechanism construction module is used to sort the nodes in descending order according to their voting weights within the monitoring period, and to set a random interval according to the sorting results;
[0026] The consensus mechanism construction module is also used to randomly select nodes based on random intervals and use the selected nodes as proxy nodes.
[0027] Furthermore, the information management module includes a data storage unit, which obtains the innovation time interval based on the target change data within the monitoring period and obtains the hash value of the target change data;
[0028] The data storage unit uses the hash value of the target change data and the target change data as innovation blocks, and connects the innovation blockchain to the target blockchain.
[0029] The information management module also includes an information management unit, which is used to extract the target blockchain to obtain the actual inheritance blockchain and output the actual inheritance blockchain to the user.
[0030] On the other hand, the present invention also provides a blockchain-based information management method, characterized in that it includes:
[0031] Its features include:
[0032] Step S1: Collect historical data of the target and data on changes in the target during the monitoring period;
[0033] Step S2: Generate a target data block based on the target historical data, and generate a target blockchain based on the target data block;
[0034] Step S3: Collect network data and physical index data of each node during the monitoring period, analyze the data communication status of each node based on the network data of each node, construct the physical index weight of each node based on the physical index data of each node, and construct the voting weight of each node based on the physical index weight and data communication status analysis results of each node.
[0035] Step S4: Construct a consensus mechanism based on the analysis results of the target blockchain and the voting weights of each node within the monitoring period, and select a proxy node based on the results of the consensus mechanism construction.
[0036] Step S5 is used to manage the target change data based on the target blockchain production results and the proxy nodes.
[0037] Compared with the prior art, the beneficial effects of the present invention are as follows: a blockchain of historical information is constructed based on the historical heritage information of the artwork, and new blocks are constructed on the basis of this blockchain of historical information by combining the physical parameters and network parameters of the actual nodes, thereby realizing the updating of the blockchain of historical information to ensure the continuity and order of the heritage information, and then a new blockchain is constructed to cover the blockchain of historical information, thereby realizing the orderly and efficient management of information within the blockchain. Attached Figure Description
[0038] Figure 1 This is a schematic diagram of the information management method and system based on blockchain in this embodiment;
[0039] Figure 2 This is a schematic diagram of the block analysis module in this embodiment.
[0040] Figure 3 This is a schematic diagram of the node analysis module in this embodiment.
[0041] Figure 4 This is a schematic diagram of the information management module in this embodiment.
[0042] Figure 5 This is a flowchart illustrating the blockchain-based information management method of this embodiment. Detailed Implementation
[0043] To more clearly illustrate the present invention, the following description, in conjunction with preferred embodiments and accompanying drawings, further explains the invention. Similar components in the drawings are indicated by the same reference numerals. Those skilled in the art should understand that the specific description below is illustrative rather than restrictive and should not be construed as limiting the scope of protection of the present invention.
[0044] It should be noted that although the terms first, second, third, etc., may be used in the embodiments of this application for description, these descriptions should not be limited to these terms. These terms are only used to distinguish the descriptions. For example, without departing from the scope of the embodiments of this application, first can also be referred to as second, and similarly, second can also be referred to as first.
[0045] Specifically, the blockchain-based information management method and system described in this embodiment is applied to the management of heritage information of artworks. The heritage information of artworks in this application specifically refers to the heritage data of artworks. The system described in this application operates in a multi-node blockchain network, where the multi-node refers to blockchain network nodes of multiple physical devices, used to process and store block data. This embodiment is applied to the management of blockchain information with small file size.
[0046] Please see Figure 1 As shown, this is a schematic diagram of the structure of the blockchain-based information management system in this embodiment, including:
[0047] The data acquisition module is used to collect historical data of the target.
[0048] Specifically, the target historical data includes target historical heritage data and target historical transaction data; the target historical heritage data includes target text description, target image, and target number; the target historical transaction data includes transaction time, transaction amount, and transaction user; it is worth noting that in this embodiment, the target refers to artwork; the target historical heritage data is unique, but the target historical transaction data is not unique, that is, the relationship between the target historical heritage data and the target historical transaction data is one-to-many.
[0049] Please continue reading. Figure 1 As shown, the system also includes a real-time data acquisition module, which is used to collect target change data within the monitoring period; the target change data is a record of target inheritance changes, and its data format is the same as the target's historical transaction data.
[0050] Specifically, this embodiment does not impose a specific limitation on the value of the monitoring period duration. Those skilled in the art can set it freely, as long as the value requirement of the monitoring period duration is met. In this embodiment, the monitoring period duration can be set to 1 hour.
[0051] Please continue reading. Figure 1 As shown, the system also includes a block analysis module, which is used to generate target data blocks based on target historical data and to generate a target blockchain based on the target data blocks.
[0052] Please see Figure 2 As shown, the block analysis module includes a link analysis unit, which constructs data link relationships based on the target historical transaction data;
[0053] The link analysis unit is used to determine the block time interval based on the transaction time, wherein: if the current target duration transaction data is the last target duration transaction data, the link analysis unit sets the block time interval to [a, b]; where a is the current transaction time and b is a marker character; the marker character is used as a marker for the unknown inheritance end time, which facilitates the subsequent blockchain integration operation;
[0054] The link analysis unit is also used to establish data link relationships for target historical transaction data based on block time intervals; the link analysis unit uses time as the intra-block node link between blocks to ensure that the links between blocks are accurate and orderly.
[0055] Specifically, in this embodiment, the process of determining the block time interval based on the transaction time is as follows: in two consecutive target historical transaction data, the two transaction times are used as a block time interval. For example, if the first transaction time is 2000-01-01 and the second transaction time is 2001-03-01, then the current block time interval is [2000-01-01, 2001-03-01]. It can be understood that the union of the block time intervals is a continuous time. At the same time, the link relationship is similar to the link between linked list nodes in a linked list data structure. In this embodiment, the marker character 'b' indicates that the inheritance time is extended backward, representing the meaning of inheritance to the present.
[0056] Please see Figure 2 As shown, the block analysis module also includes a block generation unit, which is used to generate target data blocks based on target historical data;
[0057] The block generation unit uses the target historical inheritance data as the back of the block data and the target historical transaction data as the front of the block data.
[0058] The block generation unit calculates the hash value at the beginning of each block data and combines the hash value at the beginning of each block data with the beginning of each block data. The block generation unit uses each combination result as the target data block.
[0059] Specifically, this embodiment does not impose specific limitations on the process of calculating the hash value at the beginning of each block data. Those skilled in the art can freely set it, as long as it meets their technical requirements. In this embodiment, the hash value is calculated using the Java programming language. Meanwhile, the process of "combining the hash value at the beginning of each block data with the beginning of each block data" in this embodiment specifically means combining the hash value at the beginning of a certain block data with the beginning of its corresponding block data. The block generation unit combines the end of the block data with the beginning of any block data as a target data block.
[0060] Please continue reading. Figure 2As shown, the block analysis module also includes a blockchain generation unit connected to the block generation unit. The blockchain generation unit is used to construct the target blockchain based on the generation results and data link relationships of the target data blocks. Specifically: if sd < SD, the blockchain generation unit stores the latter part of the block data and the target data blocks as on-chain data; if sd ≥ SD, the blockchain generation unit stores the latter part of the block data as off-chain data and stores each target data block as on-chain data. Here, sd is the size of the data latter file, and SD is a preset data latter file size. The file size of the target historical data is used as the criterion for judging on-chain and off-chain storage, thereby reducing the cost of dynamic blockchain updates and improving the information management efficiency of the blockchain.
[0061] The blockchain generation unit is used to take on-chain data as the target blockchain.
[0062] Specifically, in this embodiment, "storing as on-chain data" means distributing on-chain data to the blockchain network, while "storing as off-chain data" means storing off-chain data to each node using IPFS. It is understood that this embodiment does not impose specific limitations on the value of the preset data file size SD. Those skilled in the art can set it freely, as long as it meets the requirements of the preset data file size SD. In this embodiment, the preset data file size SD can be set to 100MB.
[0063] Please continue reading. Figure 1 As shown, the system also includes:
[0064] The node analysis module is used to collect network data and physical index data of each node during the monitoring period, and to analyze the voting weight of each node during the monitoring period based on the network data of each node.
[0065] Specifically, the network data of each node includes, but is not limited to, data that characterizes network quality, such as network bandwidth and network latency; the physical index data of each node includes, but is not limited to, data that characterizes node operating capabilities, such as floating-point operation rate; in this embodiment, the network data of each node is obtained by deploying a monitoring program within each node, and the physical index data of each node is obtained through user interaction input.
[0066] Please see Figure 3 As shown, the node analysis module includes a single node analysis unit, which is used to analyze the data communication status of each node based on the network data of each node within the monitoring period.
[0067] The single-node analysis unit constructs the data communication index α(i) for each node, and sets α(i) = ln{1+wd(i) / WD}; where wd(i) is the network bandwidth of the i-th node, sy(i) is the network latency of the i-th node, WD is the standard network bandwidth, and SY is the standard network latency.
[0068] The single-node analysis unit analyzes the data communication status of each node based on the data communication index construction results: if α(i) < A, the single-node analysis unit determines that the data communication status of the node is normal; if α(i) ≥ A, the single-node analysis unit determines that the data communication status of the node is abnormal; where A is a preset node network quality index; using the network quality of a single node as a consensus reference factor affecting node voting to improve the accuracy of data upload in the blockchain. It is understood that the analysis of data communication status in this embodiment is part of ensuring data security. In the prior art, node verification can also be used to further ensure the security of data upload.
[0069] Specifically, this embodiment does not impose specific limitations on the value of the preset node network quality index A. Those skilled in the art can set it freely, as long as the value requirement of the preset node network quality index A is met. In this embodiment, the optimal value of the preset node network quality index A is 0.4.
[0070] Please continue reading. Figure 3 As shown, the node analysis module also includes a physical index analysis unit, which is used to construct the physical index weights of each node based on the physical index data of each node.
[0071] The physical index analysis unit calculates the equity index β(i) of each node, and sets β(i) = [st(i) - ST] / ST; where st(i) is the floating-point operation rate of the i-th node, and ST is the preset floating-point operation rate;
[0072] The physical index analysis unit constructs the physical index weights of each node based on the equity index calculation results of each node. Specifically: if β(i) < B, the physical index analysis unit determines that the physical index of that node is normal and sets the physical index weight of that node as k1(i), where k1(i) = 1; if β(i) ≥ B, the physical index analysis unit determines that the physical index of that node is abnormal and sets the physical index weight of that node as k2(i), where k2(i) = 1 + [β(i) - B] / B; where B is a preset physical index. Using the physical index weights of each node as a representation of the processing performance of each node ensures that nodes with higher performance have a higher probability of being selected as proxy nodes, thus improving the efficiency of information management within the blockchain.
[0073] Specifically, this embodiment does not impose specific limitations on the value of the preset physical index B. Those skilled in the art can set it freely, as long as the value requirement of the preset physical index B is met. In this embodiment, the optimal value of the preset physical index B is 0.2.
[0074] It is understood that the preset floating-point operation rate ST, standard network bandwidth WD, and standard network latency SY mentioned in this embodiment are flexibly obtained by the user.
[0075] Please continue reading. Figure 3 As shown, the node analysis module also includes a weight construction unit. The weight construction unit is used to construct the voting weight of each node based on the physical index weights and data communication status analysis results of each node. Specifically: when the data communication status of a node is normal, the weight construction unit sets the voting weight of the node to γ1(i), where γ1(i) = physical index weight × a1; when the data communication status of a node is abnormal, the weight construction unit sets the voting weight of the node to γ2(i), where γ2(i) = physical index weight × a1 - [α(i) - A] / A × a2; where a1 is the physical index weight, a2 is the network weight, and a1 + a2 = 1.
[0076] Specifically, this embodiment does not impose specific limitations on the values of physical index weight a1 and network weight a2. Those skilled in the art can set them freely, as long as the value requirements of physical index weight a1 and network weight a2 are met. In this embodiment, the optimal values of physical index weight a1 and network weight a2 are 0.6 and 0.4, respectively.
[0077] Please continue reading. Figure 3 As shown, the node analysis module also includes a block analysis unit. This unit analyzes the block contribution of each node based on its historical block success rate v(i), and processes the voting weight of each node according to the analysis results: if v(i) < V / N, the node analysis unit determines that the node's block contribution is normal and does not process it; if v(i) ≥ V / N, the node analysis unit determines that the node's block contribution is abnormal and processes its voting weight as γj(i)', where γj(i)' = γj(i) × exp{[V / Nv(i)]}; where V is the preset block success rate, N is the number of nodes, and j = 1, 2. By analyzing the historical block success rate of each node, the voting weight of existing nodes is adjusted based on the historical data, realizing the experience-based adjustment of the blockchain and making the information management process of the blockchain more efficient.
[0078] Specifically, this embodiment does not impose specific limitations on the value of the preset block success rate V. Those skilled in the art can set it freely, as long as the value requirement of the preset block success rate V is met. In this embodiment, the preset block success rate V can be set to 0.5.
[0079] Please continue reading. Figure 3 As shown, the node analysis module also includes an online analysis unit. The online analysis unit calibrates the block contribution analysis process of each node based on the online rate μ(i) of each node within the monitoring period: if μ(i)×n(i)<U, the online analysis unit determines that the response status of the node is abnormal and calibrates the preset block success rate to V(i), setting V(i)=V×exp[μ(i) / n(i)-U]; if μ(i)×n(i)≥U, the online analysis unit determines that the response status of the node is normal and no calibration is performed; where n(i) represents the highest number of online users of the i-th node within the monitoring period, and U is the preset response index; by using the response status of each node to represent the load and processing capacity of each node, dynamic adjustment of the blockchain construction process is realized, making the information management process of the blockchain more efficient.
[0080] Specifically, in this embodiment, the online rate of each node refers to the proportion of nodes that remain online and actively participate in network activities within a certain period of time. At the same time, this embodiment does not impose specific limitations on the value of the preset response index U. Those skilled in the art can set it freely, as long as the value requirement of the preset response index U is met. In this embodiment, the optimal value of the preset response index U is 1.1.
[0081] Please continue reading. Figure 1 As shown, the system also includes a consensus mechanism construction module, which is used to construct a consensus mechanism based on the analysis results of the voting weights of the target blockchain and the nodes within the monitoring period, and to select proxy nodes based on the consensus mechanism construction results;
[0082] The consensus mechanism construction module is used to sort the nodes in descending order according to their voting weights within the monitoring period, and to set a random interval according to the sorting results;
[0083] The consensus mechanism construction module is also used to randomly select nodes according to a random interval and use the selected nodes as proxy nodes; and to conduct voting elections in a set manner to ensure that the consensus mechanism can guarantee both the security and efficiency of the selected proxy nodes, thereby achieving efficient management of information within the blockchain.
[0084] Specifically, the process of setting the random interval in this embodiment is as follows: normalize the voting weights of all nodes to obtain the node probability gv(k) of each node, set gv(i) = γj(k) / Σγj(i), and divide the interval [0,1] according to the node probability gv(k) of each node to obtain the probability interval of each node; where gv(k) represents the node probability of the k-th node; at the same time, the process of "randomly selecting each node according to the random interval" in this embodiment is to randomly generate a pseudo-random number with a value in the interval [0,1], and take the node corresponding to the node probability interval to which this pseudo-random number belongs as the proxy node.
[0085] It is understood that in this embodiment, a random interval is used as the consensus mechanism of the blockchain.
[0086] Please continue reading. Figure 1 As shown, the system also includes an information management module, which is connected to the consensus mechanism construction module and the block analysis module. The information management module is used to manage the target blockchain production results and the target change data of the proxy nodes.
[0087] Please see Figure 4 As shown, the information management module includes a data storage unit, which obtains the innovation time interval based on the target change data within the monitoring period and obtains the hash value of the target change data;
[0088] The data storage unit uses the hash value of the target change data and the target change data as innovation blocks, and connects the innovation blockchain to the target blockchain.
[0089] Specifically, the innovation time interval in this embodiment is [b, real-time transaction time]; at the same time, the process of "linking to the target blockchain" in this embodiment is to connect the last historical block with the innovation blockchain.
[0090] Please continue reading. Figure 4 As shown, the information management module further includes an information management unit, which is connected to the data storage unit. The information management unit is used to extract the target blockchain to obtain the actual inheritance blockchain.
[0091] Specifically, the information management unit integrates blocks containing the marker character 'b' within the block time interval of the target blockchain to form an actual inheritance blockchain, and outputs the actual inheritance blockchain to the user; by generating and connecting innovative blocks, the first step of updating the blockchain is achieved, accurately and efficiently solving the problem of data changes in the data of art inheritance and handover; by constructing the actual inheritance blockchain, the second step of updating the blockchain is achieved, further improving the blockchain, enabling this process to be continuously iterated, and realizing a complete blockchain information management system.
[0092] It is understood that in this embodiment, "integrating blocks in the target blockchain whose block time interval contains the marker character b" specifically means: integrating blocks with block time intervals such as [2001-03-01, b] and [b, transaction time c] into a block with a block time interval of [2001-03-01, transaction time c] and [transaction time c, b].
[0093] Please see Figure 5 As shown, it is a flowchart illustrating an information management method based on blockchain according to this embodiment, including:
[0094] Step S1: Collect historical data of the target and data on changes in the target during the monitoring period;
[0095] Step S2: Generate a target data block based on the target historical data, and generate a target blockchain based on the target data block;
[0096] Step S3: Collect network data and physical index data of each node during the monitoring period, analyze the data communication status of each node based on the network data of each node, construct the physical index weight of each node based on the physical index data of each node, and construct the voting weight of each node based on the physical index weight and data communication status analysis results of each node.
[0097] Step S4: Construct a consensus mechanism based on the analysis results of the target blockchain and the voting weights of each node within the monitoring period, and select a proxy node based on the results of the consensus mechanism construction.
[0098] Step S5 is used to manage the target change data based on the target blockchain production results and the proxy nodes.
[0099] The technical solution of the present invention has been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of the present invention.
Claims
1. A blockchain-based information management system, characterized in that, include, The historical data acquisition module is used to collect historical data of the target. The real-time data acquisition module is used to collect target change data within the monitoring period; The node analysis module is used to collect network data and physical index data of each node during the monitoring period, analyze the data communication status of each node based on the network data, construct the physical index weights of each node based on the physical index data, construct the voting weights of each node based on the physical index weights and data communication status analysis results, analyze the block production contribution of each node based on the historical block production success rate of each node, process the voting weights of each node based on the analysis results, and calibrate the block production contribution analysis process of each node based on the online rate of each node during the monitoring period. The consensus mechanism construction module is used to construct a consensus mechanism based on the analysis results of the target blockchain and the voting weights of each node within the monitoring period, and to select proxy nodes based on the consensus mechanism construction results. The information management module is used to manage target change data based on the target blockchain production results and agent nodes.
2. The blockchain-based information management system according to claim 1, characterized in that, It also includes a block analysis module, which generates target data blocks based on target historical data, and generates a target blockchain based on the target data blocks; The block analysis module includes a link analysis unit, which is used to construct data link relationships based on the target historical transaction data; The link analysis unit is used to determine the block time interval based on the transaction time, wherein: if the current target historical transaction data is the last target historical transaction data, the link analysis unit sets the block time interval to [a, b]; where a is the current transaction time and b is a marker character; The link analysis unit is also used to establish data link relationships for target historical transaction data based on block time intervals.
3. The blockchain-based information management system according to claim 2, characterized in that, The block analysis module also includes a block generation unit, which is used to generate target data blocks based on target historical data; The block generation unit uses the target historical inheritance data as the back of the block data and the target historical transaction data as the front of the block data. The block generation unit calculates the hash value at the beginning of each block data, combines the hash value at the beginning of each block data with the beginning of each block data, and uses each combination result as the target data block. The block analysis module also includes a blockchain generation unit, which is used to determine the on-chain data based on the generation results and data link relationships of the target data block, and to use the on-chain data as the target blockchain.
4. The blockchain-based information management system according to claim 3, characterized in that, The node analysis module includes a single node analysis unit, which is used to construct the data communication index α(i) of each node, and set α(i) = ln{1 + wd(i) / WD}; where wd(i) is the network bandwidth of the i-th node and WD is the standard network bandwidth. The single-node analysis unit analyzes the data communication status of each node based on the data communication index construction results of each node: if α(i) < A, the single-node analysis unit determines that the data communication status of the node is normal; if α(i) ≥ A, the single-node analysis unit determines that the data communication status of the node is abnormal; where A is a preset node network quality index.
5. The blockchain-based information management system according to claim 4, characterized in that, The node analysis module also includes a physical index analysis unit. The physical index analysis unit calculates the equity index β(i) of each node and constructs the physical index weights of each node based on the calculation results of the equity index of each node. If β(i) < B, the physical index analysis unit determines that the physical index of the node is normal and sets the physical index weight of the node to k1(i); if β(i) ≥ B, the physical index analysis unit determines that the physical index of the node is abnormal and sets the physical index weight of the node to k2(i); where B is a preset physical index.
6. The blockchain-based information management system according to claim 5, characterized in that, The node analysis module also includes a weight construction unit, which is used to construct the voting weight of each node based on the physical index weight and data communication status analysis results of each node. Specifically: when the data communication status of a node is normal, the weight construction unit sets the voting weight of the node to γ1(i), and sets γ1(i) = physical index weight × a1; when the data communication status of a node is abnormal, the weight construction unit sets the voting weight of the node to γ2(i), and sets γ2(i) = physical index weight × a1 - [α(i) - A] / A × a2; where a1 is the physical index weight, a2 is the network weight, and a1 + a2 = 1.
7. The blockchain-based information management system according to claim 6, characterized in that, The node analysis module also includes a block analysis unit, which is used to analyze the block contribution of each node based on the historical block success rate v(i). The block contribution analysis results of each node include normal and abnormal. When the block contribution of a node is abnormal, the voting weight of that node is processed as γj(i)'. The node analysis module also includes an online analysis unit, which analyzes the response status of each node based on the online rate μ(i) of each node within the monitoring period. The response status of each node includes normal and abnormal. When the response status of a node is abnormal, the preset block success rate is calibrated to V(i), where V(i) = V × exp[μ(i) / n(i) - U]; n(i) represents the highest number of online users on the i-th node during the monitoring period, U is the preset response index, and V is the preset block production success rate.
8. The blockchain-based information management system according to claim 7, characterized in that, The consensus mechanism construction module is used to sort the nodes in descending order according to the node weights within the monitoring period, and to set a random interval according to the sorting results; The consensus mechanism construction module is also used to randomly select nodes based on random intervals and use the selected nodes as proxy nodes.
9. The blockchain-based information management system according to claim 8, characterized in that, The information management module includes a data storage unit, which obtains the innovation time interval based on the target change data within the monitoring period and obtains the hash value of the target change data. The data storage unit uses the hash value of the target change data and the target change data as innovation blocks and links them to the target blockchain; The information management module also includes an information management unit, which is used to extract the target blockchain to obtain the actual inheritance blockchain and output the actual inheritance blockchain to the user.
10. A blockchain-based information management method, applied to the blockchain-based information management system according to any one of claims 1-9, characterized in that, include: Step S1: Collect historical data of the target and data on changes in the target within the monitoring period; Step S2: Generate a target data block based on the target historical data, and generate a target blockchain based on the target data block; Step S3: Collect network data and physical index data of each node during the monitoring period, analyze the data communication status of each node based on the network data of each node, construct the physical index weight of each node based on the physical index data of each node, and construct the voting weight of each node based on the physical index weight and data communication status analysis results of each node. Step S4: Construct a consensus mechanism based on the analysis results of the target blockchain and the voting weights of each node within the monitoring period, and select a proxy node based on the results of the consensus mechanism construction. Step S5 is used to manage the target change data based on the target blockchain production results and the proxy nodes.
Citation Information
Patent Citations
Information management method and information management system based on block chain
CN111339209A
Consensus node determination method and device, computer equipment and storage medium
CN110049029A
Rule updating method and device of block chain, block chain node and network
CN110298641A