Digital copyright management system based on blockchain technology
Technical Field
The invention relates to the technical field of copyright management, in particular to a digital copyright management system based on a blockchain technology.
Background
Under the digital age, the rapid development of the internet makes data copying and spreading become increasingly common, and further causes the problem of copyright infringement to occur, the increase of digital products does not bring about the enhancement of copyright protection consciousness, many creators are only concepts for copyright, the copyright on the network is abused, the rights and interests of the creators are continuously infringed, and in addition, users on the network are used to freely use the digital products on the network, so that the phenomenon of copyright infringement of the digital products is not only the potential of containment, but also more rampant, the traditional digital copyright management mode mostly adopts a centralized management mode, and the method has the problems of long period of definite copyright and low security of data storage. Therefore, it is necessary to design a digital rights management system based on a blockchain technique that improves information support efficiency of digital rights management and enhances transfer of rights information between rights principals.
Disclosure of Invention
The invention aims to provide a digital copyright management system based on a blockchain technology, which solves the problems in the background technology.
In order to solve the technical problems, the invention provides a digital copyright management method based on a blockchain technology, which comprises the following steps:
step one, adopting an open source alliance chain to carry out technical support on a digital copyright transaction flow;
Step two, based on the digital copyright information of the login uplink, calling the intelligent contract to execute the compiled digital copyright transaction flow logic for auditing;
And thirdly, after the digital copyright transaction flow data is loaded into an uploading data center, encrypting and decrypting the data by utilizing an encryption and authentication model, and transmitting the data and storing the data in a back-end database after the execution is finished.
According to the above technical solution, the step of constructing a federated blockchain involving stakeholders includes:
based on the use requirement of the digital copyright information protection and the management authority control of the participation main body in the digital copyright protection;
Constructing a alliance blockchain related to each stakeholder;
the digital publishing organization, the media platform, the copyright service organization and the government supervision department are selected to be incorporated into the alliance system in the internal structure of the digital copyright industry ecosystem;
Digital rights transaction flow management is performed using the digital rights protection mechanism of the alliance blockchain based on their respective rights protection requirements.
According to the technical scheme, the step of managing the digital copyright registration transaction flow of the alliance chain for the user comprises the following steps:
when the digital copyright registrant has the requirement of digital copyright registration, registering and logging in the system, and after logging in, jumping to a registrant page by the digital copyright registrant;
The system executes the digital copyright registration function, namely, invoking a method in a copyright registration contract through a request sent by a front-end page;
The system adds the digital copyright register into a test network to generate a pair of public and private keys, an account address generated by the public keys is used as an identity mark of the register in the network, the private keys carry out digital signature on copyright registration information to be used as a unique mark of the copyright registration information, and other participant nodes can verify the authenticity of the mark;
And writing related identity information into the blockchain to carry out identity storage after identity authentication synchronously, setting visible objects of privacy identity information according to conditions, and ensuring identity authenticity of the digital copyright registrant.
According to the above technical solution, the step of registering the digital rights information includes:
The digital copyright registrant generates a piece of copyright registration information according to copyright number, author, work name, hash value of work file, recording time and other information;
According to the authenticity verification algorithm of the copyright registration, transaction data and a digital signature generated by a digital copyright registrant are sent to a blockchain network to wait for verification, and broadcast to the blockchain network after verification is passed, so that data storage of copyright registration information is completed;
Calculating a hash value of the work to be registered, carrying out digital signature by utilizing an encryption algorithm, storing the digital signature in a remote server, and sending the work information to a corresponding digital copyright service mechanism to decrypt the encrypted work through a key;
and carrying out digital copyright detection on the content similarity identification, providing corresponding evidence, executing intelligent contracts according to the related results, and taking the hash value of the work, the digital watermark and the privacy information of the author as digital copyright information for logging.
According to the above technical solution, the method steps for executing the intelligent contract include:
step 21, after the auditing party joins the test network, a pair of public and private keys are generated, the account address generated by the public key is used as the identity of the auditing party in the network, the private keys carry out digital signature on the audited copyright registration information, and other participant nodes can verify the authenticity of the identity, so that the identity of the auditing party is ensured to be real;
Step 22, compiling and generating a byte code file by utilizing an intelligent contract, deploying the file to a test network of an open-source alliance chain, defining an execution rule as an executable code, automatically executing corresponding logic when a preset execution condition is met, and storing transaction data to the alliance chain;
Step 23, synchronously dividing the authenticity verification of transaction data in the digital copyright management process into the authenticity verification of digital copyright registration information and the authenticity verification of digital copyright inquiry information;
step 24, business logic for defining the digital rights transaction flow management in the intelligent contract, wherein the business logic comprises the representation of a party for digital rights management, the generation of a trusted identifier of digital rights management information, the data representation of digital rights management and an authenticity verification mechanism of digital rights management;
And step 25, performing identity verification on the participant of the digital copyright management, performing trusted identification on the digital copyright registration information, performing authenticity verification on the digital copyright registration information, and finally storing the copyright registration data into a alliance chain.
According to the technical scheme, the method for encrypting and decrypting the data by using the encryption and authentication model comprises the following steps:
step 31, the digital copyright registration user initiates a request for confirming the digital copyright content at the client, and after receiving the request, the data center receiving the user request carries out hash processing on the digital copyright content uploaded by the user;
Step 32, sending the hash value detected through originality to a data center at the bottom layer of the client, and reading the digital copyright transaction flow in a file form into a data flow which can be used for encryption by the data center;
step 33, sending a transaction proposal to the blockchain network by calling the blockchain node, wherein the transaction proposal comprises information such as identification of a calling contract, a method of the contract, parameter information, a digital signature of a client and the like;
Step 34, encrypting the read data stream, and performing encryption operation by using a random key generator with the case of 26 English letters and 10 numbers of 0-9 as references to form seeds with sixty two characters in total;
Step 35, initializing a random vector to encrypt the read data stream, and carrying out random confusion based on the composed seeds to obtain an arrangement combination of English letter case and unordered mixed numbers, wherein the offset selects a character string with a fixed 32-bit length as a random code, and recodes the random code in an utf-8 mode;
Step 36, obtaining a 64 byte character string after recoding, using the current time and the IP address as seeds, obtaining a unique space-time code by using an MD5 hash algorithm, taking the generated random code and the space-time code as encryption keys, and outputting a ciphertext stream;
And 37, after encryption execution is finished, the transaction proposal sends the information to other data centers which do not participate in consensus, the data center uses a block as a unit to store a public account book of data based on an open source alliance chain, the blocks are linked into a chain structure according to time sequence, and the data and the stored data are verified through the block chain structure.
According to the above technical scheme, the digital rights management system includes:
the digital copyright transaction flow module is used for carrying out digital copyright transaction flow operation management;
the intelligent contract executing module is used for calling the intelligent contract to execute the compiled digital copyright transaction flow logic for auditing;
and the data encryption and decryption management module is used for encrypting and decrypting the digital copyright transaction flow data loaded into the data center by utilizing the encryption and validation model.
Compared with the prior art, the invention has the beneficial effects that,
1. The digital copyright registration workflow pushed by the blockchain technology can be simpler, the registration period can be shortened, and compared with the traditional digital copyright registration workflow, the method can really achieve the burden reduction in procedure;
2. All information contained in each step in the management process from generation to circulation of the digital copyright can be completely recorded by using the self decentralization characteristic of the blockchain technology, the digital copyright is protected from the generation source of the digital copyright under the action of the blockchain technology, and a user carries out each copyright transaction through an intelligent contract in the circulation process, so that the standardized transaction habits of the masses can be cultivated step by step;
3. the blockchain technology has the characteristic of non-falsification, so that the digital copyright of the needle team can be prevented from being infringed in the transaction process, and the infringement is reduced in the management flow of propagation, authorization and transfer.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a flowchart of a method for managing digital rights based on blockchain technology according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of a digital rights management system based on blockchain technology according to a second embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flowchart of a digital rights management method based on a blockchain technology according to the first embodiment of the present invention, where the digital rights management scenario may be applied, and the method may be performed by a digital rights management system based on a blockchain technology according to the first embodiment of the present invention, as shown in fig. 1, and the method specifically includes the following steps:
step one, adopting an open source alliance chain to carry out technical support on a digital copyright transaction flow;
In the embodiment of the invention, based on the use requirements of digital rights information protection and management rights control of participating subjects in digital rights protection, a alliance blockchain related to each stakeholder is constructed, a digital publishing mechanism, a media platform, a rights service mechanism and a government supervision department are selected to be incorporated into the alliance system in the internal structure of the digital rights industry ecosystem, and digital rights transaction flow management is performed by using the digital rights protection mechanism of the alliance blockchain based on the respective rights protection requirements.
The system executes the digital rights registering function that the request sent by the front end page invokes the method in the rights registering contract, the system generates a pair of public and private keys after the digital rights registering person joins the test network, the account address generated by the public key is used as the identity mark of the registrant in the network, the private key performs digital signature on the rights registering information as the unique mark of the rights registering information, other participant nodes can verify the authenticity of the mark, synchronously write the related identity information into the blockchain for identity storage after identity authentication, and set the visible object of the privacy identity information according to the situation so as to ensure that the identity of the digital rights registering person is true.
The digital copyright registrant generates a piece of copyright registration information according to information such as copyright numbers, authors, names of works, hash values of work files, recording time and the like, sends transaction data and digital signatures generated by the digital copyright registrant to a blockchain network to wait for verification according to an authenticity verification algorithm of copyright registration, broadcasts the verification to the blockchain network to finish data storage of the copyright registration information, calculates hash values of the works to be registered, carries out digital signatures by utilizing an encryption algorithm and stores the digital signatures in a remote server, sends the work information to a corresponding digital copyright service organization to decrypt the encrypted works by keys, carries out digital copyright detection on content similarity identification, provides corresponding evidence, executes intelligent contracts according to related results, and registers the hash values of the works, the digital watermarks and privacy information of the authors as digital copyright information.
Step two, based on the digital copyright information of the login uplink, calling the intelligent contract to execute the compiled digital copyright transaction flow logic for auditing;
in this embodiment, the method steps of executing the smart contract are:
step 21, after the auditing party joins the test network, a pair of public and private keys are generated, the account address generated by the public key is used as the identity of the auditing party in the network, the private keys carry out digital signature on the audited copyright registration information, and other participant nodes can verify the authenticity of the identity, so that the identity of the auditing party is ensured to be real;
Step 22, compiling and generating a byte code file by utilizing an intelligent contract, deploying the file to a test network of an open-source alliance chain, defining an execution rule as an executable code, automatically executing corresponding logic when a preset execution condition is met, and storing transaction data to the alliance chain;
Step 23, synchronously dividing the authenticity verification of transaction data in the digital copyright management process into the authenticity verification of digital copyright registration information and the authenticity verification of digital copyright inquiry information;
step 24, business logic for defining the digital rights transaction flow management in the intelligent contract, wherein the business logic comprises the representation of a party for digital rights management, the generation of a trusted identifier of digital rights management information, the data representation of digital rights management and an authenticity verification mechanism of digital rights management;
And step 25, performing identity verification on the participant of the digital copyright management, performing trusted identification on the digital copyright registration information, performing authenticity verification on the digital copyright registration information, and finally storing the copyright registration data into a alliance chain.
Step three, after the digital copyright transaction flow data is loaded into an uploading data center, encrypting and decrypting the data by utilizing an encryption and authentication model, and transmitting the data and storing the data in a back-end database after the execution is finished;
in the embodiment of the invention, the encryption and decryption method for the data by the encryption and authentication model comprises the following steps:
step 31, the digital copyright registration user initiates a request for confirming the digital copyright content at the client, and after receiving the request, the data center receiving the user request carries out hash processing on the digital copyright content uploaded by the user;
Step 32, sending the hash value detected through originality to a data center at the bottom layer of the client, and reading the digital copyright transaction flow in a file form into a data flow which can be used for encryption by the data center;
step 33, sending a transaction proposal to the blockchain network by calling the blockchain node, wherein the transaction proposal comprises information such as identification of a calling contract, a method of the contract, parameter information, a digital signature of a client and the like;
Step 34, encrypting the read data stream, and performing encryption operation by using a random key generator with the case of 26 English letters and 10 numbers of 0-9 as references to form seeds with sixty two characters in total;
Step 35, initializing a random vector to encrypt the read data stream, and carrying out random confusion based on the composed seeds to obtain an arrangement combination of English letter case and unordered mixed numbers, wherein the offset selects a character string with a fixed 32-bit length as a random code, and recodes the random code in an utf-8 mode;
Step 36, obtaining a 64 byte character string after recoding, using the current time and the IP address as seeds, obtaining a unique space-time code by using an MD5 hash algorithm, taking the generated random code and the space-time code as encryption keys, and outputting a ciphertext stream;
And 37, after encryption execution is finished, the transaction proposal sends the information to other data centers which do not participate in consensus, the data center uses a block as a unit to store a public account book of data based on an open source alliance chain, the blocks are linked into a chain structure according to time sequence, and the data and the stored data are verified through the block chain structure.
In a second embodiment, the present invention provides a digital rights management system based on a blockchain technology, and fig. 2 is a schematic diagram of module components of the digital rights management system based on a blockchain technology provided in the second embodiment of the present invention, as shown in fig. 2, where the system includes:
the digital copyright transaction flow module is used for carrying out digital copyright transaction flow operation management;
the intelligent contract executing module is used for calling the intelligent contract to execute the compiled digital copyright transaction flow logic for auditing;
and the data encryption and decryption management module is used for encrypting and decrypting the digital copyright transaction flow data loaded into the data center by utilizing the encryption and validation model.
In some embodiments of the invention, the digital rights transaction flow module includes:
the alliance chain construction module is used for constructing an alliance block chain related to each stakeholder;
the digital copyright registration module is used for registering through the alliance chain when the digital copyright registrant has the requirement of registering the digital copyright;
The login uplink module is used for taking the hash value of the digital copyright work, the digital watermark and the privacy information of the author as the digital copyright information login uplink.
In some embodiments of the invention, the smart contract execution module includes:
The identity identification auditing module is used for digitally signing the audited copyright registration information by utilizing the public key and the private key;
An execution rule definition module for defining an execution rule as executable code;
The authenticity verification mechanism module is used for dividing the authenticity verification of the transaction data in the digital copyright management process into the authenticity verification of the digital copyright registration information and the query information;
and the alliance chain data storage module is used for storing the copyright registered data into the alliance chain.
In some embodiments of the present invention, the data encryption/decryption management module includes:
the process data loading and uploading module is used for loading the digital copyright transaction process data into an uploading data center;
the encryption and authentication model module is used for encrypting and decrypting the read data stream by utilizing the encryption and authentication model;
and the ciphertext stream output module is used for taking the generated random code and the space-time code as encryption keys and outputting ciphertext streams.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the above-mentioned embodiments are merely preferred embodiments of the present invention, and the present invention is not limited thereto, but may be modified or substituted for some of the technical features thereof by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.