Digital copyright protection platform based on block chain and SM2/3 password

文档序号:86315 发布日期:2021-10-08 浏览:12次 中文

阅读说明:本技术 一种基于区块链和国密sm2/3的数字版权保护平台 (Digital copyright protection platform based on block chain and SM2/3 password ) 是由 邵佳杰 漆静 王煊 于 2021-08-10 设计创作,主要内容包括:本发明公开了一种基于区块链和国密SM2/3的数字版权保护平台,属于数字作品版权保护技术领域,包括处理模块,所述处理模块的输入端口分别连接有账户注册模块和账户登录模块,所述处理模块的输出端口连接有账户信息存储模块,所述处理模块的输入端口和输出端口连接有输入账户信息认证模块,所述输入账户信息认证模块的输入端口和输出端口与账户信息存储模块连接;本发明结合人眼视觉敏感性和图像纹理自适应算法为用户的数字作品添加鲁棒数字水印,能够更符合人眼的视觉特征,使作品外观上和原作品毫无差别,而同时鲁棒数字水印具有不可见性,两者相结合能够实现在保护原创者版权的同时维护作品美观性的功能。(The invention discloses a digital copyright protection platform based on a block chain and a state secret SM2/3, which belongs to the technical field of digital work copyright protection and comprises a processing module, wherein an input port of the processing module is respectively connected with an account registration module and an account login module, an output port of the processing module is connected with an account information storage module, an input port and an output port of the processing module are connected with an input account information authentication module, and an input port and an output port of the input account information authentication module are connected with the account information storage module; the invention adds robust digital watermark to the digital work of the user by combining the visual sensitivity of human eyes and the image texture self-adaptive algorithm, can better accord with the visual characteristics of human eyes, makes the appearance of the work have no difference from the original work, and simultaneously the robust digital watermark has invisibility, and the combination of the robust digital watermark and the robust digital watermark can realize the function of protecting the copyright of an original person and simultaneously maintaining the aesthetic property of the work.)

1. A digital rights protection platform based on a blockchain and a national secret SM2/3, comprising a processing module (20), characterized in that: the input port of the processing module (20) is respectively connected with an account registration module (4) and an account login module (2), the output port of the processing module (20) is connected with an account information storage module (3), the input port and the output port of the processing module (20) are connected with an input account information authentication module (1), the input port and the output port of the input account information authentication module (1) are connected with the account information storage module (3), the input port and the output port of the processing module (20) are respectively connected with a digital work submission module (5), a text information uploading module (6) and a watermark picture uploading module (7), the input port of the processing module (20) is connected with a user password setting module (8), the input port and the output port of the processing module (20) are respectively connected with a digital work type analysis module (9) and a watermark adding mode selection module (11), the input port and the output port of the watermark adding mode selection module (11) are respectively connected with a character watermark module (10) and a picture watermark module (12), the input port and the output port of the processing module (20) are connected with a digital work watermark adding module (13), the output port of the processing module (20) is connected with a work information extraction module (14), the input port and the output port of the work information extraction module (14) are connected with a digital work watermark adding module (13), the input port of the processing module (20) is connected with a work information uplink processing module (15), the input port of the work information uplink processing module (15) is connected with the work information extraction module (14), the output port of the processing module (20) is respectively connected with a block chain module (16) and a watermark adding finished product output module (17).

2. The digital rights protection platform based on the block chain and the national secret SM2/3 of claim 1, wherein: the type of the digital work submitted by the digital work submitting module (5) can be any one of image, video or audio.

3. The digital rights protection platform based on the block chain and the national secret SM2/3 of claim 1, wherein: the watermark added by the digital work watermark adding module (13) is a robust digital watermark.

4. The digital rights protection platform based on the block chain and the national secret SM2/3 of claim 1, wherein: the digital work watermark adding module (13) utilizes a self-adaptive algorithm combining human visual sensitivity and image texture when carrying out watermark adding on digital works of images and videos, and the digital work watermark adding module (13) utilizes an LSB algorithm when carrying out watermark adding on digital works of audios.

