Digital watermark generation and credibility verification method based on block chain salt value mapping

By generating incremental IDs with the blockchain and using Hashids encoding to generate watermark loads, combining image processing algorithms to embed and extract watermarks, the security problem of digital watermark technology is solved, and high-security copyright information embedding and reliable copyright verification is achieved.

CN120387153APending Publication Date: 2025-07-29CHINA RES INST OF FILM SCI & TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510471090.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-15
Publication Date
2025-07-29

AI Technical Summary

Technical Problem

The existing digital watermark technology has a lack of a credible evidence-based mechanism for information generation in terms of security, and the watermark information lacks an untampered relationship with copyright information, resulting in high risk of forgery, and the blockchain directly embeds the carrier as a watermark load, which will affect the robustness of the watermark.

Method used

By generating a 64-bit hexadecimal blockchain and storing it in a local database, generating an incremental ID, using Hashids encoding to generate a 10-bit hexadecimal watermark load, and it is associated with the incremental ID and blockchain, and embedding the watermark in combination with DCT, DFT, DWT-DCT, LSB or Patchwork methods to achieve trusted verification.

Benefits of technology

Without increasing the watermark load capacity and not affecting robustness, the embedding capacity of copyright information is improved, and the collaboration mechanism between blockchain and local databases is effectively prevented from being tampered with, providing reliable copyright confirmation and traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120387153A_ABST
    Figure CN120387153A_ABST
Patent Text Reader

Abstract

The invention discloses a digital watermark generation and credibility verification method based on block chain salt value mapping. The digital watermark generation method comprises the steps that S1, a user submits copyright information to be embedded and an image file of the copyright information to be embedded; s2, carrying out uplink registration on the copyright information with the embedding, generating a 64-bit hexadecimal block chain, storing the 64-bit hexadecimal block chain in a local database, and generating an increment ID of the 64-bit hexadecimal block chain; s3, performing Hashids coding on the increment ID by taking the 64-bit hexadecimal block chain as a salt value to generate a 10-bit hexadecimal watermark load, and performing associated storage on the generated watermark load, the increment ID and the 64-bit hexadecimal block chain; and S4, embedding the watermark load into the image file in which the copyright information is to be embedded. According to the method, through a cooperation mechanism of the block chain and the local database, on the premise that the watermark load capacity is not increased and the watermark robustness is not affected, the embeddable copyright information capacity is improved, the copyright information can be effectively prevented from being tampered, and a reliable guarantee is provided for confirming copyright confirmation traceability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of digital copyright protection, and particularly to a method for generating digital watermarks and trusted verification based on blockchain salt value mapping. Background Art

[0002] Digital watermark technology is a technology that embeds some specific information (such as copyright information, etc.) into digital signals. Through these invisible information hidden in digital carriers, the purpose of verifying copyright ownership and tracing pirated copies is achieved, so as to protect the legitimate rights and interests of copyright holders. Although the existing digital watermark technology can already meet the application requirements in terms of robustness, invisibility, etc., there are still certain challenges in terms of security. Specifically, the information generation method lacks a trusted deposit mechanism, there is a risk of forgery, and there is also a lack of an immutable association relationship between the embedded watermark information and the copyright information. Blockchain technology has the characteristic of immutability. If directly embedded as a watermark payload into the carrier, it will affect the robustness of the watermark. Therefore, how to improve the security of the watermark by means of blockchain technology without affecting the watermark capacity and robustness has become an urgent problem to be solved. Summary of the Invention

[0003] In order to solve at least one of the above technical problems, this application provides a method for generating digital watermarks and trusted verification based on blockchain salt value mapping.

