A data storage intelligent monitoring system and method based on blockchain

By introducing chain structure modules, hybrid link analysis modules, storage expansion analysis modules and intelligent monitoring modules into the blockchain data storage intelligent monitoring system, the problem of reduced flexibility and interoperability of hybrid blockchains in terms of data storage and compatibility is solved, and the compatibility and interoperability of data storage is achieved.

CN118964369BActive Publication Date: 2025-04-08CHANGSHU INSTITUTE OF TECHNOLOGY
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Hybrid blockchains have problems such as reduced flexibility in data storage and compatibility and hindering data interoperability, making it difficult to achieve data storage and interoperability.

Method used

Design an intelligent data storage monitoring system based on blockchain, including a chain structure module, a hybrid link analysis module, a storage extension analysis module and an intelligent monitoring module. Through these modules, block nodes and data blocks in the blockchain network are captured and analyzed, public chain and private link paths are counted, private link paths are analyzed, and the impact of private link paths on public link paths are intelligently verified.

Benefits of technology

This system can meet the needs of new and expansion of chain data, adapt to the dynamic changes in the compatibility characteristics of blockchain, improve the flexible characteristics of blockchain, and realize the compatibility and interoperability of data storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118964369B_ABST
    Figure CN118964369B_ABST
Patent Text Reader

Abstract

The present invention discloses a data storage intelligent monitoring system and method based on blockchain, which belongs to the field of data storage technology. Based on chain data, each block node and data block in the blockchain network is captured, and a block data cluster is generated with the block node as the source point; based on the protocol architecture of the public chain and the private chain, the public chain path and the private chain path are captured and counted through the chain structure, and the privatization degree of the public chain path is analyzed; when the computer device generates a new data block during operation, the block data cluster is updated; the influence of the expansion behavior of the private chain path on the privatization degree of the public chain path is analyzed; the support of the expansion behavior is intelligently verified, and the execution result of the expansion request is output; it can meet the new addition and expansion requirements of chain data, adapt to the dynamic changes of the compatibility characteristics of the blockchain, improve the flexible characteristics of the blockchain, and realize data storage while meeting the compatibility and interoperability between data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data storage technology, and specifically to a blockchain-based data storage intelligent monitoring system and method. Background Art

[0002] In blockchain technology, the public and private blockchain properties of nodes are usually determined by the design and goals of the network and cannot be easily changed. These properties mainly depend on factors such as how nodes are connected, who can participate in the consensus mechanism, and whether the data is open to everyone.

[0003] Hybrid Blockchain is a unique blockchain technology that combines the characteristics of public and private chains to form a new blockchain solution that has the advantages of both. Hybrid Blockchain has broad application prospects in many fields. For example, in the financial field, hybrid blockchain can help financial institutions achieve more efficient transaction settlement and risk management; in the field of supply chain management, hybrid blockchain can improve the transparency and traceability of the supply chain; in the field of the Internet of Things, hybrid blockchain can protect the security and privacy of device data.

[0004] Then, during the actual operation of the device or software, chain data is continuously added and expanded, causing the compatibility characteristics of the hybrid blockchain to change dynamically, reducing the flexibility of the hybrid blockchain, being unfavorable for data storage, and greatly hindering the compatibility and interoperability between data. Summary of the invention

[0005] The purpose of the present invention is to provide a data storage intelligent monitoring system and method based on blockchain to solve the problems raised in the above background technology.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] A data storage intelligent monitoring system based on blockchain, the system includes: a chain structure module, a hybrid link analysis module, a storage expansion analysis module and an intelligent monitoring module;

[0008] The chain structure module captures each block node and data block in the blockchain network based on the chain data; and generates a block data cluster using the block node as the source point;

[0009] The hybrid link analysis module, based on the protocol architecture of the public chain and the private chain, captures and counts the public chain path and the private chain path through the chain structure; and analyzes the privatization degree of the public chain path based on the private chain path;

[0010] The storage extension analysis module is used to update the block data cluster when the computer device generates a legal new data block during operation; based on the updated block data cluster, analyze the impact of the expansion behavior of the private chain path on the privatization degree of the public chain path;