5. The digital rights protection platform based on the block chain and the national secret SM2/3 of claim 1, wherein: the cochain processing mode of the cochain processing module (15) for the works information is to encrypt the digital works information in the cochain process by SM3 and SHA256, and then use SM2 algorithm to carry out asymmetric encryption and digital signature processing, so as to realize double protection of the works information.

6. The digital rights protection platform based on the block chain and the national secret SM2/3 of claim 1, wherein: the input port and the output port of the processing module (20) are connected with a digital work watermark extraction module (18), the input port of the digital work watermark extraction module (18) is connected with a block chain module (16), and the output port of the processing module (20) is connected with an added watermark information output module (19).

Technical Field

The invention belongs to the technical field of digital work copyright protection, and particularly relates to a digital copyright protection platform based on a block chain and a state secret SM 2/3.

Background

The coming of the information age has raised the demand and utilization of digital works, and people widely use digital devices to make, process, transmit and store various kinds of information, but at the same time, the problems of copyright protection of digital works and security control of digital information transmission are also generated, wherein how to prevent digital products (such as images, texts, data and other contents) from infringing, pirating, leaking and randomly distorting has become a hot topic to be solved at present.

Since copying and modification of digital works are easy and can be made identical to the original works, infringement is often prohibited.

At present, visible watermarks are added to a digital work in the market mainly in a manner of preventing the digital work from being infringed, the watermarks are automatically added to a user basically for an application platform, and the adding position is fixed, generally the lower left corner or the lower right corner of the work, and the traditional method for adding the watermarks has the following defects: (1) the visible watermark influences the aesthetic property of the work on a certain basis; (2) the visible watermark can be erased by cutting or other methods, so that the true author can not verify the ownership of the works; (3) visible watermarks are extremely easy to mimic, possibly causing loss in reputation or otherwise to the author; (4) the encryption mode is not complicated and rigorous enough, and the work is easy to crack; (5) even if a watermark is added, it is often difficult for the author to prove his own copyright due to lack of fairness.

Disclosure of Invention

To solve the problems set forth in the background art described above. The invention provides a digital copyright protection platform based on a block chain and a national secret SM2/3, which has the characteristics that a user can realize copyright protection and tracking under the condition of not damaging and being imperceptible a work, and simultaneously, the real, effective and integrity of the work is ensured to a greater extent by combining a block chain technology.

In order to achieve the purpose, the invention provides the following technical scheme: a digital copyright protection platform based on a block chain and a state secret SM2/3 comprises a processing module, wherein an input port of the processing module is respectively connected with an account registration module and an account login module, an output port of the processing module is connected with an account information storage module, an input port and an output port of the processing module are connected with an input account information authentication module, an input port and an output port of the input account information authentication module are connected with the account information storage module, an input port and an output port of the processing module are respectively connected with a digital work submission module, a text information uploading module and a watermark picture uploading module, an input port of the processing module is connected with a user password setting module, an input port and an output port of the processing module are respectively connected with a digital work type analysis module and a watermark adding mode selection module, the input port and the output port of the watermark adding mode selection module are respectively connected with a character watermark module and a picture watermark module, the input port and the output port of the processing module are connected with a digital work watermark adding module, the output port of the processing module is connected with a work information extraction module, the input port and the output port of the work information extraction module are connected with the digital work watermark adding module, the input port of the processing module is connected with a work information uplink processing module, the input port of the work information uplink processing module is connected with the work information extraction module, and the output port of the processing module is respectively connected with a block chain module and a watermark adding finished product output module.

Further, the type of the digital work submitted by the digital work submitting module can be any one of image, video or audio.

Further, in the present invention, the watermark added by the digital work watermark adding module is a robust digital watermark.

Furthermore, the digital work watermarking adding module utilizes a self-adaptive algorithm combining human visual sensitivity and image texture when watermarking is carried out on digital works of images and videos, and utilizes an LSB algorithm when watermarking is carried out on digital works of audios.

