Data right confirmation method and device
By storing the hash value and local data block identification of data on the blockchain, and using smart contracts for comparison, the problem of inconsistency between local and overall ownership caused by the overall confirmation of data is solved, and fine-grained rights confirmation of data is achieved. and legality guarantees.
Patent Information
- Application Number
- CN202410542532.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2024-08-23
AI Technical Summary
Existing data rights confirmation technology only confirms the rights of the entire data, resulting in the problem of inconsistent ownership of local data and the overall data.
By storing the hash value of data and the corresponding local data block identification on the blockchain, and using smart contracts to compare hash values, we can accurately determine the ownership of local data blocks and solve the problem of inconsistency between local and overall ownership.
It achieves fine-grained rights confirmation of partial data, ensures the legality and orderliness of data circulation, and resolves rights disputes caused by unclear data ownership.
Smart Images

Figure CN118536133A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular to a method and device for data rights confirmation. Background Art
[0002] With the development of big data technology, the progress of a series of technologies such as data collection, storage, and analysis has achieved a huge increase in data value, making data an important asset. While it brings huge economic value, it also generates many legal issues, especially unclear data ownership and frequent rights disputes. Data rights confirmation technology is to clarify the rights content of legal entities such as holders and processors of data processing activities from the legal system level. If the ownership of data cannot be determined, the problem of the legality of data circulation cannot be solved. In practice, data rights confirmation can be carried out in many ways, such as blockchain technology, digital signatures, timestamps, digital watermarks, etc., but no matter what method is used, the ultimate goal is to clarify the configuration of data rights and ensure the orderly circulation and use of data.
[0003] As a decentralized, tamper-proof, secure and reliable distributed accounting technology, blockchain technology is playing an increasingly important role in the rapid transformation of digitalization, globalization and intelligence. Its advantages such as immutability and decentralization provide new ideas for data rights confirmation. Using blockchain as a carrier to record data rights will become an effective method.
[0004] At present, traditional data rights confirmation technologies are mostly aimed at rights authentication and auditing of the data as a whole. However, data is different from traditional assets. Data content can be superimposed and copied through multiple items. When confirming data rights, if only the rights of the data as a whole are confirmed, it will lead to inconsistency between local data ownership and overall data ownership. Therefore, how to design a fine-grained data rights confirmation method that can accurately record ownership information to the local data has become an urgent problem that needs to be solved. Summary of the invention
[0005] The present disclosure provides a method and device for confirming data ownership, the main purpose of which is to solve the problem that related technologies only confirm the ownership of the data as a whole, resulting in inconsistent ownership of local data and overall data.
[0006] According to a first aspect of the present disclosure, a method for confirming data rights is provided, wherein the method applied to a server comprises: Receiving a first preset number of hash values sent by a first client, and storing the first preset number of hash values in the blockchain of the server, the first client is used to semantically segment the complete data, obtain the first preset number of local data blocks, and perform hash calculations on the first preset number of local data blocks respectively, to obtain the first preset number of hash values corresponding to the first preset number of local data blocks, and send the first preset number of hash values to the server; Generate storage block identifiers corresponding to the first preset number of hash values, each of which is an identifier of a position of the first preset number of hash values in the blockchain, and the number of each storage block identifier is the first preset number; Receive content data of a first partial data block and a target evidence block identifier sent by a second client, wherein the first preset number of partial data blocks includes the first partial data block, the target evidence block identifier is one of the evidence block identifiers, and the first preset number of hash values includes a first hash value corresponding to the first partial data block; Performing hash calculation on the content data based on the smart contract to obtain a second hash value corresponding to the first local data block; Acquire the first hash value corresponding to the target evidence storage block identifier in the blockchain based on the smart contract; The first Hash value is compared with the second Hash value to obtain a comparison result, and data rights are confirmed for the first partial data block according to the comparison result.
[0007] Optionally, performing data rights confirmation on the first partial data block according to the comparison result includes: If the comparison result shows that the first hash value is exactly the same as the second hash value, it is determined that the rights of the first partial data block belong to the target object bound to the target evidence block identifier; If the comparison result shows that the first hash value is not completely the same as the second hash value, it is determined that the right to the first partial data block does not belong to the target object.
[0008] Optionally, receiving a first preset number of hash values sent by the first client includes: Receive the first preset number of hash values and metadata information corresponding to the first preset number of local data blocks sent by the first client, the metadata information including a local data block data name, a local data block data type, a local data block data size, a local data block storage index, and a local data block data right type, wherein the local data block storage index is a storage index of the local data block stored in the first client.
[0009] Optionally, after generating the storage block identifiers corresponding to the first preset number of hash values, the method includes: Receive the review results of the second preset number of review agencies on the metadata information respectively corresponding to the first preset number of hash values and the first preset number of local data blocks; Determining whether the metadata information respectively corresponding to the first preset number of hash values and the first preset number of local data blocks is accurate according to the audit result; In the case where it is determined that the first preset number of hash values and the metadata information are accurate, it is determined that the first preset number of hash values and the metadata information are valid for storage on the chain.
[0010] According to a second aspect of the present disclosure, a method for confirming data rights is provided, and the method is applied to a first client and includes: Segmenting the vectorized complete data according to the semantic level to obtain a first preset number of local data blocks; Performing hash calculations on the first preset number of local data blocks respectively to obtain a first preset number of hash values corresponding to the first preset number of local data blocks; The first preset number of hash values is sent to the server so that the server receives the first preset number of hash values, stores the first preset number of hash values based on the blockchain of the server and generates each evidence block identifier corresponding to the first preset number of hash values, each evidence block identifier is the first preset number of hash values generated by the server at each position identifier of the blockchain when the hash values are stored in the blockchain, and then when the server receives the content data of the first local data block and the target evidence block identifier sent by the second client, the server performs data confirmation on the first local data block according to the first preset number of hash values, the target evidence block identifier is one of the evidence block identifiers, and the first local data block is one of the first preset number of local data blocks.
[0011] Optionally, sending the first preset number of hash values to the server includes: The metadata information corresponding to the first preset number of hash values and the first preset number of local data blocks are sent to the server, wherein the metadata information includes a local data block data name, a local data block data type, a local data block data size, a local data block storage index, and a local data block data right type, wherein the local data block storage index is a storage index of the local data block stored in the first client.
[0012] According to a third aspect of the present disclosure, a method for confirming data rights is provided, and the method is applied to a second client and includes: The content data of the first partial data block and the target evidence block identifier are sent to the server, so that the server receives the content data and the target evidence block. Before receiving the content data and the target evidence block, the server is used to store a first preset number of hash values in the blockchain of the server and generate storage block identifiers corresponding to the first preset number of hash values. The evidence block identifiers are the position identifiers of the first preset number of hash values in the blockchain. The number of the storage block identifiers is the first preset number. The target evidence block identifier is one of the evidence block identifiers. The first preset number of hash values is used for the first client to semantically segment the complete data, obtain the first preset number of partial data blocks, and perform hash calculations on the first preset number of partial data blocks respectively to obtain the first preset number of hash values corresponding to the first preset number of partial data blocks. The first preset number of hash values are sent by the first client to the server. The first preset number of partial data blocks includes the first partial data block. After the server receives the content data and the target evidence block, the server performs data confirmation on the first partial data block according to the first preset number of hash values.
[0013] According to a fourth aspect of the present disclosure, a device for confirming data rights is provided. The device is applied to a server and includes: A storage unit, configured to receive a first preset number of hash values sent by a first client, and store the first preset number of hash values in the blockchain of the server, wherein the first client is configured to semantically segment the complete data, obtain the first preset number of local data blocks, perform hash calculations on the first preset number of local data blocks respectively, obtain the first preset number of hash values corresponding to the first preset number of local data blocks, and send the first preset number of hash values to the server; A generating unit, configured to generate storage block identifiers corresponding to the first preset number of hash values, wherein the identification of each evidence storage block is the identification of each position of the hash value of the first preset number in the blockchain, and the number of the identification of each storage block is the first preset number; A first receiving unit is configured to receive content data of a first local data block and a target evidence block identifier sent by a second client, wherein the first preset number of local data blocks includes the first local data block, the target evidence block identifier is one of the evidence block identifiers, and the first preset number of hash values includes a first hash value corresponding to the first local data block; a computing unit, configured to perform a hash calculation on the content data based on a smart contract to obtain a second hash value corresponding to the first local data block; An acquisition unit, configured to acquire, based on the smart contract, the first hash value corresponding to the target evidence storage block identifier in the blockchain; A comparison unit is used to compare the first hash value with the second hash value to obtain a comparison result, and to perform data authentication on the first partial data block according to the comparison result.
[0014] Optionally, the comparison unit includes: A first determination module, configured to determine that the rights of the first partial data block belong to a target object bound to the target evidence block identifier when the comparison result shows that the first hash value is completely identical to the second hash value; A second determination module is configured to determine that the right of the first partial data block does not belong to the target object when the comparison result shows that the first hash value is not completely the same as the second hash value.
[0015] Optionally, the storage unit is further used for: Receive the first preset number of hash values and metadata information corresponding to the first preset number of local data blocks sent by the first client, the metadata information including a local data block data name, a local data block data type, a local data block data size, a local data block storage index, and a local data block data right type, wherein the local data block storage index is a storage index of the local data block stored in the first client.
[0016] Optionally, the device comprises: A second receiving unit is used to receive the audit results of a second preset number of auditing agencies on the metadata information respectively corresponding to the first preset number of hash values and the first preset number of local data blocks; a determination unit, configured to determine whether metadata information corresponding to the first preset number of hash values and the first preset number of local data blocks respectively is accurate according to the audit result; The determining unit is further configured to determine that the on-chain storage of the first preset number of hash values and the metadata information is valid when it is determined that the first preset number of hash values and the metadata information are accurate.
[0017] According to a fifth aspect of the present disclosure, a device for confirming data rights is provided, and the device is applied to a first client and includes: A segmentation unit, used for segmenting the vectorized complete data according to the semantic level to obtain a first preset number of local data blocks; a calculation unit, configured to perform hash calculations on the first preset number of local data blocks respectively, to obtain a first preset number of hash values corresponding to the first preset number of local data blocks; A sending unit is used to send the first preset number of hash values to a server, so that the server receives the first preset number of hash values, stores the first preset number of hash values based on the blockchain of the server, and generates each evidence block identifier corresponding to the first preset number of hash values, wherein each evidence block identifier is an identifier of each position of the first preset number of hash values generated by the server when storing each hash value in the blockchain, and then when the server receives the content data of the first local data block and the target evidence block identifier sent by the second client, the server performs data confirmation on the first local data block according to the first preset number of hash values, the target evidence block identifier is one of the evidence block identifiers, and the first local data block is one of the first preset number of local data blocks.
[0018] Optionally, the sending unit is further used for: The metadata information corresponding to the first preset number of hash values and the first preset number of local data blocks are sent to the server, wherein the metadata information includes a local data block data name, a local data block data type, a local data block data size, a local data block storage index, and a local data block data right type, wherein the local data block storage index is a storage index of the local data block stored in the first client.
[0019] According to a sixth aspect of the present disclosure, a device for confirming data rights is provided, and the device is applied to a second client and includes: A sending unit is used to send content data of a first partial data block and a target evidence block identifier to a server, so that the server receives the content data and the target evidence block. Before receiving the content data and the target evidence block, the server stores a first preset number of hash values in the blockchain of the server and generates storage block identifiers corresponding to the first preset number of hash values, wherein each evidence block identifier is an identifier of each position of the first preset number of hash values in the blockchain, the number of each storage block identifier is the first preset number, and the target evidence block identifier is one of the evidence block identifiers, wherein: The first preset number of hash values is used by the first client to semantically segment the complete data, obtain the first preset number of local data blocks, and perform hash calculations on the first preset number of local data blocks respectively, to obtain the first preset number of hash values corresponding to the first preset number of local data blocks, the first preset number of hash values are sent by the first client to the server, the first preset number of local data blocks include the first local data block, after the server receives the content data and the target evidence block, the server performs data confirmation on the first local data block according to the first preset number of hash values.
[0020] According to a seventh aspect of the present disclosure, there is provided an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method described in any one of the first to third aspects.
[0021] According to an eighth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in any one of the first to third aspects.
[0022] According to a ninth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the method as described in any one of the first to third aspects above.
[0023] The method and device for confirming data rights provided by the present disclosure receive a first preset number of hash values sent by a first client, and store the first preset number of hash values in the blockchain of the server, wherein the first client is used to perform semantic segmentation on the complete data, obtain the first preset number of local data blocks, and perform hash calculation on the first preset number of local data blocks respectively, obtain the first preset number of hash values corresponding to the first preset number of local data blocks, and send the first preset number of hash values to the server; generate storage block identifiers corresponding to the first preset number of hash values respectively, wherein the each evidence block identifier is the position identifier of the first preset number of hash values in the blockchain, and the number of the each storage block identifier is the first preset number; receive content data of the first local data block and target evidence block identifier sent by a second client, wherein the first preset number of local data blocks includes the first local data block, the target evidence block identifier is one of the evidence block identifiers, and the first preset number of hash values includes the first hash value corresponding to the first local data block; Based on the smart contract, the content data is hashed to obtain the second hash value corresponding to the first local data block; based on the smart contract, the first hash value corresponding to the target evidence block identifier in the blockchain is obtained; the first hash value is compared with the second hash value to obtain a comparison result, and the data right of the first local data block is confirmed according to the comparison result. Compared with the related art, by storing the first preset number of hash values in the blockchain of the server and issuing each evidence block identifier, when there is an ownership dispute of the first local data block, the first hash value is obtained in the blockchain through the target evidence block identifier corresponding to the first local data block, and the first hash value and the second hash value are compared to determine the ownership of the first local data block according to the comparison result, thereby solving the problem that only the data as a whole is confirmed, resulting in inconsistent ownership of local data and overall data. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings: Figure 1 A schematic diagram of a method for confirming data rights provided by an embodiment of the present disclosure; Figure 2 A flowchart of another data rights confirmation method provided by an embodiment of the present disclosure; Figure 3 A schematic diagram of a data rights confirmation process based on semantic segmentation provided in an embodiment of the present disclosure; Figure 4A schematic diagram of the structure of a data rights confirmation device provided by an embodiment of the present disclosure; Figure 5 A schematic diagram of the structure of another data rights confirmation device provided by an embodiment of the present disclosure; Figure 6 Another data rights confirmation device provided in an embodiment of the present disclosure; Figure 7 A schematic block diagram of an exemplary electronic device 500 provided for an embodiment of the present disclosure. DETAILED DESCRIPTION
[0025] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present invention can be combined with each other without conflict.
[0026] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present invention belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit the exemplary embodiments according to the present invention.
[0027] In addition, the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein.
[0028] The following describes the method and device for data rights confirmation according to the embodiments of the present disclosure with reference to the accompanying drawings.
[0029] In order to at least solve the problem that the related technology only confirms the ownership of the entire data, resulting in inconsistency between the ownership of partial data and the overall data, this embodiment provides a method for confirming the ownership of data.
[0030] Figure 1 A flowchart of a method for confirming data rights provided by an embodiment of the present disclosure. Figure 1 As shown, the method is applied to the server and includes the following steps: Step 101, receiving a first preset number of hash values sent by a first client, and storing the first preset number of hash values in the blockchain of the server, wherein the first client is used to semantically segment the complete data, obtain the first preset number of local data blocks, and perform hash calculations on the first preset number of local data blocks respectively, to obtain the first preset number of hash values corresponding to the first preset number of local data blocks, and send the first preset number of hash values to the server; Step 102, generating storage block identifiers corresponding to the first preset number of hash values, wherein the identification of each evidence storage block is the position identifier of the hash value of the first preset number in the blockchain, and the number of the storage block identifiers is the first preset number; Step 103, receiving content data of the first partial data block and a target evidence block identifier sent by the second client, wherein the first preset number of partial data blocks includes the first partial data block, the target evidence block identifier is one of the evidence block identifiers, and the first preset number of hash values includes a first hash value corresponding to the first partial data block; Step 104: performing hash calculation on the content data based on the smart contract to obtain a second hash value corresponding to the first local data block; Step 105, obtaining the first hash value corresponding to the target evidence storage block identifier in the blockchain based on the smart contract; Step 106: compare the first Hash value with the second Hash value to obtain a comparison result, and perform data authentication on the first partial data block according to the comparison result.
[0031] The method for confirming data rights provided by the present disclosure comprises: receiving a first preset number of hash values sent by a first client, and storing the first preset number of hash values in the blockchain of the server, wherein the first client is used to perform semantic segmentation on the complete data, obtain the first preset number of local data blocks, and respectively perform hash calculation on the first preset number of local data blocks, obtain the first preset number of hash values corresponding to the first preset number of local data blocks, and send the first preset number of hash values to the server; generating storage block identifiers corresponding to the first preset number of hash values, wherein the first preset number of hash values are the position identifiers of the first preset number of hash values in the blockchain, and the number of the storage block identifiers is the first preset number; receiving content data of the first local data block and the target evidence block identifier sent by the second client, wherein the first preset number of local data blocks includes the first local data block, the target evidence block identifier is one of the evidence block identifiers, and the first preset number of hash values includes the first hash value corresponding to the first local data block; Based on the smart contract, the content data is hashed to obtain the second hash value corresponding to the first local data block; based on the smart contract, the first hash value corresponding to the target evidence block identifier in the blockchain is obtained; the first hash value is compared with the second hash value to obtain a comparison result, and the data right of the first local data block is confirmed according to the comparison result. Compared with the related art, by storing the first preset number of hash values in the blockchain of the server and issuing each evidence block identifier, when there is an ownership dispute of the first local data block, the first hash value is obtained in the blockchain through the target evidence block identifier corresponding to the first local data block, and the first hash value and the second hash value are compared to determine the ownership of the first local data block according to the comparison result, thereby solving the problem that only the data as a whole is confirmed, resulting in inconsistent ownership of local data and overall data.
[0032] As a refinement of the embodiment of the present disclosure, when executing step 106 to confirm the data rights of the first local data block according to the comparison result, the following implementation method may also be adopted but is not limited to, for example: if the comparison result shows that the first hash value and the second hash value are exactly the same, it is determined that the rights of the first local data block belong to the target object bound to the target evidence block identifier; if the comparison result shows that the first hash value and the second hash value are not exactly the same, it is determined that the rights of the first local data block do not belong to the target object.
[0033] As a refinement of the above embodiment, when executing step 101 of receiving the first preset number of hash values sent by the first client, the following implementation method may also be adopted but is not limited to, for example: receiving the first preset number of hash values sent by the first client and the metadata information corresponding to the first preset number of local data blocks, the metadata information including the local data block data name, the local data block data type, the local data block data size, the local data block storage index, and the local data block data right type, wherein the local data block storage index is the storage index of the local data block stored in the first client.
[0034] As a refinement of the above embodiment, after generating the storage block identifiers corresponding to the first preset number of hash values respectively, the method can also adopt but is not limited to the following implementation methods, for example: receiving the audit results of the second preset number of audit agencies on the metadata information corresponding to the first preset number of hash values and the first preset number of local data blocks respectively; determining whether the metadata information corresponding to the first preset number of hash values and the first preset number of local data blocks respectively is accurate based on the audit results; and when it is determined that the first preset number of hash values and the metadata information are accurate, determining that the first preset number of hash values and the metadata information are valid for storage on the chain.
[0035] As a refinement of the above embodiment, when executing the method of determining whether the metadata information corresponding to the first preset number of hash values and the first preset number of local data blocks are accurate according to the audit results, the following implementation method may also be adopted but is not limited to, for example: the second preset number of audit agencies audit the metadata information corresponding to the first preset number of hash values and the first preset number of local data blocks, and there are two audit results, one is audit passed and the other is audit failed, but an audit agency can only give one audit result, so as to obtain the second preset number of audit results. When the audit result of the second preset number of audit results that passes the audit is greater than the preset threshold, it is determined that the metadata information corresponding to the first preset number of hash values and the first preset number of local data blocks are accurate, and then the on-chain storage is marked as valid.
[0036] Corresponding to the above-mentioned method for confirming data rights on the server side, the present invention also proposes another method for confirming data rights on the first client side. Since the present method embodiment corresponds to the above-mentioned method embodiment applied to the server side, the details not disclosed in the present method embodiment can be referred to the above-mentioned method embodiment, and will not be described in detail in the present invention.
[0037] Figure 2 A flowchart of another data rights confirmation method provided by the embodiment of the present disclosure is shown as follows: Figure 2 As shown, the method is applied to the first client, and the steps are as follows: Step 201, segmenting the vectorized complete data according to the semantic level to obtain a first preset number of local data blocks; Step 202, performing hash calculations on the first preset number of local data blocks respectively to obtain a first preset number of hash values corresponding to the first preset number of local data blocks; Step 203, sending the first preset number of hash values to the server, so that the server receives the first preset number of hash values, stores the first preset number of hash values based on the blockchain of the server, and generates each evidence block identifier corresponding to the first preset number of hash values, each evidence block identifier is when storing each hash value in the blockchain, the first preset number of hash values generated by the server at each position identifier of the blockchain, and then when the server receives the content data of the first local data block and the target evidence block identifier sent by the second client, the server performs data confirmation on the first local data block according to the first preset number of hash values, the target evidence block identifier is one of the evidence block identifiers, and the first local data block is one of the first preset number of local data blocks.
[0038] As a refinement of the implementation of the present disclosure, when executing step 203 to send the first preset number of hash values to the server, the following implementation method may also be adopted but is not limited to, for example: the metadata information corresponding to the first preset number of hash values and the first preset number of local data blocks are sent to the server, and the metadata information includes the local data block data name, the local data block data type, the local data block data size, the local data block storage index, and the local data block data right type, wherein the local data block storage index is the storage index of the local data block stored in the first client.
[0039] Corresponding to the above-mentioned data rights confirmation method applied to the server and the first client, the present invention also proposes another data rights confirmation method applied to the second client. Since this method embodiment corresponds to the above-mentioned method embodiment, details not disclosed in this method embodiment can be referred to the above-mentioned method embodiment, and will not be repeated in the present invention.
[0040] The present disclosure provides a method for confirming data rights applied to a second client, comprising: sending content data of a first local data block and a target evidence block identifier to a server, so that the server receives the content data and the target evidence block; before receiving the content data and the target evidence block, the server stores a first preset number of hash values in a blockchain of the server and generates storage block identifiers corresponding to the first preset number of hash values, wherein each evidence block identifier is an identifier of each position of the first preset number of hash values in the blockchain, the number of each storage block identifier is the first preset number, and the target evidence block identifier is an identifier of each storage block. One of the evidence block identifiers, wherein the first preset number of hash values is used by the first client to semantically segment the complete data, obtain the first preset number of local data blocks and perform hash calculations on the first preset number of local data blocks respectively, to obtain the first preset number of hash values corresponding to the first preset number of local data blocks, the first preset number of hash values are sent by the first client to the server, the first preset number of local data blocks include the first local data block, and after the server receives the content data and the target evidence block, the server performs data authentication on the first local data block according to the first preset number of hash values.
[0041] In order to facilitate understanding of the above method embodiment, Figure 3 A schematic diagram of a data rights confirmation process based on semantic segmentation provided in an embodiment of the present disclosure. Figure 3 An exemplary description of the above method embodiment is provided: the present disclosure combines machine learning and blockchain technology, and uses a neural network to perform semantic-level segmentation on data information. The data information is the complete data, and the semantic-level segmentation is the semantic segmentation. At the same time, the decentralization, immutability and reliability of blockchain are utilized to effectively solve the problems of extensive data ownership management and unknown local infringement in the previous data confirmation process. The following is a specific solution of this embodiment: First, a semantic segmentation model is created and trained, and then the data to be confirmed is vectorized and input into the semantic segmentation model to obtain a number of data blocks divided according to the semantic level, namely, the first preset number of local data blocks; at the same time, the first preset number of local data blocks are locally stored to obtain a storage index, which is a part of the metadata information; then the first preset number of local data is subjected to hash function calculation to obtain a hash value representing each local data block, namely, a hash value; then, a number of hash values and metadata information of a number of data blocks, namely, the first preset number of local data blocks, are jointly uploaded to the chain to initiate a transaction; multiple audit institutions audit the transaction information and decide whether to confirm the transaction based on the audit results; when a rights dispute occurs, the data right owner uploads the content of the questionable local data block, namely, the content data of the first local data block, and the evidence block ID, namely, the target evidence block identifier, to the data confirmation smart contract, and the smart contract automatically calculates the data block hash value, retrieves the block information through the block ID, and then compares the hash value with the hash value recorded in the block. If they are consistent, it is determined that the data block right is held; wherein, The semantic segmentation model adopts the SeqModel text segmentation model on text data, and the video semantic level segmentation model adopts UniVS; the several data blocks are data blocks with independent and complete semantics, such as a natural paragraph of an article, a scene of a movie, etc.; the local storage adopts a distributed storage architecture such as Minio; the storage index is that all data can be obtained through the storage index; the hash function calculation adopts the SHA-256 algorithm, which can encode data of any length into a string of uniform length; the metadata information includes data name, data type, data size, storage index, and data right type; the multi-party review agency is set up offline and provides an operation interface; the data right confirmation smart contract is a blockchain smart contract, which functions to automatically perform hash calculation on the data block and compare it with the information on the chain, and return the comparison result; the data block rights include data holding rights, data use rights and data holding rights, and the right to be determined is determined by who registers first.
[0042] Figure 3 The data confirmation process is divided into two parts: data storage and data confirmation. Data storage includes: Create and train a semantic segmentation model; vectorize the data to be confirmed and input it into the semantic segmentation model to obtain several data blocks divided according to the semantic level; store the data locally and obtain the storage index; perform hash function calculation on the data block to obtain the hash value representing each data block; upload several hash values representing each data block and the metadata information of the data to the chain to initiate a transaction, i.e. store them on the chain; multiple audit agencies audit the transaction information and decide whether to confirm the transaction based on the audit results. Figure 3 The original data is the data to be confirmed, that is, the complete data. Data block 1-data block n are several local data blocks.
[0043] Data rights confirmation includes: the data rights owner uploads the content of the questionable data block and the evidence block ID to the data rights confirmation smart contract; the smart contract automatically calculates the hash value of the questionable data block; the smart contract retrieves the block information through the block ID; the hash value of the questionable data block is compared with the hash value recorded in the block, and if they are consistent, it is determined that the data block is held. Among them, the smart contract is a series of program rules.
[0044] In summary, the embodiments of the present disclosure can achieve the following effects: 1. Use the semantic-level data segmentation model to segment the original data so that the segmented data blocks have independent semantic expressions.
[0045] 2. The advantages of blockchain such as decentralization, security, reliability and immutability are used to store data block summaries and rights information, ultimately achieving fine-grained data rights registration and confirmation.
[0046] 3. A semantic-level model is used in data segmentation, which is different from the traditional method of dividing data blocks equally, making data segmentation more accurate and improving the availability of property rights confirmation.
[0047] 4. Using blockchain for rights registration and combining it with a multi-party joint review system makes the rights confirmation process more reliable and the rights registration more credible Corresponding to the above-mentioned data rights confirmation method, the present invention also proposes a data rights confirmation device. Since the device embodiment of the present invention corresponds to the above-mentioned method embodiment, the details not disclosed in the device embodiment can be referred to the above-mentioned method embodiment, and will not be repeated in the present invention.
[0048] Figure 4 A schematic diagram of a data rights confirmation device provided by an embodiment of the present disclosure is shown in FIG. Figure 4 As shown, the device is applied to the server and includes: The storage unit 31 is used to receive a first preset number of hash values sent by the first client, and store the first preset number of hash values in the blockchain of the server, wherein the first client is used to semantically segment the complete data, obtain the first preset number of local data blocks, perform hash calculations on the first preset number of local data blocks respectively, obtain the first preset number of hash values corresponding to the first preset number of local data blocks, and send the first preset number of hash values to the server; A generating unit 32 is used to generate storage block identifiers corresponding to the first preset number of hash values, wherein each of the evidence storage block identifiers is a position identifier of each of the first preset number of hash values in the blockchain, and the number of each of the storage block identifiers is the first preset number; A first receiving unit 33 is configured to receive content data of a first local data block and a target evidence block identifier sent by a second client, wherein the first preset number of local data blocks includes the first local data block, the target evidence block identifier is one of the evidence block identifiers, and the first preset number of hash values includes a first hash value corresponding to the first local data block; A calculation unit 34, configured to perform a hash calculation on the content data based on the smart contract to obtain a second hash value corresponding to the first local data block; An acquisition unit 35 is used to acquire the first hash value corresponding to the target evidence storage block identifier in the blockchain based on the smart contract; The comparison unit 36 is used to compare the first hash value with the second hash value to obtain a comparison result, and perform data authentication on the first partial data block according to the comparison result.
[0049] The data rights confirmation device provided by the present disclosure receives a first preset number of hash values sent by a first client, and stores the first preset number of hash values in the blockchain of the server, wherein the first client is used to perform semantic segmentation on the complete data, obtain the first preset number of local data blocks, and perform hash calculation on the first preset number of local data blocks respectively, obtain the first preset number of hash values corresponding to the first preset number of local data blocks, and send the first preset number of hash values to the server; generates storage block identifiers corresponding to the first preset number of hash values respectively, wherein the each evidence block identifier is the position identifier of the first preset number of hash values in the blockchain, and the number of the each storage block identifier is the first preset number; receives content data of the first local data block and target evidence block identifier sent by a second client, wherein the first preset number of local data blocks includes the first local data block, the target evidence block identifier is one of the evidence block identifiers, and the first preset number of hash values includes the first hash value corresponding to the first local data block; Based on the smart contract, the content data is hashed to obtain the second hash value corresponding to the first local data block; based on the smart contract, the first hash value corresponding to the target evidence block identifier in the blockchain is obtained; the first hash value is compared with the second hash value to obtain a comparison result, and the data right of the first local data block is confirmed according to the comparison result. Compared with the related art, by storing the first preset number of hash values in the blockchain of the server and issuing each evidence block identifier, when there is an ownership dispute of the first local data block, the first hash value is obtained in the blockchain through the target evidence block identifier corresponding to the first local data block, and the first hash value and the second hash value are compared to determine the ownership of the first local data block according to the comparison result, thereby solving the problem that only the data as a whole is confirmed, resulting in inconsistent ownership of local data and overall data.
[0050] Figure 5 A schematic diagram of the structure of another data rights confirmation device provided by an embodiment of the present disclosure, such as Figure 5 As shown, the comparison unit includes: A first determination module 361 is configured to determine that the rights of the first partial data block belong to the target object bound to the target evidence block identifier when the comparison result shows that the first hash value is completely identical to the second hash value; The second determination module 362 is configured to determine that the right of the first partial data block does not belong to the target object when the comparison result shows that the first hash value is not completely the same as the second hash value.
[0051] Furthermore, in a possible implementation of the embodiment of the present disclosure, as Figure 5 As shown, the storage unit 31 is also used for: Receive the first preset number of hash values and metadata information corresponding to the first preset number of local data blocks sent by the first client, the metadata information including a local data block data name, a local data block data type, a local data block data size, a local data block storage index, and a local data block data right type, wherein the local data block storage index is a storage index of the local data block stored in the first client.
[0052] Furthermore, in a possible implementation of the embodiment of the present disclosure, as Figure 5 As shown, the device comprises: The second receiving unit 37 is used to receive the audit results of the second preset number of auditing agencies on the metadata information corresponding to the first preset number of hash values and the first preset number of local data blocks respectively; A determination unit 38, configured to determine whether the metadata information respectively corresponding to the first preset number of hash values and the first preset number of local data blocks is accurate according to the audit result; The determining unit 38 is further configured to determine that the first preset number of hash values and the metadata information are valid for storage on the chain when it is determined that the first preset number of hash values and the metadata information are accurate.
[0053] Corresponding to the data rights confirmation device of the above-mentioned application server, this embodiment provides a data rights confirmation device applied to the first client, which is as follows: FIG6 is another data rights confirmation device provided by an embodiment of the present disclosure, wherein the device is applied to a first client and includes: A segmentation unit 41 is used to segment the vectorized complete data according to the semantic level to obtain a first preset number of local data blocks; A calculation unit 42, configured to perform hash calculations on the first preset number of local data blocks respectively to obtain a first preset number of hash values corresponding to the first preset number of local data blocks; The sending unit 43 is used to send the first preset number of hash values to the server, so that the server receives the first preset number of hash values, stores the first preset number of hash values based on the blockchain of the server, and generates each evidence block identifier corresponding to the first preset number of hash values, wherein each evidence block identifier is the first preset number of hash values generated by the server at each position identifier of the blockchain when storing each hash value in the blockchain, and then when the server receives the content data of the first local data block and the target evidence block identifier sent by the second client, the server performs data confirmation on the first local data block according to the first preset number of hash values, the target evidence block identifier is one of the evidence block identifiers, and the first local data block is one of the first preset number of local data blocks.
[0054] Furthermore, in a possible implementation of the embodiment of the present disclosure, the sending unit 43 is further configured to: The metadata information corresponding to the first preset number of hash values and the first preset number of local data blocks are sent to the server, wherein the metadata information includes a local data block data name, a local data block data type, a local data block data size, a local data block storage index, and a local data block data right type, wherein the local data block storage index is a storage index of the local data block stored in the first client.
[0055] The present disclosure provides a device for confirming data rights, and the device is applied to a second client and includes: A sending unit is used to send content data of a first partial data block and a target evidence block identifier to a server, so that the server receives the content data and the target evidence block. Before receiving the content data and the target evidence block, the server stores a first preset number of hash values in the blockchain of the server and generates storage block identifiers corresponding to the first preset number of hash values, wherein each evidence block identifier is an identifier of each position of the first preset number of hash values in the blockchain, the number of each storage block identifier is the first preset number, and the target evidence block identifier is one of the evidence block identifiers, wherein: The first preset number of hash values is used by the first client to semantically segment the complete data, obtain the first preset number of local data blocks, and perform hash calculations on the first preset number of local data blocks respectively, to obtain the first preset number of hash values corresponding to the first preset number of local data blocks, the first preset number of hash values are sent by the first client to the server, the first preset number of local data blocks include the first local data block, after the server receives the content data and the target evidence block, the server performs data confirmation on the first local data block according to the first preset number of hash values.
[0056] It should be noted that the above explanation of the method embodiment is also applicable to the device of this embodiment, and the principle is the same, which is not limited in this embodiment.
[0057] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0058] Figure 7 A schematic block diagram of an example electronic device 500 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0059] like Figure 7As shown, the device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 502 or a computer program loaded from a storage unit 508 to a RAM (Random Access Memory) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An I / O (Input / Output) interface 505 is also connected to the bus 504.
[0060] A number of components in the device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0061] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a CPU (Central Processing Unit), a GPU (Graphic Processing Units), various dedicated AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, a DSP (Digital Signal Processor), and any appropriate processor, controller, microcontroller, etc. The computing unit 501 performs the various methods and processes described above, such as a method for data confirmation. For example, in some embodiments, the method for data confirmation may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to execute the aforementioned data authentication method in any other appropriate manner (eg, by means of firmware).
[0062] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application Specific Standard Products), SOCs (System On Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that may be executed and / or interpreted on a programmable system including at least one programmable processor that may be a dedicated or general-purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0063] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0064] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or apparatus. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, RAM, ROM, EPROM (Electrically Programmable Read-Only-Memory) or flash memory, optical fiber, CD-ROM (Compact Disc Read-Only Memory), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
[0065] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0066] The systems and techniques described herein may be implemented in a computing system that includes a backend component (e.g., as a data server), or a computing system that includes a middleware component (e.g., an application server), or a computing system that includes a frontend component (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network), WAN (Wide Area Network), the Internet, and blockchain networks.
[0067] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.
[0068] It should be noted that artificial intelligence is a discipline that studies how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning / deep learning, big data processing technology, knowledge graph technology, and other major directions.
Claims
1. A method for confirming data ownership, characterized in that: The method is applied to the server, and includes: Receiving a first preset number of hash values sent by a first client, and storing the first preset number of hash values in the blockchain of the server, the first client is used to semantically segment the complete data, obtain the first preset number of local data blocks, and perform hash calculations on the first preset number of local data blocks respectively, to obtain the first preset number of hash values corresponding to the first preset number of local data blocks, and send the first preset number of hash values to the server; Generate storage block identifiers corresponding to the first preset number of hash values, each of which is an identifier of a position of the first preset number of hash values in the blockchain, and the number of each storage block identifier is the first preset number; Receive content data of a first partial data block and a target evidence block identifier sent by a second client, wherein the first preset number of partial data blocks includes the first partial data block, the target evidence block identifier is one of the evidence block identifiers, and the first preset number of hash values includes a first hash value corresponding to the first partial data block; Performing hash calculation on the content data based on the smart contract to obtain a second hash value corresponding to the first local data block; Acquire the first hash value corresponding to the target evidence storage block identifier in the blockchain based on the smart contract; The first Hash value is compared with the second Hash value to obtain a comparison result, and data rights are confirmed for the first partial data block according to the comparison result.
2. The method according to claim 1, characterized in that The confirming the data rights of the first partial data block according to the comparison result includes: If the comparison result shows that the first hash value is exactly the same as the second hash value, it is determined that the rights of the first partial data block belong to the target object bound to the target evidence block identifier; If the comparison result shows that the first hash value is not completely the same as the second hash value, it is determined that the right to the first partial data block does not belong to the target object.
3. The method according to claim 1, characterized in that The receiving a first preset number of hash values sent by the first client comprises: Receive the first preset number of hash values and metadata information corresponding to the first preset number of local data blocks sent by the first client, the metadata information including a local data block data name, a local data block data type, a local data block data size, a local data block storage index, and a local data block data right type, wherein the local data block storage index is a storage index of the local data block stored in the first client.
4. The method according to claim 3, characterized in that After generating the storage block identifiers corresponding to the first preset number of hash values, the method includes: Receive the review results of the second preset number of review agencies on the metadata information respectively corresponding to the first preset number of hash values and the first preset number of local data blocks; Determining whether the metadata information respectively corresponding to the first preset number of hash values and the first preset number of local data blocks is accurate according to the audit result; In the case where it is determined that the first preset number of hash values and the metadata information are accurate, it is determined that the first preset number of hash values and the metadata information are valid for storage on the chain.
5. A method for confirming data ownership, characterized in that: The method is applied to a first client, comprising: Segmenting the vectorized complete data according to the semantic level to obtain a first preset number of local data blocks; Performing hash calculations on the first preset number of local data blocks respectively to obtain a first preset number of hash values corresponding to the first preset number of local data blocks; The first preset number of hash values is sent to the server so that the server receives the first preset number of hash values, stores the first preset number of hash values based on the blockchain of the server and generates each evidence block identifier corresponding to the first preset number of hash values, each evidence block identifier is the first preset number of hash values generated by the server at each position identifier of the blockchain when the hash values are stored in the blockchain, and then when the server receives the content data of the first local data block and the target evidence block identifier sent by the second client, the server performs data confirmation on the first local data block according to the first preset number of hash values, the target evidence block identifier is one of the evidence block identifiers, and the first local data block is one of the first preset number of local data blocks.
6. The method according to claim 5, characterized in that The sending the first preset number of hash values to the server comprises: The metadata information corresponding to the first preset number of hash values and the first preset number of local data blocks are sent to the server, wherein the metadata information includes a local data block data name, a local data block data type, a local data block data size, a local data block storage index, and a local data block data right type, wherein the local data block storage index is a storage index of the local data block stored in the first client.
7. A method for confirming data ownership, characterized in that: The method applied to the second client comprises: The content data of the first partial data block and the target evidence block identifier are sent to the server, so that the server receives the content data and the target evidence block. Before receiving the content data and the target evidence block, the server is used to store a first preset number of hash values in the blockchain of the server and generate storage block identifiers corresponding to the first preset number of hash values. The evidence block identifiers are the position identifiers of the first preset number of hash values in the blockchain. The number of the storage block identifiers is the first preset number. The target evidence block identifier is one of the evidence block identifiers. The first preset number of hash values is used for the first client to semantically segment the complete data, obtain the first preset number of partial data blocks, and perform hash calculations on the first preset number of partial data blocks respectively to obtain the first preset number of hash values corresponding to the first preset number of partial data blocks. The first preset number of hash values are sent by the first client to the server. The first preset number of partial data blocks includes the first partial data block. After the server receives the content data and the target evidence block, the server performs data confirmation on the first partial data block according to the first preset number of hash values.
8. A device for confirming data rights, characterized in that: The device is applied to a server, and includes: A storage unit, configured to receive a first preset number of hash values sent by a first client, and store the first preset number of hash values in the blockchain of the server, wherein the first client is configured to semantically segment the complete data, obtain the first preset number of local data blocks, perform hash calculations on the first preset number of local data blocks respectively, obtain the first preset number of hash values corresponding to the first preset number of local data blocks, and send the first preset number of hash values to the server; A generating unit, configured to generate storage block identifiers corresponding to the first preset number of hash values, wherein the identification of each evidence storage block is the identification of each position of the hash value of the first preset number in the blockchain, and the number of the identification of each storage block is the first preset number; A first receiving unit is configured to receive content data of a first local data block and a target evidence block identifier sent by a second client, wherein the first preset number of local data blocks includes the first local data block, the target evidence block identifier is one of the evidence block identifiers, and the first preset number of hash values includes a first hash value corresponding to the first local data block; a computing unit, configured to perform a hash calculation on the content data based on a smart contract to obtain a second hash value corresponding to the first local data block; An acquisition unit, configured to acquire, based on the smart contract, the first hash value corresponding to the target evidence storage block identifier in the blockchain; A comparison unit is used to compare the first hash value with the second hash value to obtain a comparison result, and to perform data authentication on the first partial data block according to the comparison result.
9. A device for confirming data rights, characterized in that: The device is applied to a first client and includes: A segmentation unit, used for segmenting the vectorized complete data according to the semantic level to obtain a first preset number of local data blocks; a calculation unit, configured to perform hash calculations on the first preset number of local data blocks respectively, to obtain a first preset number of hash values corresponding to the first preset number of local data blocks; A sending unit is used to send the first preset number of hash values to a server, so that the server receives the first preset number of hash values, stores the first preset number of hash values based on the blockchain of the server, and generates each evidence block identifier corresponding to the first preset number of hash values, wherein each evidence block identifier is an identifier of each position of the first preset number of hash values generated by the server when storing each hash value in the blockchain, and then when the server receives the content data of the first local data block and the target evidence block identifier sent by the second client, the server performs data confirmation on the first local data block according to the first preset number of hash values, the target evidence block identifier is one of the evidence block identifiers, and the first local data block is one of the first preset number of local data blocks.
10. A device for confirming data rights, characterized in that: The device applied to the second client includes: A sending unit is used to send content data of a first partial data block and a target evidence block identifier to a server, so that the server receives the content data and the target evidence block. Before receiving the content data and the target evidence block, the server stores a first preset number of hash values in the blockchain of the server and generates storage block identifiers corresponding to the first preset number of hash values, wherein each evidence block identifier is an identifier of each position of the first preset number of hash values in the blockchain, the number of each storage block identifier is the first preset number, and the target evidence block identifier is one of the evidence block identifiers, wherein: The first preset number of hash values is used by the first client to semantically segment the complete data, obtain the first preset number of local data blocks, and perform hash calculations on the first preset number of local data blocks respectively, to obtain the first preset number of hash values corresponding to the first preset number of local data blocks, the first preset number of hash values are sent by the first client to the server, the first preset number of local data blocks include the first local data block, after the server receives the content data and the target evidence block, the server performs data confirmation on the first local data block according to the first preset number of hash values.