[0011] The intelligent monitoring module intelligently verifies the support of the extension behavior based on the impact value and outputs the execution result of the extension request.

[0012] Further, the chain structure module includes a storage planning unit and a source point coordination unit;

[0013] The storage planning unit is used to uniformly encode all block nodes in the blockchain, where a block node corresponds to a computer device in the blockchain network; any i-th block node is denoted as P i ; Based on the storage device in the computer device, a data block is allocated, wherein the data block is used to store chain data generated by the computer device, wherein the chain data is data generated by the computer device stored based on the chain structure attribute of the blockchain, wherein the chain structure includes block node information and data block information;

[0014] The source point coordination unit is used to block node P i As the source point, a block data cluster is constructed, denoted as AD (P i )={B a |a∈[1,A i ]}, where B a Represents block node P i The ath data block allocated by the storage device in the corresponding computer device, A i Represents block node P i Corresponding to the total number of allocated data blocks, the block data cluster has real-time update capability. i When the corresponding computer device generates a legal new data block during operation, the new data block is updated to the block data cluster AD (P i )middle.

[0015] Further, the hybrid link analysis module includes a hybrid path processing unit and a hybrid analysis unit;

[0016] The hybrid path processing unit, based on the chain structure and the protocol architecture of the public chain and the private chain, captures and counts the public chain path and the private chain path, wherein the public chain path is composed of a series of block nodes, and the private chain path is composed of a series of data blocks; any r-th public chain path is recorded as FCP r = {P i|i∈[1,I]}, I represents the total number of block nodes, and any e-th private chain path is recorded as SCP e = {B a |B a ∈AD(P i ), i∈[1,I]};

[0017] The hybrid analysis unit calculates the privatization degree of the public chain path based on the private chain path, and the calculation formula is:

[0018]

[0019] Among them, DP(FCP r ) indicates the public chain path FCP r The degree of privatization, NUM[SCP e ∩AD(P i )] indicates the private chain path SCP e With block data cluster AD(P i ) is the number of data blocks contained in the intersection set, and E represents the total number of private chain paths.

[0020] Further, the storage expansion analysis module includes a storage update unit and an impact analysis unit;

[0021] The storage update unit is used to identify the block node where the new data block is generated when the computer device generates a legal new data block during operation, and to update the block data cluster AD (P i ) The corresponding updated block data cluster is recorded as

[0022] The impact analysis unit is used to update the block data cluster Randomly select the bth new data block from b ;

[0023] If the new data block B b Add to private chain path SCP e Calculate the private chain path SCP e The extension behavior of the public chain path FCP r The impact value of the degree of privatization is calculated as follows:

[0024]

[0025] in, Represents the updated block data cluster The number of data blocks contained in Indicates the presence of a symbol, Indicates extended behavior.

[0026] Further, the intelligent monitoring module includes a verification model unit and a decision execution unit;

[0027] The verification model unit constructs a private chain verification model based on the impact value and calculates the support degree of the extended behavior. The calculation formula is:

[0028]

[0029] Where D represents the expected value of the preset extension behavior;

[0030] The decision execution unit is used to preset a support threshold. If it is greater than or equal to the support threshold, then the private chain path SCP e Accept new data block B b Otherwise, the new data block B is rejected. b Extension request.

[0031] A data storage intelligent monitoring method based on blockchain, the method comprises the following steps:

[0032] Step S100: Based on the chain data, each block node and data block in the blockchain network is captured; and a block data cluster is generated with the block node as the source point;

[0033] Step S200: Based on the protocol architecture of the public chain and the private chain, the public chain path and the private chain path are captured and counted through the chain structure; and based on the private chain path, the privatization degree of the public chain path is analyzed;

[0034] Step S300: When a computer device generates a legal new data block during operation, the block data cluster is updated; based on the updated block data cluster, the impact of the expansion behavior of the private chain path on the privatization degree of the public chain path is analyzed;

[0035] Step S400: Based on the impact value, intelligently verify the support of the extension behavior and output the execution result of the extension request.