Further, in the present invention, the uplink processing mode of the work information uplink processing module is to encrypt the digital work information in the uplink process by SM3 and SHA256, and then perform asymmetric encryption and digital signature processing on the digital work information by using SM2 algorithm, so as to implement double protection of the work information.

Furthermore, the input port and the output port of the processing module are connected with a digital work watermark extraction module, the input port of the digital work watermark extraction module is connected with the block chain module, and the output port of the processing module is connected with a watermark adding information output module.

Compared with the prior art, the invention has the beneficial effects that:

1. the invention adds robust digital watermark to the digital work of the user by combining the visual sensitivity of human eyes and the image texture self-adaptive algorithm, can better accord with the visual characteristics of human eyes, makes the appearance of the work have no difference from the original work, and simultaneously the robust digital watermark has invisibility, and the combination of the robust digital watermark and the robust digital watermark can realize the function of protecting the copyright of an original person and simultaneously maintaining the aesthetic property of the work.

2. The robust digital watermark added to the digital work of the user has stronger attack resistance, and when the user is attacked by image compression, cutting, screen capture, fuzzy processing, stretching processing, horizontal turning and vertical turning, smearing processing, noise point processing and the like, the user can still decompose the clear and distinguishable watermark, thereby helping the original to verify the ownership of the work.

3. The metadata of the digital works added with the watermarks is added to the block chain, and through decentralization, the metadata has non-tamper property and traceability, so that loss of reputation or other aspects of an author caused by the fact that the watermarks of the author are imitated is avoided.

4. In the invention, SM3 and SHA256 encryption processing is adopted in the process of chaining the meta-information of the digital work, and then an SM2 algorithm is adopted to carry out asymmetric encryption and digital signature processing on the meta-information, thereby realizing double protection of the work information, avoiding the problem that the work is easy to crack, and improving the safety of the work information.

5. Each work of the invention has unique meta-information, such as a work hash value, a time stamp and the like, which provides strong evidence to verify copyright ownership when the digital work is stolen or copyright dispute occurs, and when a user finds a relevant leaked image, the leakage source of the image can be judged through the content of the watermark.

Drawings

FIG. 1 is a system block diagram of a digital copyright protection platform based on a block chain and a state secret SM 2/3;

in the figure: 1. an input account information authentication module; 2. an account login module; 3. an account information storage module; 4. an account registration module; 5. a digital work submission module; 6. a text information uploading module; 7. a watermark picture uploading module; 8. a user password setting module; 9. a digital work type analysis module; 10. a text watermarking module; 11. a watermark adding mode selecting module; 12. a picture watermarking module; 13. a digital work watermark adding module; 14. a work information extraction module; 15. a work information uplink processing module; 16. a block chain module; 17. adding a watermark finished product output module; 18. a digital work watermark extraction module; 19. adding a watermark information output module; 20. and a processing module.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Referring to fig. 1, the present invention provides the following technical solutions: a digital copyright protection platform based on a block chain and a national secret SM2/3 comprises a processing module 20, wherein an input port of the processing module 20 is respectively connected with an account registration module 4 and an account login module 2, an output port of the processing module 20 is connected with an account information storage module 3, an input port and an output port of the processing module 20 are connected with an input account information authentication module 1, an input port and an output port of the input account information authentication module 1 are connected with the account information storage module 3, an input port and an output port of the processing module 20 are respectively connected with a digital work submission module 5, a text information uploading module 6 and a watermark picture uploading module 7, an input port of the processing module 20 is connected with a user password setting module 8, an input port and an output port of the processing module 20 are respectively connected with a digital work type analysis module 9 and a watermark adding mode selection module 11, an input port and an output port of the watermark adding mode selection module 11 are respectively connected with a character watermark module 10 and a picture watermark module 12, an input port and an output port of the processing module 20 are connected with a digital work watermark adding module 13, an output port of the processing module 20 is connected with a work information extraction module 14, an input port and an output port of the work information extraction module 14 are connected with the digital work watermark adding module 13, an input port of the processing module 20 is connected with a work information chaining processing module 15, an input port of the work information chaining processing module 15 is connected with the work information extraction module 14, and output ports of the processing module 20 are respectively connected with a block chaining module 16 and a watermark adding finished product output module 17.

