CN116228229A - Block chain-based data asset circulation method, equipment and medium - Google Patents

Block chain-based data asset circulation method, equipment and medium Download PDF

Info

Publication number
CN116228229A
CN116228229A CN202310026973.1A CN202310026973A CN116228229A CN 116228229 A CN116228229 A CN 116228229A CN 202310026973 A CN202310026973 A CN 202310026973A CN 116228229 A CN116228229 A CN 116228229A
Authority
CN
China
Prior art keywords
data
data asset
circulation
assets
asset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310026973.1A
Other languages
Chinese (zh)
Inventor
刘卓
刘宁
商广勇
肖雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Industrial Internet Co Ltd
Original Assignee
Inspur Industrial Internet Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Industrial Internet Co Ltd filed Critical Inspur Industrial Internet Co Ltd
Priority to CN202310026973.1A priority Critical patent/CN116228229A/en
Publication of CN116228229A publication Critical patent/CN116228229A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • G06Q20/123Shopping for digital content
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02WCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT
    • Y02W90/00Enabling technologies or technologies with a potential or indirect contribution to greenhouse gas [GHG] emissions mitigation

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application discloses a data asset circulation method, equipment and medium based on a blockchain, wherein the method comprises the following steps: determining a currency attribute of the plurality of data assets, deploying an intelligent contract for currency of the plurality of data assets according to the currency attribute; acquiring data asset information of a plurality of data assets to respectively construct metadata corresponding to the plurality of data assets according to the data asset information; determining user nodes holding data assets and identity marks corresponding to the user nodes aiming at different data assets, and writing metadata and the identity marks into an intelligent contract; and receiving data asset circulation requests sent by other user nodes on the blockchain, and determining target data assets corresponding to the data asset circulation requests and circulation types corresponding to the target data assets so as to circulate the data assets from the user nodes to the other user nodes according to the circulation types based on the intelligent contracts.

Description