[0036] Furthermore, the specific implementation process of step S100 includes:

[0037] Step S101: uniformly encode all block nodes in the blockchain, where one block node corresponds to a computer device in the blockchain network; any i-th block node is denoted as P i; Based on the storage device in the computer device, a data block is allocated, wherein the data block is used to store chain data generated by the computer device, wherein the chain data is data generated by the computer device stored based on the chain structure attribute of the blockchain, wherein the chain structure includes block node information and data block information;

[0038] Step S102: Block node P i As the source point, a block data cluster is constructed, denoted as AD (P i )={B a |a∈[1,A i ]}, where B a Represents block node P i The ath data block allocated by the storage device in the corresponding computer device, A i Represents block node P i Corresponding to the total number of allocated data blocks, the block data cluster has real-time update capability. i When the corresponding computer device generates a legal new data block during operation, the new data block is updated to the block data cluster AD (P i )middle.

[0039] Furthermore, the specific implementation process of step S200 includes:

[0040] Step S201: Based on the chain structure and the protocol architecture of the public chain and the private chain, capture and count the public chain path and the private chain path, the public chain path is composed of the series connection of block nodes, and the private chain path is composed of the series connection of data blocks; any r-th public chain path is recorded as FCP r = {P i |i∈[1,I]}, I represents the total number of block nodes, and any e-th private chain path is recorded as SCP e = {B a |B a ∈AD(P i ), i∈[1,I]};

[0041] Step S202: Based on the private chain path, the privatization degree of the public chain path is calculated using the following formula:

[0042]

[0043] Among them, DP(FCP r ) indicates the public chain path FCP r The degree of privatization, NUM[SCP e ∩AD(P i )] indicates the private chain path SCP e With block data cluster AD(Pi ) The number of data blocks contained in the intersection set, E represents the total number of private chain paths;

[0044] According to the above method, in a hybrid blockchain, the relationship between the public chain and the private chain is reflected in the fine control of access rights. The hybrid chain allows organizations to establish a private, permissioned system on a public permissionless system. The public chain part is responsible for processing data that needs to be open and transparent, while the private chain part is used to process sensitive or private data. Through mechanisms such as smart contracts, access and verification of private data can be enabled when needed; however, in the chain structure, the interaction and access between data have cross-chain behavior characteristics. At the same time, data blocks will continue to expand with the need for interaction or storage, which makes the sensitivity of cross-chain behavior more sensitive. The degree of privatization of the public chain path reflects the sensitivity of cross-chain behavior. The higher the degree of privatization, the higher the sensitivity of cross-chain behavior.

[0045] Furthermore, the specific implementation process of step S300 includes:

[0046] Step S301: When a computer device generates a legal new data block during operation, the block node where the new data block is generated is identified, and the block data cluster is updated. i ) The corresponding updated block data cluster is recorded as

[0047] Step S302: In the updated block data cluster Randomly select the bth new data block from b ; If the new data block B b Add to private chain path SCP e Calculate the private chain path SCP e The extension behavior of the public chain path FCP r The impact value of the degree of privatization is calculated as follows:

[0048]

[0049] in, Represents the updated block data cluster The number of data blocks contained in Indicates the presence of a symbol, Indicates extended behavior;

[0050] According to the above method, in the overall architecture of the blockchain network, when a new data block is generated, it is still impossible to determine whether the new data block can be extended to the private chain to collaboratively control the sensitive behavior of cross-chain behavior. The impact value of the expansion behavior of the private chain path on the degree of privatization of the public chain path reflects the impact of the new data block extended to the private chain on the overall sensitivity of the cross-chain behavior. The larger the impact value, the greater the impact.

[0051] Furthermore, the specific implementation process of step S400 includes:

[0052] Step S401: Based on the impact value, a private chain verification model is constructed to calculate the support of the extended behavior. The calculation formula is:

[0053]

[0054] Where D represents the expected value of the preset extension behavior;

[0055] According to the above method, the extended behavior support reflects the probability of the new data block extended to the private chain affecting the overall sensitivity of the cross-chain behavior. When the extended behavior support is closer to the expected value of the preset extended behavior, it means that the impact probability is smaller and the extended behavior support is greater, and the extension request of the new data block can be accepted;