[0004] A method for generating digital watermarks and trusted verification based on blockchain salt value mapping provided by this application is characterized in that the digital watermark generation method includes: S1: The user submits copyright information to be embedded, such as text, images, metadata, etc., and an image file to which the copyright information is to be embedded; S2: The copyright information to be embedded is registered on the chain, a 64-bit hexadecimal blockchain is generated and stored in the local database, and its incremental ID is generated; S3: The incremental ID is encoded by Hashids with the 64-bit hexadecimal blockchain as the salt value to generate a 10-bit hexadecimal watermark payload to form a watermark payload archive, and the generated watermark payload is associated with the incremental ID and the 64-bit hexadecimal blockchain and stored in the local database; S4: The watermark payload is embedded into the image file to which the copyright information is to be embedded to generate an image file with an embedded watermark.

[0005] The trusted verification method includes: S1': Extract a 10-bit hexadecimal watermark payload from the image file with the embedded watermark; S2': Check the watermark payload archive in the local database and find its associated 64-bit hexadecimal blockchain; S3': Decode the watermark payload with the 64-bit hexadecimal blockchain as the salt value to obtain the incremental ID, and compare whether the incremental ID, the 64-bit hexadecimal blockchain, and the watermark payload archive are mutually associated; S4': If the three are mutually associated, verify the copyright information embedded by the user through the 64-bit hexadecimal blockchain.

[0006] Further, the copyright information to be embedded includes text, images, metadata, and playback device information.

[0007] Further, in step S4, the watermark payload is embedded into the image file of the copyright information to be embedded by means of DCT, DFT, DWT-DCT, LSB, or Patchwork method to generate an image file with an embedded watermark.

[0008] Further, in step S1’, 10-bit hexadecimal watermark payload is extracted from the image with the embedded watermark by means of DCT, DFT, DWT-DCT, LSB, or Patchwork method.

[0009] The beneficial technical effects of the present invention are as follows:

[0010] 1. The present invention utilizes blockchain technology and Hashids encoding and decoding technology to improve the capacity of copyright information that can be embedded without increasing the watermark payload capacity and without affecting the robustness of the watermark.

[0011] 2. The present invention can effectively prevent the copyright information from being tampered with through the collaborative mechanism of the blockchain and the local database, providing a reliable guarantee for confirming copyright and tracing the right of confirmation. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 is a schematic diagram of the digital watermark generation process of a digital watermark generation and trusted verification method based on blockchain salt value mapping according to the present invention;

[0013] Figure 2 is a schematic diagram of the trusted verification process of a digital watermark generation and trusted verification method based on blockchain salt value mapping according to the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0014] The present invention will be further described in detail below with reference to the accompanying drawings.

[0015] Refer to Figure 1 and Figure 2, an embodiment of the present invention discloses a method for generating digital watermark and trusted verification based on blockchain salt value mapping. The digital watermark generation method includes: S1: The user submits the copyright information to be embedded, such as text, image, metadata or playback device information, etc., and the image file to which the copyright information is to be embedded; S2: The copyright information to be embedded is registered on the blockchain, generating a 64-bit hexadecimal blockchain and storing it in the local database, generating its incremental ID; S3: Using the 64-bit hexadecimal blockchain as the salt value to perform Hashids encoding on the incremental ID, generating a 10-bit hexadecimal watermark payload, and associating and storing the generated watermark payload, incremental ID, and 64-bit hexadecimal blockchain in the local database; S4: Embedding the watermark payload into the image file to which the copyright information is to be embedded to generate an image file with the embedded watermark.

[0016] The digital watermark trusted verification method includes: S1': Extracting a 10-bit hexadecimal watermark payload from the image file with the embedded watermark; S2': Verifying the watermark payload archive in the local database and finding its associated 64-bit hexadecimal blockchain; S3': Using the 64-bit hexadecimal blockchain as the salt value to perform Hashids decoding on the watermark payload to obtain the incremental ID, and comparing whether the incremental ID, 64-bit hexadecimal blockchain, and watermark payload archive are mutually associated; S4': If the three are mutually associated, verifying the copyright information embedded by the user through the 64-bit hexadecimal blockchain.

[0017] The steps of digital watermark generation are as follows:

