Disclosure of Invention
Accordingly, the present invention provides a music copyright protection system using an etherhouse intelligent contract to track the original source and usage information of music content, which may involve multiple versions, without the need for an intermediary or a trusted third party. Digital content and transaction comment information are stored by an IPFS (The inter platform File System) distributed System, so that a credit evaluation System of a user and a data sharing platform based on a block chain and The IPFS are established, and credibility, safety, traceability and transparency of music information are provided.
The present invention proposes a solution based on etherhouse blockchains whose framework is built on the key features of blockchain transparency, traceability and chronological logging without the need of an intermediary or trusted third party. The integrity of all events and logs (including related traceback data) are stored in the immutable blockchain infrastructure. In addition, by storing music on the IPFS distributed server and storing the hash value in the smart contract, the integrity of the music can also be well maintained.
The solution proposed in the present invention provides a "common decentralized account book" -blockchain + IPFS system based on the etherhouse blockchain, where the account book is used for all entities (including original author and auxiliary author, user, etc.) participating in the activity to apply for their etherhouse addresses and to record the interaction of the system; the IPFS is an entity which has a 1: 1 relationship with any intelligent contract created, each music is uploaded to an IPFS server, and the IPFS hash of the IPFS is an attribute in the intelligent contract; in addition, a clause agreement table of each contract is also uploaded to the IPFS server, and the hash value of the clause agreement table is an attribute of an intelligent contract created for music;
the invention uses intelligent contracts to establish a credit evaluation system according to the evaluation of authors and users, the system provides credit scores besides comments, and IPFS is used for storing comment opinions; the trained emotion word vector is used as input and is input to a GRU (Gated Recurrent Unit) neural network in a sequential mode, so that time sequence information of words is integrated into sentence modeling, emotion expression of sentences is obtained, an activation function is called to carry out emotion classification on the sentences, evaluation information between an author and a user is input, and the emotion information can be converted into credit score to be uploaded to an IPFS (Internet protocol file system) system for storage;
a music copyright protection system based on a block chain intelligent contract is characterized by comprising the following steps:
step one, a music author creates an intelligent contract, an Ethengfang address of The author, an address of The intelligent contract and accessory information (creation time, creation environment, supplement creation information of The author and The like) of music are stored as metadata, and The metadata and The music data are uploaded to an IPFS (The Internet File System, an InterPlanetary File storage System) at The same time;
step two, generating unique hash, namely an IPFS address, by the IPFS according to the uploaded music file, wherein the unique hash can be used for searching and accessing a file package stored on the IPFS network; after creating an IPFS address of music, a platform creates an intelligent contract according to the requirements of an original author, the contract comprises detailed information of the music and information of the author and a user, access to a method is set according to the role or contract state, the user needs to request operation according to the terms and conditions of a protocol, and all use information is recorded on a block chain;
in addition, the IPFS store information may contain a file containing terms and conditional agreements to be copied and edited when other users use music to create different content, whose operation updated information is to be synchronized in the intelligent contract;
step three, the user or other secondary users can request the permission of using right, editing, changing or distributing according to the terms and conditions of the protocol; the user should check and confirm the using condition in advance, if apply for using, send request, namely default agree to terms and agreement in the agreement that the author created; this information can be disclosed to the public through smart contracts to help simplify traceability and make things transparent; the contract agreement is stored on the IPFS server, and the hash value of the contract agreement can be used as the attribute in the intelligent contract;
after receiving the request, the author can check the detailed identity information and credit score of the user, and automatically evaluate the identity information and the credit score or automatically evaluate the identity information and the credit score according to the setting; the author may set up personal information conditions for the user in advance and user requests that do not meet the identity requirements or minimum set credit score are contractually treated as denied. The result can only be sent by the author, and then an agreed or rejected boolean value is returned; all requests have been saved for reference and history tracking;
once the author approves the request of the user, they create a sub-contract which complies with the originally formulated terms and agreements and update the information of the contract; then, the user asks the author to prove the newly created contract through the contract of the original music; the author then approves and grants proof after reviewing the newly created intelligent contract; then, the successfully proved intelligent contract is added to the original intelligent contract as a descendant;
when the author refuses the request of the user, the music is added into the refusing authority list;
the contract agreement is stored on the IPFS server, and the hash value of the contract agreement can be used as the attribute in the intelligent contract;
after the transaction of the author and the user is completed, triggering an intelligent contract to realize an evaluation process, updating the intelligent contract to a credit evaluation system, and storing comment opinions by using an IPFS (Internet protocol file system); carrying out text preprocessing on the related comment information, after word segmentation of the text, acquiring emotion word vectors by using a CBOW model, and generating a word vector set X of all words; then, a GRU neural network is constructed, an expression sequence [ h1, h2, …, hn-1.hn ] is generated through a GRU unit, a characteristic vector h is obtained through a Mean Pooling layer (Mean Pooling layer), a category label of an input sample is obtained through a Softmax layer, and credit scoring is carried out according to the category.
Has the advantages that:
1. the data sharing platform based on the block chain and the IPFS has the advantages that music is stored on the IPFS distributed server, and the integrity of the music can be well maintained;
2. based on the key characteristics of the logs arranged in time sequence of the block chain, transaction comment information is completely stored, and the credible and safe traceability and transparency of music information can be provided without an intermediary or a trusted third party;
3. and establishing a credit evaluation system of the user, and effectively limiting and attacking infringers.
Detailed Description
We propose an etherhouse blockchain based solution that establishes the authenticity and legitimacy of secondary usage of digital content by providing trusted and secure traceability to trusted author sources.
Fig. 1 is a block diagram of a music copyright protection system using an etherhouse smart contract. The intelligent contract features that program code and data are stored in chain, the intelligent contract is created and called in trade mode, and the contract program is executed in all nodes in distributed network, so that it has no central node and thus has the features of high tamper resistance, high recentering degree, etc. IPFS is a globally interconnected distributed file system, integrates the advantages of systems including a distributed hash table, block exchange, a version control system, self-authentication files and the like, and has the characteristics of content addressing, no tampering, decentralization and the like.
When the file is stored, the IPFS calculates the file fingerprint according to the file content, and when the file is acquired, the IPFS takes out the file from the storage node according to the file fingerprint and returns the file to the user after verification. Our solution focuses on authorization, sharing, approval of secondary use of music and tracking of new versions of documents stored on IPFS. Each participant is identified in the network using a unique account address and has a public key and a private key. Our solution focuses on the use of intelligent contracts that are used to trigger events and enable participating entities to continuously monitor, track each transaction.
Embodiments of the invention are described in more detail below with reference to the accompanying drawings:
s101: music data is uploaded to the IPFS distributed file system along with metadata including author Etherhouse addresses and Intelligent contract addresses.
In the embodiment of the invention, the owner of the music copyright, or the user, the company and the like which have the right to process the music all have the own Ether house address. The author of the music first creates an intelligent contract and other secondary users may request editing, changing permissions based on the terms and conditions of the agreement.
In the embodiment of the invention, the creation time, creation environment, author supplementary information and description and the like of music are taken as accessory information of the music, are stored as metadata by combining the Ethernet address of the author and the address of an intelligent contract, and are uploaded to an IPFS distributed file system together with the metadata and the music data.
S102: IPFS generates a unique hash address from the file and may bind the author's clause requirements.
In embodiments of the present invention, IPFS provides a distributed file system to store metadata and content of music data. This will ensure that the information on the platform is persistent, free and accessible, and does not rely on a centralized server.
In an embodiment of the invention, the IPFS generates a unique hash, which is the address of a file bundle containing music content and its metadata. The hash address is used to find and access a bundle of files stored on the IPFS network.
In embodiments of the present invention, the IPFS bundle may comprise a file containing terms and agreements to be copied and edited in the event that other authors or artists copy music to create different content. The IPFS hash generated from the saved form will also be used in the smart contract.
In an embodiment of the present invention, the IPFS is an entity that has a 1: 1 relationship with any intelligent contract that is created, because every piece of music is uploaded to the IPFS server, and its IPFS hash is an attribute in the intelligent contract. In addition, the clause agreement table of each contract is also uploaded to the IPFS server, and the hash value is an attribute of the intelligent contract created for music.
S103: the user applies for the usage right, the author approves or rejects the application and whether the proof is granted.
In the embodiment of the invention, the user should check and confirm the use condition in advance, and if the use is applied, the user sends a request to agree with the terms and protocols in the protocol created by the author by default.
In the embodiment of the invention, after receiving the request, the author can check the detailed identity information and credit score of the user, and can perform self evaluation or automatic evaluation according to the setting. The author may set up personal information conditions for the user in advance and user requests that do not meet the identity requirements or minimum set credit score are contractually treated as denied. The result can only be issued by the author and then an agreed or denied boolean value is returned. All requests have been saved for reference and history tracking.
S104: and after obtaining the grant certification, updating the original intelligent contract and the sub intelligent contract and pointing to each other.
In embodiments of the present invention, once the author approves the user's request, they create a subcontract that complies with the terms and agreements originally formulated, and update the information of the contract. The user then requests the author to prove his newly created contract through the contract for the original music. The author then approves and grants the proof after reviewing the newly created intelligent contract. The successfully certified intelligent contract will then be added as a child to the original intelligent contract.
As shown in fig. 2. Three different situations occur, depending on the results of the original artist. I.e., deny the request, approve the request but deny the authorization, approve the request and approve the authorization.
The method comprises the following specific steps: the user invokes the RequestPermission () function to indicate that they read and agree to terms available on the IPFS file server. This creates an event representing an application requested by a user. The author will then reply with either an approval or a denial of approval. After the author agrees with the user's editing rights, the user creates an intelligent contract that is an exact copy of the functions and attributes of the parent contract, and the child contracts should also include the Ethenhouse address of the parent contract. The user needs to submit the intelligent contract created by the user, meanwhile, the author is required to authenticate the intelligent contract of the user, the original author checks the newly created sub-contract, and the granted permission or the denied permission is returned. All pieces of music granted certification are regarded as sub-pieces of original contracts, forming a list.
In embodiments of the present invention, the newly created contract should also point to its parent contract. Therefore, the original music should also become part of the sub-contract, along with its detailed information and the intelligent contract address, as agreed upon by the clause and condition tables. Thus, two contracts point to each other because the other EtherFair address of each contract is part of its attributes.
S105: and according to transaction evaluation, the credit evaluation grade of the trader is divided by applying a GRU model and is stored in an IPFS system.
In the embodiment of the invention, a credit evaluation system is established by using the intelligent contract according to the evaluation of the author and the user, the system provides credit score in addition to the comment, and the comment opinion is stored by using IPFS.
In the embodiment of the invention, the deep learning technology GRU is used as an algorithm for evaluating credit rating to realize generation of scores from evaluation texts of two transaction parties, a trained emotion vector is used as input and is input to a GRU network in a sequential mode, so that time sequence information of words is integrated into sentence modeling to obtain emotion expression of sentences, and an activation function is called to carry out emotion classification on the sentences. The GRU unit is selected to carry out an emotion analysis model, so that the authenticity and the reliability of the credit evaluation system are favorably improved.
In the embodiment of the invention, after the transaction is finished, the two parties of the transaction finish the evaluation of the traders by calling the evaluation function of the trader of the intelligent contract, and the text preprocessing is carried out on the evaluation information containing the emotional information, including data duplication removal, denoising and text word segmentation. And (3) generating emotion vectors by using a CBOW model of word2vec and utilizing emotion labels in the emotion dictionary, and deriving a word vector set X of all generated words. Building a GRU classification model, finding out word vector components s of all words of each sentence from X as [ X1, X2 … xn-1, xn ], generating expression sequences [ h1, h2, …, hn-1.hn ] through GRU units, obtaining a feature vector h through a meanpooling layer, obtaining a class label of an input sample through a Softmax layer, and selecting a Softmax activation function for classification. And taking semantic expression vectors corresponding to sentences obtained through the Mean posing layer as input of the classification layer, and outputting the probability of the emotion types. And comparing the error with the actual classification label in the training data to obtain a classification error, transmitting the classification error to the first layers of the model through back propagation, and updating the parameters. And generating a corresponding credit grade according to the category label. And synchronously updating to the IPFS system.
The invention aims to protect a music copyright protection system using an Etherhouse intelligent contract so as to track the original source and use information of music content. Music is stored on the IPFS distributed server, and the hash value is stored in the intelligent contract, so that safe and reliable storage of data is realized; transaction logic is completed through intelligent contracts, so that data transaction activities are orderly carried out on the distributed blockchain network. Digital content and transaction comment information are stored by using an IPFS distributed system, so that a credit evaluation system of a user and a data sharing platform based on a block chain and the IPFS are established, and authorization and sharing credibility for secondary use of music are provided; safe traceability and transparency.
The above description is only for the preferred embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.