[0056] Step S402: Preset support threshold. If support If it is greater than or equal to the support threshold, then the private chain path SCP e Accept new data block B b Otherwise, the new data block B is rejected. b Extension request.

[0057] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: in a blockchain-based data storage intelligent monitoring system and method provided by the present invention, based on chain data, each block node and data block in the blockchain network is captured, and a block data cluster is generated with the block node as the source point; based on the protocol architecture of the public chain and the private chain, the public chain path and the private chain path are captured and counted through the chain structure, and the privatization degree of the public chain path is analyzed; when the computer device generates a new data block during operation, the block data cluster is updated; the influence of the extension behavior of the private chain path on the privatization degree of the public chain path is analyzed; the support degree of the extension behavior is intelligently verified, and the execution result of the extension request is output; it can meet the new addition and extension requirements of chain data, adapt to the dynamic changes of the compatibility characteristics of the blockchain, improve the flexibility of the blockchain, and realize data storage while meeting the compatibility and interoperability between data. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0059] Figure 1 It is a structural schematic diagram of a data storage intelligent monitoring system based on blockchain of the present invention;

[0060] Figure 2 It is a schematic diagram of the steps of a blockchain-based data storage intelligent monitoring method of the present invention. DETAILED DESCRIPTION

[0061] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] See also Figure 1 , in the first embodiment of the present invention: a data storage intelligent monitoring system based on blockchain is provided, the system comprising: a chain structure module, a hybrid link analysis module, a storage expansion analysis module and an intelligent monitoring module;

[0063] The chain structure module captures each block node and data block in the blockchain network based on the chain data; and uses the block node as the source point to generate a block data cluster;

[0064] Exemplarily, the chain structure module includes a storage planning unit and a source point coordination unit;

[0065] The storage planning unit is used to uniformly encode all block nodes in the blockchain, where a block node corresponds to a computer device in the blockchain network; any i-th block node is denoted as P i ; Based on the storage device in the computer device, data blocks are allocated. The data blocks are used to store chain data generated by the computer device. The chain data is data generated by the computer device stored based on the chain structure attributes of the blockchain. The chain structure contains block node information and data block information;

[0066] Source point coordination unit, used to block node P i As the source point, a block data cluster is constructed, denoted as AD (P i )={B a |a∈[1,A i ]}, where B a Represents block node P iThe ath data block allocated by the storage device in the corresponding computer device, A i Represents block node P i Corresponding to the total number of allocated data blocks, the block data cluster has real-time update capabilities. i When the corresponding computer device generates a legal new data block during operation, the new data block is updated to the block data cluster AD (P i )middle;

[0067] The hybrid link analysis module, based on the protocol architecture of public and private chains, captures and counts public and private chain paths through a chain structure; and analyzes the degree of privatization of the public chain path based on the private chain path;

[0068] Exemplarily, the hybrid link analysis module includes a hybrid path processing unit and a hybrid analysis unit;

[0069] The hybrid path processing unit, based on the chain structure and the protocol architecture of the public chain and the private chain, captures and counts the public chain path and the private chain path. The public chain path is composed of the series connection of block nodes, and the private chain path is composed of the series connection of data blocks. Any r-th public chain path is recorded as FCP r = {P i |i∈[1,I]}, I represents the total number of block nodes, and any e-th private chain path is recorded as SCP e = {B a |B a ∈AD(P i ), i∈[1,I]};

[0070] The hybrid analysis unit calculates the privatization degree of the public chain path based on the private chain path. The calculation formula is:

[0071]

[0072] Among them, DP(FCP r ) indicates the public chain path FCP r The degree of privatization, NUM[SCP e ∩AD(P i )] indicates the private chain path SCP e With block data cluster AD(P i ) The number of data blocks contained in the intersection set, E represents the total number of private chain paths;

[0073] The storage extension analysis module is used to update the block data cluster when the computer device generates a legal new data block during operation; based on the updated block data cluster, analyze the impact of the expansion behavior of the private chain path on the privatization degree of the public chain path;