[0018] In this embodiment, the copyright information to be embedded is the text "CRIFST", and the size of the image to which the copyright information is to be embedded is 512×512;

[0019] Uploading the copyright information text to the blockchain node, generating a 64-bit hexadecimal blockchain 0x1d4...a01, storing it in the local database, and its incremental ID is 000000001;

[0020] Using the 64-bit hexadecimal blockchain as the salt value to perform Hashids encoding on the incremental ID, generating a 10-bit hexadecimal watermark payload 3657AB5A2E, and associating and storing it with the incremental ID and 64-bit hexadecimal blockchain in the local database;

[0021] The watermark can be embedded into the image through DCT, DFT, DWT-DCT, LSB or Patchwork algorithm. In this implementation, the DWT-DCT method is used.

[0022] The steps of digital watermark trusted verification are as follows:

[0023] The watermark can be extracted through DCT, DFT, DWT-DCT, LSB or Patchwork algorithms. In this implementation, 10-bit hexadecimal watermark payload 3657AB5A2E is extracted from the image through the DWT-DCT method;

[0024] Search for the watermark payload information in the local database, and obtain its associated 64-bit hexadecimal blockchain as 0x1d4...a01, and the associated incremental ID as 000000001;

[0025] Use the 64-bit hexadecimal blockchain as the salt value to perform Hashids decoding on the watermark payload, and obtain the incremental ID as 000000001, which is consistent with the incremental ID associated with the watermark payload stored in the local database;

[0026] Verify through the 64-bit hexadecimal blockchain that the copyright information embedded by the user is the text "CRIFST".

[0027] The above is the preferred embodiment of this application. It does not limit the protection scope of this application accordingly. Therefore, all equivalent changes made according to the methods and principles of this application should be covered within the protection scope of this application.

Claims

1. A digital watermark generation and trusted verification method based on blockchain salt value mapping, characterized in that The digital watermark generation method includes: S1: The user submits the copyright information to be embedded and the image file to which the copyright information is to be embedded; S2: The copyright information to be embedded is registered on the chain, a 64-bit hexadecimal blockchain is generated and stored in the local database, and an incremental ID is generated; S3: The incremental ID is encoded by Hashids with the 64-bit hexadecimal blockchain as the salt value to generate a 10-bit hexadecimal watermark payload, and the generated watermark payload is formed into a watermark payload archive and associated with the incremental ID and the 64-bit hexadecimal blockchain and stored in the local database; S4: The watermark payload is embedded into the image file to which the copyright information is to be embedded to generate an image file with an embedded watermark; The trusted verification method includes: S1': Extract a 10-bit hexadecimal watermark payload from the image file with the embedded watermark; S2': Check the watermark payload archive in the local database and find its associated 64-bit hexadecimal blockchain; S3': Decode the watermark payload by Hashids with the 64-bit hexadecimal blockchain as the salt value to obtain the incremental ID, and compare whether the incremental ID, the 64-bit hexadecimal blockchain, and the watermark payload archive are associated with each other; S4': If the three are associated with each other, verify the copyright information embedded by the user through the 64-bit hexadecimal blockchain.

2. The digital watermark generation and trusted verification method based on blockchain salt value mapping according to claim 1, wherein the copyright information to be embedded includes text, images, metadata, and playback device information.

3. The digital watermark generation and trusted verification method based on blockchain salt value mapping according to claim 1, wherein in step S4, the watermark payload is embedded into the image file to which the copyright information is to be embedded by DCT, DFT, DWT-DCT, LSB, or Patchwork method to generate an image file with an embedded watermark.

4. The digital watermark generation and trusted verification method based on blockchain salt value mapping according to claim 1, wherein in step S1', a 10-bit hexadecimal watermark payload is extracted from the image with the embedded watermark by DCT, DFT, DWT-DCT, LSB, or Patchwork method.

Citation Information

Cited By

  • Surveying and mapping file security evidence storage and traceability method

    CN121530587A