Block chain-based data asset circulation method, equipment and medium
Technical Field
The application relates to the technical field of blockchains, in particular to a blockchain-based data asset circulation method, equipment and medium.
Background
With the development of informatization of society, enterprises need to store digital information or content related to the enterprises and having a certain value in production and life, and such information can be defined as digital assets. The digital asset is used as a core asset of an enterprise, and runs through the whole operation process of the enterprise, but before the data asset is rendered by means of data mining, analysis, operation and the like, the data asset is generally required to be fully managed and utilized so as to ensure that the value of the data asset is maximized. As a tradable commodity, a data asset needs to be guaranteed to be negotiable, however, conventional data asset management platforms have difficulty guaranteeing the security of sensitive data and in the course of the negotiation, the holder of the data asset is not known, which makes the negotiation of the data asset difficult.
Disclosure of Invention
In order to solve the above-mentioned problem, the present application proposes a data asset circulation method based on a blockchain, including:
determining a circulation attribute of a plurality of data assets, and deploying an intelligent contract for circulating the plurality of data assets according to the circulation attribute;
acquiring data asset information of the plurality of data assets, and respectively constructing metadata corresponding to the plurality of data assets according to the data asset information;
determining user nodes holding the data assets and the identities corresponding to the user nodes aiming at different data assets, and writing the metadata and the identities into the intelligent contract;
and 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 so as to circulate the data asset from the user node to the other user nodes according to the circulation type based on the intelligent contract.
In an implementation manner of the present application, according to the data asset information, metadata corresponding to the plurality of data assets are respectively constructed, and specifically includes:
screening out the minimum feature unit for describing the data asset features from the data asset information; the minimum feature unit is composed of at least part of data asset information and is used for representing the attribute of the data asset;
hashing at least a portion of the features in the data asset to generate a data fingerprint of the data asset;
and respectively constructing metadata corresponding to the plurality of data assets according to the minimum feature unit and the data fingerprint aiming at different data assets.
In one implementation of the present application, deploying an intelligent contract for circulating the plurality of data assets according to the circulating attribute specifically includes:
assigning a token attribute to the smart contract and assigning a corresponding unique identifier to each data asset;
assigning transaction attributes to the data asset such that the data asset can be circulated between different user nodes within the blockchain through the transaction attributes;
and giving metadata attributes to the data assets so as to realize the positioning of the data assets according to the metadata attributes.
In one implementation manner of the present 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:
determining a data asset type required by the data asset circulation request, and screening metadata corresponding to a plurality of data assets to be selected, which are matched with the data asset type, from metadata of the plurality of data assets according to the data asset type;
determining a target data asset corresponding to the data asset circulation request according to the minimum feature unit in metadata corresponding to the plurality of data assets to be selected respectively;
determining a circulation type corresponding to the target data asset according to the data asset circulation request; the circulation type includes at least transfer, authorization and destruction.
In one implementation of the present application, based on the smart contract, circulating the data asset from the user node to the other user node according to the circulation type specifically includes:
responding to the data asset circulation request, and triggering a circulation event corresponding to a circulation type corresponding to the data asset circulation request; the flow-through event comprises at least a transfer event, an authorization event and a destruction event;
and calling an event response interface corresponding to the circulation event, and executing the intelligent contract so that the data asset circulates to the other user nodes by the user node.
In one implementation manner of the present application, invoking an event response interface corresponding to the circulation event, and executing the smart contract, so that the data asset circulates from the user node to the other user node, including:
determining usage rights of the user node for the data asset; the use rights comprise an affiliated right and a use right;
for the user node with the ownership, if the circulation type is transfer, calling a first event response interface corresponding to the transfer event to transfer the data asset from the user node to the other user nodes;
if the circulation type is destruction, a second event response interface corresponding to the destruction event is called, and the data asset held by the user node is destroyed;
and calling a third event response interface corresponding to the authorized event aiming at the user node with the use right, and giving the use right of the data asset to the other user nodes.
In one implementation of the present application, after generating the data fingerprint of the data asset, the method further comprises:
and uploading the data fingerprints to an IPFS cluster of an interstellar file system, and fixedly storing the data fingerprints uploaded to the IPFS cluster through a preset operation command, or uploading the data fingerprints to a cloud server so as to realize long-term storage of the data fingerprints.
In one implementation manner of the present application, uploading the data fingerprint to an interstellar file system IPFS cluster specifically includes:
determining a plurality of storage nodes in the IPFS cluster, and acquiring performance index values respectively corresponding to the plurality of storage nodes;
arranging the plurality of storage nodes according to the sequence of the performance index values from high to low to obtain a corresponding storage node sequence;
and sequentially attempting to upload the data fingerprints to the storage nodes according to the storage node sequence.
An embodiment of the present application provides a data asset circulation device based on a blockchain, which is characterized in that the device includes:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
determining a circulation attribute of a plurality of data assets, and deploying an intelligent contract for circulating the plurality of data assets according to the circulation attribute;
acquiring data asset information of the plurality of data assets, and respectively constructing metadata corresponding to the plurality of data assets according to the data asset information;
determining user nodes holding the data assets and the identities corresponding to the user nodes aiming at different data assets, and writing the metadata and the identities into the intelligent contract;
and 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 so as to circulate the data asset from the user node to the other user nodes according to the circulation type based on the intelligent contract.
An embodiment of the present application provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to:
determining a circulation attribute of a plurality of data assets, and deploying an intelligent contract for circulating the plurality of data assets according to the circulation attribute;
acquiring data asset information of the plurality of data assets, and respectively constructing metadata corresponding to the plurality of data assets according to the data asset information;
determining user nodes holding the data assets and the identities corresponding to the user nodes aiming at different data assets, and writing the metadata and the identities into the intelligent contract;
and 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 so as to circulate the data asset from the user node to the other user nodes according to the circulation type based on the intelligent contract.
The data asset circulation method based on the block chain has the following beneficial effects:
by means of intelligent contract technology, intelligent contracts for circulating the data asset are deployed through the circulating attribute of the data asset, so that when the data asset circulates between two transaction parties, a trust relationship between the two parties can be established, and the circulating safety of the data asset is ensured. Metadata is used for describing the attribute of the data asset, and metadata is introduced into the intelligent contract, so that the data asset can be accurately positioned to a holder corresponding to the data asset, and circulation of the data asset from the current user node to other user nodes is realized on the premise of establishing a contract relation.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 is a flow chart of a method for circulating data assets based on a blockchain according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a data asset circulation device based on a blockchain according to an embodiment of the present application.
Detailed Description
For the purposes, technical solutions and advantages of the present application, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The following describes in detail the technical solutions provided by the embodiments of the present application with reference to the accompanying drawings.
As shown in fig. 1, a method for circulating data assets based on a blockchain according to an embodiment of the present application includes:
s101: a currency attribute of the plurality of data assets is determined, and a smart contract for currency of the plurality of data assets is deployed based on the currency attribute.
A data asset refers to a data asset, such as an article, picture, video, collection, etc., that is owned or controlled by an individual or business that can bring future economic benefits to the business. The blockchain technology is used as a new transparent, open, credible and decentralised internet technology and is gradually used in the construction of a digital asset management platform, and the embodiment of the application realizes the storage, transaction circulation and copyright protection of data assets by means of the blockchain related technology. If the authenticity and credibility of the data source in the circulation process of the data asset are ensured, the trust of the two transaction parties can be established through an intelligent contract with the attribute of the circulation token.
In one embodiment, a currency attribute of a plurality of data assets is determined, and a smart contract for currency of the plurality of data assets is deployed based on the currency attribute. Wherein the currency attribute is an essential element that ensures that the smart contract is able to currency the data asset, including a token attribute, a transaction attribute, and a metadata attribute. The token attribute is given to the intelligent contract, and the corresponding unique identifier is given to each data asset, so that the intelligent contract can be applied to circulation of the data asset, and authenticity of transaction data is ensured. The transaction attribute is given to the data asset, so that the data asset can circulate among different user nodes in the blockchain through the transaction attribute, and transfer, authorization and destruction of the data asset are realized. Metadata attributes are given to the data assets, and metadata can describe the attributes of the data assets, so that the data assets can be positioned according to the metadata attributes, and subsequent communication of the data assets is facilitated.
S102: and acquiring data asset information of the plurality of data assets to respectively construct metadata corresponding to the plurality of data assets according to the data asset information.
In asset circulation, the information of the commodity should be authentic, not misunderstood and easily identifiable, while the metadata can distinguish between two non-homogenous data assets. Therefore, after the intelligent contract is deployed, the data asset information of a plurality of data assets is required to be acquired, and metadata corresponding to the plurality of data assets is respectively constructed according to the data asset information.
Specifically, from the data asset information, the minimum feature unit for describing the features of the data asset is screened out. Wherein the minimum feature unit is comprised of at least a portion of the data asset information for characterizing an attribute of the data asset. After the minimum feature unit is obtained, a hash operation is performed on at least some features in the data asset to generate a data fingerprint of the data asset. And respectively constructing metadata corresponding to the plurality of data assets according to the minimum feature units and the data fingerprints aiming at different data assets. For example, for an article, the corresponding data asset information includes an author, an creation date, a title, an article summary, and the like, after the minimum feature unit is screened from the data asset information, the article can be hashed by using an MD5 algorithm, a hash algorithm, and the like to obtain a data fingerprint, and the data fingerprint and the minimum feature unit can form metadata of the article. For example, metadata of a certain article may be expressed as:
"play":"The Tragedy of Hamlet,Prince of Denmark"
"quotation":"To be or not to be,that’s a question"
"hash":"0xbf38c8d76ae289c8adb9810e40692d7d02fe0611daa831186ca756e90f69ef61"
"author":"William Shakespeare"
"date":"1601-1602"
where "hash" represents a data fingerprint, and the remainder are data asset information characterizing data asset attributes.
After the data fingerprints of the data asset are generated, the data fingerprints are required to be uploaded to an interstellar file system (InterPlanetary File System, IPFS) cluster, and the data fingerprints uploaded to the IPFS cluster are fixedly stored through a preset operation command such as a pin command, or the data fingerprints are uploaded to a cloud server, so that long-term storage of the data fingerprints is realized. Only after uploading the data fingerprint to the IPFS or cloud server can the long-term existence of the data fingerprint be guaranteed, regardless of whether the data asset has been altered by the holder.
It should be noted that, when uploading the data fingerprint to the IPFS cluster, in order to ensure smooth uploading and long-term storage of the data fingerprint, a plurality of IPFS clients with better performance need to be selected from the IPFS cluster to store the data fingerprint. The storage nodes in the IPFS network can form a distributed file system, so that a plurality of storage nodes in the IPFS cluster are required to be determined, the performance index values corresponding to the storage nodes are acquired, and then the storage nodes are arranged according to the sequence from high to low of the performance index values, so that a corresponding storage node sequence is obtained. And finally, according to the storage node sequence, sequentially attempting to upload the data fingerprints to the storage nodes so as to select the storage nodes with better performance for data storage.
S103: and aiming at different data assets, determining user nodes holding the data assets and the identity marks corresponding to the user nodes, and writing the metadata and the identity marks into the intelligent contract.
After the creation of the data asset is completed, the buyer can become the holder of the data asset, and different holders all have their corresponding identities. The circulation process of the data asset is actually a transaction process between the data asset holder and another transaction party, so that the application needs to determine the user node holding the data asset and the identity corresponding to the user node, and then write the identity and the metadata of the data asset into the intelligent contract to establish the mapping relationship between the data asset and the user node holding the data asset. When executing the smart contract, the mapping relationship may be targeted to a particular data asset, thereby facilitating the circulation of subsequent data assets.
S104: and receiving data asset circulation requests sent by other user nodes on the blockchain, and determining target data assets corresponding to the data asset circulation requests and circulation types corresponding to the target data assets so as to circulate the data assets from the user nodes to the other user nodes according to the circulation types based on the intelligent contracts.
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 data asset types required by the data asset circulation requests, so that metadata corresponding to a plurality of to-be-selected data assets matched with the data asset types are screened out from metadata of a plurality of data assets according to the data asset types. For example, the type of data asset required for the data asset circulation request to request circulation is a score, and the user node with the score type can be queried from the data assets held by the blockchain node, and corresponding data asset metadata can be acquired. After metadata corresponding to a plurality of data assets to be selected are obtained, determining a target data asset corresponding to the data asset circulation request according to the minimum feature unit in the metadata corresponding to the plurality of data assets to be selected respectively, that is, if the data asset attribute requested by the data asset circulation request is consistent with the minimum feature unit, the data asset corresponding to the minimum feature unit is the target data asset of the transaction requested by the current other user node. For example, if the data asset to be circulated is a music score, the metadata of the data asset, namely the music score, includes a music score name, an author and creation time, firstly, a plurality of music scores to be selected, which are uniquely identified as the music score, are acquired from a plurality of data assets, then the music scores to be selected are traversed in sequence, the music scores to be selected are sequentially positioned to be the music scores with the names of blue polysacharide, the author is john schttus and the creation time is 1866, and the music scores are used as the target data asset finally positioned. In addition, after determining the target data asset of the request transaction, the circulation type corresponding to the target data asset is determined according to the data asset circulation request. Wherein the circulation type at least comprises transfer, authorization and destruction.
After determining the target data asset and the circulation type corresponding to the target data asset, the server responds to the data asset circulation request and triggers a circulation event corresponding to the circulation type corresponding to the data asset circulation request. The flow-through events include at least a transfer event, an authorization event, and a destruction event. After triggering the corresponding circulation event, calling an event response interface corresponding to the circulation event, and executing an intelligent contract to circulate the data asset from the user node to other user nodes.
It should be noted that, because the usage rights of the user nodes to the data assets held by the user nodes are different, some user nodes hold some data assets, but do not have the ownership rights of the data assets, but only have the usage rights of the data assets after being authorized by the original creator, for example, music scores, articles, etc., while some user nodes directly have the ownership rights of the data assets, for example, drawings, collection, etc., when executing the intelligent contract, the circulation of the data assets by the user nodes needs to be limited according to the usage rights of the user nodes.
In particular, usage rights of the user node to the data asset are determined. The usage rights include the belonging rights and the usage rights. For the user node with the right, if the circulation type is transfer, calling a first event response interface corresponding to the transfer event to transfer the data asset from the user node to other user nodes; if the circulation type is destruction, a second event response interface corresponding to the destruction event is called, and the data asset held by the user node is destroyed. And calling a third event response interface corresponding to the authorized event aiming at the user node with the use right, and giving the use right of the data asset to other user nodes.
The foregoing is a method embodiment presented herein. Based on the same thought, some embodiments of the present application further provide a device corresponding to the above method.
Fig. 2 is a schematic structural diagram of a data asset circulation device based on a blockchain according to an embodiment of the present application. As shown in fig. 2, includes:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
determining a currency attribute of the plurality of data assets, deploying an intelligent contract for currency of the plurality of data assets according to the currency attribute;
acquiring data asset information of a plurality of data assets to respectively construct metadata corresponding to the plurality of data assets according to the data asset information;
determining user nodes holding data assets and identity marks corresponding to the user nodes aiming at different data assets, and writing metadata and the identity marks into an intelligent contract;
and receiving data asset circulation requests sent by other user nodes on the blockchain, and determining target data assets corresponding to the data asset circulation requests and circulation types corresponding to the target data assets so as to circulate the data assets from the user nodes to the other user nodes according to the circulation types based on the intelligent contracts.
The embodiment of the application provides a nonvolatile computer storage medium, which stores computer executable instructions, wherein the computer executable instructions are configured to:
determining a currency attribute of the plurality of data assets, deploying an intelligent contract for currency of the plurality of data assets according to the currency attribute;
acquiring data asset information of a plurality of data assets to respectively construct metadata corresponding to the plurality of data assets according to the data asset information;
determining user nodes holding data assets and identity marks corresponding to the user nodes aiming at different data assets, and writing metadata and the identity marks into an intelligent contract;
and receiving data asset circulation requests sent by other user nodes on the blockchain, and determining target data assets corresponding to the data asset circulation requests and circulation types corresponding to the target data assets so as to circulate the data assets from the user nodes to the other user nodes according to the circulation types based on the intelligent contracts.
All embodiments in the application are described in a progressive manner, and identical and similar parts of all embodiments are mutually referred, so that each embodiment mainly describes differences from other embodiments. In particular, for the apparatus and medium embodiments, the description is relatively simple, as it is substantially similar to the method embodiments, with reference to the section of the method embodiments being relevant.
The devices and media provided in the embodiments of the present application are in one-to-one correspondence with the methods, so that the devices and media also have similar beneficial technical effects as the corresponding methods, and since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media are not described in detail herein.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may 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, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may 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, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer 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 technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (10)