[0074] Exemplarily, the storage expansion analysis module includes a storage update unit and an impact analysis unit;

[0075] The storage update unit is used to identify the block node where the new data block is generated when the computer device generates a legal new data block during operation, and to update the block data cluster AD (P i ) The corresponding updated block data cluster is recorded as

[0076] Impact analysis unit, used to analyze the updated block data cluster Randomly select the bth new data block from b ;

[0077] If the new data block B b Add to private chain path SCP e Calculate the private chain path SCP e The extension behavior of the public chain path FCP r The impact value of the degree of privatization is calculated as follows:

[0078]

[0079] in, Represents the updated block data cluster The number of data blocks contained in Indicates the presence of a symbol, Indicates extended behavior;

[0080] Intelligent monitoring module, based on the impact value, intelligently verifies the support of the extension behavior and outputs the execution result of the extension request;

[0081] Exemplarily, the intelligent monitoring module includes a verification model unit and a decision execution unit;

[0082] The verification model unit builds a private chain verification model based on the impact value and calculates the support of the extended behavior. The calculation formula is:

[0083]

[0084] Where D represents the expected value of the preset extension behavior;

[0085] The decision execution unit is used to preset the support threshold. If it is greater than or equal to the support threshold, then the private chain path SCP e Accept new data block B b Otherwise, the new data block B is rejected. b Extension request.

[0086] See also Figure 2 In the second embodiment, a data storage intelligent monitoring method based on blockchain is provided, and the method comprises the following steps:

[0087] Step S100: Based on the chain data, each block node and data block in the blockchain network is captured; and a block data cluster is generated with the block node as the source point;

[0088] Specifically, all block nodes in the blockchain are uniformly coded, where a block node corresponds to a computer device in the blockchain network; any i-th block node is denoted as P i ; Based on the storage device in the computer device, data blocks are allocated. The data blocks are used to store chain data generated by the computer device. The chain data is data generated by the computer device stored based on the chain structure attributes of the blockchain. The chain structure contains block node information and data block information;

[0089] Block node P i As the source point, a block data cluster is constructed, denoted as AD (P i )={B a |a∈[1,A i ]}, where B a Represents block node P i The ath data block allocated by the storage device in the corresponding computer device, A i Represents block node P i Corresponding to the total number of allocated data blocks, the block data cluster has real-time update capabilities. i When the corresponding computer device generates a legal new data block during operation, the new data block is updated to the block data cluster AD (P i )middle;

[0090] Step S200: Based on the protocol architecture of the public chain and the private chain, the public chain path and the private chain path are captured and counted through the chain structure; and based on the private chain path, the privatization degree of the public chain path is analyzed;

[0091] Specifically, based on the chain structure and the protocol architecture of the public chain and the private chain, the public chain path and the private chain path are captured and counted. The public chain path is composed of the series connection of block nodes, and the private chain path is composed of the series connection of data blocks. Any r-th public chain path is recorded as FCP r = {P i |i∈[1,I]}, I represents the total number of block nodes, and any e-th private chain path is recorded as SCP e = {B a |B a∈AD(P i ), i∈[1,I]};

[0092] Based on the private chain path, the privatization degree of the public chain path is calculated using the following formula:

[0093]

[0094] Among them, DP(FCP r ) indicates the public chain path FCP r The degree of privatization, NUM[SCP e ∩AD(P i )] indicates the private chain path SCP e With block data cluster AD(P i ) The number of data blocks contained in the intersection set, E represents the total number of private chain paths;

[0095] Step S300: When a computer device generates a legal new data block during operation, the block data cluster is updated; based on the updated block data cluster, the impact of the expansion behavior of the private chain path on the privatization degree of the public chain path is analyzed;

[0096] Specifically, when a computer device generates a legal new data block during operation, the block node where the new data block is generated is identified, and the block data cluster is updated, and the block data cluster AD (P i ) The corresponding updated block data cluster is recorded as

[0097] In the updated block data cluster Randomly select the bth new data block from b ; If the new data block B b Add to private chain path SCP e Calculate the private chain path SCP e The extension behavior of the public chain path RCP r The impact value of the degree of privatization is calculated as follows:

