WO2021259140A1 - 基于区块链的原创作品交易方法及装置和电子设备 - Google Patents

基于区块链的原创作品交易方法及装置和电子设备 Download PDF

Info

Publication number
WO2021259140A1
WO2021259140A1 PCT/CN2021/100713 CN2021100713W WO2021259140A1 WO 2021259140 A1 WO2021259140 A1 WO 2021259140A1 CN 2021100713 W CN2021100713 W CN 2021100713W WO 2021259140 A1 WO2021259140 A1 WO 2021259140A1
Authority
WO
WIPO (PCT)
Prior art keywords
work
original work
original
transaction
smart contract
Prior art date
Application number
PCT/CN2021/100713
Other languages
English (en)
French (fr)
Inventor
韩喆
Original Assignee
支付宝(杭州)信息技术有限公司
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 支付宝(杭州)信息技术有限公司 filed Critical 支付宝(杭州)信息技术有限公司
Publication of WO2021259140A1 publication Critical patent/WO2021259140A1/zh

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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • 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

Definitions

  • One or more embodiments of the present disclosure relate to the field of blockchain technology, and in particular, to a blockchain-based original work transaction method and device and electronic equipment.
  • Blockchain technology also known as distributed ledger technology, is an emerging technology in which several computing devices participate in "bookkeeping" and jointly maintain a complete distributed database. Because the blockchain technology has the characteristics of decentralization, openness and transparency, each computing device can participate in database records, and the rapid data synchronization between computing devices, the blockchain technology has been widely used in many fields. To apply.
  • a method for trading original works based on blockchain is provided.
  • the method is applied to a node device in a blockchain, and the blockchain deploys a work smart contract for transaction management of original works.
  • the code logic corresponding to the contract code in the work smart contract includes verification logic and transaction logic for the original work.
  • the method includes: receiving a purchase transaction for the original work initiated by a purchasing user, the purchase transaction including the identification of the original work and the account information of the purchasing user
  • the contract address of the work smart contract corresponding to the original work the purchase transaction is sent to other node devices in the blockchain, and the purchase transaction is processed by consensus; when the purchase transaction consensus is passed,
  • call the original work verification logic declared in the work smart contract corresponding to the contract address to verify whether the original work corresponding to the identification of the original work is managed by the work smart contract If it is, the transaction logic declared in the smart contract of the work is further invoked, the transaction transfer is completed based on the account of the purchasing user to the author account of the original work, and after the transaction transfer is completed, the transaction is transferred
  • the account information of the purchasing user is registered in the original work authorization list associated with the work smart contract.
  • a method for processing copyright infringement of original works based on a blockchain is applied to a node device in a blockchain, and the blockchain is deployed for transaction management of original works.
  • Work smart contract and infringement determination smart contract for infringement determination the code logic corresponding to the contract code in the work smart contract includes verification logic for the original work, and the code logic corresponding to the infringement determination smart contract includes infringement determination logic ,
  • Different original works correspond to different works smart contracts;
  • the method includes: receiving an infringement determination transaction against a first original work initiated by a user to prove that the infringement determination transaction includes the identification of the first original work and the second The identification of the original work and the contract address of the work smart contract corresponding to the first original work; send the infringement determination transaction to other node devices in the blockchain, and perform consensus processing on the infringement determination transaction; when After the infringement determination transaction consensus is passed, in response to the infringement determination transaction, the original work verification logic declared in the work smart contract corresponding to the contract address is called to verify
  • a method for processing copyright infringement of original works based on a blockchain is applied to a node device in a blockchain, and the blockchain is deployed for transaction management of original works.
  • Work smart contract and infringement determination smart contract for infringement determination the code logic corresponding to the contract code in the work smart contract includes verification logic for the original work, and the code logic corresponding to the infringement determination smart contract includes infringement determination logic ,
  • Different original works correspond to different works smart contracts;
  • the method includes: receiving an infringement determination transaction against a first original work initiated by a user to prove that the infringement determination transaction includes the identification of the first original work and the second The identification of the original work and the contract address of the work smart contract corresponding to the first original work; send the infringement determination transaction to other node devices in the blockchain, and perform consensus processing on the infringement determination transaction; when After the infringement determination transaction consensus is passed, in response to the infringement determination transaction, the original work verification logic declared in the work smart contract corresponding to the contract address is called to verify
  • a blockchain-based original work transaction device which is applied to a node device in a blockchain, and the blockchain deploys a work smart contract for transaction management of original works;
  • the code logic corresponding to the contract code in the work smart contract includes verification logic and transaction logic for the original work.
  • Different original works respectively correspond to different work smart contracts.
  • the device includes: a receiving unit that receives the purchase initiated by the user
  • the purchase transaction for the original work the purchase transaction includes the identification of the original work and the account information of the purchasing user and the contract address of the work smart contract corresponding to the original work
  • the consensus unit sends the purchase transaction Consensus processing is performed on the purchase transaction for other node devices in the blockchain
  • the response unit when the purchase transaction consensus is passed, in response to the purchase transaction, call the work intelligence corresponding to the contract address
  • the original work verification logic stated in the contract verifies whether the original work corresponding to the identification of the original work is an original work managed by the smart contract of the work;
  • the transaction unit if it is, further calls the contract address
  • the transaction logic declared in the corresponding work smart contract is based on the purchase user’s account to complete the transaction transfer to the author’s account of the original work, and after the transaction transfer is completed, the purchase user’s account information is registered with The original work authorization list associated with the work smart contract.
  • a block chain-based original work infringement processing device which is applied to a node device in a block chain, and the block chain deploys a work smart contract for transaction management of original works And the infringement determination smart contract for infringement determination; the code logic corresponding to the contract code in the work smart contract includes verification logic for the original work, and the code logic corresponding to the infringement determination smart contract includes infringement determination logic.
  • the original works respectively correspond to different works smart contracts
  • the device includes: a receiving unit that receives an infringement determination transaction against a first original work initiated by a proving user, and the infringement determination transaction includes an identification of the first original work and a second The identification of the original work and the contract address of the work smart contract corresponding to the first original work; the consensus unit, which sends the infringement determination transaction to other node devices in the blockchain, and makes a consensus on the infringement determination transaction Processing; response unit, when the infringement determination transaction consensus is passed, in response to the infringement determination transaction, call the original work verification logic declared in the work smart contract on the blockchain corresponding to the contract address , Verify whether the original work corresponding to the identification of the first original work is an original work managed by the smart contract of the work; According to the infringement determination logic declared in the infringement determination smart contract corresponding to the contract address declared in the smart contract of the work, infringement determination is made on the first original work and the second original work; 2.
  • Original work and the second original work is deposited on the blockchain, based on the user’s account information recorded in the authorization list of the first original work, from the author’s account of the first original work
  • the transaction fee paid by each purchasing user is transferred to the author account of the second original work, and the account information of the purchasing user is written into the authorization list of the second original work, and the authorization list of the first original work is
  • the authorization list of the second original work is the authorization list associated with the work smart contract corresponding to the second original work.
  • a block chain-based original work infringement processing device which is applied to a node device in a block chain, and the block chain deploys a work smart contract for transaction management of the original work And the infringement determination smart contract for infringement determination;
  • the code logic corresponding to the contract code in the work smart contract includes verification logic for the original work, and the code logic corresponding to the infringement determination smart contract includes infringement determination logic.
  • the original works respectively correspond to different works smart contracts
  • the device includes: a receiving unit that receives an infringement determination transaction against a first original work initiated by a proving user, and the infringement determination transaction includes an identification of the first original work and a second The identification of the original work and the contract address of the work smart contract corresponding to the first original work; the consensus unit, which sends the infringement determination transaction to other node devices in the blockchain, and makes a consensus on the infringement determination transaction Processing; response unit, when the infringement determination transaction consensus is passed, in response to the infringement determination transaction, call the original work verification logic declared in the work smart contract corresponding to the contract address to verify the Whether the original work corresponding to the identification of the first original work is an original work managed by the smart contract of the work; if it is, the determination unit, based on the contract address declared in the smart contract of the work, further calls the statement in the smart contract of the work The infringement determination logic declared in the infringement determination smart contract corresponding to the contract address of the The second original work is not deposited on the
  • an electronic device including: a processor; a memory for storing executable instructions of the processor, and the processor executes the executable instructions to implement any one of the foregoing Blockchain’s method of trading original works.
  • an electronic device including: a processor; a memory for storing executable instructions of the processor, and the processor runs the executable instructions to implement the aforementioned Blockchain's original work infringement treatment method.
  • a corresponding work smart contract for transaction management is deployed for each original work deposited on the chain, and an authorization list associated with the work smart contract for recording the account information of the purchasing user.
  • the node device of the blockchain receives the purchase transaction of the original work initiated by the purchase user, it only needs to call the work smart contract corresponding to the original work to complete the transaction transfer and register the purchase user’s account information with the company.
  • the original work authorization list associated with the work smart contract without having to access the original content of the original work every time. It realizes the logic of unbinding the original works deposited on the blockchain from the work transaction logic. Since smart contracts can be called in large numbers at the same time, original work transactions based on work smart contracts can meet the needs of high concurrent transactions.
  • the data deposited on the blockchain has the characteristics of non-tampering.
  • the time of the original work and the content of the work on the chain cannot be modified. Therefore, when infringement disputes arise, the original works deposited on the blockchain can be directly used as the basis for infringement judgments to ensure the authenticity and credibility of the infringement judgment process.
  • funds can be recovered based on the purchase user's account information recorded in the authorization list associated with the work smart contract corresponding to the original work.
  • Fig. 1 is a schematic diagram of creating a smart contract provided by an exemplary embodiment
  • Fig. 2 is a schematic diagram of invoking a smart contract provided by an exemplary embodiment
  • Figure 3 is a flow chart of creating and invoking a smart contract provided by an exemplary embodiment
  • FIG. 4 is a flowchart of a method for trading original works based on blockchain according to an exemplary embodiment
  • Fig. 5 is a schematic structural diagram of an electronic device provided by an exemplary embodiment
  • Fig. 6 is a block diagram of a block chain-based original work transaction device provided by an exemplary embodiment.
  • the steps of the corresponding method are not necessarily executed in the order shown and described in the present disclosure.
  • the method includes more or fewer steps than described in this disclosure.
  • a single step described in this disclosure may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this disclosure may also be combined into a single step in other embodiments. describe.
  • Blockchains are generally divided into three types: Public Blockchain, Private Blockchain and Consortium Blockchain.
  • Public Blockchain Private Blockchain
  • Consortium Blockchain there can also be a combination of the above types, such as private chain + consortium chain, consortium chain + public chain, and so on.
  • the blockchain is usually composed of several blocks.
  • a time stamp corresponding to the creation time of the block is recorded in these blocks, and all blocks strictly follow the time stamp recorded in the block to form a data chain that is ordered in time.
  • the real data generated in the physical world it can be constructed into a standard transaction format supported by the blockchain, and then published to the blockchain, and the node devices in the blockchain will perform consensus processing on the received transactions , And after reaching a consensus, the node device as the bookkeeping node in the block chain will package the transaction into the block and carry out persistent storage in the block chain.
  • Ethereum In the field of blockchain, an important concept is the account; taking Ethereum as an example, Ethereum usually divides accounts into external accounts and contract accounts; external accounts are accounts directly controlled by users, also called accounts. It is a user account; while a contract account is an account created by a user through an external account and contains the contract code (ie smart contract).
  • a structure is usually used to maintain the account status of the account. When the transaction in the block is executed, the state of the account related to the transaction in the blockchain will usually change.
  • the structure of an account usually includes fields such as Balance, Nonce, Code, and Storage.
  • the Balance field is used to maintain the current account balance of the account
  • the Nonce field is used to maintain the number of transactions in the account; it is a counter used to ensure that each transaction can be processed and can only be processed once, effectively avoiding replay attacks
  • the Code field is used to maintain the contract code of the account; in actual applications, the Code field usually only maintains the hash value of the contract code; therefore, the Code field is usually also called the Codehash field.
  • the Storage field is used to maintain the storage content of the account (the default field value is empty); for contract accounts, an independent storage space is usually allocated to store the storage content of the contract account; the independent storage space is usually Call it the account storage of the contract account.
  • the storage content of the contract account is usually constructed as an MPT (Merkle Patricia Trie) tree and the data structure is stored in the aforementioned independent storage space.
  • the MPT tree constructed based on the storage content of the contract account is usually also called a storage tree.
  • the Storage field usually only maintains the root node of the Storage tree; therefore, the Storage field is usually also called the StorageRoot field. Among them, for the external account, the field values of the Code field and the Storage field shown above are all null values.
  • Merkle trees are usually used; or, based on the data structure of Merkle trees, to store and maintain data.
  • MPT tree a variant of Merkle tree
  • Ethereum has designed three MPT trees for the data that needs to be stored and maintained in the blockchain, namely the MPT state tree, the MPT transaction tree and the MPT receipt tree. Among them, in addition to the above three MPT trees, there is actually a Storage tree constructed based on the storage content of the contract account.
  • the MPT state tree is an MPT tree organized by the account state data of all accounts in the blockchain;
  • the MPT transaction tree is an MPT tree organized by the transaction data in the blockchain;
  • MPT receipt tree Is the MPT tree organized by the receipt of each transaction generated after the transactions in the block are executed.
  • the hash values of the root nodes of the MPT state tree, MPT transaction tree, and MPT receipt tree shown above will all be added to the block header of the corresponding block eventually.
  • the MPT transaction tree and MPT receipt tree correspond to blocks, that is, each block has its own MPT transaction tree and MPT receipt tree.
  • the MPT state tree is a global MPT tree, which does not correspond to a specific block, but covers the account state data of all accounts in the blockchain.
  • the organized MPT transaction tree, MPT receipt tree, and MPT state tree will eventually be stored in a Key-Value database (for example, LevelDB) that uses a multi-level data storage structure.
  • a Key-Value database for example, LevelDB
  • the above-mentioned database with a multi-level data storage structure usually adopts a multi-level data storage structure, which can be divided into n-level data storage; for example, each level of data storage can be set to L0, L1, L2, L3... L(n-1); For all levels of data storage in the above-mentioned database, the smaller the level number is, the higher the level is usually; for example, L0 stores the latest blocks of data, and L1 stores the newest blocks. Block data, and so on.
  • the read and write performance of storage media corresponding to all levels of data storage may usually have performance differences; for example, the read and write performance of storage media corresponding to data storage with a higher level (ie, a smaller level number) can be higher than the level Low data storage corresponds to the read and write performance of the storage medium.
  • high-level data storage can use storage media with higher storage costs and better storage performance; while low-level data storage can use storage media with low unit cost and larger capacity.
  • the data stored in the database will contain a lot of historical data; moreover, the smaller the block number, the smaller the block number. The older the data, the less important it is. Therefore, in order to reduce the overall storage cost, data of different block heights can usually be "differentiated"; for example, the data in a block with a smaller block number can be stored on a storage medium with a lower cost; The data in the block with the larger block number is stored on a storage medium with a higher cost.
  • the account of the relevant account (but an external account can also be a contract account) of the executed transaction in the blockchain
  • the status usually changes accordingly; for example, when a "transfer transaction" in the block is executed, the balance of the transferor account and the transferee account related to the "transfer transaction" (that is, these accounts The field value of the Balance field), usually will change accordingly.
  • the node device After the transaction of the node device in the latest block generated by the blockchain is completed, because the account status in the current blockchain has changed, the node device needs to use the current account status data of all accounts in the blockchain to Construct the MPT state tree to maintain the latest state of all accounts in the blockchain.
  • each block in the blockchain has a corresponding MPT state tree; the MPT state tree maintains that after the transactions in the block are executed, all accounts in the blockchain are up to date The status of the account.
  • Smart contract In practical applications, whether it is a public chain, a private chain or a consortium chain, it is possible to provide the function of a smart contract (Smart contract).
  • a smart contract on the blockchain is a contract that can be triggered and executed by a transaction on the blockchain. Smart contracts can be defined in the form of codes.
  • Ethereum Taking Ethereum as an example, it supports users to create and call some complex logic in the Ethereum network.
  • Ethereum is a programmable blockchain, and its core is the Ethereum Virtual Machine (EVM), and each Ethereum node can run the EVM.
  • EVM is a Turing complete virtual machine, through which various complex logic can be realized. Users who publish and call smart contracts in Ethereum run on the EVM.
  • EVM directly runs virtual machine code (virtual machine bytecode, hereinafter referred to as "bytecode"), so the smart contract deployed on the blockchain is bytecode.
  • bytecode virtual machine code
  • the From field of the transaction in Figure 1 is used to record the address of the account that initiated the creation of the smart contract, the field value of the Data field of the transaction saves the contract code but bytecode, and the field value of the To field of the transaction is a null (empty )’S account. After the nodes reach an agreement through the consensus mechanism, the smart contract is successfully created, and subsequent users can call the smart contract.
  • a contract account corresponding to the smart contract appears on the blockchain and has a specific address; for example, "0x68e12cf284" in each node in Figure 1 represents the address of the created contract account ; Contract code (Code) and account storage (Storage) will be stored in the account storage of the contract account.
  • the behavior of the smart contract is controlled by the contract code, and the account storage of the smart contract saves the state of the contract.
  • smart contracts enable virtual accounts containing contract codes and account storage to be generated on the blockchain.
  • the Data field of the transaction that contains the creation of the smart contract saves the bytecode of the smart contract.
  • the bytecode is composed of a series of bytes, and each byte can identify an operation.
  • developers may not directly write bytecode, but choose a high-level language to write smart contract code.
  • high-level languages such as Solidity, Serpent, LLL, etc. can be used.
  • smart contract code written in a high-level language it can be compiled by a compiler to generate bytecode that can be deployed on the blockchain.
  • the contract code written in it is very similar to the class in the object-oriented programming language.
  • a variety of members can be declared in a contract, including state variables, functions, function modifiers, and events.
  • the state variable is a value permanently stored in the storage (Storage) field of the smart contract, and is used to save the state of the contract.
  • each node can execute the transaction in the EVM.
  • the From field of the transaction in Figure 2 is used to record the address of the account that initiated the invocation of the smart contract
  • the To field is used to record the address of the smart contract being called
  • the Data field of the transaction is used to record the method and parameters of invoking the smart contract.
  • the account status of the contract account may change. Later, a certain client can view the account status of the contract account through the connected blockchain node (for example, node 1 in Figure 2).
  • Smart contracts can be executed independently on each node in the blockchain network in a prescribed manner. All execution records and data are stored on the blockchain, so when such a transaction is executed, the blockchain is stored and cannot be tampered with. , A transaction certificate that will not be lost.
  • FIG. 3 The schematic diagram of creating a smart contract and invoking a smart contract is shown in Figure 3.
  • Invoking a smart contract in Ethereum is to initiate a transaction that points to a smart contract address.
  • the EVM of each node can execute the transaction separately, and the smart contract code can be distributed and run in the virtual machine of each node in the Ethereum network.
  • Smart contracts deployed on the blockchain can usually only refer to the data content stored on the blockchain; and in actual applications, for some complex business scenarios based on smart contract technology, smart contracts may also need to refer to some off-chain External data on the data entity.
  • the smart contract deployed on the blockchain can use the Oracle oracle to refer to the data on the data entity outside the chain, and then realize the data interaction between the smart contract and the real-world data entity.
  • data entities outside the chain may include centralized servers or data centers deployed outside the chain, and so on.
  • Cross-chain relay is used to connect two blockchains
  • Oracle oracle is used to connect the blockchain with data entities outside the chain to realize the data interaction between the blockchain and the real world.
  • an oracle smart contract corresponding to the oracle on the blockchain.
  • the oracle smart contract is used to maintain the oracle and send it to
  • the external data of the smart contract on the blockchain for example, the external data sent by the oracle to the smart contract on the blockchain can be stored in the account storage space of the oracle smart contract.
  • the target smart contract on the blockchain is called, the external data required by the target smart contract can be read from the account storage space of the oracle smart contract to complete the call process of the smart contract.
  • the oracle sends external data to the smart contract on the blockchain it can either be actively or passively sent.
  • the data entity outside the chain can use the private key of the oracle to sign the external data that needs to be provided to the target smart contract, and then send it to the oracle smart contract; for example, at time, it can be used Periodically send the signed external data to the oracle smart contract; the oracle smart contract can maintain the CA certificate of the oracle.
  • the public key of the oracle maintained in the CA certificate can be used to verify the signature of the external data, and after the verification is passed, the external data sent by the data entity outside the chain can be stored in the account storage space of the oracle smart contract To store.
  • the oracle smart contract can use the event mechanism of the smart contract to interact with the oracle, and the oracle sends the external data required by the target smart contract to the account storage space of the oracle smart contract .
  • the oracle smart contract can generate an external data acquisition event, and record the external data acquisition event in the transaction log of the transaction that called the smart contract, and store the transaction log in the storage space of the node device; and the aforementioned oracle can monitor
  • the transaction log generated by the oracle smart contract is stored in the storage space of the node device, and after listening to the external data acquisition event in the transaction log, in response to the monitored external data acquisition event, the target smart contract requires External data is sent to the aforementioned oracle smart contract.
  • the event mechanism of smart contracts is a way for smart contracts to interact with entities outside the chain.
  • smart contracts deployed on the blockchain it is usually impossible to directly interact with entities outside the chain; for example, after a smart contract is called, it is usually impossible to send the call result of the smart contract to the call initiator of the smart contract point-to-point .
  • the call results (including intermediate results and final call results) generated by the smart contract during the call are usually recorded in the transaction logs of the transaction that called the smart contract in the form of events.
  • the off-chain entities that need to interact with the smart contract can obtain the call result of the smart contract by monitoring the above transaction log stored in the storage space of the node device; for example, taking Ethereum as an example, the transaction log will eventually As part of the receipt (receipt) of the transaction that calls the smart contract, it is stored in the MPT receipt tree described above.
  • the off-chain entity interacting with the smart contract can monitor the transaction receipt on the MPT receipt tree stored in the storage space of the node device, and obtain the event generated by the smart contract from the monitored transaction receipt.
  • FIG. 4 is a flowchart of a blockchain-based original work transaction method provided by an exemplary embodiment.
  • the method is applied to a node device in a blockchain, and the blockchain deploys a work smart contract for transaction management of original works;
  • the code logic corresponding to the contract code in the work smart contract includes Original work verification logic and transaction logic, different original works correspond to different work smart contracts.
  • the method includes:
  • Step 402 Receive a purchase transaction for an original work initiated by a purchase user, the purchase transaction including the identification of the original work, the account information of the purchase user, and the contract address of the work smart contract corresponding to the original work;
  • Step 404 Send the purchase transaction to other node devices in the blockchain, and perform consensus processing on the purchase transaction;
  • Step 406 After the purchase transaction consensus is passed, in response to the purchase transaction, call the original work verification logic declared in the work smart contract corresponding to the contract address to verify the identity of the original work Whether the corresponding original work is an original work managed by the smart contract of the said work;
  • Step 408 If yes, further call the transaction logic declared in the work smart contract corresponding to the contract address, complete the transaction transfer to the author account of the original work based on the purchase user’s account, and complete the transaction transfer Afterwards, the account information of the purchasing user is registered to the original work authorization list associated with the work smart contract.
  • the purpose of this disclosure is to propose a blockchain-based transaction method for original works, through blockchain technology to realize the on-chain deposit of original works, as well as the purchase transaction of original works, and also provide original works infringement judgment and treatment of infringing works Mechanism; protect the rights and interests of original works in many aspects.
  • the original work can be uploaded to the chain (blockchain) for storage.
  • the original works deposited on the blockchain can be traded, and other users can purchase the original works through the blockchain, so that they have the authority to obtain all the content of the original works, and further can be obtained from the blockchain (such as downloading, View) the entire content of the original work.
  • original users can use the client software installed with the disclosed blockchain system to access the blockchain and upload the content of the original works.
  • the client software can be regarded as a node device in the blockchain network.
  • the content of original works uploaded by original users can be deposited on the chain in the form of registration transactions. In other words, the registration transaction initiated by the original user contains the content of the original work.
  • the forms of original works in this disclosure may include text works, music works, video works, picture works, game works, and other forms that can be disseminated on the Internet.
  • the registered transaction also includes the contract address for creating the smart contract.
  • the code logic corresponding to the contract code in the smart contract creation includes contract creation logic, which can be used to create a work smart contract on the blockchain.
  • the node device in the blockchain After the node device in the blockchain receives the registration transaction of the original work initiated by the original user, it needs to send the registration transaction to other node devices in the blockchain to perform consensus processing on the registration transaction; After the registration transaction consensus is passed, in response to the registration transaction, call the contract creation logic declared in the creation smart contract corresponding to the contract address to create a work smart contract for transaction management corresponding to the original work, And storing the content of the original work in the blockchain.
  • the corresponding relationship between the original work and the work smart contract is determined by the identification of the original work written in the work smart contract.
  • the identifier of the original work may be a hash value calculated by the blockchain based on the content of the original work.
  • the registered transaction may also include the transaction price specified by the original user and the author's account.
  • the transaction price in the registered transaction and the author's account are also written in the smart contract of the work.
  • the smart contract of the work is also written with the contract address of the smart contract used for the infringement determination.
  • the process of depositing an original work on the chain is completed, and a work smart contract is deployed for the original work on the chain.
  • the original work has a one-to-one correspondence with the work smart contract.
  • Purchasers can use the client software installed with the blockchain system of the present disclosure to access the blockchain and purchase original works they want to purchase.
  • the client software can be regarded as a node device in the blockchain network.
  • the purchase request of the purchasing user can be deposited on the chain in the form of a purchase transaction.
  • the purchase transaction includes the identification of the original work, the account information of the purchasing user, and the contract address of the work smart contract corresponding to the original work.
  • the original work Since the original work generates an identity for the original work when it is deposited on the chain, and the identity of the original work will be stored locally on each node device in the blockchain after the consensus of the registration transaction. Therefore, when a purchasing user initiates a purchase transaction to purchase an original work, the identification of the original work will be written into the purchase transaction locally.
  • the node device in the blockchain After the node device in the blockchain receives the purchase transaction of the original work initiated by the purchasing user, it needs to send the purchase transaction to other node devices in the blockchain to perform consensus processing on the purchase transaction; After the purchase transaction consensus is passed, in response to the purchase transaction, the original work verification logic declared in the work smart contract corresponding to the contract address is invoked to verify whether the original work corresponding to the identification of the original work is The original work managed by the smart contract for the said work.
  • the trading logic is formally executed.
  • the transaction price and author's account are written into the smart contract of the work.
  • the completion of the transaction transfer based on the user’s account of the purchaser to the account of the author of the original work may include: based on the transaction price of the original work and the author’s account maintained in the work smart contract, from the The account of the purchasing user completes the transfer of the transaction price to the account of the author of the original work.
  • the transaction price refers to the price that the purchasing user needs to pay to purchase the original work.
  • the author account refers to the account into which the funds paid by the purchasing user are transferred. If the author’s account refers to a user account in the blockchain, it means that the transaction is realized online through the blockchain, which specifically refers to the transaction between the purchase user’s account balance (Balance) and the author’s account balance in the blockchain. The transfer of coins (representative of transaction prices). And if the author’s account refers to an account outside the blockchain, it means that the transaction is executed offline through the blockchain online instruction. Specifically, it means that the blockchain instructs the offline cooperative settlement institution to execute the transaction. The settlement institution below completes the transfer of funds (funds at the transaction price) from the purchase user account to the author user account.
  • the account information of the purchasing user is registered in the original work authorization list associated with the work smart contract.
  • the user corresponding to the account information registered in the authorization list has the authority to obtain all the content of the original work from the blockchain.
  • authorization lists can be connected by means of linked lists, merkle trees, etc.
  • the present disclosure provides a blockchain system for trading original works.
  • a blockchain system for trading original works By deploying a corresponding work smart contract for transaction management for each original work deposited on the chain, and an authorization list for recording the user's account information associated with the work smart contract.
  • the node device of the blockchain receives the purchase transaction of the original work initiated by the purchase user, it only needs to call the work smart contract corresponding to the original work to complete the transaction transfer and register the purchase user’s account information with the company.
  • the original work authorization list associated with the work smart contract without having to access the original content of the original work every time. It realizes the logic of unbinding the original works deposited on the blockchain from the work transaction logic. Since smart contracts can be called in large numbers at the same time, original work transactions based on work smart contracts can meet the needs of high concurrent transactions.
  • Inquiry users can use the client software installed with the blockchain system of the present disclosure to access the blockchain, and inquire about the original works they want to view.
  • the client software can be regarded as a node device in the blockchain network.
  • the query request of the query user can query the form of transaction on the chain deposit certificate.
  • the query transaction includes the identification of the original work, the account information of the query user, and the contract address of the work smart contract corresponding to the original work. That is, the query transaction is also a work smart contract, so the code logic corresponding to the contract code in the work smart contract may also include query logic for the original work.
  • the original work Since the original work generates an identity for the original work when it is deposited on the chain, and the identity of the original work will be stored locally on each node device in the blockchain after the consensus of the registration transaction. Therefore, when a query user initiates a query transaction for querying an original work, the identifier of the original work will be written into the query transaction locally.
  • the node device in the blockchain After the node device in the blockchain receives the query transaction for the original work initiated by the query user, it needs to send the query transaction to other node devices in the blockchain to perform consensus processing on the query transaction; when After the query transaction consensus is passed, in response to the query transaction, call the original work verification logic declared in the work smart contract corresponding to the contract address to verify the original work corresponding to the identity of the original work Whether it is an original work managed by the smart contract; if it is, the query logic declared in the work smart contract corresponding to the contract address is further called to query whether the query user’s authorization list exists in the authorization list associated with the work smart contract Account information; if it exists, return all the content of the original work corresponding to the identifier of the original work stored in the blockchain to the querying user.
  • the work smart contract since the work smart contract is selected and invoked by the query user, it cannot be guaranteed that the work smart contract is the work smart contract corresponding to the original work that the user wants to view. Therefore, it is first necessary to verify whether the target original work to be viewed is a principle work managed by the called work smart contract.
  • the query logic is formally executed. For purchased users whose account information is on the authorization list, all the content of the original works are returned; for users who have not purchased the account information that is not on the authorization list, part of the content of the original works is returned.
  • part of the content of the original work is, for example: when the original work is a literary work, the content of the part of the work is the brief content of the literary work; when the original work is a musical work, the content of the part of the work is the content of the musical work Trial listening content; when the original work is a video work, the part of the work content is the content of the video work's preset duration; when the original work is a game work, the part of the work content is the trial content of the game work; When the work is a picture work, the part of the content of the work is a low-resolution picture of the picture work.
  • the blockchain only returns part of the content of the original work to the inquiring user, which protects the rights of purchased users and also protects the rights of original authors.
  • the blockchain system can make infringement judgments on the original works that initiated the on-chain deposition, and for original works that have not passed the infringement. Unable to reach a consensus, so it cannot be recorded on the chain, and the blockchain will only store original works that pass the test. However, limited by the number and types of sample works used for infringement judgments with original works in the work library, the work library cannot collect all sample works. Therefore, there is no guarantee that the original work that passes the test when it is on the chain must be original, that is, the original work deposited on the chain may also infringe the rights and interests of other works. To this end, the present disclosure provides an infringement judgment scheme of proactive proof. The second original work (infringed original work) provided by the proof user for the infringement determination of the first original work (original work to be detected).
  • the proof user uses the client software installed with the blockchain system of the present disclosure to access the blockchain, and initiates a request for infringement determination for the work to be detected.
  • the client software can be regarded as a node device in the blockchain network.
  • the user's request for infringement determination can be recorded on the chain in the form of an infringement determination transaction.
  • the infringement determination transaction includes the identification of the first original work and the identification of the second original work, and the contract address of the work smart contract corresponding to the first original work.
  • the original work Since the original work generates an identity for the original work when it is deposited on the chain, and the identity of the original work will be stored locally on each node device in the blockchain after the consensus of the registration transaction. Therefore, when the proof user initiates an infringement determination transaction for an original work, the original work's logo will be written into the infringement determination transaction locally.
  • the node device in the blockchain After the node device in the blockchain receives the infringement determination transaction for the first original work initiated by the proving user, it needs to send the infringement determination transaction to other node devices in the blockchain to determine the infringement transaction. Perform consensus processing; when the consensus on the infringement determination transaction is passed, in response to the infringement determination transaction, call the original work verification logic declared in the work smart contract corresponding to the contract address to verify that it is compatible with the first original Whether the original work corresponding to the identification of the work is an original work managed by the smart contract of the work; if so, based on the contract address declared in the smart contract of the work, further call the infringement corresponding to the contract address declared in the smart contract of the work Determine the infringement determination logic stated in the smart contract, and perform infringement determination on the first original work and the second original work.
  • the infringement determination logic declared in the infringement determination smart contract corresponding to the contract address can be further invoked to perform infringement determination on the first original work and the second original work.
  • the judgment of infringement of the first original work and the second original work includes: judging whether the time when the second original work is linked to is earlier than the time when the first original work is linked, and the first original work The degree of similarity between an original work and the second original work; the moment of winding up the second original work is earlier than the moment of winding up the first original work, and the first original work and the second original work When the similarity between the two reaches a threshold, it is determined that the first original work infringes the second original work.
  • the time of winding up of the second original work is earlier than the time of winding up of the first original work, continue to determine whether the similarity between the first original work and the second original work reaches the threshold; if the similarity does not reach The threshold value means that the first original work did not plagiarize the second original work; and then it is determined that the infringement judgment result of the first original work is non-infringement.
  • the calculation of the similarity can be done with the aid of a mature detection algorithm. And different algorithms can be subdivided in different fields, and the accuracy and scope of detection can be improved through a variety of algorithms.
  • the data stored on the blockchain has the characteristic of being non-tamperable. After the original work is uploaded on the chain, the time of the original work and the contents of the work on the chain cannot be modified. Therefore, when infringement disputes arise, the original works deposited on the blockchain can be directly used as the basis for infringement judgments to ensure the authenticity and credibility of the infringement detection process.
  • the following further introduces an embodiment of the infringement processing of original works based on the blockchain, which is the same as the embodiment in FIG. 6, applied to the node equipment in the blockchain, and the blockchain is deployed for trading original works Managed work smart contracts and infringement determination smart contracts for infringement determination; the code logic corresponding to the contract code in the work smart contract includes verification logic for the original work, and the code logic corresponding to the infringement determination smart contract includes infringement Judgment logic, different original works correspond to different works smart contracts, including:
  • the infringement determination transaction including the identification of the first original work and the identification of the second original work, and the contract of the smart contract of the work corresponding to the first original work Address; send the infringement determination transaction to other node devices in the blockchain to perform consensus processing on the infringement determination transaction; when the infringement determination transaction consensus is passed, in response to the infringement determination transaction, call
  • the original work verification logic declared in the work smart contract corresponding to the contract address verifies whether the original work corresponding to the identification of the first original work is an original work managed by the work smart contract; if it is , Based on the contract address declared in the smart contract of the work, further call the infringement determination logic declared in the smart contract for infringement determination corresponding to the contract address declared in the smart contract of the work, and compare the first original work and the second 2.
  • Infringement determination of the original work if it is determined that the first original work infringes the second original work and the second original work is not recorded on the blockchain, based on the record in the authorization list of the first original work Purchase user information, return the transaction fee paid by each purchase user to each purchase user’s account from the author account of the first original work, and the authorization list of the first original work is the work smart contract corresponding to the first original work List of associated authorizations.
  • This embodiment is the same as the above-mentioned process for the proof user to determine the infringement of the original work deposited on the blockchain, but there is an additional processing process after the original work is determined to be infringing.
  • the infringement determination logic further includes: if it is determined that the first original work infringes the second original work, based on the authorization of the first original work
  • the purchase user information recorded in the list the transaction fee paid by each purchase user from the author account of the first original work is transferred to the author account of the second original work, and the purchase user information is written into the
  • the authorization list of the second original work the authorization list of the first original work is the authorization list associated with the work smart contract corresponding to the first original work; the authorization list of the second original work is the work corresponding to the second original work The authorization list associated with the smart contract.
  • the author's account of the second original work can be directly obtained. In this way, the proceeds collected by the first original work can be transferred to the author's account of the second original work.
  • the infringing first original work since the data stored on the blockchain cannot be deleted, in order to ensure the rights and interests of the infringed author, the infringing first original work needs to be blocked so that no user can view it.
  • the present disclosure also provides the following embodiment of the infringement processing of original works based on the block chain, which is the same as the embodiment in FIG. 6 and is applied to the node equipment in the block chain.
  • the code logic corresponding to the contract code in the work smart contract includes the verification logic for the original work, and the code corresponding to the infringement judgment smart contract
  • the logic includes infringement determination logic.
  • Different original works correspond to different smart contracts for different works, including: receiving an infringement determination transaction for the first original work initiated by a user who proves that the infringement determination transaction includes the identification of the first original work and The identification of the second original work and the contract address of the work smart contract corresponding to the first original work; send the infringement determination transaction to other node devices in the blockchain, and perform consensus processing on the infringement determination transaction ; After the infringement determination transaction consensus is passed, in response to the infringement determination transaction, the original work verification logic declared in the work smart contract corresponding to the contract address is called to verify that the original work is verified with the first original work Whether the original work corresponding to the identification of the work is an original work managed by the smart contract of the work; if so, based on the contract address declared in the smart contract of the work, the infringement judgment corresponding to the contract address declared in the smart contract of the work is further invoked
  • the infringement determination logic stated in the smart contract shall determine the infringement of the first original work and the second original work; if it is determined that the first original
  • This embodiment is the same as the above-mentioned process for the proof user to determine the infringement of the original work deposited on the blockchain, but there is an additional processing process after the original work is determined to be infringing.
  • the infringement determination logic further includes: if it is determined that the first original work is infringing on the second original work, based on the first original work The purchase user information recorded in the authorization list, the transaction fee paid by each purchase user is returned to each purchase user's account from the author account of the first original work, and the authorization list of the first original work is the first original work The authorization list associated with the corresponding work smart contract.
  • the infringing first original work since the data deposited on the blockchain cannot be deleted, in order to ensure the rights and interests of the infringed author, the infringing first original work needs to be blocked so that no user can view it.
  • this disclosure also provides the following example for the transaction of original works deposited on the blockchain described above:
  • the account of the purchasing user completes the transaction transfer to the account of the author of the original work, and this transaction transfer is set to be a regular transfer executed after a preset period of time.
  • Such a preset time is equivalent to providing a publicity period for the transaction, during which the author's account cannot obtain the transfer. So as to gain time for the infringed authors to defend their rights.
  • the funds can be recovered based on the purchase user's account information recorded in the authorization list associated with the work smart contract corresponding to the original work.
  • the present disclosure also provides an embodiment of a blockchain-based original work transaction device.
  • the embodiments of the hierarchical storage device based on the blockchain of the present disclosure can be applied to electronic equipment.
  • the device embodiments can be implemented by software, or can be implemented by hardware or a combination of software and hardware.
  • Taking software implementation as an example as a logical device, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory through the processor of the electronic device where it is located.
  • FIG. 5 it is a hardware structure diagram of the electronic device where the original work transaction device based on the blockchain of this disclosure is located, except for the processor, memory, network interface, and In addition to the volatile memory, the electronic device in which the device is located in the embodiment may also include other hardware according to the actual function of the electronic device, which will not be repeated here.
  • Fig. 6 is a block diagram of a device for trading original works based on blockchain according to an exemplary embodiment of the present disclosure.
  • the original work transaction device based on the blockchain can be applied to the electronic device shown in Figure 5 above.
  • the blockchain deploys a work smart contract for transaction management of original works;
  • the code logic corresponding to the contract code in the work smart contract includes verification logic and transaction logic for the original work.
  • the device includes: a receiving unit 602, which receives the purchase initiated by the user
  • the purchase transaction for the original work the purchase transaction includes the identification of the original work and the account information of the purchasing user and the contract address of the work smart contract corresponding to the original work
  • the consensus unit 604 transfers the purchase transaction Send to other node devices in the blockchain to perform consensus processing on the purchase transaction
  • the response unit 606 when the purchase transaction consensus is passed, in response to the purchase transaction, call the corresponding contract address
  • the original work verification logic declared in the work smart contract verifies whether the original work corresponding to the original work’s identifier is an original work managed by the work smart contract
  • the transaction logic declared in the work smart contract corresponding to the contract address is based on the purchase user’s account to complete the transaction transfer to the author account of the original work, and after the transaction transfer is completed, the purchase user’s account information Register to the original work authorization list associated with the work smart contract.
  • the device further includes: a registration receiving unit that receives a registration transaction for an original work initiated by an original user, the registration transaction including the content of the original work, the transaction price specified by the original user, and the author account And the contract address for creating the smart contract; the consensus unit 604 is also used to send the registration transaction to other node devices in the blockchain to perform consensus processing on the registration transaction; the registration response unit, when the After the registration transaction consensus is passed, in response to the registration transaction, call the contract creation logic declared in the creation smart contract corresponding to the contract address to create a work smart contract for transaction management corresponding to the original work, And storing the work content of the original work in the blockchain, the corresponding relationship between the original work and the work smart contract is determined by the identification of the original work written in the work smart contract, and the work smart The contract also contains the transaction price and author's account in the registered transaction.
  • a registration receiving unit that receives a registration transaction for an original work initiated by an original user, the registration transaction including the content of the original work, the transaction price specified by the original user
  • the device further includes: a query receiving unit that receives a query transaction for an original work initiated by a query user, the query transaction including the identification of the original work and the account information of the query user and the original work The contract address of the corresponding work smart contract; the consensus unit 604 is also used to send the query transaction to other node devices in the blockchain to perform consensus processing on the query transaction; the query verification unit, After the query transaction consensus is passed, in response to the query transaction, call the original work verification logic declared in the work smart contract corresponding to the contract address to verify the original work corresponding to the original work identifier Whether the work is an original work managed by the smart contract; the query feedback unit, if so, further call the query logic declared in the work smart contract corresponding to the contract address to query whether there is an authorization list associated with the work smart contract The account information of the query user; if it exists, all the content of the original work corresponding to the identifier of the original work stored in the blockchain is returned to the query user.
  • a query receiving unit that receives a query transaction for
  • the query logic declared in the work smart contract further includes: if the query user’s account information does not exist in the authorization list associated with the work smart contract, the Part of the content of the original work corresponding to the identifier of the original work is returned to the querying user.
  • the device further includes: an infringement receiving unit that receives an infringement determination transaction for a first original work initiated by a user who proves that the infringement determination transaction includes an identifier of the first original work and an identifier of the second original work
  • the contract address of the work smart contract corresponding to the first original work ;
  • the consensus unit 604 is also used to send the infringement determination transaction to other node devices in the blockchain to determine the infringement transaction Perform consensus processing;
  • the infringement verification unit after the infringement determination transaction consensus is passed, in response to the infringement determination transaction, call the original work verification logic declared in the work smart contract corresponding to the contract address, and verify Verify whether the original work corresponding to the identification of the first original work is an original work managed by the smart contract of the work; if it is, the infringement determination unit, based on the contract address declared in the smart contract of the work, further calls and
  • the infringement determination logic declared in the infringement determination smart contract corresponding to the contract address declared in the work smart contract performs infringement determination on the first original work and
  • the infringement determination on the first original work and the second original work includes: determining whether the time when the second original work is linked is earlier than the time when the first original work is linked , And the degree of similarity between the first original work and the second original work; when the second original work’s on-chain time is earlier than the first original work’s on-chain time, and the first original work and the When the similarity between the second original works reaches a threshold, it is determined that the first original work infringes the second original work.
  • the infringement determination logic further includes: if it is determined that the first original work infringes the second original work and the second original work is deposited on the blockchain, based on the authorization of the first original work
  • the authorization list of the first original work is the authorization list associated with the work smart contract corresponding to the first original work
  • the authorization list of the second original work is the second original The authorization list associated with the work smart contract corresponding to the work.
  • the infringement determination logic further includes: if it is determined that the first original work is infringing on the second original work and the second original work has not been deposited on the blockchain, based on the first original work
  • the transaction transfer is a regular transfer executed after a preset period of time.
  • the present disclosure also provides an embodiment of a device for processing infringement of original works based on blockchain.
  • the embodiments of the device for processing infringement of original works based on the blockchain of the present disclosure can be applied to electronic equipment.
  • the device embodiments can be implemented by software, or can be implemented by hardware or a combination of software and hardware.
  • Taking software implementation as an example as a logical device, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory through the processor of the electronic device where it is located.
  • the block chain-based original work infringement processing device of the present disclosure is a hardware structure diagram of an electronic device.
  • the device in the embodiment usually may include other hardware according to the actual function of the electronic device, which will not be repeated here.
  • the blockchain deploys a work smart contract for transaction management of original works and an infringement judgment smart contract for infringement judgments.
  • the code logic corresponding to the contract code in the work smart contract includes verification logic for the original work
  • the code logic corresponding to the infringement determination smart contract includes infringement determination logic
  • different original works correspond to different work smart contracts
  • the device includes: a receiving unit that receives an infringement determination transaction for a first original work initiated by a user to prove that the infringement determination transaction includes the identifier of the first original work and the identifier of the second original work and the first The contract address of the work smart contract corresponding to the original work
  • the consensus unit which sends the infringement determination transaction to other node devices in the blockchain, and performs consensus processing on the infringement determination transaction
  • the response unit when the infringement determination transaction After the judgment transaction consensus is passed, in response to the infringement judgment transaction, the original work verification logic declared in the work smart contract corresponding to the contract address is called
  • the blockchain deploys a work smart contract for transaction management of original works and an infringement judgment smart contract for infringement judgments.
  • the code logic corresponding to the contract code in the work smart contract includes verification logic for the original work
  • the code logic corresponding to the infringement determination smart contract includes infringement determination logic
  • different original works correspond to different work smart contracts
  • the device includes: a receiving unit that receives an infringement determination transaction for a first original work initiated by a user to prove that the infringement determination transaction includes the identifier of the first original work and the identifier of the second original work and the first The contract address of the work smart contract corresponding to the original work
  • the consensus unit which sends the infringement determination transaction to other node devices in the blockchain, and performs consensus processing on the infringement determination transaction
  • the response unit when the infringement determination transaction After the judgment transaction consensus is passed, in response to the infringement judgment transaction, the original work verification logic declared in the work smart contract corresponding to the contract address is called to verify
  • a typical implementation device is a computer.
  • the specific form of the computer can be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email receiving and sending device, and a game console. , Tablet computers, wearable devices, or a combination of any of these devices.
  • the computer includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
  • the memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM).
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • Information can be computer-readable instructions, data structures, program modules, 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 technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, disk storage, quantum memory, graphene-based storage media or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • flash memory or other memory technology
  • CD-ROM compact disc
  • DVD digital versatile disc
  • Magnetic cassettes disk storage
  • first, second, third, etc. may be used to describe various information in one or more embodiments of the present disclosure, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as second information, and similarly, the second information may also be referred to as first information.
  • word “if” as used herein can be interpreted as "when” or “when” or “in response to a certainty”.

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Development Economics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一种基于区块链的原创作品交易方法及装置和电子设备。应用于区块链中的节点设备,所述区块链部署了用于对原创作品进行交易管理的作品智能合约;不同的原创作品分别对应不同的作品智能合约。所述方法包括:接收购买用户发起的针对原创作品的购买交易;响应于所述购买交易,调用发布在所述区块链的所述作品智能合约中声明的原创作品校验逻辑,校验与所述原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;如果是,进一步调用所述作品智能合约中声明的交易逻辑,基于所述购买用户的账户向所述原创作品的作者账户完成交易转账,并在完成交易转账后,将所述购买用户的账户信息登记至与所述作品智能合约关联的原创作品授权列表。