1. A method of data asset circulation based on a blockchain, the method comprising:
determining a circulation attribute of a plurality of data assets, and deploying an intelligent contract for circulating the plurality of data assets according to the circulation attribute;
acquiring data asset information of the plurality of data assets, and respectively constructing metadata corresponding to the plurality of data assets according to the data asset information;
determining user nodes holding the data assets and the identities corresponding to the user nodes aiming at different data assets, and writing the metadata and the identities into the intelligent contract;
and 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 so as to circulate the data asset from the user node to the other user nodes according to the circulation type based on the intelligent contract.
2. The blockchain-based data asset circulation method according to claim 1, wherein metadata corresponding to the plurality of data assets is respectively constructed according to the data asset information, specifically comprising:
screening out the minimum feature unit for describing the data asset features from the data asset information; the minimum feature unit is composed of at least part of data asset information and is used for representing the attribute of the data asset;
hashing at least a portion of the features in the data asset to generate a data fingerprint of the data asset;
and respectively constructing metadata corresponding to the plurality of data assets according to the minimum feature unit and the data fingerprint aiming at different data assets.
3. A blockchain-based data asset circulation method according to claim 1, characterized in that according to the circulation attribute, a smart contract for circulating the plurality of data assets is deployed, in particular comprising:
assigning a token attribute to the smart contract and assigning a corresponding unique identifier to each data asset;
assigning transaction attributes to the data asset such that the data asset can be circulated between different user nodes within the blockchain through the transaction attributes;
and giving metadata attributes to the data assets so as to realize the positioning of the data assets according to the metadata attributes.
4. The blockchain-based data asset circulation method according to claim 1, wherein determining the target data asset corresponding to the data asset circulation request and the circulation type corresponding to the target data asset specifically comprises:
determining a data asset type required by the data asset circulation request, and screening metadata corresponding to a plurality of data assets to be selected, which are matched with the data asset type, from metadata of the plurality of data assets according to the data asset type;
determining a target data asset corresponding to the data asset circulation request according to the minimum feature unit in metadata corresponding to the plurality of data assets to be selected respectively;
determining a circulation type corresponding to the target data asset according to the data asset circulation request; the circulation type includes at least transfer, authorization and destruction.
5. The blockchain-based data asset circulation method of claim 4, wherein circulating the data asset by the user node to the other user node according to the circulation type based on the smart contract, specifically comprises:
responding to the data asset circulation request, and triggering a circulation event corresponding to a circulation type corresponding to the data asset circulation request; the flow-through event comprises at least a transfer event, an authorization event and a destruction event;
and calling an event response interface corresponding to the circulation event, and executing the intelligent contract so that the data asset circulates to the other user nodes by the user node.
6. The blockchain-based data asset circulation method of claim 5, wherein invoking the event response interface corresponding to the circulation event, executing the smart contract to circulate the data asset from the user node to the other user node, specifically comprising:
determining usage rights of the user node for the data asset; the use rights comprise an affiliated right and a use right;
for the user node with the ownership, if the circulation type is transfer, calling a first event response interface corresponding to the transfer event to transfer the data asset from the user node to the other user nodes;
if the circulation type is destruction, a second event response interface corresponding to the destruction event is called, and the data asset held by the user node is destroyed;
and calling a third event response interface corresponding to the authorized event aiming at the user node with the use right, and giving the use right of the data asset to the other user nodes.
7. The blockchain-based data asset circulation method of claim 2, wherein after generating the data fingerprint of the data asset, the method further comprises:
and uploading the data fingerprints to an IPFS cluster of an interstellar file system, and fixedly storing the data fingerprints uploaded to the IPFS cluster through a preset operation command, or uploading the data fingerprints to a cloud server so as to realize long-term storage of the data fingerprints.
8. The blockchain-based data asset circulation method of claim 7, wherein uploading the data fingerprint to an interplanetary file system IPFS cluster, in particular comprising:
determining a plurality of storage nodes in the IPFS cluster, and acquiring performance index values respectively corresponding to the plurality of storage nodes;
arranging the plurality of storage nodes according to the sequence of the performance index values from high to low to obtain a corresponding storage node sequence;
and sequentially attempting to upload the data fingerprints to the storage nodes according to the storage node sequence.
9. A blockchain-based data asset circulation device, the device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
determining a circulation attribute of a plurality of data assets, and deploying an intelligent contract for circulating the plurality of data assets according to the circulation attribute;
acquiring data asset information of the plurality of data assets, and respectively constructing metadata corresponding to the plurality of data assets according to the data asset information;
determining user nodes holding the data assets and the identities corresponding to the user nodes aiming at different data assets, and writing the metadata and the identities into the intelligent contract;
and 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 so as to circulate the data asset from the user node to the other user nodes according to the circulation type based on the intelligent contract.
10. A non-transitory computer storage medium storing computer-executable instructions, the computer-executable instructions configured to:
determining a circulation attribute of a plurality of data assets, and deploying an intelligent contract for circulating the plurality of data assets according to the circulation attribute;
acquiring data asset information of the plurality of data assets, and respectively constructing metadata corresponding to the plurality of data assets according to the data asset information;
determining user nodes holding the data assets and the identities corresponding to the user nodes aiming at different data assets, and writing the metadata and the identities into the intelligent contract;
and 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 so as to circulate the data asset from the user node to the other user nodes according to the circulation type based on the intelligent contract.
CN202310026973.1A 2023-01-09 2023-01-09 Block chain-based data asset circulation method, equipment and medium Pending CN116228229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310026973.1A CN116228229A (en) 2023-01-09 2023-01-09 Block chain-based data asset circulation method, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310026973.1A CN116228229A (en) 2023-01-09 2023-01-09 Block chain-based data asset circulation method, equipment and medium