Specifically, the type of digital work submitted by the digital work submission module 5 may be any type of image, video or audio.

Specifically, the watermark added by the digital work watermark adding module 13 is a robust digital watermark.

Specifically, the digital work watermark adding module 13 adds watermarks to the digital works of images and videos by using an adaptive algorithm combining human visual sensitivity and image texture, and the digital work watermark adding module 13 adds watermarks to the digital works of audio by using an LSB algorithm.

Specifically, the cochain processing mode of the cochain processing module 15 is to encrypt the digital works information in the cochain process by SM3 and SHA256, and then perform asymmetric encryption and digital signature processing on the digital works information by using an SM2 algorithm, thereby implementing dual protection of the works information.

Specifically, an input port and an output port of the processing module 20 are connected to a digital work watermark extraction module 18, an input port of the digital work watermark extraction module 18 is connected to the block chain module 16, and an output port of the processing module 20 is connected to a watermark adding information output module 19.

The working principle of the invention is as follows: the user uses the platform for the first time, the account registration is carried out through the account registration module 4, the registration is finished, the account registration module 4 feeds back the registered account information to the processing module 20, the processing module 20 feeds back the registered account information to the account information storage module 3 for storage, and the registration is finished;

the registered user or old user can input an account through the account login module 2, the account login module 2 feeds back the input account information to the processing module 20, the processing module 20 feeds back the input account information to the input account information authentication module 1, the input account information authentication module 1 extracts the account information stored in the account information storage module 3 to compare with the input account information, if the input account information does not exist in the account information storage module 3, the input account information authentication module 1 feeds back the result to the processing module 20, the processing module 20 does not act, if the input account information exists in the account information storage module 3, the input account information authentication module 1 feeds back the result to the processing module 20, and the processing module 20 jumps to the digital work submission module 5;

a user can submit a digital work through the digital work submitting module 5, the digital work submitting module 5 feeds the submitted digital work back to the processing module 20, the processing module 20 feeds the submitted digital work back to the digital work type analyzing module 9, the digital work type analyzing module 9 analyzes and judges the type of the digital work and feeds the judged result back to the processing module 20, and the processing module 20 feeds the submitted digital work and the analyzed result back to the digital work watermark adding module 13;

the user can select the mode of adding the watermark through the watermark adding mode selection module 11, if the character watermark module 10 is clicked, the watermark adding mode selection module 11 feeds back the result to the processing module 20, the processing module 20 jumps to the character information uploading module 6, the user uploads the relevant information of the character watermark through the character information uploading module 6, and the character information uploading module 6 feeds back the relevant information of the character watermark to the digital work watermark adding module 13;

a user sets a key through the user password setting module 8, the user password setting module 8 feeds the set key back to the processing module 20, and the processing module 20 feeds the set key back to the digital work watermark adding module 13;

the digital work watermark adding module 13 adds watermarks to the digital work, the adding of the watermarks is completed, the digital work watermark adding module 13 feeds back the digital work added with the watermarks to the processing module 20, the processing module 20 respectively feeds back the digital work added with the watermarks to the work information extracting module 14 and the watermark product adding output module 17, the work information extracting module 14 extracts the information of the digital work added with the watermarks and feeds the information back to the work information uplink processing module 15, the watermark product adding output module 17 outputs the finished product added with the watermarks, meanwhile, the processing module 20 sends an instruction to the work information uplink processing module 15, the work information uplink processing module 15 firstly encrypts the fed-back work information by SM3 and SHA256, then carries out asymmetric encryption and digital signature processing on the work information by adopting SM2 algorithm, and feeds back the encrypted work information to the processing module 20, the processing module 20 feeds back the encrypted work information to the blockchain module 16, and the blockchain module 16 stores the encrypted work information to complete the watermark adding operation of the digital work;