Description

基于区块链的原创作品交易方法及装置和电子设备 技术领域
本公开一个或多个实施例涉及区块链技术领域,尤其涉及一种基于区块链的原创作品交易方法及装置和电子设备。
背景技术
区块链技术,也被称之为分布式账本技术,是一种由若干台计算设备共同参与“记账”,共同维护一份完整的分布式数据库的新兴技术。由于区块链技术具有去中心化、公开透明、每台计算设备可参与数据库记录、且各计算设备之间可快速的进行数据同步的特性,使得区块链技术已在众多的领域中广泛的进行应用。
发明内容
根据本公开第一方面,提供一种基于区块链的原创作品交易方法。所述方法应用于区块链中的节点设备,所述区块链部署了用于对原创作品进行交易管理的作品智能合约。所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑和交易逻辑。其中,不同的原创作品分别对应不同的作品智能合约;所述方法包括:接收购买用户发起的针对原创作品的购买交易,所述购买交易包括所述原创作品的标识和所述购买用户的账户信息和所述原创作品对应的作品智能合约的合约地址;将所述购买交易发送给所述区块链中的其他节点设备,对所述购买交易进行共识处理;当所述购买交易共识通过后,响应于所述购买交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;如果是,进一步调用所述作品智能合约中声明的所述交易逻辑,基于所述购买用户的账户向所述原创作品的作者账户完成交易转账,并在完成交易转账后,将所述购买用户的账户信息登记至与所述作品智能合约关联的原创作品授权列表。
根据本公开第二方面,提供一种基于区块链的原创作品侵权处理方法,所述方法应用于区块链中的节点设备,所述区块链部署了用于对原创作品进行交易管理的作品智能合约和进行侵权判定的侵权判定智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑,所述侵权判定智能合约对应的代码逻辑包括侵权判定逻辑,不同的原创作品分别对应不用的作品智能合约;所述方法包括:接收举证用户发起的针对第一原创作品的侵权判定交易,所述侵权判定交易包括所述第一原创作品的标识和第二原创作品的标识和所述第一原创作品对应的作品智能合约的合约地址;将所述侵权判定交易发送给所述区块链中的其他节点设备,对所述侵权判定交易进行共识处理;当所述侵权判定交易共识通过后,响应于所述侵权判定交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述第一原创作品的标 识对应的原创作品是否为所述作品智能合约管理的原创作品;如果是,基于所述作品智能合约中声明的合约地址,进一步调用与所述作品智能合约中声明的合约地址对应的侵权判定智能合约中声明的侵权判定逻辑,对所述第一原创作品和所述第二原创作品进行侵权判定;如果判定所述第一原创作品侵权第二原创作品且所述第二原创作品存证于所述区块链,基于所述第一原创作品的授权列表中记录的购买用户的账户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用转账给所述第二原创作品的作者账户,并将所述购买用户的账户信息写入所述第二原创作品的授权列表,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表;所述第二原创作品的授权列表为第二原创作品对应的作品智能合约所关联的授权列表。
根据本公开第三方面,提供一种基于区块链的原创作品侵权处理方法,所述方法应用于区块链中的节点设备,所述区块链部署了用于对原创作品进行交易管理的作品智能合约和进行侵权判定的侵权判定智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑,所述侵权判定智能合约对应的代码逻辑包括侵权判定逻辑,不同的原创作品分别对应不用的作品智能合约;所述方法包括:接收举证用户发起的针对第一原创作品的侵权判定交易,所述侵权判定交易包括所述第一原创作品的标识和第二原创作品的标识和所述第一原创作品对应的作品智能合约的合约地址;将所述侵权判定交易发送给所述区块链中的其他节点设备,对所述侵权判定交易进行共识处理;当所述侵权判定交易共识通过后,响应于所述侵权判定交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述第一原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;如果是,基于所述作品智能合约中声明的合约地址,进一步调用与所述作品智能合约中声明的合约地址对应的侵权判定智能合约中声明的侵权判定逻辑,对所述第一原创作品和所述第二原创作品进行侵权判定;如果判定所述第一原创作品侵权第二原创作品且所述第二原创作品未存证于所述区块链,基于所述第一原创作品的授权列表中记录的购买用户的账户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用返还给各个购买用户的账户,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表。
根据本公开第四方面,提供一种基于区块链的原创作品交易装置,应用于区块链中的节点设备,所述区块链部署了用于对原创作品进行交易管理的作品智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑和交易逻辑,不同的原创作品分别对应不同的作品智能合约,所述装置包括:接收单元,接收购买用户发起的针对原创作品的购买交易,所述购买交易包括所述原创作品的标识和所述购买用户的账户信息和所述原创作品对应的作品智能合约的合约地址;共识单元,将所述购买交易发送给所述区块链中的其他节点设备,对所述购买交易进行共识处理;响应单元,当所述购买交易共识通过后,响应于所述购买交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述原创作品的标识对应的原创作品是 否为所述作品智能合约管理的原创作品;交易单元,如果是,进一步调用与所述合约地址对应的作品智能合约中声明的所述交易逻辑,基于所述购买用户的账户向所述原创作品的作者账户完成交易转账,并在完成交易转账后,将所述购买用户的账户信息登记至与所述作品智能合约关联的原创作品授权列表。
根据本公开第五方面,提供一种基于区块链的原创作品侵权处理装置,应用于区块链中的节点设备,所述区块链部署了用于对原创作品进行交易管理的作品智能合约和进行侵权判定的侵权判定智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑,所述侵权判定智能合约对应的代码逻辑包括侵权判定逻辑,不同的原创作品分别对应不同的作品智能合约,所述装置包括:接收单元,接收举证用户发起的针对第一原创作品的侵权判定交易,所述侵权判定交易包括所述第一原创作品的标识和第二原创作品的标识和所述第一原创作品对应的作品智能合约的合约地址;共识单元,将所述侵权判定交易发送给所述区块链中的其他节点设备,对所述侵权判定交易进行共识处理;响应单元,当所述侵权判定交易共识通过后,响应于所述侵权判定交易,调用与所述合约地址对应的区块链的所述作品智能合约中声明的所述原创作品校验逻辑,校验与所述第一原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;判定单元,如果是,基于所述作品智能合约中声明的合约地址,进一步调用与所述作品智能合约中声明的合约地址对应的侵权判定智能合约中声明的侵权判定逻辑,对所述第一原创作品和所述第二原创作品进行侵权判定;如果判定所述第一原创作品侵权第二原创作品且所述第二原创作品存证于所述区块链,基于所述第一原创作品的授权列表中记录的购买用户的账户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用转账给所述第二原创作品的作者账户,并将所述购买用户的账户信息写入所述第二原创作品的授权列表,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表;所述第二原创作品的授权列表为第二原创作品对应的作品智能合约所关联的授权列表。
根据本公开第六方面,提供一种基于区块链的原创作品侵权处理装置,应用于区块链中的节点设备,所述区块链部署了用于对原创作品进行交易管理的作品智能合约和进行侵权判定的侵权判定智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑,所述侵权判定智能合约对应的代码逻辑包括侵权判定逻辑,不同的原创作品分别对应不同的作品智能合约,所述装置包括:接收单元,接收举证用户发起的针对第一原创作品的侵权判定交易,所述侵权判定交易包括所述第一原创作品的标识和第二原创作品的标识和所述第一原创作品对应的作品智能合约的合约地址;共识单元,将所述侵权判定交易发送给所述区块链中的其他节点设备,对所述侵权判定交易进行共识处理;响应单元,当所述侵权判定交易共识通过后,响应于所述侵权判定交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述第一原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;判 定单元,如果是,基于所述作品智能合约中声明的合约地址,进一步调用与所述作品智能合约中声明的合约地址对应的侵权判定智能合约中声明的侵权判定逻辑,对所述第一原创作品和所述第二原创作品进行侵权判定;如果判定所述第一原创作品侵权第二原创作品且所述第二原创作品未存证于所述区块链,基于所述第一原创作品的授权列表中记录的购买用户的账户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用返还给各个购买用户的账户,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表。
根据本公开第七方面,提供一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器,所述处理器通过运行所述可执行指令以实现前述任一项所述的基于区块链的原创作品交易方法。
根据本公开第八方面,提供一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器,所述处理器通过运行所述可执行指令以实现前述任一项所述的基于区块链的原创作品侵权处理方法。
由上述描述可知,一方面,为每个上链存证的原创作品部署对应的用于进行交易管理的作品智能合约,以及该作品智能合约关联的用于记录购买用户的账户信息的授权列表。当区块链的节点设备在接收到购买用户发起的原创作品的购买交易时,只需调用该原创作品对应的作品智能合约就可完成交易转账和将所述购买用户的账户信息登记至与所述作品智能合约关联的原创作品授权列表;而无需每次都访问原创作品的原始内容。实现了将存证在区块链上的原创作品与作品交易逻辑解绑。由于智能合约可同时被大量调用,因此基于作品智能合约的原创作品交易可满足高并发交易的需求。
另一方面,区块链上存证的数据具有不可篡改的特性,当原创作品上链存证后,其上链时刻和上链存证的作品内容就无法被修改。因此在产生侵权纠纷时,可直接将区块链上存证的原创作品作为侵权判断的依据,保证侵权判定过程的真实可信。
再一方面,在确定区块链上原创作品侵权后,还可基于该原创作品对应的作品智能合约关联的授权列表中记录的购买用户的账户信息实现资金追回。
附图说明
图1是一示例性实施例提供的创建智能合约的示意图;
图2是一示例性实施例提供的调用智能合约的示意图;
图3是一示例性实施例提供的创建和调用智能合约的流程图;
图4是一示例性实施例提供的一种基于区块链的原创作品交易方法的流程图;
图5是一示例性实施例提供的一种电子设备的结构示意图;
图6是一示例性实施例提供的一种基于区块链的原创作品交易装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实现方式并不代表与本公开一个或多个实施例相一致的所有实现方式。相反,它们仅是与如所附权利要求书中所详述的、本公开一个或多个实施例的一些方面相一致的装置和方法的例子。
在其他实施例中并不一定按照本公开示出和描述的顺序来执行相应方法的步骤。在一些其他实施例中,其方法所包括的步骤可比本公开所描述的更多或更少。此外,本公开中所描述的单个步骤,在其他实施例中可能被分解为多个步骤进行描述;而本公开中所描述的多个步骤,在其他实施例中也可能被合并为单个步骤进行描述。
区块链一般被划分为三种类型:公有链(Public Blockchain),私有链(Private Blockchain)和联盟链(Consortium Blockchain)。此外,还可有上述多种类型的结合,比如私有链+联盟链、联盟链+公有链等。
基于区块链的基本特性,区块链通常是由若干个区块构成。在这些区块中分别记录有与该区块的创建时刻对应的时间戳,所有的区块严格按照区块中记录的时间戳,构成一条在时间上有序的数据链条。
对于物理世界产生的真实数据,可将其构建成区块链所支持的标准的交易(transaction)格式,然后发布至区块链,由区块链中的节点设备对收到的交易进行共识处理,并在达成共识后,由区块链中作为记账节点的节点设备,将这笔交易打包进区块,在区块链中进行持久化存证。
在区块链领域,有一个重要的概念就是账户(Account);以以太坊为例,以太坊通常将账户划分为外部账户和合约账户两类;外部账户就是由用户直接控制的账户,也称之为用户账户;而合约账户则是由用户通过外部账户创建的,包含合约代码的账户(即智能合约)。对于区块链中的账户而言,通常会通过一个结构体,来维护账户的账户状态。当区块中的交易被执行后,区块链中与该交易相关的账户的状态通常也会发生变化。
以以太坊为例,账户的结构体通常包括Balance,Nonce,Code和Storage等字段。其中:Balance字段,用于维护账户目前的账户余额;Nonce字段,用于维护该账户的交易次数;它是用于保障每笔交易能且只能被处理一次的计数器,有效避免重放攻击;Code字段,用于维护该账户的合约代码;在实际应用中,Code字段中通常仅维护合约代码的hash值;因而,Code字段通常也称之为Codehash字段。
Storage字段,用于维护该账户的存储内容(默认字段值为空);对于合约账户而言,通常会分配一个独立的存储空间,用以存储该合约账户的存储内容;该独立的存储空间通常称之为该合约账户的账户存储。合约账户的存储内容通常会构建成MPT(Merkle  Patricia Trie)树的数据结构存储在上述独立的存储空间之中,基于合约账户的存储内容构建成的MPT树,通常也称之为Storage树。而Storage字段通常仅维护该Storage树的根节点;因此,Storage字段通常也称之为StorageRoot字段。其中,对于外部账户而言,以上示出的Code字段和Storage字段的字段值均为空值。
对于大多数区块链模型,通常都会使用Merkle树;或者,基于Merkle树的数据结构,来存储和维护数据。以以太坊为例,以太坊使用了MPT树(一种Merkle树变种),作为数据组织形式,用来组织和管理账户状态、交易信息等重要数据。
以太坊针对区块链中需要存储和维护的数据,设计了三棵MPT树,分别是MPT状态树、MPT交易树和MPT收据树。其中,除了以上三棵MPT树以外,实际上还存在一棵基于合约账户的存储内容构建的Storage树。
MPT状态树,是由区块链中所有账户的账户状态(state)数据组织成的MPT树;MPT交易树,是由区块链中的交易(transaction)数据组织成的MPT树;MPT收据树,是区块中的交易在执行完毕后生成的与每笔交易对应的交易(receipt)收据组织成的MPT树。以上示出的MPT状态树、MPT交易树和MPT收据树的根节点的hash值,最终都会被添加至对应区块的区块头中。
其中,MPT交易树和MPT收据树均与区块相对应,即每一个区块都有自己的MPT交易树和MPT收据树。而MPT状态树是一个全局的MPT树,并不与某一个特定的区块相对应,而是涵盖了区块链中所有账户的账户状态数据。
对于组织成的MPT交易树、MPT收据树和MPT状态树,最终都会在采用多级数据存储结构的Key-Value型数据库(比如,LevelDB)中进行存储。
而采用多级数据存储结构的上述数据库,通常采用多级数据存储的结构,可被划分为n级数据存储;例如,各级数据存储可依次设为L0,L1,L2,L3....L(n-1);对于上述数据库中的各级数据存储而言,等级编号越小通常级别越高;例如,L0存储的是最新的若干区块的数据,L1存储的是次新的若干区块的数据,以此类推。
其中,各级数据存储对应的存储介质的读写性能,通常也可存在性能差异;例如,级别高(即等级编号较小的)的数据存储对应的存储介质的读写性能,可高于级别低的数据存储对应的存储介质的读写性能。在实际应用中,级别高的数据存储,可使用存储成本较高,存储性能较优的存储介质;而级别低的数据存储,可使用单位成本低,且容量较大的存储介质。
在实际应用中,随着区块链的区块号的增长(也称之为区块高度),在数据库中存储的数据,会包含很多历史数据;而且,区块号越小的区块中的数据越久远,越不重要。因此,为了降低整体的存储成本,通常可对不同区块高度的数据进行“区别对待”;例如,可将区块号较小的区块中的数据,存储至成本较低的存储介质上;而将区块号较大的区块中的数据,存储在成本较高的存储介质上。
需要说明的是,区块链每产生一个最新区块,则在该最新区块中的交易被执行之后,区块链中这些被执行交易的相关账户(可是外部账户也可是合约账户)的账户状态,通常也会随之发生变化;例如,当区块中的一笔“转账交易”执行完毕后,与该“转账交易”相关的转出方账户和转入方账户的余额(即这些账户的Balance字段的字段值),通常也会随之发生变化。
而节点设备在区块链产生的最新区块中的交易执行完毕后,由于当前区块链中的账户状态发生了变化,因此节点设备需要根据区块链中所有账户当前的账户状态数据,来构建MPT状态树,用于维护区块链中所有账户的最新状态。
也即,每当区块链中产生一个最新区块,且该最新区块中的交易执行完毕后,导致区块链中的账户状态发生了变化,节点设备都需要基于区块链中所有账户最新的账户状态数据,重新构建一棵MPT状态树。换句话说,区块链中每一个区块,都有一个与之对应的MPT状态树;该MPT状态树,维护了在该区块中的交易在执行完毕后,区块链中所有账户最新的账户状态。
在实际应用中,不论是公有链、私有链还是联盟链,都可能提供智能合约(Smart contract)的功能。区块链上的智能合约是在区块链上可被交易触发执行的合约。智能合约可通过代码的形式定义。
以以太坊为例,支持用户在以太坊网络中创建并调用一些复杂的逻辑。以太坊作为一个可编程区块链,其核心是以太坊虚拟机(EVM),每个以太坊节点都可运行EVM。EVM是一个图灵完备的虚拟机,通过它可实现各种复杂的逻辑。用户在以太坊中发布和调用智能合约就是在EVM上运行的。实际上,EVM直接运行的是虚拟机代码(虚拟机字节码,下简称“字节码”),所以部署在区块链上的智能合约可是字节码。如图1所示,Bob将一笔包含创建智能合约信息的交易(Transaction)发送到以太坊网络后,各节点均可在EVM中执行这笔交易。其中,图中1中交易的From字段用于记录发起创建智能合约的账户的地址,交易的Data字段的字段值保存的合约代码可是字节码,交易的To字段的字段值为一个null(空)的账户。当节点间通过共识机制达成一致后,这个智能合约成功创建,后续用户可调用这个智能合约。
智能合约创建后,区块链上出现一个与该智能合约对应的合约账户,并拥有一个特定的地址;比如,图1中各节点中的“0x68e12cf284…”就代表了创建的这个合约账户的地址;合约代码(Code)和账户存储(Storage)将保存在该合约账户的账户存储中。智能合约的行为由合约代码控制,而智能合约的账户存储则保存了合约的状态。换句话说,智能合约使得区块链上产生包含合约代码和账户存储的虚拟账户。
前述提到,包含创建智能合约的交易的Data字段保存的可是该智能合约的字节码。字节码由一连串的字节组成,每一字节可标识一个操作。基于开发效率、可读性等多方面考虑,开发者可不直接书写字节码,而是选择一门高级语言编写智能合约代码。例如, 高级语言可采用诸如Solidity、Serpent、LLL语言等。对于采用高级语言编写的智能合约代码,可经过编译器编译,生成可部署到区块链上的字节码。
以Solidity语言为例,用其编写的合约代码与面向对象编程语言中的类(Class)很相似,在一个合约中可声明多种成员,包括状态变量、函数、函数修改器、事件等。状态变量是永久存储在智能合约的账户存储(Storage)字段中的值,用于保存合约的状态。
如图2所示,仍以以太坊为例,Bob将一笔包含调用智能合约信息的交易发送到以太坊网络后,各节点均可在EVM中执行这笔交易。其中,图2中交易的From字段用于记录发起调用智能合约的账户的地址,To字段用于记录被调用的智能合约的地址,交易的Data字段用于记录调用智能合约的方法和参数。调用智能合约后,合约账户的账户状态可能改变。后续,某个客户端可通过接入的区块链节点(例如图2中的节点1)查看合约账户的账户状态。
智能合约可以规定的方式在区块链网络中每个节点独立的执行,所有执行记录和数据都保存在区块链上,所以当这样的交易执行完毕后,区块链上就保存了无法篡改、不会丢失的交易凭证。
创建智能合约和调用智能合约的示意图如图3所示。以太坊中要创建一个智能合约,需要经过编写智能合约、变成字节码、部署到区块链等过程。以太坊中调用智能合约,是发起一笔指向智能合约地址的交易,各个节点的EVM可分别执行该交易,将智能合约代码分布式的运行在以太坊网络中每个节点的虚拟机中。
区块链上部署的智能合约,通常只能引用区块链上存储的数据内容;而在实际应用中,对基于智能合约技术实现的一些复杂的业务场景,智能合约可能还需要引用一些链外的数据实体上的外部数据。
在这种场景下,区块链上部署的智能合约,可通过Oracle预言机,来引用链外的数据实体上的数据,进而实现智能合约与真实世界的数据实体之间的数据交互。其中,链外的数据实体,可包括诸如部署在链外的中心化的服务器或者数据中心,等等。
跨链中继用于连接两个区块链,而Oracle预言机用于连接区块链与链外的数据实体,实现区块链与真实世界的数据交互。
在实际应用中,在为区块链上的智能合约部署预言机时,可先在区块链上部署一个与预言机对应的预言机智能合约,该预言机智能合约用于维护预言机发给区块链上的智能合约的外部数据;例如,预言机发给区块链上的智能合约的外部数据,可存储在预言机智能合约的账户存储空间中。当区块链上的目标智能合约被调用时,可从该预言机智能合约的账户存储空间中,来读取该目标智能合约所需的外部数据,来完成智能合约的调用过程。预言机在向区块链上的智能合约发送外部数据时,可采用主动发送的方式,也可采用被动发送的方式。
在一种实现方式中,链外的数据实体可将需要提供给目标智能合约的外部数据,利用预言机的私钥进行签名后,发送给上述预言机智能合约;例如,在时间时,可采用周期性发送的方式,将签名后的上述外部数据发送给上述预言机智能合约;而在上述预言机智能合约可维护预言机的CA证书,在收到链外的数据实体发送的外部数据后,可使用该CA证书中维护的该预言机的公钥,对该外部数据的签名进行验证,并在验证通过后,将链外的数据实体发送的外部数据在该预言机智能合约的账户存储空间中进行存储。
在另一种实现方式中,当区块链上的目标智能合约被调用时,如果从该预言机智能合约的账户存储空间中,并未读取到该目标智能合约所需的外部数据,此时该预言机智能合约,可利用智能合约的事件机制,与上述预言机进行交互,并由上述预言机将该目标智能合约所需的外部数据,发送至该预言机智能合约的账户存储空间中。
例如,当区块链上的目标智能合约被调用时,如果从该预言机智能合约的账户存储空间中,并未读取到该目标智能合约所需的外部数据,此时该预言机智能合约,可生成一个外部数据获取事件,并将该外部数据获取事件记录到调用该智能合约的那笔交易的交易日志中,并将该交易日志存储到节点设备的存储空间;而上述预言机可监听节点设备的存储空间中存储的该预言机智能合约产生的交易日志,并在监听到交易日志中的外部数据获取事件后,响应监听到的该外部数据获取事件,将上述目标智能合约所需的外部数据,发送给上述预言机智能合约。
智能合约的事件机制,是智能合约与链外实体进行交互的一种方式。对于区块链上部署的智能合约来说,通常无法直接与链外实体进行交互;例如,智能合约在调用完成后,通常无法将智能合约的调用结果,点对点的发送给智能合约的调用发起方。
智能合约在调用的过程中产生的调用结果(包括中间结果和最终的调用结果),通常都会以事件(Event)的形式,记录到调用该智能合约的那笔交易的交易日志(transaction logs),在节点设备的存储空间中进行存储。而需要与智能合约进行交互的链外实体,则可通过监听节点设备的存储空间中存储的上述交易日志的方式,来获取智能合约的调用结果;例如,以以太坊为例,交易日志最终会作为调用该智能合约的那笔交易笔交易的收据(receipt)的一部分内容,存储在以上描述的MPT收据树中。而与智能合约进行交互的链外实体,可监听节点设备的存储空间中存储的MPT收据树上的交易收据,并从监听到的交易收据中,来获取智能合约生成的事件。
下面介绍下本公开提供的基于区块链的原创作品交易的实施例。
请参见图4,图4是一示例性实施例提供的一种基于区块链的原创作品交易方法的流程图。所述方法应用于区块链中的节点设备,所述区块链部署了用于对原创作品进行交易管理的作品智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑和交易逻辑,不同的原创作品分别对应不同的作品智能合约。所述方法包括:
步骤402:接收购买用户发起的针对原创作品的购买交易,所述购买交易包括所述原创作品的标识和所述购买用户的账户信息和所述原创作品对应的作品智能合约的合约地址;
步骤404:将所述购买交易发送给所述区块链中的其他节点设备,对所述购买交易进行共识处理;
步骤406:当所述购买交易共识通过后,响应于所述购买交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;
步骤408:如果是,进一步调用与所述合约地址对应的作品智能合约中声明的所述交易逻辑,基于所述购买用户的账户向所述原创作品的作者账户完成交易转账,并在完成交易转账后,将所述购买用户的账户信息登记至与所述作品智能合约关联的原创作品授权列表。
本公开旨在提出一种基于区块链的原创作品交易方法,通过区块链技术实现原创作品的上链存证,以及原创作品的购买交易,另外还提供原创作品侵权判断和侵权作品的处理机制;多方面保障原创作品的权益。
在用户创作完成一个原创作品后,可将该原创作品上链(区块链)进行存证。存证在区块链上的原创作品可进行交易,由其它用户通过区块链购买原创作品,从而具备获取该原创作品全部作品内容的权限,进一步的可从区块链中获取(例如下载、查看)原创作品的全部作品内容。
以下先介绍原创用户将原创作品上链存证的过程:原创用户可使用安装有本公开区块链系统对应的客户端软件接入区块链,并上传原创作品的作品内容。所述客户端软件可视为区块链网络中的一个节点设备。原创用户上传的原创作品的作品内容可以登记交易的形式上链存证。也就是说,原创用户发起的登记交易中包含有原创作品的作品内容。
本公开中的原创作品的形式可包括文字类作品、音乐类作品、视频类作品、图片类作品、游戏类作品等各种可在网络中传播作品形式。
所述登记交易还包括创建智能合约的合约地址。所述创建智能合约中的合约代码对应的代码逻辑包括合约创建逻辑,该合约创建逻辑可用于在区块链上创建作品智能合约。
在区块链中节点设备接收到原创用户发起的原创作品的登记交易后,需要将所述登记交易发送给所述区块链中的其他节点设备,对所述登记交易进行共识处理;当所述登记交易共识通过后,响应于所述登记交易,调用与所述合约地址对应的创建智能合约中声明的合约创建逻辑,创建与所述原创作品对应的用于进行交易管理的作品智能合约,以及将所述原创作品的作品内容存储在区块链中。
其中,所述原创作品与所述作品智能合约的对应关系通过写入所述作品智能合约中 的原创作品的标识确定。
其中,所述原创作品的标识可是区块链基于原创作品的作品内容计算得到的哈希值。
此外,为了方便原创作品交易的自动执行,登记交易中还可包含原创用户指定的交易价格和作者账户。相应地,所述作品智能合约中还写入有所述登记交易中的交易价格和作者账户。
另外,为了方便原创作品的侵权判定的自动执行,所述作品智能合约中还写入有用于进行侵权判定的智能合约的合约地址。
通过上述步骤就完成了一件原创作品的上链存证过程,且为上链的原创作品部署一个作品智能合约。所述原创作品与作品智能合约一一对应。
以下介绍区块链上存证的原创作品交易的过程:
购买用户可使用安装有本公开区块链系统对应的客户端软件接入区块链,并针对想要购买的原创作品进行购买。所述客户端软件可视为区块链网络中的一个节点设备。购买用户的购买请求可以购买交易的形式上链存证。其中,所述购买交易包括所述原创作品的标识和所述购买用户的账户信息和所述原创作品对应的作品智能合约的合约地址。
由于原创作品上链存证时为原创作品生成了标识,且该原创作品的标识随登记交易的共识后会存储到区块链中每个节点设备本地。因此在购买用户发起购买某个原创作品的购买交易时,就会从本地将该原创作品的标识写入购买交易。
在区块链中节点设备接收到购买用户发起的原创作品的购买交易后,需要将所述购买交易发送给所述区块链中的其他节点设备,对所述购买交易进行共识处理;当所述购买交易共识通过后,响应于所述购买交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品。
如果是,进一步调用与所述合约地址对应的作品智能合约中声明的所述交易逻辑,基于所述购买用户的账户向所述原创作品的作者账户完成交易转账,并在完成交易转账后,将所述购买用户的账户信息登记至与所述作品智能合约关联的原创作品授权列表。
该实施例中,由于作品智能合约是购买用户选择调用的,不能保证这个作品智能合约是其想要购买的原创作品对应的作品智能合约。因此,首先需要先校验购买的目标原创作品是否是调用的作品智能合约管理的原则作品。
在是的情况下,才正式执行交易逻辑。如前所述,作品智能合约中写入有交易价格和作者账户。相应的,所述基于所述购买用户的账户向所述原创作品的作者账户完成交易转账,就可包括:基于所述作品智能合约中维护的所述原创作品的交易价格和作者账户,从所述购买用户的账户向所述原创作品的作者账户完成所述交易价格的转账。
其中,所述交易价格是指购买用户购买这个原创作品所需支付的价格。所述作者账户是指购买用户支付的资金转入的账户。如果所述作者账户是指区块链中的用户账户,那么说明交易是通过区块链线上实现的,具体是指区块链中从购买用户账户余额(Balance)向作者账户余额之间代币(交易价格的代表)的转移。而如果所述作者账户是指区块链之外的账户,说明交易是通过区块链线上指示线下执行交易,具体是指区块链向线下合作的结算机构指示执行交易,由线下的结算机构从购买用户账户向作者用户账户完成资金(交易价格的资金)的转账。
且在完成交易转账后,将所述购买用户的账户信息登记至与所述作品智能合约关联的原创作品授权列表。登记到授权列表中的账户信息对应的用户就有权限从所述区块链中获取所述原创作品的全部作品内容。
其中,随着购买用户的增加,一个授权列表可能不够,作品智能合约可能需要关联多个授权列表。这些授权列表之间可采用链表、默克尔树(merkle tree)等方式连接。
通过上述实施例,本公开提供了一种原创作品交易的区块链系统。通过为每个上链存证的原创作品部署对应的用于进行交易管理的作品智能合约,以及该作品智能合约关联的用于记录购买用户的账户信息的授权列表。当区块链的节点设备在接收到购买用户发起的原创作品的购买交易时,只需调用该原创作品对应的作品智能合约就可完成交易转账和将所述购买用户的账户信息登记至与所述作品智能合约关联的原创作品授权列表;而无需每次都访问原创作品的原始内容。实现了将存证在区块链上的原创作品与作品交易逻辑解绑。由于智能合约可同时被大量调用,因此基于作品智能合约的原创作品交易可满足高并发交易的需求。
以下介绍查询用户通过区块链查看原创作品的过程:由于原创作品享有著作权等权益,本公开针对未购买用户和已购买用户分别提供两种不同的查看流程。其中,针对未购买用户,区块链仅返回原创作品的部分作品内容给查询用户;针对已购买用户,区块链返回原创作品的全部作品内容给查询用户。
查询用户可使用安装有本公开区块链系统对应的客户端软件接入区块链,并针对想要查看的原创作品进行查询。所述客户端软件可视为区块链网络中的一个节点设备。查询用户的查询请求可以查询交易的形式上链存证。其中,所述查询交易包括所述原创作品的标识和所述查询用户的账户信息和所述原创作品对应的作品智能合约的合约地址。即查询交易也是作品智能合约,因此作品智能合约中的合约代码对应的代码逻辑还可包括针对所述原创作品的查询逻辑。
由于原创作品上链存证时为原创作品生成了标识,且该原创作品的标识随登记交易的共识后会存储到区块链中每个节点设备本地。因此在查询用户发起查询某个原创作品的查询交易时,就会从本地将该原创作品的标识写入查询交易。
在区块链中节点设备接收到查询用户发起的针对原创作品的查询交易后,需要将所 述查询交易发送给所述区块链中的其他节点设备,对所述查询交易进行共识处理;当所述查询交易共识通过后,响应于所述查询交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述原创作品的标识对应的原创作品是否为所述智能合约管理的原创作品;如果是,进一步调用与所述合约地址对应的作品智能合约中声明的查询逻辑,查询所述作品智能合约关联的授权列表中是否存在所述查询用户的账户信息;如果存在,将所述区块链中存储的所述原创作品的标识对应的原创作品的全部作品内容返回给所述查询用户。
如果所述作品智能合约关联的授权列表中不存在所述查询用户的账户信息,将所述区块链中存储的所述原创作品的标识对应的原创作品的部分作品内容返回给所述查询用户。
该实施例中,由于作品智能合约是查询用户选择调用的,不能保证这个作品智能合约是其想要查看的原创作品对应的作品智能合约。因此,首先需要先校验查看的目标原创作品是否是调用的作品智能合约管理的原则作品。
在是的情况下,才正式执行查询逻辑。对于账户信息位于授权列表的已购买用户返回原创作品的全部作品内容;而对于账户信息不位于授权列表的未购买用户返回原创作品的部分作品内容。
其中,所述原创作品的部分作品内容例如为:在原创作品为文学作品时,所述部分作品内容为文学作品的简介内容;在原创作品为音乐作品时,所述部分作品内容为音乐作品的试听内容;在原创作品为视频作品时,所述部分作品内容为视频作品的前预设时长的内容;在原创作品为游戏作品时,所述部分作品内容为游戏作品的试玩内容;在原创作品为图片作品时,所述部分作品内容为图片作品的低分辨率图片。
通过上述实施例,针对未购买用户,区块链仅返回原创作品的部分作品内容给查询用户,即保障了已购买用户的权益,也保障了原创作者的权益。
以下介绍举证用户对区块链上存证的原创作品进行侵权判定的过程:在实际应用中,区块链系统可对发起上链存证的原创作品进行侵权判定,对于侵权未通过的原创作品无法达成共识,因此无法上链存证,区块链只会存证通过检测的原创作品。但是,受限于作品库中用于与原创作品进行侵权判定的样本作品的数量和类型,作品库无法做到收集所有的样本作品。因此也无法保证上链时检测通过的原创作品一定是原创的,即上链存证的原创作品也可能侵犯了其他作品的权益。为此,本公开提供了主动举证的侵权判定方案。由举证用户提供用于对第一原创作品(待检测原创作品)进行侵权判定的第二原创作品(被侵权原创作品)。
该实施例中,举证用户使用安装有本公开区块链系统对应的客户端软件接入区块链,并针对待检测作品发起侵权判定请求。所述客户端软件可视为区块链网络中的一个节点设备。举证用户的侵权判定请求可以侵权判定交易的形式上链存证。其中,所述侵权判 定交易包括所述第一原创作品的标识和第二原创作品的标识和所述第一原创作品对应的作品智能合约的合约地址。
由于原创作品上链存证时为原创作品生成了标识,且该原创作品的标识随登记交易的共识后会存储到区块链中每个节点设备本地。因此在举证用户发起针对某个原创作品的侵权判定交易时,就会从本地将该原创作品的标识写入侵权判定交易。
在区块链中节点设备接收到举证用户发起的针对第一原创作品的侵权判定交易后,需要将所述侵权判定交易发送给所述区块链中的其他节点设备,对所述侵权判定交易进行共识处理;当所述侵权判定交易共识通过后,响应于所述侵权判定交易,调用与所述合约地址对应的作品智能合约中声明的原创作品校验逻辑,校验与所述第一原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;如果是,基于所述作品智能合约中声明的合约地址,进一步调用与所述作品智能合约中声明的合约地址对应的侵权判定智能合约中声明的侵权判定逻辑,对所述第一原创作品和所述第二原创作品进行侵权判定。
该实施例中,由于作品智能合约是举证用户选择调用的,不能保证这个作品智能合约是其想要举证的第一原创作品对应的作品智能合约。因此,首先需要先校验第一原创作品是否是调用的作品智能合约管理的原则作品。
在是的情况下,获取所述作品智能合约中声明的合约地址。如前原创作品登记过程中所述的,新创建的作品智能合约中写入有用于进行侵权判定的侵权判定智能合约的合约地址。其中,所述侵权判定智能合约对应的代码逻辑包括侵权判定逻辑。因此,这里可进一步调用与所述合约地址对应的侵权判定智能合约中声明的侵权判定逻辑,对所述第一原创作品和所述第二原创作品进行侵权判定。
其中,所述对所述第一原创作品和所述第二原创作品进行侵权判定,包括:判断被第二原创作品的上链时刻是否早于第一原创作品的上链时刻,以及所述第一原创作品和所述第二原创作品之间的相似度;在第二原创作品的上链时刻早于第一原创作品的上链时刻,且所述第一原创作品和所述第二原创作品之间的相似度达到阈值时,确定所述第一原创作品侵权第二原创作品。
在实际应用中,如果第二原创作品的上链时刻晚于第一原创作品的上链时刻,则说明第一原创作品未抄袭第二原创作品;进而确定第一原创作品的侵权判定结果为不侵权。
如果第二原创作品的上链时刻早于第一原创作品的上链时刻,则继续判断所述第一原创作品和所述第二原创作品之间的相似度是否到达阈值;如果相似度未达到阈值,则说明第一原创作品未抄袭第二原创作品;进而确定第一原创作品的侵权判定结果为不侵权。
其中,所述相似度的计算可借助成熟的检测算法。以及可通过不同领域细分不 同的算法,通过多种算法提高检测的精度和范围。
通过上述实施例,区块链上存证的数据具有不可篡改的特性,当原创作品上链存证后,其上链时刻和上链存证的作品内容就无法被修改。因此在产生侵权纠纷时,可直接将区块链上存证的原创作品作为侵权判断的依据,保证侵权检测过程的真实可信。
以下进一步介绍一种基于区块链的原创作品侵权处理的实施例,与图6实施例相同的,应用于区块链中的节点设备,所述区块链部署了用于对原创作品进行交易管理的作品智能合约和进行侵权判定的侵权判定智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑,所述侵权判定智能合约对应的代码逻辑包括侵权判定逻辑,不同的原创作品分别对应不用的作品智能合约,包括:
接收举证用户发起的针对第一原创作品的侵权判定交易,所述侵权判定交易包括所述第一原创作品的标识和第二原创作品的标识和所述第一原创作品对应的作品智能合约的合约地址;将所述侵权判定交易发送给所述区块链中的其他节点设备,对所述侵权判定交易进行共识处理;当所述侵权判定交易共识通过后,响应于所述侵权判定交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述第一原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;如果是,基于所述作品智能合约中声明的合约地址,进一步调用与所述作品智能合约中声明的合约地址对应的侵权判定智能合约中声明的侵权判定逻辑,对所述第一原创作品和所述第二原创作品进行侵权判定;如果判定所述第一原创作品侵权第二原创作品且所述第二原创作品未存证于所述区块链,基于所述第一原创作品的授权列表中记录的购买用户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用返还给各个购买用户的账户,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表。
该实施例与前述介绍的举证用户对区块链上存证的原创作品进行侵权判定的过程相同,但是多了原创作品被判定侵权后的处理过程。
具体的,如果所述第二原创作品存证于所述区块链,所述侵权判定逻辑还包括:如果判定所述第一原创作品侵权第二原创作品,基于所述第一原创作品的授权列表中记录的购买用户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用转账给所述第二原创作品的作者账户,并将所述购买用户信息写入所述第二原创作品的授权列表,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表;所述第二原创作品的授权列表为第二原创作品对应的作品智能合约所关联的授权列表。
该实施例中,针对侵权的第一原创作品,如果被侵权的第二原创作品同样存证于区块链,那么可直接获取到第二原创作品的作者账户。这样就可将第一原创作品收取的收益转账给第二原创作品的作者账户。另外,对于侵权的第一原创作品,由于区块链 上存证的数据无法被删除,为了保证被侵权作者的权益,需要将侵权的第一原创作品屏蔽,使得任何用户都无法查看。
在实际应用中,举证用户提供的第二原创作品可是未存证在区块链中;对于这种情况,区块链的节点设备就无法获取被侵权的第二原创作品的作者账户了。为此本公开还提供了如下基于区块链的原创作品侵权处理的实施例,与图6实施例相同的,应用于区块链中的节点设备,所述区块链部署了用于对原创作品进行交易管理的作品智能合约和进行侵权判定的侵权判定智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑,所述侵权判定智能合约对应的代码逻辑包括侵权判定逻辑,不同的原创作品分别对应不用的作品智能合约,包括:接收举证用户发起的针对第一原创作品的侵权判定交易,所述侵权判定交易包括所述第一原创作品的标识和第二原创作品的标识和所述第一原创作品对应的作品智能合约的合约地址;将所述侵权判定交易发送给所述区块链中的其他节点设备,对所述侵权判定交易进行共识处理;当所述侵权判定交易共识通过后,响应于所述侵权判定交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述第一原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;如果是,基于所述作品智能合约中声明的合约地址,进一步调用与所述作品智能合约中声明的合约地址对应的侵权判定智能合约中声明的侵权判定逻辑,对所述第一原创作品和所述第二原创作品进行侵权判定;如果判定所述第一原创作品侵权第二原创作品且所述第二原创作品未存证于所述区块链,基于所述第一原创作品的授权列表中记录的购买用户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用返还给各个购买用户的账户,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表。
该实施例与前述介绍的举证用户对区块链上存证的原创作品进行侵权判定的过程相同,但是多了原创作品被判定侵权后的处理过程。
具体的,如果所述第二原创作品未存证于所述区块链,所述侵权判定逻辑还包括:如果判定所述第一原创作品侵权第二原创作品,基于所述第一原创作品的授权列表中记录的购买用户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用返还给各个购买用户的账户,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表。
该实施例中,针对侵权的第一原创作品,如果被侵权的第二原创作品未存证于区块链,那么可将第一原创作品收取的收益退还给各个购买用户的账户。另外,对于侵权的第一原创作品,由于区块链上存证的数据无法被删除,为了保证被侵权作者的权益,需要将侵权的第一原创作品屏蔽,使得任何用户都无法查看。
另外在实际应用中,侵权的原创作品的用户可能会随时将购买用户支付的交易费提现。为了避免被侵权用户无法及时发现侵权用户的侵权行为而导致的权益损失,本 公开针对前述介绍的区块链上存证的原创作品交易还提供了如下实施例:将所述交易逻辑中基于所述购买用户的账户向所述原创作品的作者账户完成交易转账,这个交易转账设置为在预设时长后执行的定时转账。
如此所述预设时间相当于为交易提供了一个公示期,这公示期内作者账户无法获取这笔转账。从而为被侵权作者争取维权时间。
通过上述实施例,在确定区块链上原创作品侵权后,还可基于该原创作品对应的作品智能合约关联的授权列表中记录的购买用户的账户信息实现资金追回。
与上述方法实施例相对应,本公开还提供了一种基于区块链的原创作品交易装置的实施例。
本公开基于区块链的分级存储装置的实施例可应用在电子设备上。装置实施例可通过软件实现,也可通过硬件或者软硬件结合的方式实现。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在电子设备的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。
从硬件层面而言,如图5所示,为本公开基于区块链的原创作品交易装置所在电子设备的一种硬件结构图,除了图5所示的处理器、内存、网络接口、以及非易失性存储器之外,实施例中装置所在的电子设备通常根据该电子设备的实际功能,还可包括其他硬件,对此不再赘述。
图6是本公开一示例性实施例示出的一种基于区块链的原创作品交易装置的框图。
请参考图6,所述基于区块链的原创作品交易装置可应用在前述图5所示的电子设备中,所述区块链部署了用于对原创作品进行交易管理的作品智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑和交易逻辑,不同的原创作品分别对应不同的作品智能合约;所述装置包括:接收单元602,接收购买用户发起的针对原创作品的购买交易,所述购买交易包括所述原创作品的标识和所述购买用户的账户信息和所述原创作品对应的作品智能合约的合约地址;共识单元604,将所述购买交易发送给所述区块链中的其他节点设备,对所述购买交易进行共识处理;响应单元606,当所述购买交易共识通过后,响应于所述购买交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;交易单元608,如果是,进一步调用与所述合约地址对应的作品智能合约中声明的所述交易逻辑,基于所述购买用户的账户向所述原创作品的作者账户完成交易转账,并在完成交易转账后,将所述购买用户的账户信息登记至与所述作品智能合约关联的原创作品授权列表。
可选的,所述装置还包括:登记接收单元,接收原创用户发起的针对原创作品的登记交易,所述登记交易包括所述原创作品的作品内容、所述原创用户指定的交易价 格和作者账户和创建智能合约的合约地址;所述共识单元604还用于,将所述登记交易发送给所述区块链中的其他节点设备,对所述登记交易进行共识处理;登记响应单元,当所述登记交易共识通过后,响应于所述登记交易,调用与所述合约地址对应的创建智能合约中声明的合约创建逻辑,创建与所述原创作品对应的用于进行交易管理的作品智能合约,以及将所述原创作品的作品内容存储在区块链中,所述原创作品与所述作品智能合约的对应关系通过写入所述作品智能合约中的原创作品的标识确定,且所述作品智能合约中还写入有所述登记交易中的交易价格和作者账户。
可选的,所述装置还包括:查询接收单元,接收查询用户发起的针对原创作品的查询交易,所述查询交易包括所述原创作品的标识和所述查询用户的账户信息和所述原创作品对应的作品智能合约的合约地址;所述共识单元604还用于,将所述查询交易发送给所述区块链中的其他节点设备,对所述查询交易进行共识处理;查询校验单元,当所述查询交易共识通过后,响应于所述查询交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述原创作品的标识对应的原创作品是否为所述智能合约管理的原创作品;查询反馈单元,如果是,进一步调用与所述合约地址对应的作品智能合约中声明的查询逻辑,查询所述作品智能合约关联的授权列表中是否存在所述查询用户的账户信息;如果存在,将所述区块链中存储的所述原创作品的标识对应的原创作品的全部作品内容返回给所述查询用户。
可选的,所述作品智能合约中声明的查询逻辑,还包括:如果所述作品智能合约关联的授权列表中不存在所述查询用户的账户信息,将所述区块链中存储的所述原创作品的标识对应的原创作品的部分作品内容返回给所述查询用户。
可选的,所述装置还包括:侵权接收单元,接收举证用户发起的针对第一原创作品的侵权判定交易,所述侵权判定交易包括所述第一原创作品的标识和第二原创作品的标识和所述第一原创作品对应的作品智能合约的合约地址;所述共识单元604还用于,将所述侵权判定交易发送给所述区块链中的其他节点设备,对所述侵权判定交易进行共识处理;侵权校验单元,当所述侵权判定交易共识通过后,响应于所述侵权判定交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述第一原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;侵权判定单元,如果是,基于所述作品智能合约中声明的合约地址,进一步调用与所述作品智能合约中声明的合约地址对应的侵权判定智能合约中声明的侵权判定逻辑,对所述第一原创作品和所述第二原创作品进行侵权判定。
可选的,侵权判定单元中,对所述第一原创作品和所述第二原创作品进行侵权判定,包括:判断被第二原创作品的上链时刻是否早于第一原创作品的上链时刻,以及所述第一原创作品和所述第二原创作品之间的相似度;在第二原创作品的上链时刻早于第一原创作品的上链时刻,且所述第一原创作品和所述第二原创作品之间的相似度达到阈值时,确定所述第一原创作品侵权第二原创作品。
可选的,所述侵权判定逻辑还包括:如果判定所述第一原创作品侵权第二原创作品且所述第二原创作品存证于所述区块链,基于所述第一原创作品的授权列表中记录的购买用户的账户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用转账给所述第二原创作品的作者账户,并将所述购买用户的账户信息写入所述第二原创作品的授权列表,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表;所述第二原创作品的授权列表为第二原创作品对应的作品智能合约所关联的授权列表。
可选的,所述侵权判定逻辑还包括:如果判定所述第一原创作品侵权第二原创作品且所述第二原创作品未存证于所述区块链,基于所述第一原创作品的授权列表中记录的购买用户的账户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用返还给各个购买用户的账户,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表。
可选的,所述交易转账为在预设时长后执行的定时转账。
与上述基于区块链的原创作品侵权处理方法实施例相对应,本公开还提供了一种基于区块链的原创作品侵权处理装置的实施例。
本公开基于区块链的原创作品侵权处理装置的实施例可应用在电子设备上。装置实施例可通过软件实现,也可通过硬件或者软硬件结合的方式实现。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在电子设备的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。
从硬件层面而言,本公开基于区块链的原创作品侵权处理装置所在电子设备的一种硬件结构图,除了处理器、内存、网络接口、以及非易失性存储器之外,实施例中装置所在的电子设备通常根据该电子设备的实际功能,还可包括其他硬件,对此不再赘述。
其中一个基于区块链的原创作品交易装置可应用在前述所示的电子设备中,所述区块链部署了用于对原创作品进行交易管理的作品智能合约和进行侵权判定的侵权判定智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑,所述侵权判定智能合约对应的代码逻辑包括侵权判定逻辑,不同的原创作品分别对应不同的作品智能合约;所述装置包括:接收单元,接收举证用户发起的针对第一原创作品的侵权判定交易,所述侵权判定交易包括所述第一原创作品的标识和第二原创作品的标识和所述第一原创作品对应的作品智能合约的合约地址;共识单元,将所述侵权判定交易发送给所述区块链中的其他节点设备,对所述侵权判定交易进行共识处理;响应单元,当所述侵权判定交易共识通过后,响应于所述侵权判定交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述第一原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;判定单元,如果是, 基于所述作品智能合约中声明的合约地址,进一步调用与所述作品智能合约中声明的合约地址对应的侵权判定智能合约中声明的侵权判定逻辑,对所述第一原创作品和所述第二原创作品进行侵权判定;如果判定所述第一原创作品侵权第二原创作品且所述第二原创作品存证于所述区块链,基于所述第一原创作品的授权列表中记录的购买用户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用转账给所述第二原创作品的作者账户,并将所述购买用户信息写入所述第二原创作品的授权列表,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表;所述第二原创作品的授权列表为第二原创作品对应的作品智能合约所关联的授权列表。
另一个基于区块链的原创作品交易装置可应用在前述所示的电子设备中,所述区块链部署了用于对原创作品进行交易管理的作品智能合约和进行侵权判定的侵权判定智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑,所述侵权判定智能合约对应的代码逻辑包括侵权判定逻辑,不同的原创作品分别对应不同的作品智能合约;所述装置包括:接收单元,接收举证用户发起的针对第一原创作品的侵权判定交易,所述侵权判定交易包括所述第一原创作品的标识和第二原创作品的标识和所述第一原创作品对应的作品智能合约的合约地址;共识单元,将所述侵权判定交易发送给所述区块链中的其他节点设备,对所述侵权判定交易进行共识处理;响应单元,当所述侵权判定交易共识通过后,响应于所述侵权判定交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述第一原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;判定单元,如果是,基于所述作品智能合约中声明的合约地址,进一步调用与所述作品智能合约中声明的合约地址对应的侵权判定智能合约中声明的侵权判定逻辑,对所述第一原创作品和所述第二原创作品进行侵权判定;如果判定所述第一原创作品侵权第二原创作品且所述第二原创作品未存证于所述区块链,基于所述第一原创作品的授权列表中记录的购买用户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用返还给各个购买用户的账户,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表。
上述实施例阐明的系统、装置、模块或单元,具体可由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。
在一个典型的配置中,计算机包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。计算机可读介质包括永久性和非永久性、可移动和非可移动媒 体可由任何方法或技术来实现信息存储。信息可是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带、磁盘存储、量子存储器、基于石墨烯的存储介质或其他磁性存储设备或任何其他非传输介质,可用于存储可被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
上述对本公开特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可按照不同于实施例中的顺序来执行且仍然可实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实现方式中,多任务处理和并行处理也是可的或者可能是有利的。
在本公开一个或多个实施例使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开一个或多个实施例。在本公开一个或多个实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
应当理解,尽管在本公开一个或多个实施例可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开一个或多个实施例范围的情况下,第一信息也可被称为第二信息,类似地,第二信息也可被称为第一信息。取决于语境,如在此所使用的词语“如果”可被解释成为“在……时”或“当……时”或“响应于确定”。
以上所述仅为本公开一个或多个实施例的较佳实施例而已,并不用以限制本公开一个或多个实施例,凡在本公开一个或多个实施例的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本公开一个或多个实施例保护的范围之内。

