A device and method for managing data block copy access consistency in an information center network
By introducing data storage service nodes, distributed coordination service modules and parsing system modules into the information center network, data block summary is used to separate data synchronization and state synchronization, which solves the problem of long and low data synchronization time and low efficiency, and realizes the consistency management of data block copy access.
Patent Information
- Application Number
- CN202110499723.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-08
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2041-05-08
AI Technical Summary
The existing data consistency management methods have problems with long and low efficiency in the information center network, especially in the case of multiple replicas, where data synchronization and state synchronization coupling lead to accessing inconsistent data.
By introducing data storage service nodes, distributed coordination service modules and analysis system modules into the information center network, data synchronization is used to synchronize data blocks, separate data synchronization and state synchronization, and the distributed coordination service module is used to maintain the network address mapping relationship between data block identification and storage service nodes, and content synchronization is performed through data block replication.
Reduces the complexity of data synchronization, improves data synchronization efficiency, and ensures consistency of data block copy access.
Smart Images

Figure CN115309755B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data synchronization in an information center network, and in particular relates to a device and method for managing access consistency of data block copies in an information center network. Background Art
[0002] Traditional TCP / IP (Transmission Control Protocol / Internet Protocol) networks use IP as the core unit of abstraction and processing. IP serves as both the identifier and the addressing target for network packets, limiting TCP / IP's application. IP packet transmission is end-to-end data transmission, with network nodes solely focused on packet forwarding and routing. Higher-level processing of packets occurs on the host side. The TCP / IP internet system is no longer adaptable to future network development trends, particularly the development and user demands of new applications such as mobile access, distributed information processing, and massive streaming media.
[0003] Information-centric networking, as a new network paradigm, focuses on how data is acquired within the network. It is a new network architecture that has evolved from a host-centric model based on permanent connections and end-to-end principles to an information (or content or data)-centric network architecture. In this architecture, data is independent of network location, application, storage, and transmission methods, thus enabling network caching and replication. It has the characteristics of mobility and multi-address access, and has built-in support for anycast, multicast, and broadcast.
[0004] In an information-centric network, names and addresses are separate. The resolution system is an integral part of the information-centric network, maintaining the mapping between information names and the addresses or providers of the information. It serves as the entry point for querying data locations within the information-centric network. Registration and resolution involve registering one or more dynamic network addresses for information names or providers, and resolving information names to network addresses or provider locations.
[0005] In distributed systems, replication mechanisms are often used to ensure data availability and reliable storage, and to prevent single points of data failure. Data consistency primarily refers to ensuring data synchronization across multiple replicas. Existing data consistency management methods mostly utilize separately deployed distributed coordination service clusters for data synchronization, failing to separate data synchronization from state synchronization. This results in long synchronization times and low efficiency. While there is existing research on dataset synchronization based on NDN, which separates data synchronization from state synchronization, it primarily addresses the synchronization of newly added messages within a dataset, not the synchronization of existing data itself. Furthermore, research is focused on how to express state and reduce synchronization time.
[0006] In addition, existing data consistency management methods simply couple data synchronization with state synchronization, resulting in long synchronization times and the susceptibility to inconsistent data access. This patent maintains data block summaries only within the distributed coordination service. The replication of data blocks relies on the existing network's data block replica mechanism, ensuring the synchronization of data block addresses within the parsing system. This reduces the complexity of data block synchronization and improves its efficiency. Summary of the Invention
[0007] In order to solve the above-mentioned defects in the prior art, the present invention proposes a data block copy access consistency management device in an information center network, which includes: multiple data storage service nodes, a distributed coordination service module, a parsing system module and a client;
[0008] The data storage service node is used to process the storage request of the data block, obtain the corresponding new data block digest according to the new data block content stored in a certain data storage service node in real time, and the new data block digest corresponds to a unique data block identifier, and send the new data block digest to the distributed coordination service module;
[0009] It is also used to cancel the mapping relationship between the data block identifier and the network address of the corresponding data storage service node to the parsing system module according to the content change notification of the updated data block summary received, and delete the original data block content locally;
[0010] It is also used to synchronize the data of the new data block content to each data storage service node through data block replication during the forwarding process, re-register the mapping relationship between the data block identifier and the network address of the data storage service node storing the new data block content with the parsing system module, and update the corresponding data block summary based on the content of each new data block;
[0011] The distributed coordination service module is used to store the data block identifier and the new data block digest according to the received new data block digest, form the new data block content, notify other data storage service nodes that store copies of the same original data block, and send a content change notification of the updated data block digest to the data storage service node;
[0012] The parsing system module is used to maintain the mapping relationship between the data block identifier and the network address of the data storage service node, provide registration and / or deregistration of the mapping relationship between the data block identifier and the network address of the data storage service node, and parse and query the network address of the data storage service node through the data block identifier;
[0013] The client is used to write a data block digest to the data storage service node and / or update the data block digest;
[0014] It is also used to read the mapping relationship between the data block identifier in the parsing system module and the network address of the data storage service node that stores the new data block content, and obtain the corresponding new data block based on the new data block content to complete the consistency management of data block copy access.
[0015] As one of the improvements of the above technical solution, the data storage service node includes: a data block storage unit, a distributed coordination service client, a parsing system client and a data block service unit;
[0016] The data block storage unit is configured to receive a data block storage request, store the data block content locally on each data storage service node, store a data block replica having the same data block content locally on each data storage service node, and write the corresponding data content via the distributed coordination service client; wherein the data block content includes: a data block identifier and a data block summary;
[0017] It is also used to call and resolve the mapping relationship between the data block identifier in the data block registered or deregistered by the system client and the network address of the corresponding data storage service node;
[0018] The distributed coordination service client is used to interact with the distributed coordination service module, provide the writing of the data block identifier and the data block digest; and start monitoring the content change notification of the data block digest corresponding to the data block identifier, and send the new data block digest to the distributed coordination service module;
[0019] The parsing system client is used to maintain the interface with the parsing system module and provide registration and / or deregistration of the mapping relationship between the data block identifier in the data block and the network address of the corresponding data storage service node;
[0020] It is also used to cancel the mapping relationship between each data block identifier and the network address of the corresponding data storage service node to the parsing system module according to the content change notification of the updated data block summary received, and delete the original data block content locally;
[0021] The data block service unit is used to process data block acquisition requests. During the forwarding process, it synchronizes the data of the new data block content for each data storage service node through data block replication, and re-registers the mapping relationship between the data block identifier and the network address of the data storage service node storing the new data block content to the parsing system module. Based on the content of each new data block, it updates the corresponding data block summary and obtains the new data block.
[0022] As one of the improvements of the above technical solution, the distributed coordination service module is further used to maintain the synchronization of the mapping relationship between the data block identifier and the data block summary stored therein through a strong consistency protocol.
[0023] The present invention also provides a method for managing access consistency of data block copies in an information center network, the method comprising:
[0024] The data storage service node processes the storage request for the data block and sends the new data block summary to the distributed coordination service module;
[0025] The distributed coordination service module notifies the data storage service nodes that store copies of the same data block;
[0026] The data storage service node receives the data block summary content change notification, cancels the mapping relationship between the data block identifier and the network address of the data block storage service node to the parsing system module, and deletes the original data block content of the data block locally;
[0027] The data storage service node processes requests for obtaining new data blocks. During the forwarding process, it synchronizes the new data block content and new data block summary for each data storage service node through data block replication, and re-registers the mapping relationship between the data block identifier and the network address of the data storage service node that stores the new data block content to the parsing system module. Based on the content of each new data block, it updates the corresponding data block summary; obtains the new data block, and completes the consistency management of access to the data block copy.
[0028] As one of the improvements to the above technical solution, the method specifically includes:
[0029] The data storage service node receives a storage request for a data block, stores the data block content locally on each data storage service node, stores a copy of the data block with the same data block content locally on each corresponding data storage service node, and writes the corresponding data content to the client through the distributed coordination service; wherein the data block content includes: a data block identifier and a data block summary;
[0030] And according to the new data block content stored in a certain data storage service node in real time, obtain the corresponding new data block digest, and the new data block digest corresponds to a unique data block identifier, and send the new data block digest to the distributed coordination service module;
[0031] The distributed coordination service module stores the data block identifier and the new data block digest according to the received new data block digest, notifies other data storage service nodes that have copies of the same original data block, and sends a content change notification of the updated data block digest to the data storage service node;
[0032] The data storage service node then cancels the mapping relationship between the data block identifier and the network address of the corresponding data storage service node to the parsing system module based on the content change notification of the updated data block summary received, and deletes the original data block content locally;
[0033] During the forwarding process, the data of the new data block content is synchronized with each data storage service node through data block replication, and the mapping relationship between the data block identifier and the network address of the data storage service node storing the new data block content is re-registered with the parsing system module, and the corresponding data block summary is updated based on the content of each new data block;
[0034] The client reads the mapping relationship between the data block identifier in the parsing system module and the network address of the data storage service node that stores the new data block content, and updates the corresponding data block summary based on the new data block content, obtains the new data block, and completes the consistency management of access to the data block copy.
[0035] The beneficial effects of the present invention compared with the prior art are:
[0036] The method of the present invention synchronizes data of data block summaries through distributed coordination services, maintains the synchronization of network addresses of data storage service nodes corresponding to data block identifiers in the parsing system module, and synchronizes data of new data block contents through data block replication, thereby separating data synchronization and status synchronization, reducing the complexity of data synchronization in the information center network and improving data synchronization efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a structural diagram of a data block copy access consistency management device in an information center network of the present invention. DETAILED DESCRIPTION
[0038] The present invention will now be further described with reference to the accompanying drawings.
[0039] like Figure 1 As shown, the present invention provides a data block copy access consistency management device in an information center network, the device comprising: a plurality of data storage service nodes, a distributed coordination service module, a parsing system module and a client;
[0040] The data storage service node is configured to process a data block storage request, obtain a corresponding new data block digest based on the new data block content stored in a certain data storage service node in real time, and the new data block digest corresponds to a unique data block identifier, and send the new data block digest to the distributed coordination service module; wherein the new data block content includes: the data block identifier and the new data block digest;
[0041] It is also used to cancel the mapping relationship between each data block identifier and the network address of the corresponding data storage service node to the parsing system module based on the content change notification of the updated data block summary received, and delete the original data block content locally;
[0042] It is also used to synchronize the data of the new data block content to each data storage service node through data block replication during the forwarding process, re-register the mapping relationship between the data block identifier and the network address of the data storage service node storing the new data block content with the parsing system module, and update the corresponding data block summary based on the content of each new data block;
[0043] Specifically, the data storage service node includes: a data block storage unit, a distributed coordination service client, a parsing system client and a data block service unit;
[0044] The data block storage unit is configured to receive a data block storage request, store the data block content locally on each data storage service node, store a data block replica having the same data block content locally on each data storage service node, and write the corresponding data content via the distributed coordination service client; wherein the data block content includes: a data block identifier and a data block summary;
[0045] It is also used to call and resolve the mapping relationship between the data block identifier in the data block registered or deregistered by the system client and the network address of the corresponding data storage service node; wherein, according to the storage request received for the data block, a copy of the data block content is stored locally on each corresponding data storage service node to form a data block copy placement;
[0046] The distributed coordination service client is used to interact with the distributed coordination service module, provide the writing of the data block identifier and the data block digest; and start monitoring the content change notification of the data block digest corresponding to the data block identifier, and send the new data block digest to the distributed coordination service module;
[0047] The parsing system client is used to maintain the interface with the parsing system module and provide registration and / or deregistration of the mapping relationship between the data block identifier in the data block and the network address of the corresponding data storage service node;
[0048] It is also used to cancel the mapping relationship between each data block identifier and the network address of the corresponding data storage service node to the parsing system module according to the content change notification of the updated data block summary received, and delete the original data block content locally;
[0049] The data block service unit is used to process data block acquisition requests. During the forwarding process, it synchronizes the data of the new data block content for each data storage service node through data block replication, and re-registers the mapping relationship between the data block identifier and the network address of the data storage service node storing the new data block content to the parsing system module. Based on the content of each new data block, it updates the corresponding data block summary and obtains the new data block.
[0050] Additionally, in the data storage service node, the distributed coordination service client that monitors the mapping between data block identifiers and data block summaries receives a data block summary content change notification from the distributed coordination service module, informing the data block storage unit that the content of the corresponding data block identifier is inconsistent with the local data block content. The data block storage unit then cancels the mapping between the data block identifier and the network address of the data block storage service node with the resolution system module and deletes the data block summary of the local data block content. The data block storage unit executes the data block replica placement strategy and synchronizes the data block content through data block replication, independently of maintaining consistency and notifying changes to the data block summary.
[0051] The distributed coordination service module is used to store the data block identifier and the new data block digest according to the received new data block digest, notify other data storage service nodes that store copies of the same original data block, and send a content change notification of the updated data block digest to the data storage service node;
[0052] The parsing system module is used to maintain the mapping relationship between the data block identifier and the network address of the data storage service node, provide registration and / or deregistration of the mapping relationship between the data block identifier and the network address of the data storage service node, and parse and query the network address of the data storage service node through the data block identifier;
[0053] The client is used to write the original data block digest and / or update the new data block digest to the data storage service node;
[0054] It is also used to read the mapping relationship between the data block identifier in the parsing system module and the network address of the data storage service node that stores the new data block content, and obtain the corresponding data block based on the new data block content to complete the consistency management of data block copy access.
[0055] The present invention also provides a method for managing access consistency of data block copies in an information center network, the method comprising:
[0056] The data storage service node processes the storage request for the data block and sends the new data block summary to the distributed coordination service module;
[0057] The distributed coordination service module notifies the data storage service nodes that store copies of the same data block;
[0058] The data storage service node receives the data block summary content change notification, cancels the mapping relationship between the data block identifier and the network address of the data block storage service node to the parsing system module, and deletes the data block content of the data block locally;
[0059] During the forwarding process, the data storage service node synchronizes the data of the new data block content for each data storage service node through data block replication, and re-registers the mapping relationship between the data block identifier and the network address of the data storage service node that stores the new data block content to the parsing system module, and updates the corresponding data block summary based on the content of each new data block; obtains the new data block and completes the access consistency management of the data block copy.
[0060] Specifically, the method includes:
[0061] The data storage service node receives a storage request for a data block, stores the data block content locally on each data storage service node, stores a data block replica with the same data block content locally on each data storage service node, and writes the corresponding data content via a distributed coordination service client; wherein the data block content includes: a data block identifier and a data block summary;
[0062] And according to the new data block content stored in a certain data storage service node in real time, obtain the corresponding new data block digest, and the new data block digest corresponds to a unique data block identifier, and send the new data block digest to the distributed coordination service module;
[0063] The distributed coordination service module stores the data block identifier and the new data block digest according to the received new data block digest, notifies other data storage service nodes that have copies of the same original data block, and sends a content change notification of the updated data block digest to the data storage service node;
[0064] The data storage service node then cancels the mapping relationship between each data block identifier and the network address of the corresponding data storage service node to the parsing system module based on the content change notification of the updated data block summary received, and deletes the original data block content locally;
[0065] During the forwarding process, the data of the new data block content is synchronized with each data storage service node through data block replication, and the mapping relationship between the data block identifier and the network address of the data storage service node storing the new data block content is re-registered with the parsing system module, and the corresponding data block summary is updated based on the content of each new data block;
[0066] The client reads the mapping relationship between the data block identifier in the parsing system module and the network address of the data storage service node that stores the new data block content, and updates the corresponding data block summary based on the new data block content, obtains the new data block, and completes the consistency management of access to the data block copy.
[0067] Example 1.
[0068] In order to better illustrate the management method of the present invention, the management process of the following specific embodiment is given:
[0069] like Figure 1 As shown, the present invention provides a data block replica access consistency management device in an information center network. For better distinction, 101, 102, and 103 are divided into a first data storage service node 101, a second data storage service node 102, and a third data storage service node 103. 101, 102, and 103 are all data storage service nodes, and the data storage service nodes include: a data block storage unit, a distributed coordination service client, a parsing system client, and a data block service unit;
[0070] The distributed coordination service module 201 is used to maintain the state synchronization of the mapping relationship between the data block identifier and the data block summary stored therein through a strong consistency protocol; when it is detected that the data block summary corresponding to the data block identifier has changed, it notifies the distributed coordination service client that monitors the corresponding data block identifier and sends the mapping relationship between the data block identifier and the new data block summary to the monitoring distributed coordination service client.
[0071] The parsing system module 301 is used to store, cancel, re-register, and parse the mapping relationship between the query data block identifier and the network address of the data storage service node;
[0072] Client 401 is used to write data block summaries and / or update new data block summaries to the data storage service node; and read the mapping relationship between the data block identifier in the parsing system module and the network address of the data storage service node that stores the new data block content, and obtain the corresponding data block based on the new data block content to complete the consistency management of access to the data block copy.
[0073] The present invention also provides a method for managing access consistency of data block replicas in an information center network, which is as follows:
[0074] 101) When the client updates a data block, it resolves the network address of the data storage service node to the resolution system module and writes the data block content to the data storage service node;
[0075] 102) The data block storage unit of the data storage service node receives a storage request for a data block and stores the data block content in a local file system of the data storage service node;
[0076] 103) The data block storage unit obtains the data block digest based on the data block content, writes the data block identifier and the data block digest, and the mapping relationship between the two, into the distributed coordination service module via the distributed coordination service client, and starts monitoring the data block digest uniquely corresponding to the data block identifier;
[0077] 104) The data block storage unit calls and resolves the mapping relationship between the data block identifier registered by the system client and the network address of the node;
[0078] 105) The data block storage unit triggers the placement of data block replicas based on the data block replica policy and requests the placement of data block replicas from the data storage service node where the data block replicas are placed; the data block storage unit of the data storage service node requests the data block replicas and executes from step 102) until the replica placement satisfies the data block replica policy requirements. Figure 1 For example, the first data storage service node 101 stores data blocks, and the second data storage service node 102 stores corresponding data block copies according to the data block copy strategy; the third data storage service node 103 stores data block copies according to the data block copy strategy to complete the data block copy placement.
[0079] 106) The distributed coordination service client receives the data block identifier and the data block digest, and the distributed coordination service client interacts with the distributed system service module 201, and stores the data block identifier and the data block digest, and the mapping relationship between the two, in the distributed coordination service module;
[0080] 107) The distributed coordination service client monitors the change notification of the data block summary corresponding to the data block identifier; if it is based on the Zookeeper distributed protocol service, the Zookeeper client writes a temporary node to the Zookeeper cluster, which contains the mapping relationship between the data block identifier and the data block summary, and uses the Zookeeper watch mechanism to monitor the content change of the data block summary uniquely corresponding to the data block identifier;
[0081] 108) The distributed coordination service module 201 maintains the state synchronization of the mapping relationship between the data block identifier and the data block digest stored therein through a strong consistency protocol;
[0082] 109) When the distributed coordination service module 201 detects that the data block digest corresponding to the data block identifier has changed, it notifies the distributed coordination service client that monitors the corresponding data block identifier and sends the mapping relationship between the data block identifier and the data block digest to the monitoring distributed coordination service client;
[0083] 110) The distributed coordination service client monitoring the data block identifier receives a content change notification of an updated data block digest sent by the distributed coordination service, and informs the data block storage unit that the data block digest content corresponding to the data block identifier is inconsistent with the data block digest content in the local data block content;
[0084] 111) The data block storage unit calls the parsing system client to cancel the mapping relationship between the data block identifier and the network address of the corresponding data block storage service node to the parsing system module, and deletes the data block content of the local data block; during the forwarding process, the data block content is synchronized with each data storage service node through data block replication, and the mapping relationship between the data block identifier and the network address of the data storage service node storing the new data block content is re-registered with the parsing system module.
[0085] 112) When the client acquires a new data block, it obtains the network address of the synchronized data storage service node from the parsing system module. The client reads the data block from the data storage service node, reads the mapping relationship between the data block identifier in the parsing system module and the network address of the data storage service node that stores the new data block content, and updates the corresponding data block summary based on the new data block content, obtains the new data block, and completes the consistency management of access to the data block copy.
[0086] Finally, it should be noted that the above embodiments are intended only to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions to the technical solutions of the present invention do not depart from the spirit and scope of the technical solutions of the present invention and are intended to be encompassed by the claims of the present invention.
Claims
1. A data block copy access consistency management device in an information center network, characterized in that: The device includes: a plurality of data storage service nodes, a distributed coordination service module, a parsing system module and a client; The data storage service node is used to process the storage request of the data block, obtain the corresponding new data block digest according to the new data block content stored in a certain data storage service node in real time, and the new data block digest corresponds to a unique data block identifier, and send the new data block digest to the distributed coordination service module; It is also used to cancel the mapping relationship between the data block identifier and the network address of the corresponding data storage service node to the parsing system module according to the content change notification of the updated data block summary received, and delete the original data block content locally; It is also used to synchronize the data of the new data block content to each data storage service node through data block replication during the forwarding process, re-register the mapping relationship between the data block identifier and the network address of the data storage service node storing the new data block content with the parsing system module, and update the corresponding data block summary based on the content of each new data block; The distributed coordination service module is used to store the data block identifier and the new data block digest according to the received new data block digest, form the new data block content, notify other data storage service nodes that store copies of the same original data block, and send a content change notification of the updated data block digest to the data storage service node; The parsing system module is used to maintain the mapping relationship between the data block identifier and the network address of the data storage service node, provide registration and / or deregistration of the mapping relationship between the data block identifier and the network address of the data storage service node, and parse and query the network address of the data storage service node through the data block identifier; The client is used to write a data block digest to the data storage service node and / or update the data block digest; It is also used to read the mapping relationship between the data block identifier in the parsing system module and the network address of the data storage service node that stores the new data block content, and obtain the corresponding new data block based on the new data block content to complete the consistency management of data block copy access.
2. The data block copy access consistency management device in the information center network according to claim 1, characterized in that: The data storage service node includes: a data block storage unit, a distributed coordination service client, a parsing system client and a data block service unit; The data block storage unit is configured to receive a data block storage request, store the data block content locally on each data storage service node, store a data block replica having the same data block content locally on each data storage service node, and write the corresponding data content via the distributed coordination service client; wherein the data block content includes: a data block identifier and a data block summary; It is also used to call and resolve the mapping relationship between the data block identifier in the data block registered or deregistered by the system client and the network address of the corresponding data storage service node; The distributed coordination service client is used to interact with the distributed coordination service module, provide the writing of the data block identifier and the data block digest; and start monitoring the content change notification of the data block digest corresponding to the data block identifier, and send the new data block digest to the distributed coordination service module; The parsing system client is used to maintain the interface with the parsing system module and provide registration and / or deregistration of the mapping relationship between the data block identifier in the data block and the network address of the corresponding data storage service node; It is also used to cancel the mapping relationship between each data block identifier and the network address of the corresponding data storage service node to the parsing system module according to the content change notification of the updated data block summary received, and delete the original data block content locally; The data block service unit is used to process data block acquisition requests. During the forwarding process, it synchronizes the data of the new data block content for each data storage service node through data block replication, and re-registers the mapping relationship between the data block identifier and the network address of the data storage service node storing the new data block content to the parsing system module. Based on the content of each new data block, it updates the corresponding data block summary and obtains the new data block.
3. The data block copy access consistency management device in the information center network according to claim 2, characterized in that: The distributed coordination service module is further configured to maintain synchronization of the mapping relationship between the data block identifiers and the data block summaries stored therein through a strong consistency protocol.
4. A method for managing access consistency of data block replicas in an information center network, characterized in that: The method is implemented based on the device described in any one of claims 1 to 3 above, and the method includes: The data storage service node processes the storage request for the data block and sends the new data block summary to the distributed coordination service module; The distributed coordination service module notifies the data storage service nodes that store copies of the same data block; The data storage service node receives the data block summary content change notification, cancels the mapping relationship between the data block identifier and the network address of the data block storage service node to the parsing system module, and deletes the original data block content of the data block locally; The data storage service node processes requests for obtaining new data blocks. During the forwarding process, it synchronizes the new data block content and new data block summary for each data storage service node through data block replication, and re-registers the mapping relationship between the data block identifier and the network address of the data storage service node that stores the new data block content to the parsing system module. Based on the content of each new data block, it updates the corresponding data block summary; obtains the new data block, and completes the consistency management of access to the data block copy.
5. The method for managing access consistency of data block replicas in an information center network according to claim 4, characterized in that: The method specifically includes: The data storage service node receives a storage request for a data block, stores the data block content locally on each data storage service node, stores a copy of the data block with the same data block content locally on each corresponding data storage service node, and writes the corresponding data content to the client through the distributed coordination service; wherein the data block content includes: a data block identifier and a data block summary; And according to the new data block content stored in a certain data storage service node in real time, obtain the corresponding new data block digest, and the new data block digest corresponds to a unique data block identifier, and send the new data block digest to the distributed coordination service module; The distributed coordination service module stores the data block identifier and the new data block digest according to the received new data block digest, notifies other data storage service nodes that have copies of the same original data block, and sends a content change notification of the updated data block digest to the data storage service node; The data storage service node then cancels the mapping relationship between the data block identifier and the network address of the corresponding data storage service node to the parsing system module based on the content change notification of the updated data block summary received, and deletes the original data block content locally; During the forwarding process, the data of the new data block content is synchronized with each data storage service node through data block replication, and the mapping relationship between the data block identifier and the network address of the data storage service node storing the new data block content is re-registered with the parsing system module, and the corresponding data block summary is updated based on the content of each new data block; The client reads the mapping relationship between the data block identifier in the parsing system module and the network address of the data storage service node that stores the new data block content, and updates the corresponding data block summary based on the new data block content, obtains the new data block, and completes the consistency management of access to the data block copy.
Citation Information
Patent Citations
Block chain-based data sharing platform and implementation method thereof
CN109347941A
Decentralized privacy protection method
CN110046521A