[0098]

[0099] in, Represents the updated block data cluster The number of data blocks contained in Indicates the presence of a symbol, Indicates extended behavior;

[0100] Step S400: Based on the impact value, intelligently verify the support of the extension behavior and output the execution result of the extension request;

[0101] Specifically, based on the impact value, a private chain verification model is constructed to calculate the support for the extended behavior. The calculation formula is:

[0102]

[0103] Where D represents the expected value of the preset extension behavior;

[0104] Preset support threshold, if support If it is greater than or equal to the support threshold, then the private chain path SCP e Accept new data block B b Otherwise, the new data block B is rejected. b Extension request.

[0105] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0106] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A data storage intelligent monitoring method based on blockchain, characterized in that: The method comprises the following steps: Step S100: Based on the chain data, each block node and data block in the blockchain network is captured; and a block data cluster is generated with the block node as the source point; Step S200: Based on the protocol architecture of the public chain and the private chain, the public chain path and the private chain path are captured and counted through the chain structure; and based on the private chain path, the privatization degree of the public chain path is analyzed; Step S300: When a computer device generates a legal new data block during operation, the block data cluster is updated; based on the updated block data cluster, the impact of the expansion behavior of the private chain path on the privatization degree of the public chain path is analyzed; Step S400: Based on the impact value, intelligently verify the support of the extension behavior and output the execution result of the extension request; The specific implementation process of step S100 includes: Step S101: uniformly encode all block nodes in the blockchain, where one block node corresponds to a computer device in the blockchain network; any i-th block node is denoted as P i ; Based on the storage device in the computer device, a data block is allocated, wherein the data block is used to store chain data generated by the computer device, wherein the chain data is data generated by the computer device stored based on the chain structure attribute of the blockchain, wherein the chain structure includes block node information and data block information; Step S102: Block node P i As the source point, a block data cluster is constructed, denoted as AD (P i )={B a |a∈[1,A i ]}, where B a Represents block node P i The ath data block allocated by the storage device in the corresponding computer device, A i Represents block node P i Corresponding to the total number of allocated data blocks, the block data cluster has real-time update capability. i When the corresponding computer device generates a legal new data block during operation, the new data block is updated to the block data cluster AD (P i )middle; The specific implementation process of step S200 includes: Step S201: Based on the chain structure and the protocol architecture of the public chain and the private chain, capture and count the public chain path and the private chain path, the public chain path is composed of the series connection of block nodes, and the private chain path is composed of the series connection of data blocks; any r-th public chain path is recorded as FCP r = {P i |i∈[1,I]}, I represents the total number of block nodes, and any e-th private chain path is recorded as SCP e = {B a |B a ∈AD(P i ), i∈[1,I]}; Step S202: Based on the private chain path, the privatization degree of the public chain path is calculated using the following formula: Among them, DP(FCP r ) indicates the public chain path FCP r The degree of privatization, NUM[SCP e ∩AD(P i )] indicates the private chain path SCP e With block data cluster AD(P i ) The number of data blocks contained in the intersection set, E represents the total number of private chain paths; The specific implementation process of step S300 includes: Step S301: When a computer device generates a legal new data block during operation, the block node where the new data block is generated is identified, and the block data cluster is updated. i ) The corresponding updated block data cluster is recorded as Step S302: In the updated block data cluster Randomly select the bth new data block from b ; If the new data block B b Add to private chain path SCP e Calculate the private chain path SCP e The extension behavior of the public chain path FCP r The impact value of the degree of privatization is calculated as follows: in, Represents the updated block data cluster The number of data blocks contained in Indicates the presence of a symbol, Indicates extended behavior.

2. According to the blockchain-based data storage intelligent monitoring method of claim 1, it is characterized in that: The specific implementation process of step S400 includes: Step S401: Based on the impact value, a private chain verification model is constructed to calculate the support of the extended behavior. The calculation formula is: Where D represents the expected value of the preset extension behavior; Step S402: Preset support threshold. If support If it is greater than or equal to the support threshold, then the private chain path SCP e Accept new data block B b Otherwise, the new data block B is rejected. b Extension request.