Claims (15)

  1. 一种基于区块链的原创作品交易方法,所述方法应用于区块链中的节点设备,所述区块链部署了用于对原创作品进行交易管理的作品智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑和交易逻辑,不同的原创作品分别对应不同的作品智能合约;所述方法包括:
    接收购买用户发起的针对原创作品的购买交易,所述购买交易包括所述原创作品的标识和所述购买用户的账户信息和所述原创作品对应的作品智能合约的合约地址;
    将所述购买交易发送给所述区块链中的其他节点设备,对所述购买交易进行共识处理;
    当所述购买交易共识通过后,响应于所述购买交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;
    如果是,进一步调用与所述合约地址对应的作品智能合约中声明的所述交易逻辑,基于所述购买用户的账户向所述原创作品的作者账户完成交易转账,并在完成交易转账后,将所述购买用户的账户信息登记至与所述作品智能合约关联的原创作品授权列表。
  2. 根据权利要求1所述的方法,所述方法还包括:
    接收原创用户发起的针对原创作品的登记交易,所述登记交易包括所述原创作品的作品内容、所述原创用户指定的交易价格和作者账户和创建智能合约的合约地址;
    将所述登记交易发送给所述区块链中的其他节点设备,对所述登记交易进行共识处理;
    当所述登记交易共识通过后,响应于所述登记交易,调用与所述合约地址对应的创建智能合约中声明的合约创建逻辑,创建与所述原创作品对应的用于进行交易管理的作品智能合约,以及将所述原创作品的作品内容存储在区块链中,所述原创作品与所述作品智能合约的对应关系通过写入所述作品智能合约中的原创作品的标识确定,且所述作品智能合约中还写入有所述登记交易中的交易价格和作者账户。
  3. 根据权利要求1所述的方法,所述方法还包括:
    接收查询用户发起的针对原创作品的查询交易,所述查询交易包括所述原创作品的标识和所述查询用户的账户信息和所述原创作品对应的作品智能合约的合约地址;
    将所述查询交易发送给所述区块链中的其他节点设备,对所述查询交易进行共识处理;
    当所述查询交易共识通过后,响应于所述查询交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述原创作品的标识对应的原创作品是否为所述智能合约管理的原创作品;
    如果是,进一步调用与所述合约地址对应的作品智能合约中声明的查询逻辑,查询所述作品智能合约关联的授权列表中是否存在所述查询用户的账户信息;如果存在,将所述区块链中存储的所述原创作品的标识对应的原创作品的全部作品内容返回给所述 查询用户。
  4. 根据权利要求3所述的方法,所述作品智能合约中声明的查询逻辑,还包括:
    如果所述作品智能合约关联的授权列表中不存在所述查询用户的账户信息,将所述区块链中存储的所述原创作品的标识对应的原创作品的部分作品内容返回给所述查询用户。
  5. 根据权利要求1所述的方法,所述方法还包括:
    接收举证用户发起的针对第一原创作品的侵权判定交易,所述侵权判定交易包括所述第一原创作品的标识和第二原创作品的标识和所述第一原创作品对应的作品智能合约的合约地址;
    将所述侵权判定交易发送给所述区块链中的其他节点设备,对所述侵权判定交易进行共识处理;
    当所述侵权判定交易共识通过后,响应于所述侵权判定交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述第一原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;
    如果是,基于所述作品智能合约中声明的合约地址,进一步调用与所述作品智能合约中声明的合约地址对应的侵权判定智能合约中声明的侵权判定逻辑,对所述第一原创作品和所述第二原创作品进行侵权判定。
  6. 根据权利要求5所述的方法,对所述第一原创作品和所述第二原创作品进行侵权判定,包括:
    判断被第二原创作品的上链时刻是否早于第一原创作品的上链时刻,以及所述第一原创作品和所述第二原创作品之间的相似度;
    在第二原创作品的上链时刻早于第一原创作品的上链时刻,且所述第一原创作品和所述第二原创作品之间的相似度达到阈值时,确定所述第一原创作品侵权第二原创作品。
  7. 根据权利要求5所述的方法,如果所述第二原创作品存证于所述区块链,所述侵权判定逻辑还包括:
    如果判定所述第一原创作品侵权第二原创作品,基于所述第一原创作品的授权列表中记录的购买用户的账户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用转账给所述第二原创作品的作者账户,并将所述购买用户的账户信息写入所述第二原创作品的授权列表,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表;所述第二原创作品的授权列表为第二原创作品对应的作品智能合约所关联的授权列表。
  8. 根据权利要求5所述的方法,如果所述第二原创作品未存证于所述区块链,所述侵权判定逻辑还包括:
    如果判定所述第一原创作品侵权第二原创作品,基于所述第一原创作品的授权列表中记录的购买用户的账户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用返还给各个购买用户的账户,所述第一原创作品的授权列表为第一原创作品对 应的作品智能合约所关联的授权列表。
  9. 根据权利要求1所述的方法,所述交易转账为在预设时长后执行的定时转账。
  10. 一种基于区块链的原创作品侵权处理方法,所述方法应用于区块链中的节点设备,所述区块链部署了用于对原创作品进行交易管理的作品智能合约和进行侵权判定的侵权判定智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑,所述侵权判定智能合约对应的代码逻辑包括侵权判定逻辑,不同的原创作品分别对应不用的作品智能合约;所述方法包括:
    接收举证用户发起的针对第一原创作品的侵权判定交易,所述侵权判定交易包括所述第一原创作品的标识和第二原创作品的标识和所述第一原创作品对应的作品智能合约的合约地址;
    将所述侵权判定交易发送给所述区块链中的其他节点设备,对所述侵权判定交易进行共识处理;
    当所述侵权判定交易共识通过后,响应于所述侵权判定交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述第一原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;
    如果是,基于所述作品智能合约中声明的合约地址,进一步调用与所述作品智能合约中声明的合约地址对应的侵权判定智能合约中声明的侵权判定逻辑,对所述第一原创作品和所述第二原创作品进行侵权判定;如果判定所述第一原创作品侵权第二原创作品且所述第二原创作品存证于所述区块链,基于所述第一原创作品的授权列表中记录的购买用户的账户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用转账给所述第二原创作品的作者账户,并将所述购买用户的账户信息写入所述第二原创作品的授权列表,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表;所述第二原创作品的授权列表为第二原创作品对应的作品智能合约所关联的授权列表。
  11. 一种基于区块链的原创作品侵权处理方法,所述方法应用于区块链中的节点设备,所述区块链部署了用于对原创作品进行交易管理的作品智能合约和进行侵权判定的侵权判定智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑,所述侵权判定智能合约对应的代码逻辑包括侵权判定逻辑,不同的原创作品分别对应不用的作品智能合约;所述方法包括:
    接收举证用户发起的针对第一原创作品的侵权判定交易,所述侵权判定交易包括所述第一原创作品的标识和第二原创作品的标识和所述第一原创作品对应的作品智能合约的合约地址;
    将所述侵权判定交易发送给所述区块链中的其他节点设备,对所述侵权判定交易进行共识处理;
    当所述侵权判定交易共识通过后,响应于所述侵权判定交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述第一原创作品的标识 对应的原创作品是否为所述作品智能合约管理的原创作品;
    如果是,基于所述作品智能合约中声明的合约地址,进一步调用与所述作品智能合约中声明的合约地址对应的侵权判定智能合约中声明的侵权判定逻辑,对所述第一原创作品和所述第二原创作品进行侵权判定;如果判定所述第一原创作品侵权第二原创作品且所述第二原创作品未存证于所述区块链,基于所述第一原创作品的授权列表中记录的购买用户的账户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用返还给各个购买用户的账户,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表。
  12. 一种基于区块链的原创作品交易装置,应用于区块链中的节点设备,所述区块链部署了用于对原创作品进行交易管理的作品智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑和交易逻辑,不同的原创作品分别对应不同的作品智能合约,所述装置包括:
    接收单元,接收购买用户发起的针对原创作品的购买交易,所述购买交易包括所述原创作品的标识和所述购买用户的账户信息和所述原创作品对应的作品智能合约的合约地址;
    共识单元,将所述购买交易发送给所述区块链中的其他节点设备,对所述购买交易进行共识处理;
    响应单元,当所述购买交易共识通过后,响应于所述购买交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;
    交易单元,如果是,进一步调用与所述合约地址对应的作品智能合约中声明的所述交易逻辑,基于所述购买用户的账户向所述原创作品的作者账户完成交易转账,并在完成交易转账后,将所述购买用户的账户信息登记至与所述作品智能合约关联的原创作品授权列表。
  13. 一种基于区块链的原创作品侵权处理装置,应用于区块链中的节点设备,所述区块链部署了用于对原创作品进行交易管理的作品智能合约和进行侵权判定的侵权判定智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑,所述侵权判定智能合约对应的代码逻辑包括侵权判定逻辑,不同的原创作品分别对应不同的作品智能合约,所述装置包括:
    接收单元,接收举证用户发起的针对第一原创作品的侵权判定交易,所述侵权判定交易包括所述第一原创作品的标识和第二原创作品的标识和所述第一原创作品对应的作品智能合约的合约地址;
    共识单元,将所述侵权判定交易发送给所述区块链中的其他节点设备,对所述侵权判定交易进行共识处理;
    响应单元,当所述侵权判定交易共识通过后,响应于所述侵权判定交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述第一原创 作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;
    判定单元,如果是,基于所述作品智能合约中声明的合约地址,进一步调用与所述作品智能合约中声明的合约地址对应的侵权判定智能合约中声明的侵权判定逻辑,对所述第一原创作品和所述第二原创作品进行侵权判定;如果判定所述第一原创作品侵权第二原创作品且所述第二原创作品存证于所述区块链,基于所述第一原创作品的授权列表中记录的购买用户的账户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用转账给所述第二原创作品的作者账户,并将所述购买用户的账户信息写入所述第二原创作品的授权列表,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表;所述第二原创作品的授权列表为第二原创作品对应的作品智能合约所关联的授权列表。
  14. 一种基于区块链的原创作品侵权处理装置,应用于区块链中的节点设备,所述区块链部署了用于对原创作品进行交易管理的作品智能合约和进行侵权判定的侵权判定智能合约;所述作品智能合约中的合约代码对应的代码逻辑包括针对所述原创作品校验逻辑,所述侵权判定智能合约对应的代码逻辑包括侵权判定逻辑,不同的原创作品分别对应不同的作品智能合约,所述装置包括:
    接收单元,接收举证用户发起的针对第一原创作品的侵权判定交易,所述侵权判定交易包括所述第一原创作品的标识和第二原创作品的标识和所述第一原创作品对应的作品智能合约的合约地址;
    共识单元,将所述侵权判定交易发送给所述区块链中的其他节点设备,对所述侵权判定交易进行共识处理;
    响应单元,当所述侵权判定交易共识通过后,响应于所述侵权判定交易,调用与所述合约地址对应的作品智能合约中声明的所述原创作品校验逻辑,校验与所述第一原创作品的标识对应的原创作品是否为所述作品智能合约管理的原创作品;
    判定单元,如果是,基于所述作品智能合约中声明的合约地址,进一步调用与所述作品智能合约中声明的合约地址对应的侵权判定智能合约中声明的侵权判定逻辑,对所述第一原创作品和所述第二原创作品进行侵权判定;如果判定所述第一原创作品侵权第二原创作品且所述第二原创作品未存证于所述区块链,基于所述第一原创作品的授权列表中记录的购买用户的账户信息,从所述第一原创作品的作者账户中将各购买用户支付的交易费用返还给各个购买用户的账户,所述第一原创作品的授权列表为第一原创作品对应的作品智能合约所关联的授权列表。
  15. 一种电子设备,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器通过运行所述可执行指令以实现如权利要求1-11中任一项所述的方法。
PCT/CN2021/100713 2020-06-24 2021-06-17 基于区块链的原创作品交易方法及装置和电子设备 WO2021259140A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010585467.2A CN111476667B (zh) 2020-06-24 2020-06-24 基于区块链的原创作品交易方法及装置和电子设备
CN202010585467.2 2020-06-24

Publications (1)

Publication Number Publication Date
WO2021259140A1 true WO2021259140A1 (zh) 2021-12-30

Family

ID=71763960

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/100713 WO2021259140A1 (zh) 2020-06-24 2021-06-17 基于区块链的原创作品交易方法及装置和电子设备

Country Status (2)

Country Link
CN (2) CN112819616A (zh)
WO (1) WO2021259140A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115439249A (zh) * 2022-09-01 2022-12-06 国网区块链科技(北京)有限公司 一种跨区块链的业务服务实现方法、装置和系统
CN115567321A (zh) * 2022-11-14 2023-01-03 安徽中科晶格技术有限公司 基于内置预言机合约的跨链系统及方法

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112819616A (zh) * 2020-06-24 2021-05-18 支付宝(杭州)信息技术有限公司 基于区块链的原创作品交易方法及装置和电子设备
CN112650978B (zh) * 2020-08-14 2023-01-20 支付宝(杭州)信息技术有限公司 基于区块链的侵权检测方法及装置、电子设备
CN112132684B (zh) * 2020-09-23 2024-01-26 上海万向区块链股份公司 一种基于预言机锁组的结算方法及系统
CN112184453A (zh) * 2020-11-06 2021-01-05 上海优扬新媒信息技术有限公司 基于区块链的信息的处理方法、区块链节点以及存储介质
CN112363991B (zh) * 2020-11-10 2024-03-22 上海保险交易所股份有限公司 区块链数据登记方法和装置
CN112434264A (zh) * 2021-01-27 2021-03-02 支付宝(杭州)信息技术有限公司 基于区块链的侵权处理方法及装置、电子设备
CN113011894B (zh) * 2021-03-29 2023-04-07 昆明理工大学 一种基于可信计算与智能合约的金融衍生品数字交易系统
CN113095966B (zh) * 2021-04-28 2022-04-19 支付宝(杭州)信息技术有限公司 基于区块链的版权认证方法及装置、电子设备
CN113628052A (zh) * 2021-08-18 2021-11-09 杭州云象网络技术有限公司 基于预言机的区块链资产与合约处理方法、系统及装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109636367A (zh) * 2018-12-14 2019-04-16 浙江工商大学 一种基于智能合约的多源数字教育资源确权方法
KR102044008B1 (ko) * 2019-05-07 2019-11-12 옥철식 가상 현실 세계의 신원 인증 관리 시스템
CN110472201A (zh) * 2019-07-26 2019-11-19 阿里巴巴集团控股有限公司 基于区块链的文本相似性检测方法及装置、电子设备
CN111027028A (zh) * 2019-12-04 2020-04-17 腾讯科技(深圳)有限公司 基于智能合约的版权数据处理方法以及装置
CN111125778A (zh) * 2019-12-16 2020-05-08 腾讯科技(深圳)有限公司 一种版权交易信息的处理方法及装置
IN202041018673A (zh) * 2020-05-01 2020-06-05
CN111476667A (zh) * 2020-06-24 2020-07-31 支付宝(杭州)信息技术有限公司 基于区块链的原创作品交易方法及装置和电子设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108550041A (zh) * 2018-03-20 2018-09-18 深圳市元征科技股份有限公司 保护原创作品的方法、装置和终端
CN110458676A (zh) * 2019-07-31 2019-11-15 阿里巴巴集团控股有限公司 基于区块链的权益转移方法及装置和电子设备
CN110598376B (zh) * 2019-09-26 2021-06-22 腾讯科技(深圳)有限公司 基于区块链的版权认证方法、装置、设备及存储介质
CN110580411B (zh) * 2019-11-08 2020-03-06 支付宝(杭州)信息技术有限公司 基于智能合约的权限查询配置方法及装置
CN110855428A (zh) * 2019-11-19 2020-02-28 山东爱城市网信息技术有限公司 一种基于区块链的电影版权保护的方法
CN111079101B (zh) * 2019-12-20 2020-10-23 支付宝(杭州)信息技术有限公司 基于区块链的侵权取证方法及装置、电子设备、存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109636367A (zh) * 2018-12-14 2019-04-16 浙江工商大学 一种基于智能合约的多源数字教育资源确权方法
KR102044008B1 (ko) * 2019-05-07 2019-11-12 옥철식 가상 현실 세계의 신원 인증 관리 시스템
CN110472201A (zh) * 2019-07-26 2019-11-19 阿里巴巴集团控股有限公司 基于区块链的文本相似性检测方法及装置、电子设备
CN111027028A (zh) * 2019-12-04 2020-04-17 腾讯科技(深圳)有限公司 基于智能合约的版权数据处理方法以及装置
CN111125778A (zh) * 2019-12-16 2020-05-08 腾讯科技(深圳)有限公司 一种版权交易信息的处理方法及装置
IN202041018673A (zh) * 2020-05-01 2020-06-05
CN111476667A (zh) * 2020-06-24 2020-07-31 支付宝(杭州)信息技术有限公司 基于区块链的原创作品交易方法及装置和电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Payment Methods and Payment Technology - From Physical Currency to Bitcoin", 30 June 2018, HUNAN UNIVERSITY PRESS, CN, ISBN: 978-7-5667-1522-7, article CHEN, YONG: "Passage; Payment Methods and Payment Technology - From Physical Currency to Bitcoin", pages: 136 - 138, XP009533201 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115439249A (zh) * 2022-09-01 2022-12-06 国网区块链科技(北京)有限公司 一种跨区块链的业务服务实现方法、装置和系统
CN115439249B (zh) * 2022-09-01 2023-09-26 国网区块链科技(北京)有限公司 一种跨区块链的业务服务实现方法、装置和系统
CN115567321A (zh) * 2022-11-14 2023-01-03 安徽中科晶格技术有限公司 基于内置预言机合约的跨链系统及方法

Also Published As

Publication number Publication date
CN111476667B (zh) 2021-01-12
CN112819616A (zh) 2021-05-18
CN111476667A (zh) 2020-07-31

Similar Documents

Publication Publication Date Title
WO2021259140A1 (zh) 基于区块链的原创作品交易方法及装置和电子设备
JP7429281B2 (ja) ブロックチェーン上で匿名で保持されるトークンに関連付けられた交換を指示する方法及びシステム
JP7019697B2 (ja) ブロックチェーン上の動的アクセス制御
WO2021042809A1 (zh) 一种基于区块链的资产申购方法、装置及电子设备
WO2020220761A1 (zh) 基于区块链的缴费代扣签约方法及装置、电子设备
CN111681017B (zh) 基于区块链的货物批量验真方法及装置、电子设备
US11556924B2 (en) Blockchain-based payment withholding and agreement signing method, apparatus, and electronic device
IL266731A (en) A system and method for matching interactions with objects in a public ledger in a blockchain environment
WO2021042811A1 (zh) 一种基于区块链的资产筛选方法、装置及电子设备
US11361054B2 (en) Blockchain-based infringement detection method, apparatus, and electronic device
WO2021120537A1 (zh) 基于区块链的侵权取证方法及装置、电子设备、存储介质
US20210326906A1 (en) Blockchain-based bill write-off method, apparatus, electronic device, and storage medium
US20210065324A1 (en) Rights management method, device and system, and storage medium
CN112767163B (zh) 基于区块链的数字商品交易方法和装置
US11398911B1 (en) System for interacting objects as tokens on a blockchain using a class-based language
US10733583B2 (en) Blockchain-based withholding operations
CN112883109B (zh) 基于区块链的数字商品交易方法和装置
CN112766854B (zh) 基于区块链的数字商品交易方法和装置
CN112446450A (zh) 基于区块链的实体物品所有权管理方法及装置、电子设备
JP2023513848A (ja) ブロックチェーンに関連するサービスのプラットフォームのための計算サービス
US11989726B2 (en) Database system public trust ledger token creation and exchange
Ma et al. Design of a stored-value card platform based on smart contract
Yi et al. Bitcoin, Ethereum, Smart Contracts and Blockchain Types
CN113095966B (zh) 基于区块链的版权认证方法及装置、电子设备
US20240104653A1 (en) Method for digital asset transactions

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21830158

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21830158

Country of ref document: EP

Kind code of ref document: A1