Publications (1)

Publication Number Publication Date
CN116228229A true CN116228229A (en) 2023-06-06

Family

ID=86579769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310026973.1A Pending CN116228229A (en) 2023-01-09 2023-01-09 Block chain-based data asset circulation method, equipment and medium

Country Status (1)

Country Link
CN (1) CN116228229A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116975150A (en) * 2023-07-20 2023-10-31 中国电信股份有限公司技术创新中心 Data asset management system, method, device, equipment and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116975150A (en) * 2023-07-20 2023-10-31 中国电信股份有限公司技术创新中心 Data asset management system, method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CA3034034C (en) Data storage, data check, and data linkage method and apparatus
US10853354B2 (en) Method of generating globally verifiable unique identifiers using a scalable interlinked blockchain structure
EP3814929B1 (en) Blockchain-based content management method, apparatus, and electronic device
CN110275884B (en) Data storage method and node
CN111782668B (en) Data structure reading and updating method and device and electronic equipment
CN110020542B (en) Data reading and writing method and device and electronic equipment
CN111033489B (en) Method and apparatus for data traversal
CN111602166B (en) Method and apparatus for providing traversable key-value data storage on a blockchain
US11232077B2 (en) Method and apparatus for sharing information recorded on blockchain based on anchoring
CN111538786A (en) Block chain data desensitization and tracing storage method and device
CN110032568B (en) Data structure reading and updating method and device, and electronic equipment
CN106033461A (en) Sensitive information query method and apparatus
CN115129716A (en) Data management method, equipment and storage medium for industrial big data
CN116228229A (en) Block chain-based data asset circulation method, equipment and medium
Legault A Practitioner's View on Distributed Storage Systems: Overview, Challenges and Potential Solutions
CN111159192B (en) Big data based data warehousing method and device, storage medium and processor
CN115174158B (en) Cloud product configuration checking method based on multi-cloud management platform
CN112446035A (en) Data management method and device
US20220399988A1 (en) Linking blockchain operations
CN111556160A (en) Data asset admission method and device
CN116232655B (en) Configuration application permission management method and system based on Internet of things cloud platform
CN118035258A (en) Fragmentation storage method, device and medium for financial image file
CN116737657A (en) Document management method and device, storage medium and electronic equipment
CN117093419A (en) Unstructured data storage method and device, electronic equipment and storage medium
CN117459311A (en) IPv 6-based equipment identity security verification method, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination