A blockchain-based data asset circulation method, device and medium
By using blockchain-based smart contract technology, the issues of data asset circulation security and reliability are solved, enabling secure circulation of data assets between user nodes.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-09
- Publication Date
- 2026-03-17
AI Technical Summary
Traditional data asset management platforms struggle to guarantee the security of sensitive data, and the lack of knowledge about the data asset holders during the circulation process hinders the effective circulation of data assets.
By using blockchain-based smart contract technology, the circulation attributes of data assets are determined, smart contracts are deployed, metadata is obtained, user nodes and identity identifiers are identified, and the circulation of data assets is realized based on smart contracts.
A trust relationship was established between the transacting parties, ensuring the security and accurate positioning of data asset circulation and enabling the smooth circulation of data assets between user nodes.
Smart Images

Figure CN116228229B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of blockchain technology, specifically to a method, device, and medium for the circulation of data assets based on blockchain. Background Technology
[0002] With the informatization of society, enterprises need to store relevant and valuable digital information or content in their production and daily operations; this information can be defined as digital assets. As core assets of enterprises, digital assets permeate the entire operational process. However, before monetizing data assets through data mining, analysis, and operations, they typically require thorough management and utilization to maximize their value. As a tradable commodity, data assets need to be circulated. However, traditional data asset management platforms struggle to guarantee the security of sensitive data, and the lack of knowledge about the data asset holder hinders its circulation. Summary of the Invention
[0003] To address the aforementioned issues, this application proposes a blockchain-based method for data asset circulation, comprising:
[0004] Determine the circulation attributes of multiple data assets, and deploy smart contracts for circulating the multiple data assets based on the circulation attributes;
[0005] Obtain data asset information of the multiple data assets, and construct metadata corresponding to the multiple data assets based on the data asset information;
[0006] For different data assets, identify the user nodes that hold the data assets and the identity identifiers corresponding to the user nodes, and write the metadata and the identity identifiers into the smart contract;
[0007] The system receives data asset circulation requests sent by other user nodes on the blockchain, determines the target data asset corresponding to the data asset circulation request and the circulation type corresponding to the target data asset, and then, based on the smart contract and according to the circulation type, circulates the data asset from the user node to the other user nodes.
[0008] In one implementation of this application, metadata corresponding to the plurality of data assets is constructed based on the data asset information, specifically including:
[0009] From the data asset information, the smallest feature unit used to describe the characteristics of the data asset is selected; the smallest feature unit is composed of at least part of the data asset information and is used to characterize the attributes of the data asset.
[0010] Hash operations are performed on at least some features of the data asset to generate a data fingerprint of the data asset;
[0011] For different data assets, metadata corresponding to the multiple data assets is constructed based on the smallest feature unit and the data fingerprint.
[0012] In one implementation of this application, a smart contract for circulating the multiple data assets is deployed according to the circulation attributes, specifically including:
[0013] The smart contract is given token attributes, and each data asset is given a corresponding unique identifier;
[0014] The data assets are assigned transaction attributes so that they can circulate among different user nodes within the blockchain through these transaction attributes.
[0015] The data asset is assigned metadata attributes so that the location of the data asset can be realized based on the metadata attributes.
[0016] In one implementation of this application, determining the target data asset corresponding to the data asset circulation request and the circulation type corresponding to the target data asset specifically includes:
[0017] Determine the type of data asset required for the data asset circulation request, and based on the data asset type, filter out the metadata of several candidate data assets that match the data asset type from the metadata of the multiple data assets;
[0018] The target data asset corresponding to the data asset circulation request is determined based on the smallest feature unit in the metadata corresponding to the plurality of candidate data assets.
[0019] Based on the data asset circulation request, determine the circulation type corresponding to the target data asset; the circulation type includes at least transfer, authorization, and destruction.
[0020] In one implementation of this application, based on the smart contract and according to the circulation type, the data asset is circulated from the user node to the other user nodes, specifically including:
[0021] In response to the data asset circulation request, a circulation event corresponding to the circulation type of the data asset circulation request is triggered; the circulation event includes at least a transfer event, an authorization event, and a destruction event.
[0022] The event response interface corresponding to the circulation event is invoked to execute the smart contract, so that the data asset can be circulated from the user node to the other user nodes.
[0023] In one implementation of this application, the event response interface corresponding to the circulation event is invoked to execute the smart contract, so that the data asset is circulated from the user node to the other user nodes, specifically including:
[0024] Determine the user node's usage rights for the data asset; the usage rights include ownership and usage rights.
[0025] For a user node with the aforementioned ownership, if the circulation type is transfer, the first event response interface corresponding to the transfer event is invoked to transfer the data asset from the user node to the other user node;
[0026] If the circulation type is destruction, call the second event response interface corresponding to the destruction event to destroy the data assets held by the user node;
[0027] For the user node with the right to use the data asset, the third event response interface corresponding to the authorization event is invoked to grant the other user nodes the right to use the data asset.
[0028] In one implementation of this application, after generating the data fingerprint of the data asset, the method further includes:
[0029] The data fingerprint is uploaded to the InterPlanetary File System (IPFS) cluster. Through preset operation commands, the data fingerprint uploaded to the IPFS cluster is permanently stored, or the data fingerprint is uploaded to a cloud server to achieve long-term storage of the data fingerprint.
[0030] In one implementation of this application, uploading the data fingerprint to the InterPlanetary File System (IPFS) cluster specifically includes:
[0031] Identify multiple storage nodes in the IPFS cluster and obtain the performance index values corresponding to each of the multiple storage nodes;
[0032] The storage nodes are arranged in descending order of their performance index values to obtain a corresponding storage node sequence.
[0033] Based on the storage node sequence, the data fingerprint is uploaded to the storage nodes sequentially.
[0034] This application provides a blockchain-based data asset circulation device, characterized in that the device includes:
[0035] At least one processor; and,
[0036] A memory communicatively connected to the at least one processor; wherein,
[0037] The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to:
[0038] Determine the circulation attributes of multiple data assets, and deploy smart contracts for circulating the multiple data assets based on the circulation attributes;
[0039] Obtain data asset information of the multiple data assets, and construct metadata corresponding to the multiple data assets based on the data asset information;
[0040] For different data assets, identify the user nodes that hold the data assets and the identity identifiers corresponding to the user nodes, and write the metadata and the identity identifiers into the smart contract;
[0041] The system receives data asset circulation requests sent by other user nodes on the blockchain, determines the target data asset corresponding to the data asset circulation request and the circulation type corresponding to the target data asset, and then, based on the smart contract and according to the circulation type, circulates the data asset from the user node to the other user nodes.
[0042] This application provides a non-volatile computer storage medium storing computer-executable instructions, characterized in that the computer-executable instructions are configured as follows:
[0043] Determine the circulation attributes of multiple data assets, and deploy smart contracts for circulating the multiple data assets based on the circulation attributes;
[0044] Obtain data asset information of the multiple data assets, and construct metadata corresponding to the multiple data assets based on the data asset information;
[0045] For different data assets, identify the user nodes that hold the data assets and the identity identifiers corresponding to the user nodes, and write the metadata and the identity identifiers into the smart contract;
[0046] The system receives data asset circulation requests sent by other user nodes on the blockchain, determines the target data asset corresponding to the data asset circulation request and the circulation type corresponding to the target data asset, and then, based on the smart contract and according to the circulation type, circulates the data asset from the user node to the other user nodes.
[0047] The blockchain-based data asset circulation method proposed in this application can bring the following beneficial effects:
[0048] Leveraging smart contract technology, smart contracts are deployed to facilitate the circulation of data assets, establishing trust between trading parties and ensuring secure data asset circulation. Metadata describes the attributes of data assets; introducing metadata into smart contracts allows for precise identification of the data asset's holder, enabling the circulation of data assets from the current user node to other user nodes once a contractual relationship is established. Attached Figure Description
[0049] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0050] Figure 1 A flowchart illustrating a blockchain-based data asset circulation method provided in this application embodiment;
[0051] Figure 2 This is a schematic diagram of the structure of a blockchain-based data asset circulation device provided in an embodiment of this application. Detailed Implementation
[0052] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0053] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0054] like Figure 1 As shown in the embodiments of this application, the data asset circulation method based on blockchain includes:
[0055] S101: Determine the circulation attributes of multiple data assets, and deploy smart contracts for circulating the multiple data assets based on the circulation attributes.
[0056] Data assets refer to data resources, recorded physically or electronically, owned or controlled by individuals or enterprises that can bring future economic benefits to the enterprise, such as articles, pictures, videos, and collectibles. Blockchain technology, as a transparent, open, trustworthy, and decentralized new internet technology, has been gradually used in the construction of digital asset management platforms. This application's embodiments utilize blockchain-related technologies to realize the storage, trading, and copyright protection of data assets. To ensure the authenticity and trustworthiness of the data source during the circulation of data assets, trust between the transacting parties can be established through smart contracts with tradable token attributes.
[0057] In one embodiment, the circulation attributes of multiple data assets need to be determined, and smart contracts for circulating these data assets are deployed based on these attributes. Circulation attributes are essential elements ensuring the smart contracts can circulate data assets, including token attributes, transaction attributes, and metadata attributes. Assigning token attributes to smart contracts and a unique identifier to each data asset enables the smart contracts to be used in the circulation of data assets, ensuring the authenticity of transaction data. Assigning transaction attributes to data assets allows them to circulate between different user nodes within the blockchain, enabling the transfer, authorization, and destruction of data assets. Assigning metadata attributes to data assets allows for the location of data assets based on their attributes, facilitating their subsequent circulation.
[0058] S102: Obtain data asset information for multiple data assets, and construct metadata corresponding to each data asset based on the data asset information.
[0059] In asset circulation, commodity information should be truthful, unambiguous, and easily identifiable, while metadata can distinguish between two non-homogeneous data assets. Therefore, after deploying a smart contract, it is necessary to obtain data asset information for multiple data assets and construct metadata corresponding to each data asset based on that information.
[0060] Specifically, the smallest feature unit used to describe the characteristics of the data asset is selected from the data asset information. This smallest feature unit consists of at least some data asset information and is used to characterize the attributes of the data asset. After obtaining the smallest feature unit, a hash operation is performed on at least some features in the data asset to generate a data fingerprint. For different data assets, metadata corresponding to multiple data assets is constructed based on the smallest feature unit and the data fingerprint. For example, for an article as a data asset, its corresponding data asset information includes the author, creation date, title, article summary, etc. After selecting the smallest feature unit from the above data asset information, a hash operation is performed on the article using algorithms such as MD5 and hashing algorithms to obtain a data fingerprint. The data fingerprint and the smallest feature unit then constitute the metadata of the article. For example, the metadata of a certain article can be represented as:
[0061] "play":"The Tragedy of Hamlet,Prince of Denmark"
[0062] "quotation":"To be or not to be, that's a question"
[0063] "hash":"0xbf38c8d76ae289c8adb9810e40692d7d02fe0611daa831186ca756e90f69ef61"
[0064] "author":"William Shakespeare"
[0065] "date":"1601-1602"
[0066] Here, "hash" represents a data fingerprint, and the rest of the content is data asset information that characterizes the attributes of the data asset.
[0067] After generating the data fingerprint of the data asset, the data fingerprint needs to be uploaded to the InterPlanetary File System (IPFS) cluster. Using preset commands such as the `pin` command, the uploaded data fingerprint is permanently stored in the IPFS cluster. Alternatively, the data fingerprint can be uploaded to a cloud server for long-term storage. Only by uploading the data fingerprint to IPFS or a cloud server can its long-term existence be guaranteed, regardless of whether the data asset has been altered by the holder.
[0068] It should be noted that when uploading data fingerprints to the IPFS cluster, to ensure successful upload and long-term storage, several high-performance IPFS clients need to be selected from the IPFS cluster for data fingerprint storage. The storage nodes in the IPFS network can form a distributed file system. Therefore, it is necessary to determine multiple storage nodes in the IPFS cluster, obtain the performance metrics values for each node, and then arrange the storage nodes in descending order of performance metrics to obtain a corresponding storage node sequence. Finally, based on the storage node sequence, data fingerprints are uploaded to the storage nodes sequentially to select the best-performing nodes for data storage.
[0069] S103: For different data assets, determine the user nodes that hold the data assets and the identity identifiers corresponding to the user nodes, and write the metadata and identity identifiers into the smart contract.
[0070] Once a data asset is created, the buyer becomes its holder, and each holder possesses a corresponding identity identifier. The circulation of data assets is essentially a transaction between the data asset holder and another party. Therefore, this application requires identifying the user node holding the data asset and its corresponding identity identifier. Then, the identity identifier and the data asset's metadata are written into a smart contract to establish a mapping relationship between the data asset and the user node holding it. When the smart contract is executed, this mapping relationship can pinpoint the specific data asset, facilitating its subsequent circulation.
[0071] S104: Receive data asset circulation requests sent by other user nodes on the blockchain, determine the target data asset corresponding to the data asset circulation request and the circulation type corresponding to the target data asset, and circulate the data asset from the user node to other user nodes based on the smart contract and the circulation type.
[0072] In the actual data asset circulation process, the blockchain server can receive data asset circulation requests sent by other user nodes on the blockchain and determine the type of data asset required for the request. Based on this data asset type, it can filter out the metadata of several candidate data assets that match that data asset type from the metadata of multiple data assets. For example, if the data asset requested for circulation is sheet music, the server can query the data assets held by blockchain nodes to find user nodes holding sheet music and obtain their corresponding metadata. After obtaining the metadata of several candidate data assets, the server determines the target data asset corresponding to the data asset circulation request based on the smallest feature unit in the metadata of each candidate data asset. In other words, if the attributes of the data asset requested in the data asset circulation request match the smallest feature unit, then the data asset corresponding to that smallest feature unit is the target data asset requested for transaction by other user nodes. For example, if the data asset to be circulated is a musical score, the metadata of this data asset includes the score's name, author, and creation date. First, several candidate scores, uniquely identified as musical scores, need to be obtained from multiple data assets. Then, these candidate scores are iterated through sequentially until the score with the name "The Blue Danube," authored by Johann Strauss II, and composed in 1866 is located, and this score is taken as the final target data asset. Furthermore, after determining the target data asset for the requested transaction, the circulation type corresponding to the target data asset must be determined based on the data asset circulation request. The circulation type includes at least transfer, authorization, and destruction.
[0073] After identifying the target data asset and its corresponding circulation type, the server responds to the data asset circulation request by triggering a circulation event corresponding to the circulation type. Circulation events include at least transfer events, authorization events, and destruction events. Upon triggering the corresponding circulation event, the server calls the event response interface for that event to execute the smart contract, enabling the data asset to circulate from user nodes to other user nodes.
[0074] It should be noted that user nodes have different usage rights to the data assets they hold. Some user nodes may hold certain data assets but do not have ownership of them. They only have the right to use the data assets after obtaining authorization from the original creator, such as sheet music or articles. Other user nodes have direct ownership of the data assets, such as paintings or collectibles. When executing smart contracts, the circulation of data assets by user nodes must be restricted according to their usage rights.
[0075] Specifically, the usage rights of user nodes for data assets are determined. Usage rights include ownership and usage rights. For user nodes with ownership, if the circulation type is transfer, the first event response interface corresponding to the transfer event is invoked to transfer the data asset from the user node to other user nodes; if the circulation type is destruction, the second event response interface corresponding to the destruction event is invoked to destroy the data asset held by the user node. For user nodes with usage rights, the third event response interface corresponding to the authorization event is invoked to grant usage rights of the data asset to other user nodes.
[0076] The above are embodiments of the methods proposed in this application. Based on the same idea, some embodiments of this application also provide devices corresponding to the above methods.
[0077] Figure 2 This is a schematic diagram of the structure of a blockchain-based data asset circulation device provided in an embodiment of this application. Figure 2 As shown, it includes:
[0078] At least one processor; and,
[0079] A memory that is communicatively connected to at least one processor; wherein,
[0080] The memory stores instructions that can be executed by at least one processor, and the instructions, when executed by at least one processor, enable at least one processor to:
[0081] Determine the circulation attributes of multiple data assets, and deploy smart contracts for circulating multiple data assets based on the circulation attributes;
[0082] Obtain data asset information for multiple data assets, and construct metadata corresponding to each data asset based on the data asset information;
[0083] For different data assets, identify the user nodes that hold the data assets and the identity identifiers corresponding to the user nodes, and write the metadata and identity identifiers into the smart contract;
[0084] It receives data asset circulation requests sent by other user nodes on the blockchain, determines the target data asset corresponding to the data asset circulation request and the circulation type corresponding to the target data asset, and circulates the data asset from the user node to other user nodes based on the circulation type according to the smart contract.
[0085] This application provides a non-volatile computer storage medium storing computer-executable instructions, which are configured as follows:
[0086] Determine the circulation attributes of multiple data assets, and deploy smart contracts for circulating multiple data assets based on the circulation attributes;
[0087] Obtain data asset information for multiple data assets, and construct metadata corresponding to each data asset based on the data asset information;
[0088] For different data assets, identify the user nodes that hold the data assets and the identity identifiers corresponding to the user nodes, and write the metadata and identity identifiers into the smart contract;
[0089] It receives data asset circulation requests sent by other user nodes on the blockchain, determines the target data asset corresponding to the data asset circulation request and the circulation type corresponding to the target data asset, and circulates the data asset from the user node to other user nodes based on the circulation type according to the smart contract.
[0090] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the description of the method embodiments.
[0091] The devices and media provided in this application are one-to-one with the methods. Therefore, the devices and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0092] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0093] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1A device that provides the functions specified in one or more boxes.
[0094] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0095] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0096] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0097] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0098] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0099] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0100] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A blockchain-based data asset circulation method, characterized in that, The method comprises: determining the circulation attributes of a plurality of data assets, deploying a smart contract for circulating the plurality of data assets according to the circulation attributes; obtaining data asset information of the plurality of data assets to construct metadata corresponding to the plurality of data assets respectively according to the data asset information; for different data assets, determining a user node holding the data asset and an identity corresponding to the user node, and writing the metadata and the identity into the smart contract; receiving a data asset circulation request sent by other user nodes on a blockchain, and determining a target data asset corresponding to the data asset circulation request and a circulation type corresponding to the target data asset, to circulate the data asset from the user node to the other user nodes based on the smart contract according to the circulation type; constructing metadata corresponding to the plurality of data assets respectively according to the data asset information, specifically comprising: filtering a minimum feature unit for describing the characteristics of data assets from the data asset information; the minimum feature unit is composed of at least part of the data asset information and is used to represent the attributes of the data asset; performing a hash operation on at least part of the features in the data asset to generate a data fingerprint of the data asset; constructing metadata corresponding to the plurality of data assets respectively according to the minimum feature unit and the data fingerprint for different data assets; determining a target data asset corresponding to the data asset circulation request and a circulation type corresponding to the target data asset, specifically comprising: determining the data asset type required by the data asset circulation request, and filtering the metadata corresponding to a plurality of candidate data assets matching the data asset type from the metadata of the plurality of data assets according to the data asset type; determining the target data asset corresponding to the data asset circulation request according to the minimum feature unit in the metadata corresponding to the plurality of candidate data assets respectively; determining the circulation type corresponding to the target data asset according to the data asset circulation request; the circulation type at least includes transfer, authorization and destruction; after generating the data fingerprint of the data asset, the method further comprises: uploading the data fingerprint to an interplanetary file system (IPFS) cluster, performing fixed storage on the data fingerprint uploaded to the IPFS cluster through a preset operation command, or uploading the data fingerprint to a cloud server to realize long-term storage of the data fingerprint; uploading the data fingerprint to an interplanetary file system (IPFS) cluster, specifically comprising: determining a plurality of storage nodes in the IPFS cluster and obtaining performance index values corresponding to the plurality of storage nodes respectively; arranging the plurality of storage nodes in order from high to low according to the performance index values to obtain a corresponding storage node sequence; according to the storage node sequence, sequentially attempting to upload the data fingerprint to the storage nodes. 2.The blockchain-based data asset circulation method of claim 1, wherein, deploying a smart contract for circulating the plurality of data assets according to the circulation attributes, specifically comprising: The smart contract is endowed with a token attribute, and each data asset is endowed with a corresponding unique identifier; The data asset is endowed with a transaction attribute, so that the data asset can be circulated between different user nodes inside the blockchain through the transaction attribute; The data asset is endowed with a metadata attribute, so that the positioning of the data asset can be realized according to the metadata attribute. 3.The blockchain-based data asset circulation method of claim 1, wherein, Based on the smart contract, the data asset is circulated from the user node to the other user node according to the circulation type, specifically including: In response to the data asset circulation request, a circulation event corresponding to the circulation type corresponding to the data asset circulation request is triggered; the circulation event at least includes a transfer event, an authorization event and a destruction event; The event response interface corresponding to the circulation event is called, and the smart contract is executed to circulate the data asset from the user node to the other user node. 4.The method of claim 3, wherein, The event response interface corresponding to the circulation event is called, and the smart contract is executed to circulate the data asset from the user node to the other user node, specifically including: Determine the use permission of the user node for the data asset; the use permission includes ownership and use right; For the user node with the ownership, if the circulation type is transfer, the first event response interface corresponding to the transfer event is called to transfer the data asset from the user node to the other user node; If the circulation type is destruction, the second event response interface corresponding to the destruction event is called to destroy the data asset held by the user node; For the user node with the use right, the third event response interface corresponding to the authorization event is called to authorize the other user node to have the use right of the data asset. 5.A blockchain-based data asset circulation device, characterized in that the device Including: At least one processor; And, The memory is in communication connection with the at least one processor; wherein The memory stores instructions executable 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: Determine the circulation attribute of a plurality of data assets, and deploy a smart contract for circulating the plurality of data assets according to the circulation attribute; Obtain data asset information of the plurality of data assets to construct metadata corresponding to the plurality of data assets respectively according to the data asset information; For different data assets, determine the user node holding the data asset and the identity corresponding to the user node, and write the metadata and the identity into the smart contract; Receive a data asset circulation request sent by another user node on a blockchain, and determine a target data asset corresponding to the data asset circulation request and a circulation type corresponding to the target data asset, to circulate the data asset from the user node to the other user node according to the circulation type based on the smart contract; According to the data asset information, the metadata corresponding to the plurality of data assets is constructed respectively, specifically including: Filtering, from the data asset information, minimum feature units for describing features of the data asset; the minimum feature units are composed of at least part of the data asset information and are used to represent attributes of the data asset; Performing a hash operation on at least part of the features in the data asset to generate a data fingerprint of the data asset; For different data assets, constructing metadata corresponding to the plurality of data assets respectively according to the minimum feature units and the data fingerprint; Determining a target data asset corresponding to the data asset circulation request and a circulation type corresponding to the target data asset, specifically including: Determining a data asset type required by the data asset circulation request, and filtering, from the metadata of the plurality of data assets, metadata corresponding to a plurality of candidate data assets matched with the data asset type according to the data asset type; Determining the target data asset corresponding to the data asset circulation request according to the minimum feature units in the metadata corresponding to the plurality of candidate data assets respectively; Determining the circulation type corresponding to the target data asset according to the data asset circulation request; the circulation type at least includes transfer, authorization and destruction; After generating the data fingerprint of the data asset, the method further includes: Uploading the data fingerprint to an InterPlanetary File System (IPFS) cluster, and performing fixed storage on the data fingerprint uploaded to the IPFS cluster through a preset operation command, or uploading the data fingerprint to a cloud server to realize long-term storage of the data fingerprint; Uploading the data fingerprint to an InterPlanetary File System (IPFS) cluster, specifically including: Determining a plurality of storage nodes in the IPFS cluster and obtaining performance index values corresponding to the plurality of storage nodes respectively; Arranging the plurality of storage nodes in a descending order of the performance index values to obtain a corresponding storage node sequence; According to the storage node sequence, sequentially attempting to upload the data fingerprint to the storage nodes.
6. A non-transitory computer storage medium storing computer-executable instructions that, when executed, cause a computer to perform: The computer executable instructions are configured to: Determine circulation attributes of a plurality of data assets, and deploy a smart contract for circulating the plurality of data assets according to the circulation attributes; Obtain data asset information of the plurality of data assets to construct metadata corresponding to the plurality of data assets respectively according to the data asset information; For different data assets, determine user nodes holding the data assets and identity identifiers corresponding to the user nodes, and write the metadata and the identity identifiers into the smart contract; Receive a data asset circulation request sent by other user nodes on a block chain, and determine a target data asset corresponding to the data asset circulation request and a circulation type corresponding to the target data asset, to circulate the data asset from the user nodes to the other user nodes based on the smart contract according to the circulation type; According to the data asset information, constructing metadata corresponding to the plurality of data assets respectively, specifically including: From the data asset information, a minimum feature unit for describing the characteristics of the data asset is screened out; the minimum feature unit is composed of at least part of the data asset information, and is used to represent the attributes of the data asset; Hash operation is performed on at least part of the features in the data asset to generate a data fingerprint of the data asset; For different data assets, metadata corresponding to the plurality of data assets is respectively constructed according to the minimum feature unit and the data fingerprint; The target data asset corresponding to the data asset circulation request and the circulation type corresponding to the target data asset are determined, specifically including: Determining the data asset type required by the data asset circulation request, and according to the data asset type, screening out the metadata corresponding to a plurality of candidate data assets matched with the data asset type from the metadata of the plurality of data assets; According to the minimum feature unit in the metadata corresponding to the plurality of candidate data assets respectively, the target data asset corresponding to the data asset circulation request is determined; According to the data asset circulation request, the circulation type corresponding to the target data asset is determined; the circulation type at least includes transfer, authorization and destruction; After generating the data fingerprint of the data asset, the method further includes: Uploading the data fingerprint to an interplanetary file system (IPFS) cluster, and through a preset operation command, fixed storage is performed on the data fingerprint uploaded to the IPFS cluster, or the data fingerprint is uploaded to a cloud server to realize long-term storage of the data fingerprint; Uploading the data fingerprint to an interplanetary file system (IPFS) cluster, specifically including: Determining a plurality of storage nodes in the IPFS cluster, and obtaining performance index values corresponding to the plurality of storage nodes respectively; According to the order from high to low of the performance index values, the plurality of storage nodes are arranged to obtain a corresponding storage node sequence; According to the storage node sequence, the data fingerprint is sequentially attempted to be uploaded to the storage nodes.
Citation Information
Patent Citations
Block chain-based education resource acquisition method and device, and medium
CN111008847A
Block chain-based asset data management method and system
CN114329529A