3. A data storage intelligent monitoring system based on blockchain, characterized in that: The system includes: a chain structure module, a hybrid link analysis module, a storage expansion analysis module and an intelligent monitoring module; The chain structure module captures each block node and data block in the blockchain network based on the chain data; and generates a block data cluster using the block node as the source point; The hybrid link analysis module, based on the protocol architecture of the public chain and the private chain, captures and counts the public chain path and the private chain path through the chain structure; and analyzes the privatization degree of the public chain path based on the private chain path; The storage extension analysis module is used to update the block data cluster when the computer device generates a legal new data block during operation; based on the updated block data cluster, analyze the impact of the expansion behavior of the private chain path on the privatization degree of the public chain path; The intelligent monitoring module intelligently verifies the support of the extension behavior based on the impact value and outputs the execution result of the extension request; The chain structure module includes a storage planning unit and a source point coordination unit; The storage planning unit is used to uniformly encode all block nodes in the blockchain, where a block node corresponds to a computer device in the blockchain network; any i-th block node is denoted as P i ; Based on the storage device in the computer device, a data block is allocated, wherein the data block is used to store chain data generated by the computer device, wherein the chain data is data generated by the computer device stored based on the chain structure attribute of the blockchain, wherein the chain structure includes block node information and data block information; The source point coordination unit is used to block node P i As the source point, a block data cluster is constructed, denoted as AD (P i )={B a |a∈[1,A i ]}, where B a Represents block node P i The ath data block allocated by the storage device in the corresponding computer device, A i Represents block node P i Corresponding to the total number of allocated data blocks, the block data cluster has real-time update capability. i When the corresponding computer device generates a legal new data block during operation, the new data block is updated to the block data cluster AD (P i )middle; The hybrid link analysis module includes a hybrid path processing unit and a hybrid analysis unit; The hybrid path processing unit, based on the chain structure and the protocol architecture of the public chain and the private chain, captures and counts the public chain path and the private chain path, wherein the public chain path is composed of a series of block nodes, and the private chain path is composed of a series of data blocks; any r-th public chain path is recorded as FCP r = {P i |i∈[1,I]}, I represents the total number of block nodes, and any e-th private chain path is recorded as SCP e = {B a |B a ∈AD(P i ), i∈[1,I]}; The hybrid analysis unit calculates the privatization degree of the public chain path based on the private chain path, and the calculation formula is: Among them, DP(FCP r ) indicates the public chain path FCP r The degree of privatization, NUM[SCP e ∩AD(P i )] indicates the private chain path SCP e With block data cluster AD(P i ) The number of data blocks contained in the intersection set, E represents the total number of private chain paths; The storage expansion analysis module includes a storage update unit and an impact analysis unit; The storage update unit is used to identify the block node where the new data block is generated when the computer device generates a legal new data block during operation, and to update the block data cluster AD (P i ) The corresponding updated block data cluster is recorded as The impact analysis unit is used to update the block data cluster Randomly select the bth new data block from b ; If the new data block B b Add to private chain path SCP e Calculate the private chain path SCP e The extension behavior of the public chain path FCP r The impact value of the degree of privatization is calculated as follows: in, Represents the updated block data cluster The number of data blocks contained in Indicates the presence of a symbol, Indicates extended behavior.

4. According to claim 3, a data storage intelligent monitoring system based on blockchain is characterized in that: The intelligent monitoring module includes a verification model unit and a decision execution unit; The verification model unit constructs a private chain verification model based on the impact value and calculates the support degree of the extended behavior. The calculation formula is: Where D represents the expected value of the preset extension behavior; The decision execution unit is used to preset a support threshold. If it is greater than or equal to the support threshold, then the private chain path SCP e Accept new data block B b Otherwise, the new data block B is rejected. b Extension request.

Citation Information

Patent Citations

  • Protection method and device for commodity traceability information

    CN108595980A

  • Entity analysis method in cross-chain-based multi-public-chain network

    CN115001988A