if the digital work submitted by the user is an image and the selected watermark mode is a text watermark (or a picture watermark), the specific watermark adding steps of the digital work watermark adding module 13 are as follows:

s1: preprocessing the character information of the character watermark, including converting the character watermark information into a two-dimensional code (a step of removing the image watermark), scrambling the watermark information, inverting the watermark and the like, and encoding the watermark information to enable the watermark information to adapt to an algorithm;

s2: dividing the submitted original image into sub-blocks;

s3: calculating the mean value and the variance of each image block, and selecting the image block with large variance and mean gray scale not in medium gray scale as a watermark embedding block;

s4: performing FFT on each image block;

s5: selecting the importance coefficient relative to a pre-specified threshold;

s6: adding watermark information into the corresponding amplitude component, and storing the embedding position and the original amplitude component as a secret key during watermark extraction;

s7: performing FFT inverse transformation on each image block;

s8: obtaining an image containing a watermark;

if the digital work submitted by the user is a video and the selected watermark mode is a character watermark (or a picture watermark), the specific watermark adding step of the digital work watermark adding module 13 is the same as the image adding step;

if the digital work submitted by the user is audio and the selected watermark mode is a text watermark (or a picture watermark), the specific watermark adding steps of the digital work watermark adding module 13 are as follows:

s1: converting the watermark information into a binary list;

s2: converting the original audio into binary data;

s3: performing LSB steganography on the original audio data by using a binary list generated by the watermark information;

s4: acquiring finished product audio added with the digital watermark;

if the digital work is stolen or copyright disputes occur, the original digital work and the watermark digital work are submitted through the digital work submitting module 5, the submitted original digital work and the submitted watermark digital work are fed back to the processing module 20 by the digital work submitting module 5, the submitted original digital work and the submitted watermark digital work are fed back to the digital work watermark extracting module 18 by the processing module 20, the watermark information of the watermark digital work is extracted by the digital work watermark extracting module 18, the extracted watermark information is fed back to the processing module 20, the processing module 20 feeds back the extracted watermark information to the watermark information adding output module 19, the watermark information adding output module 19 outputs the extracted watermark information, the output watermark information can provide strong evidence to verify copyright ownership, when a user finds a relevant leakage image, the leakage source of the image can be judged through the watermarking content;

if the digital work stolen or subjected to copyright dispute is an image, the specific watermark extraction steps of the digital work watermark extraction module 18 are as follows:

s1: judging whether the watermark image is subjected to geometric change, if not, performing the next action, and if so, performing restoration processing to restore the size of the original carrier image of the watermark image, and performing the next action;

s2: dividing the watermark image into sub-blocks, and carrying out IFFT (inverse fast Fourier transform) on each block;

s3: extracting an image block by selecting the watermark according to the same parameters as the embedding algorithm, determining an important coefficient according to the same threshold as the embedding algorithm, and extracting the embedded watermark by using a key stored during embedding;

s4: obtaining a random number which is the same as that obtained in the adding process by using the watermark password, generating a random sequence according to a half of the size of the original image, and recovering watermark information according to the sequence and the random number generated by the password;

s5: if the watermark is a picture watermark, obtaining original watermark information, if the watermark is a two-dimensional code, performing binarization processing on the two-dimensional code through morphological processing, connecting objects which are wrongly divided into small blocks through closed operation, removing spots formed by image noise through four times of corrosion expansion, converting an image obtained by combining color channels into a gray-scale image, converting the gray-scale image into a binary-scale image, cutting a target image to remove redundancy on the outline after outline detection, and finally obtaining original character information;

if the digital work which is stolen or has copyright dispute is a video, the specific watermark extraction step of the digital work watermark extraction module 18 is the same as the image extraction step;

if the digital work stolen or subjected to copyright dispute is audio, the specific watermark extraction step of the digital work watermark extraction module 18 is as follows:

s1: the audio to be extracted is converted into binary data to achieve the purpose.

Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:访问授权方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类