WO2021109691A1 - Blockchain-based picture watermark processing method and apparatus - Google Patents

Blockchain-based picture watermark processing method and apparatus Download PDF

Info

Publication number
WO2021109691A1
WO2021109691A1 PCT/CN2020/117918 CN2020117918W WO2021109691A1 WO 2021109691 A1 WO2021109691 A1 WO 2021109691A1 CN 2020117918 W CN2020117918 W CN 2020117918W WO 2021109691 A1 WO2021109691 A1 WO 2021109691A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
watermark
hash value
verification information
processed
Prior art date
Application number
PCT/CN2020/117918
Other languages
French (fr)
Chinese (zh)
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 WO2021109691A1 publication Critical patent/WO2021109691A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Definitions

  • This article relates to the field of image processing technology, and in particular to a method and device for image watermark processing based on blockchain.
  • China's visual material market has a broad prospect and huge space, and the proportion of the original picture market in the advertising market is only 0.2%, which means that most of the share has been eroded by piracy, and the picture copyright market is on the line.
  • it is mainly used to imprint copyright pictures with clear watermarks or ordinary blind watermarks to help traceability and rights protection.
  • the clear watermark is to put the watermark on the picture in plaintext
  • the ordinary blind watermark is to convert the watermark string into the picture, and the picture is hidden in the original copyright picture through two-dimensional Fourier transform and inverse Fourier transform.
  • the current watermark pictures still have some defects.
  • its full coverage affects the visual effect of the image, but if it is partially covered, the watermark can be cropped by rotation, cropping, screenshots, etc. later, which is not suitable for most non-sample images. way.
  • the watermark string can be obtained, so that the user name ID and other private information contained in the watermark can be known. Therefore, it is not suitable for certain conditions.
  • one or more embodiments of this specification provide a block chain-based image watermark processing method, including: obtaining a first watermark element corresponding to a picture to be processed, where the first watermark element contains information about the picture to be processed Copyright related information. Using a hash encryption algorithm to perform hash encryption processing on the first watermark element to obtain the first hash value corresponding to the first watermark element. Perform watermark encryption processing on the picture to be processed by using the watermark picture corresponding to the first hash value to obtain a target picture. The verification information of the picture-related content of the target picture is determined, and the verification information is uploaded to the blockchain. The picture-related content includes the first watermark element. The verification information includes the first hash value.
  • one or more embodiments of this specification provide a block chain-based image watermark processing method, including: acquiring a target picture after watermark encryption processing, and the target picture is embedded with a first hash value corresponding to In the first watermark picture, the first hash value is obtained by hashing and encrypting the first watermark element through a hash encryption algorithm, and the first watermark element contains copyright related information of the target picture.
  • the first watermark picture is extracted from the target picture, and the first hash value is determined based on the first watermark picture.
  • the picture-related content includes a first synthesis element used when performing the watermark encryption process, and the verification information includes the first synthesis
  • the second hash value corresponding to the element is matched with the verification information to obtain a matching result.
  • one or more embodiments of the present specification provide a block chain-based image watermark processing device, including: a first acquisition module for acquiring a first watermark element corresponding to a picture to be processed, the first watermark element including Copyright related information of the picture to be processed.
  • the first encryption module uses a hash encryption algorithm to perform hash encryption processing on the first watermark element to obtain the first hash value corresponding to the first watermark element.
  • the second encryption module uses the watermark image corresponding to the first hash value to perform watermark encryption processing on the to-be-processed image to obtain a target image.
  • the upload module determines the verification information of the picture-related content of the target picture, uploads the verification information to the blockchain, the picture-related content includes the first watermark element, and the verification information includes the first Hash value.
  • one or more embodiments of the present specification provide a block chain-based image watermark processing device, including: a second acquisition module, which acquires a target picture after watermark encryption processing, and the target picture is embedded with a first A first watermark image corresponding to a hash value, where the first hash value is obtained by hashing and encrypting a first watermark element through a hash encryption algorithm, and the first watermark element contains the copyright-related information of the target image information.
  • the extraction module extracts the first watermark picture from the target picture, and determines the first hash value based on the first watermark picture.
  • the third obtaining module obtains the verification information of the picture-related content corresponding to the target picture stored in the blockchain, the picture-related content including the first composite element used when the watermark encryption processing is performed, and the verification information includes The second hash value corresponding to the first composite element.
  • the first matching module matches the first hash value with the verification information to obtain a matching result.
  • one or more embodiments of the present specification provide a blockchain-based image watermark processing device, including: a processor; and a memory arranged to store computer-executable instructions that are being executed
  • the first watermark element includes copyright related information of the picture to be processed.
  • Using a hash encryption algorithm to perform hash encryption processing on the first watermark element to obtain the first hash value corresponding to the first watermark element.
  • the verification information of the picture-related content of the target picture is determined, and the verification information is uploaded to the blockchain.
  • the picture-related content includes the first watermark element.
  • the verification information includes the first hash value.
  • one or more embodiments of the present specification provide a blockchain-based image watermark processing device, including: a processor; and a memory arranged to store computer-executable instructions that are being executed
  • the processor is made to obtain the target picture after the watermark encryption processing, the first watermark picture corresponding to the first hash value is embedded on the target picture, and the first hash value is a pair of The first watermark element is obtained by performing hash encryption processing, and the first watermark element contains the copyright related information of the target picture.
  • the first watermark picture is extracted from the target picture, and the first hash value is determined based on the first watermark picture.
  • the picture-related content includes a first synthesis element used when performing the watermark encryption process, and the verification information includes the first synthesis
  • the second hash value corresponding to the element is matched with the verification information to obtain a matching result.
  • one or more embodiments of this specification provide a storage medium for storing computer-executable instructions that, when executed, implement the following process: obtain the first watermark element corresponding to the picture to be processed,
  • the first watermark element includes copyright related information of the picture to be processed.
  • the verification information of the picture-related content of the target picture is determined, and the verification information is uploaded to the blockchain.
  • the picture-related content includes the first watermark element.
  • the verification information includes the first hash value.
  • one or more embodiments of this specification provide a storage medium for storing computer-executable instructions that, when executed, implement the following process: obtain a target picture after watermark encryption processing, and A first watermark picture corresponding to a first hash value is embedded on the target picture, and the first hash value is obtained by hashing and encrypting a first watermark element by a hash encryption algorithm, and the first watermark element includes The copyright related information of the target picture.
  • the first watermark picture is extracted from the target picture, and the first hash value is determined based on the first watermark picture.
  • the picture-related content includes a first synthesis element used when performing the watermark encryption process, and the verification information includes the first synthesis
  • the second hash value corresponding to the element is matched with the verification information to obtain a matching result.
  • Fig. 1 is a schematic flowchart of a method for processing a picture watermark based on a blockchain according to an embodiment of the present specification
  • Fig. 2 is a schematic display diagram of a watermark picture according to an embodiment of this specification
  • Fig. 3 is a schematic flowchart of a method for processing a picture watermark based on a blockchain according to another embodiment of the present specification
  • Fig. 4 is a schematic block diagram of a block chain-based image watermark processing device according to an embodiment of the present specification
  • Fig. 5 is a schematic block diagram of a block chain-based image watermark processing device according to another embodiment of the present specification.
  • Fig. 6 is a schematic block diagram of a block chain-based image watermark processing device according to an embodiment of the present specification
  • Fig. 7 is a schematic block diagram of a block chain-based image watermark processing device according to another embodiment of the present specification.
  • One or more embodiments of this specification provide a block chain-based image watermark processing method and device, which are used to reduce the risk of cracking the image watermark.
  • Fig. 1 is a schematic flowchart of a block chain-based image watermark processing method according to an embodiment of the present specification. As shown in Fig. 1, the method includes steps S102 to S108.
  • S102 Obtain a first watermark element corresponding to the picture to be processed, where the first watermark element contains copyright related information of the picture to be processed.
  • the copyright-related information can include the image identification (such as the image ID number), the source of the image (such as the channel information for obtaining the image to be processed), the time when the image was uploaded, and the user information of the user related to the image (such as the ID number of the image processor or the image author). , Name, nickname, etc.), designated characters and other information.
  • the designated character may be a random character determined for the picture to be processed.
  • S104 Perform hash encryption processing on the first watermark element using a hash encryption algorithm to obtain a first hash value corresponding to the first watermark element.
  • S106 Perform watermark encryption processing on the image to be processed using the watermark image corresponding to the first hash value to obtain the target image.
  • S108 Determine the verification information of the picture-related content of the target picture, and upload the verification information to the blockchain.
  • the picture-related content includes a first watermark element, and the verification information includes a first hash value.
  • the verification information may be a hash value that can be uploaded to the blockchain. Based on this, determining the verification information of the image-related content is to convert the image-related content into a corresponding hash value.
  • the first hash value corresponding to the first watermark element is obtained, and then the first hash value is used to correspond to Perform watermark encryption processing on the image to be processed for the watermark picture to obtain the target picture.
  • the watermark encryption process of the image to be processed adopts the watermark image after the hash encryption. Due to the irreversibility of the hash encryption algorithm, the security level of the image watermark can be improved, and the risk of the first watermark element carried in the watermark image is reduced. Therefore, the copyright related information of the picture contained in the first watermark element is protected.
  • the first watermark element on the target image can be retained by the blockchain for subsequent passage Verify the image watermark to protect the copyright information of the image.
  • the first hash value is first processed into images to obtain the watermark image corresponding to the image to be processed, and then the watermark image Add to the pending picture.
  • the image processing of the first hash value may include the following two methods.
  • Manner 1 Use an existing image conversion method to directly convert the format of the first hash value into a picture format, thereby obtaining a picture corresponding to the first hash value, that is, a watermark picture.
  • Manner 2 Obtain the second watermark element conforming to the specified format, and perform picture synthesis on the first hash value and the second watermark element, so as to obtain the watermark picture corresponding to the first hash value.
  • the designated format includes a picture format. For example, a picture is randomly obtained as the second watermark element, and the randomly obtained picture and the first hash value are combined into a picture, thereby obtaining a watermark picture.
  • the first watermark element can be determined by the copyright related information of the picture to be processed. Specifically, first obtain the copyright-related information of the picture to be processed, and then process the copyright-related information according to preset rules to generate the first watermark element corresponding to the picture to be processed.
  • the copyright-related information of the image to be processed may include the image identifier (such as the image ID number), the source of the image (such as the channel information for obtaining the image to be processed), the time when the image was uploaded, and the user information of the user related to the image (such as the image processor or the image Author's ID number, name, nickname, etc.), designated characters and other information.
  • the designated character may be a random character determined for the picture to be processed.
  • the preset rule may be a rule in which multiple pieces of copyright-related information are spliced together in sequence. For example, obtaining the copyright related information of the picture to be processed includes the following content: picture ID "1234", picture channel number "mayi”, picture author ID "7823902", picture upload time "201901011256", random characters "6532802”. Then, according to the above-mentioned preset rules, the multiple pieces of copyright-related information are sequentially spliced together to obtain the first watermark element "1234mayi78239022019010112566532802".
  • the first watermark element is hashed and encrypted using a hash encryption algorithm to obtain the first hash value "0257a13bf03b40f54a9fe398c79a664bb21cfa2" corresponding to the first watermark element.
  • the watermark picture obtained is shown in FIG. 2. It can be seen from FIG. 2 that the watermark picture contains the first hash value corresponding to the first watermark element, instead of directly displaying the copyright-related information of the picture, so the copyright-related information of the picture can be protected.
  • the picture-related content may also include a second watermark element, a watermark picture, a target picture, and so on. If the picture-related content includes multiple, the verification information of the multiple picture-related contents is correlated and uploaded to the blockchain, so that the picture watermark can be subsequently verified to protect the copyright information of the picture.
  • the watermark image corresponding to the first hash value when used to perform watermark encryption processing on the image to be processed to obtain the target image, the watermark image may be added to the image to be processed in a blind watermarking manner.
  • the specific method is as follows:
  • the Fourier transform can be performed on each row of the image matrix data corresponding to the picture to be processed first, and then the Fourier transform is performed on each column to complete the two-dimensional Fourier transform.
  • the key corresponding to the picture to be processed can be obtained randomly, different keys can generate different out-of-order rules, and the process is reversible.
  • the watermark picture is shuffled the pixel order according to the disorder rule generated in the previous step, and the two-dimensional Fourier transform is performed.
  • the watermark picture can be made more concealed, thereby improving the security of the watermark picture.
  • the watermark picture obtained in the previous step is superimposed on the frequency domain map of the picture to be processed to obtain a spectrogram containing the watermark.
  • the two-dimensional inverse Fourier transform is performed on the spectrogram containing the watermark to obtain the target picture containing the blind watermark.
  • Fig. 3 is a schematic flowchart of a block chain-based image watermark processing method according to an embodiment of the present specification. As shown in Fig. 3, the method includes steps S302 to S308.
  • S302 Obtain a target picture that has been encrypted by the watermark, and the target picture is embedded with a first watermark picture corresponding to a first hash value.
  • the first hash value is obtained by hashing and encrypting the first watermark element through a hash encryption algorithm, and the first watermark element contains copyright related information of the target picture.
  • the first watermark element is obtained after processing copyright-related information according to preset rules.
  • Copyright-related information can include the image identification (such as the image ID number), the source of the image (such as the channel information for obtaining the image to be processed), the upload time of the image, and the user information of the user related to the image (such as the ID number and name of the image processor or the image author) , Nickname, etc.), designated characters and other information.
  • the designated character may be a random character determined for the picture to be processed.
  • S304 Extract a first watermark picture from the target picture, and determine a first hash value based on the first watermark picture.
  • S306 Obtain verification information of the image-related content corresponding to the target image stored in the blockchain.
  • the picture-related content includes a first composite element used when performing watermark encryption processing, and the verification information includes a second hash value corresponding to the first composite element.
  • the first hash value when matching the first hash value with the verification information, the first hash value can be matched with the second hash value corresponding to the first composite element.
  • the first watermark element is the same as the first composite element, and the first hash value is the same as the second hash value.
  • the first watermark picture can be extracted from the target picture, and based on the first watermark picture, the corresponding corresponding to the first watermark element (including the copyright related information of the target picture) can be determined
  • the first hash value, and then the first hash value is matched with the verification information of the image-related content stored in the blockchain to obtain a matching result.
  • the target picture after the watermark encryption process can verify the watermark on the picture based on the data stored in the blockchain, thereby maintaining the copyright information of the picture.
  • the first watermark picture is a picture obtained by synthesizing a first hash value and a second watermark element in a specified format, and the specified format includes a picture format.
  • the first hash value can be determined by separating the second watermark element and the first hash value in the first watermark picture. Since picture synthesis is reversible, for the first watermark picture obtained by picture synthesis, an algorithm that is inverse to picture synthesis can be used to separate the second watermark element and the first hash value. The specific image synthesis algorithm and its corresponding separation algorithm belong to the prior art, and will not be repeated here.
  • the picture-related content may also include the target picture, the second watermark picture used when performing watermark encryption processing on the target picture, the second composite element used to synthesize the second watermark picture, etc. .
  • the first watermark picture is a picture obtained by synthesizing the first hash value and the second watermark element conforming to the specified format
  • the second hash value corresponding to the second watermark element can be compared with The verification information of the second synthetic element stored in the blockchain is matched.
  • the second watermark element is the same as the second composite element
  • the second hash value is the same as the verification information (such as the hash value) of the second composite element.
  • the third hash value corresponding to the first watermark picture can also be matched with the verification information of the second watermark picture.
  • the first watermark picture is the same as the second watermark picture
  • the third hash value is the same as the verification information (such as the hash value) of the second watermark picture.
  • Fig. 4 is a schematic flowchart of a block chain-based image watermark processing device according to an embodiment of the present specification.
  • the block chain-based picture watermark processing device 400 includes: a first acquisition module 410 , Obtain the first watermark element corresponding to the picture to be processed; the first watermark element contains the copyright related information of the picture to be processed; the first encryption module 420 uses a hash encryption algorithm to perform hash encryption processing on the first watermark element to obtain the first The first hash value corresponding to the watermark element; the second encryption module 430 uses the watermark image corresponding to the first hash value to perform watermark encryption processing on the image to be processed to obtain the target image; the upload module 440 determines the image-related content of the target image
  • the verification information is to upload the verification information to the blockchain; the image-related content includes the first watermark element; the verification information includes the first hash value.
  • the second encryption module 430 includes: a processing unit that performs image processing on the first hash value to obtain a watermark image corresponding to the picture to be processed; and an adding unit that adds the watermark picture to the picture to be processed.
  • the processing unit obtains a second watermark element that conforms to a specified format; the specified format includes a picture format; performs picture synthesis on the first hash value and the second watermark element to obtain a watermark picture corresponding to the first hash value .
  • the copyright-related information includes at least one of the image identification, the source of the image, the time when the image was uploaded, the user information of the user related to the image, and the designated character.
  • the first obtaining module 410 includes: an obtaining unit, which obtains copyright related information of the picture to be processed; and a generating unit, which processes the copyright related information according to preset rules to generate a first watermark element corresponding to the picture to be processed.
  • the picture-related content further includes at least one of a second watermark element, a watermark picture, and a target picture.
  • the first hash value corresponding to the first watermark element is obtained, and then the first hash value is used to correspond to Perform watermark encryption processing on the image to be processed for the watermark picture to obtain the target picture.
  • the watermark encryption process of the image to be processed adopts the watermark image after the hash encryption. Due to the irreversibility of the hash encryption algorithm, the security level of the image watermark can be improved, and the risk of the first watermark element carried in the watermark image is reduced. Therefore, the copyright related information of the picture contained in the first watermark element is protected.
  • the first watermark element on the target image can be retained by the blockchain for subsequent passage Verify the image watermark to protect the copyright information of the image.
  • FIG. 5 is a schematic flowchart of another image watermark processing device based on blockchain according to an embodiment of the present specification.
  • the image watermark processing device 500 based on blockchain includes: a second acquisition module 510. Obtain the target picture after the watermark encryption processing; the target picture is embedded with the first watermark picture corresponding to the first hash value; the first hash value is to perform hash encryption processing on the first watermark element through a hash encryption algorithm Obtain; the first watermark element contains the copyright related information of the target picture; the extraction module 520 extracts the first watermark picture from the target picture, and determines the first hash value based on the first watermark picture; the third acquisition module 530, acquires the block The verification information of the picture-related content corresponding to the target picture stored in the chain; the picture-related content includes the first composite element used when performing watermark encryption processing; the verification information includes the second hash value corresponding to the first composite element; the first matching module 540. Match the first hash value with the verification information to obtain a matching
  • the first watermark picture is a picture obtained by synthesizing a first hash value and a second watermark element in a specified format; the specified format includes a picture format; the extraction module 520 separates the first watermark picture The second watermark element and the first hash value.
  • the picture-related content further includes at least one of a target picture, a second watermark picture used when performing watermark encryption processing, and a second composition element used to synthesize the second watermark picture.
  • the device 500 also includes at least one of the following: a second matching module, which matches the second hash value corresponding to the second watermark element with the verification information of the second composite element; and a third matching module, which matches the first watermark image corresponding to the first watermark image.
  • the three hash values are matched with the verification information of the second watermark picture.
  • the copyright-related information includes at least one of the image identification, the source of the image, the time of uploading the image, the user information of the user related to the image, and the specified characters; the first watermark element is to perform the copyright-related information according to preset rules. Obtained after processing.
  • the first watermark picture can be extracted from the target picture, and based on the first watermark picture, the corresponding corresponding to the first watermark element (including the copyright related information of the target picture) can be determined
  • the first hash value, and then the first hash value is matched with the verification information of the image-related content stored in the blockchain to obtain a matching result.
  • the target picture after the watermark encryption process can verify the watermark on the picture based on the data stored in the blockchain, thereby maintaining the copyright information of the picture.
  • Blockchain-based image watermark processing equipment may have relatively large differences due to different configurations or performances, and may include one or more processors 601 and memory 602.
  • the memory 602 may store one or more storage applications or data. Among them, the memory 602 may be short-term storage or persistent storage.
  • the application program stored in the memory 602 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions for the image watermark processing device based on the blockchain.
  • the processor 601 may be configured to communicate with the memory 602, and execute a series of computer-executable instructions in the memory 602 on a block chain-based image watermark processing device.
  • the block chain-based image watermark processing device may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input and output interfaces 605, and one or more keyboards 606.
  • the block chain-based image watermark processing device includes a memory and one or more programs.
  • One or more programs are stored in the memory, and one or more programs may include one or more programs.
  • the above modules, and each module may include a series of computer-executable instructions in a block chain-based image watermark processing device, and is configured to be executed by one or more processors including one or more programs for performing The following computer-executable instructions: obtain the first watermark element corresponding to the picture to be processed; the first watermark element contains the copyright related information of the picture to be processed; hash and encrypt the first watermark element using a hash encryption algorithm Processing to obtain the first hash value corresponding to the first watermark element; use the watermark picture corresponding to the first hash value to perform watermark encryption processing on the picture to be processed to obtain a target picture; determine the value of the target picture For the verification information of the picture-related content, upload the verification information to the blockchain; the picture-related content includes the first watermark element; the verification information includes the first hash
  • the processor may also cause the processor to: perform graphical processing on the first hash value to obtain the watermark picture corresponding to the picture to be processed; and convert the watermark picture Add to the picture to be processed.
  • the processor may also cause the processor to: obtain a second watermark element conforming to a specified format; the specified format includes a picture format; and the first hash value and the The second watermark element performs picture synthesis to obtain the watermark picture corresponding to the first hash value.
  • the copyright-related information includes at least one of the image identification, the source of the image, the time when the image was uploaded, the user information of the user related to the image, and the specified characters; when the computer-executable instructions are executed, the Processor: Obtain the copyright-related information of the picture to be processed; process the copyright-related information according to preset rules to generate the first watermark element corresponding to the picture to be processed.
  • the picture-related content further includes at least one of the second watermark element, the watermark picture, and the target picture.
  • Blockchain-based image watermark processing equipment may have relatively large differences due to different configurations or performances, and may include one or more processors 701 and a memory 702.
  • the memory 702 may store one or more storage applications or data. Among them, the memory 702 may be short-term storage or persistent storage.
  • the application program stored in the memory 702 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions for the image watermark processing device based on the blockchain.
  • the processor 701 may be configured to communicate with the memory 702, and execute a series of computer-executable instructions in the memory 702 on a block chain-based image watermark processing device.
  • the block chain-based image watermark processing device may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input and output interfaces 705, and one or more keyboards 706.
  • the block chain-based image watermark processing device includes a memory and one or more programs.
  • One or more programs are stored in the memory, and one or more programs may include one or more programs.
  • the above modules, and each module may include a series of computer-executable instructions in a block chain-based image watermark processing device, and is configured to be executed by one or more processors including one or more programs for performing The following computer-executable instructions:
  • the target picture is embedded with the first watermark picture corresponding to the first hash value;
  • a watermark element is hashed and encrypted; the first watermark element contains the copyright-related information of the target picture; the first watermark picture is extracted from the target picture, and the first watermark picture is determined based on the first watermark picture
  • the verification information of the picture-related content corresponding to the target picture stored in the blockchain is obtained;
  • the picture-related content includes the first composite element used when the watermark encryption processing is performed;
  • the first watermark picture is a picture obtained by synthesizing the first hash value and a second watermark element in a specified format; the specified format includes a picture format; computer executable instructions are being executed At the time, the processor may also be caused to separate the second watermark element and the first hash value in the first watermark picture.
  • the picture-related content further includes at least one of the target picture, a second watermark picture used when performing the watermark encryption processing, and a second composition element used to synthesize the second watermark picture;
  • the processor may further: match the second hash value corresponding to the second watermark element with the verification information of the second composite element; The third hash value corresponding to the picture is matched with the verification information of the second watermark picture.
  • the copyright-related information includes at least one of picture identification, picture source, picture upload time, user information of the user related to the picture, and designated characters;
  • the copyright-related information is obtained after processing.
  • One or more embodiments of this specification also propose a computer-readable storage medium that stores one or more programs, and the one or more programs include instructions.
  • the electronic device can execute the above-mentioned blockchain-based picture watermark processing method, and is specifically used to execute: obtain the first watermark element corresponding to the picture to be processed; the first watermark element contains the to-be-processed picture Process the copyright-related information of the picture; use a hash encryption algorithm to perform hash encryption processing on the first watermark element to obtain the first hash value corresponding to the first watermark element; use the first hash value corresponding to the The watermark picture performs watermark encryption processing on the picture to be processed to obtain the target picture; determines the verification information of the picture-related content of the target picture, and uploads the verification information to the blockchain; the picture-related content includes the The first watermark element; the verification information includes the first hash value.
  • One or more embodiments of this specification also propose a computer-readable storage medium that stores one or more programs, and the one or more programs include instructions.
  • the instructions include multiple application programs
  • the electronic device can execute the above-mentioned block chain-based image watermark processing method, and is specifically used to execute: obtain a target picture after watermark encryption processing; the target picture is embedded with a first hash Value corresponding to the first watermark picture; the first hash value is obtained by hashing and encrypting the first watermark element through a hash encryption algorithm; the first watermark element contains the copyright-related information of the target picture; Extracting the first watermark picture from the target picture, and determining the first hash value based on the first watermark picture; obtaining verification information of the picture-related content corresponding to the target picture stored in the blockchain;
  • the picture-related content includes a first composite element used when performing the watermark encryption process; the verification information includes a second hash value corresponding to the first composite element; and the first hash value is combined with the The verification information
  • a typical implementation device is a computer.
  • the computer may be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
  • one or more embodiments of this specification can be provided as a method, a system, or a computer program product. Therefore, one or more embodiments of this specification may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may adopt computer programs implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The form of the product.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media include 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, magnetic tape magnetic disk storage 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.
  • program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types.
  • This application can also be practiced in distributed computing environments. In these distributed computing environments, tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

Abstract

Disclosed in one or more embodiments of the present description are a blockchain-based picture watermark processing method and apparatus, for use in reducing the risk of cracking a picture watermark. The method comprises: obtaining a first watermark element corresponding to a picture to be processed, the first watermark element comprising copyright related information of the picture to be processed; performing hash encryption processing on the first watermark element by using a hash encryption algorithm to obtain a first hash value corresponding to the first watermark element; performing watermark encryption processing on the picture to be processed by using a watermark picture corresponding to the first hash value to obtain a target picture; and determining verification information of picture associated content of the target picture, and uploading the verification information to a blockchain. The picture associated content comprises the first watermark element. The verification information comprises the first hash value.

Description

基于区块链的图片水印处理方法及装置Image watermark processing method and device based on blockchain 技术领域Technical field
本文涉及图片处理技术领域,尤其涉及一种基于区块链的图片水印处理方法及装置。This article relates to the field of image processing technology, and in particular to a method and device for image watermark processing based on blockchain.
背景技术Background technique
中国视觉素材市场前景广阔、空间巨大,而正版图片市场规模占广告市场规模的比例仅有0.2%,这意味着大部分的份额被盗版蚕食,图片版权市场箭在弦上。目前主要通过明水印或普通盲水印的方式在版权图片上打上印记,帮助追溯和维权。其中,明水印是将水印以明文的方式打在图片上,普通盲水印则是将水印字符串转化为图片,将图片通过二维傅里叶变换和逆傅里叶变换隐藏在原版权图片中。China's visual material market has a broad prospect and huge space, and the proportion of the original picture market in the advertising market is only 0.2%, which means that most of the share has been eroded by piracy, and the picture copyright market is on the line. At present, it is mainly used to imprint copyright pictures with clear watermarks or ordinary blind watermarks to help traceability and rights protection. Among them, the clear watermark is to put the watermark on the picture in plaintext, and the ordinary blind watermark is to convert the watermark string into the picture, and the picture is hidden in the original copyright picture through two-dimensional Fourier transform and inverse Fourier transform.
然而,目前的水印图片仍存在一些缺陷。对于明水印而言,其全覆盖的方式影响图片的视觉效果,但若以部分覆盖的方式,后期可通过旋转、裁剪、截图等方式裁剪掉水印,不适用于大部分非样例图的使用途径。对于普通盲水印而言,在某些条件下,对图片盲水印进行暴力破解后,可获得水印字符串,从而得知水印中所包含的用户名ID等等的隐私信息,因此不适用于某些对于隐私权有高级要求的使用场合;并且可能根据水印反向破解所有该平台的图片,一旦一张图片被破解,获得密钥生成规则,则全平台都有泄密的可能性。However, the current watermark pictures still have some defects. For a clear watermark, its full coverage affects the visual effect of the image, but if it is partially covered, the watermark can be cropped by rotation, cropping, screenshots, etc. later, which is not suitable for most non-sample images. way. For ordinary blind watermarks, under certain conditions, after brute force cracking of the blind watermarks of pictures, the watermark string can be obtained, so that the user name ID and other private information contained in the watermark can be known. Therefore, it is not suitable for certain conditions. Some use occasions that have advanced requirements for privacy; and it is possible to reversely crack all the pictures of the platform based on the watermark. Once a picture is cracked and the key generation rules are obtained, the whole platform has the possibility of leaking.
发明内容Summary of the invention
一方面,本说明书一个或多个实施例提供一种基于区块链的图片水印处理方法,包括:获取待处理图片对应的第一水印元素,所述第一水印元素包含所述待处理图片的版权相关信息。利用哈希加密算法对所述第一水印元素进行哈希加密处理,得到所述第一水印元素对应的第一哈希值。利用所述第一哈希值对应的水印图片对所述待处理图片进行水印加密处理,得到目标图片。确定所述目标图片的图片关联内容的验证信息,将所述验证信息上传至区块链中。所述图片关联内容包括所述第一水印元素。所述验证信息包括所述第一哈希值。On the one hand, one or more embodiments of this specification provide a block chain-based image watermark processing method, including: obtaining a first watermark element corresponding to a picture to be processed, where the first watermark element contains information about the picture to be processed Copyright related information. Using a hash encryption algorithm to perform hash encryption processing on the first watermark element to obtain the first hash value corresponding to the first watermark element. Perform watermark encryption processing on the picture to be processed by using the watermark picture corresponding to the first hash value to obtain a target picture. The verification information of the picture-related content of the target picture is determined, and the verification information is uploaded to the blockchain. The picture-related content includes the first watermark element. The verification information includes the first hash value.
另一方面,本说明书一个或多个实施例提供一种基于区块链的图片水印处理方法,包括:获取经水印加密处理后的目标图片,所述目标图片上嵌入有第一哈希值对应的第 一水印图片,所述第一哈希值为通过哈希加密算法对第一水印元素进行哈希加密处理得到,所述第一水印元素包含所述目标图片的版权相关信息。从所述目标图片上提取出所述第一水印图片,基于所述第一水印图片确定所述第一哈希值。获取区块链中存储的所述目标图片对应的图片关联内容的验证信息,所述图片关联内容包括执行所述水印加密处理时使用的第一合成元素,所述验证信息包括所述第一合成元素对应的第二哈希值。将所述第一哈希值与所述验证信息进行匹配,得到匹配结果。On the other hand, one or more embodiments of this specification provide a block chain-based image watermark processing method, including: acquiring a target picture after watermark encryption processing, and the target picture is embedded with a first hash value corresponding to In the first watermark picture, the first hash value is obtained by hashing and encrypting the first watermark element through a hash encryption algorithm, and the first watermark element contains copyright related information of the target picture. The first watermark picture is extracted from the target picture, and the first hash value is determined based on the first watermark picture. Obtain verification information of the picture-related content corresponding to the target picture stored in the blockchain, where the picture-related content includes a first synthesis element used when performing the watermark encryption process, and the verification information includes the first synthesis The second hash value corresponding to the element. The first hash value is matched with the verification information to obtain a matching result.
再一方面,本说明书一个或多个实施例提供一种基于区块链的图片水印处理装置,包括:第一获取模块,获取待处理图片对应的第一水印元素,所述第一水印元素包含所述待处理图片的版权相关信息。第一加密模块,利用哈希加密算法对所述第一水印元素进行哈希加密处理,得到所述第一水印元素对应的第一哈希值。第二加密模块,利用所述第一哈希值对应的水印图片对所述待处理图片进行水印加密处理,得到目标图片。上传模块,确定所述目标图片的图片关联内容的验证信息,将所述验证信息上传至区块链中,所述图片关联内容包括所述第一水印元素,所述验证信息包括所述第一哈希值。In another aspect, one or more embodiments of the present specification provide a block chain-based image watermark processing device, including: a first acquisition module for acquiring a first watermark element corresponding to a picture to be processed, the first watermark element including Copyright related information of the picture to be processed. The first encryption module uses a hash encryption algorithm to perform hash encryption processing on the first watermark element to obtain the first hash value corresponding to the first watermark element. The second encryption module uses the watermark image corresponding to the first hash value to perform watermark encryption processing on the to-be-processed image to obtain a target image. The upload module determines the verification information of the picture-related content of the target picture, uploads the verification information to the blockchain, the picture-related content includes the first watermark element, and the verification information includes the first Hash value.
再一方面,本说明书一个或多个实施例提供一种基于区块链的图片水印处理装置,包括:第二获取模块,获取经水印加密处理后的目标图片,所述目标图片上嵌入有第一哈希值对应的第一水印图片,所述第一哈希值为通过哈希加密算法对第一水印元素进行哈希加密处理得到,所述第一水印元素包含所述目标图片的版权相关信息。提取模块,从所述目标图片上提取出所述第一水印图片,基于所述第一水印图片确定所述第一哈希值。第三获取模块,获取区块链中存储的所述目标图片对应的图片关联内容的验证信息,所述图片关联内容包括执行所述水印加密处理时使用的第一合成元素,所述验证信息包括所述第一合成元素对应的第二哈希值。第一匹配模块,将所述第一哈希值与所述验证信息进行匹配,得到匹配结果。In another aspect, one or more embodiments of the present specification provide a block chain-based image watermark processing device, including: a second acquisition module, which acquires a target picture after watermark encryption processing, and the target picture is embedded with a first A first watermark image corresponding to a hash value, where the first hash value is obtained by hashing and encrypting a first watermark element through a hash encryption algorithm, and the first watermark element contains the copyright-related information of the target image information. The extraction module extracts the first watermark picture from the target picture, and determines the first hash value based on the first watermark picture. The third obtaining module obtains the verification information of the picture-related content corresponding to the target picture stored in the blockchain, the picture-related content including the first composite element used when the watermark encryption processing is performed, and the verification information includes The second hash value corresponding to the first composite element. The first matching module matches the first hash value with the verification information to obtain a matching result.
再一方面,本说明书一个或多个实施例提供一种基于区块链的图片水印处理设备,包括:处理器;以及被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:获取待处理图片对应的第一水印元素,所述第一水印元素包含所述待处理图片的版权相关信息。利用哈希加密算法对所述第一水印元素进行哈希加密处理,得到所述第一水印元素对应的第一哈希值。利用所述第一哈希值对应的水印图片对所述待处理图片进行水印加密处理,得到目标图片。确定所述目标图片的图片关联内容的验证信息,将所述验证信息上传至区块链中。所述图片关联内容包括所述第一水印元素。所述验证信息包括所述第一哈希值。In another aspect, one or more embodiments of the present specification provide a blockchain-based image watermark processing device, including: a processor; and a memory arranged to store computer-executable instructions that are being executed When enabling the processor to obtain a first watermark element corresponding to the picture to be processed, the first watermark element includes copyright related information of the picture to be processed. Using a hash encryption algorithm to perform hash encryption processing on the first watermark element to obtain the first hash value corresponding to the first watermark element. Perform watermark encryption processing on the picture to be processed by using the watermark picture corresponding to the first hash value to obtain a target picture. The verification information of the picture-related content of the target picture is determined, and the verification information is uploaded to the blockchain. The picture-related content includes the first watermark element. The verification information includes the first hash value.
再一方面,本说明书一个或多个实施例提供一种基于区块链的图片水印处理设备,包括:处理器;以及被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:获取经水印加密处理后的目标图片,所述目标图片上嵌入有第一哈希值对应的第一水印图片,所述第一哈希值为通过哈希加密算法对第一水印元素进行哈希加密处理得到,所述第一水印元素包含所述目标图片的版权相关信息。从所述目标图片上提取出所述第一水印图片,基于所述第一水印图片确定所述第一哈希值。获取区块链中存储的所述目标图片对应的图片关联内容的验证信息,所述图片关联内容包括执行所述水印加密处理时使用的第一合成元素,所述验证信息包括所述第一合成元素对应的第二哈希值。将所述第一哈希值与所述验证信息进行匹配,得到匹配结果。In another aspect, one or more embodiments of the present specification provide a blockchain-based image watermark processing device, including: a processor; and a memory arranged to store computer-executable instructions that are being executed When the processor is made to obtain the target picture after the watermark encryption processing, the first watermark picture corresponding to the first hash value is embedded on the target picture, and the first hash value is a pair of The first watermark element is obtained by performing hash encryption processing, and the first watermark element contains the copyright related information of the target picture. The first watermark picture is extracted from the target picture, and the first hash value is determined based on the first watermark picture. Obtain verification information of the picture-related content corresponding to the target picture stored in the blockchain, where the picture-related content includes a first synthesis element used when performing the watermark encryption process, and the verification information includes the first synthesis The second hash value corresponding to the element. The first hash value is matched with the verification information to obtain a matching result.
再一方面,本说明书一个或多个实施例提供一种存储介质,用于存储计算机可执行指令,所述可执行指令在被执行时实现以下流程:获取待处理图片对应的第一水印元素,所述第一水印元素包含所述待处理图片的版权相关信息。利用哈希加密算法对所述第一水印元素进行哈希加密处理,得到所述第一水印元素对应的第一哈希值。利用所述第一哈希值对应的水印图片对所述待处理图片进行水印加密处理,得到目标图片。确定所述目标图片的图片关联内容的验证信息,将所述验证信息上传至区块链中。所述图片关联内容包括所述第一水印元素。所述验证信息包括所述第一哈希值。In another aspect, one or more embodiments of this specification provide a storage medium for storing computer-executable instructions that, when executed, implement the following process: obtain the first watermark element corresponding to the picture to be processed, The first watermark element includes copyright related information of the picture to be processed. Using a hash encryption algorithm to perform hash encryption processing on the first watermark element to obtain the first hash value corresponding to the first watermark element. Perform watermark encryption processing on the picture to be processed by using the watermark picture corresponding to the first hash value to obtain a target picture. The verification information of the picture-related content of the target picture is determined, and the verification information is uploaded to the blockchain. The picture-related content includes the first watermark element. The verification information includes the first hash value.
再一方面,本说明书一个或多个实施例提供一种存储介质,用于存储计算机可执行指令,所述可执行指令在被执行时实现以下流程:获取经水印加密处理后的目标图片,所述目标图片上嵌入有第一哈希值对应的第一水印图片,所述第一哈希值为通过哈希加密算法对第一水印元素进行哈希加密处理得到,所述第一水印元素包含所述目标图片的版权相关信息。从所述目标图片上提取出所述第一水印图片,基于所述第一水印图片确定所述第一哈希值。获取区块链中存储的所述目标图片对应的图片关联内容的验证信息,所述图片关联内容包括执行所述水印加密处理时使用的第一合成元素,所述验证信息包括所述第一合成元素对应的第二哈希值。将所述第一哈希值与所述验证信息进行匹配,得到匹配结果。In another aspect, one or more embodiments of this specification provide a storage medium for storing computer-executable instructions that, when executed, implement the following process: obtain a target picture after watermark encryption processing, and A first watermark picture corresponding to a first hash value is embedded on the target picture, and the first hash value is obtained by hashing and encrypting a first watermark element by a hash encryption algorithm, and the first watermark element includes The copyright related information of the target picture. The first watermark picture is extracted from the target picture, and the first hash value is determined based on the first watermark picture. Obtain verification information of the picture-related content corresponding to the target picture stored in the blockchain, where the picture-related content includes a first synthesis element used when performing the watermark encryption process, and the verification information includes the first synthesis The second hash value corresponding to the element. The first hash value is matched with the verification information to obtain a matching result.
附图说明Description of the drawings
为了更清楚地说明本说明书一个或多个实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书一个或多个实施例中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造 性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the technical solutions in one or more embodiments of this specification, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are only one of the specification. For some of the embodiments described in or multiple embodiments, for those of ordinary skill in the art, other drawings may be obtained based on these drawings without creative work.
图1是根据本说明书一实施例的一种基于区块链的图片水印处理方法的示意性流程图;Fig. 1 is a schematic flowchart of a method for processing a picture watermark based on a blockchain according to an embodiment of the present specification;
图2是根据本说明书一实施例的一种水印图片的示意性显示图;Fig. 2 is a schematic display diagram of a watermark picture according to an embodiment of this specification;
图3是根据本说明书另一实施例的一种基于区块链的图片水印处理方法的示意性流程图;Fig. 3 is a schematic flowchart of a method for processing a picture watermark based on a blockchain according to another embodiment of the present specification;
图4是根据本说明书一实施例的一种基于区块链的图片水印处理装置的示意性框图;Fig. 4 is a schematic block diagram of a block chain-based image watermark processing device according to an embodiment of the present specification;
图5是根据本说明书另一实施例的一种基于区块链的图片水印处理装置的示意性框图;Fig. 5 is a schematic block diagram of a block chain-based image watermark processing device according to another embodiment of the present specification;
图6是根据本说明书一实施例的一种基于区块链的图片水印处理设备的示意性框图;Fig. 6 is a schematic block diagram of a block chain-based image watermark processing device according to an embodiment of the present specification;
图7是根据本说明书另一实施例的一种基于区块链的图片水印处理设备的示意性框图。Fig. 7 is a schematic block diagram of a block chain-based image watermark processing device according to another embodiment of the present specification.
具体实施方式Detailed ways
本说明书一个或多个实施例提供一种基于区块链的图片水印处理方法及装置,用于降低图片水印的破解风险。One or more embodiments of this specification provide a block chain-based image watermark processing method and device, which are used to reduce the risk of cracking the image watermark.
为了使本技术领域的人员更好地理解本说明书一个或多个实施例中的技术方案,下面将结合本说明书一个或多个实施例中的附图,对本说明书一个或多个实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本说明书一部分实施例,而不是全部的实施例。基于本说明书一个或多个实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本文件保护的范围。In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will be combined with the drawings in one or more embodiments of this specification to compare the technical solutions in one or more embodiments of this specification. The technical solution is described clearly and completely. Obviously, the described embodiments are only a part of the embodiments in this specification, rather than all the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this document.
图1是根据本说明书一实施例的一种基于区块链的图片水印处理方法的示意性流程图,如图1所示,该方法包括步骤S102至步骤S108。Fig. 1 is a schematic flowchart of a block chain-based image watermark processing method according to an embodiment of the present specification. As shown in Fig. 1, the method includes steps S102 to S108.
S102,获取待处理图片对应的第一水印元素,第一水印元素包含待处理图片的版权相关信息。S102: Obtain a first watermark element corresponding to the picture to be processed, where the first watermark element contains copyright related information of the picture to be processed.
其中,版权相关信息可包括图片标识(如图片ID号)、图片来源(如获取待处理 图片的渠道信息)、图片上传时间、图片相关用户的用户信息(如图片处理者或图片作者的ID号、名字、昵称等)、指定字符等信息。指定字符可以是针对待处理图片确定的随机字符。Among them, the copyright-related information can include the image identification (such as the image ID number), the source of the image (such as the channel information for obtaining the image to be processed), the time when the image was uploaded, and the user information of the user related to the image (such as the ID number of the image processor or the image author). , Name, nickname, etc.), designated characters and other information. The designated character may be a random character determined for the picture to be processed.
S104,利用哈希加密算法对第一水印元素进行哈希加密处理,得到第一水印元素对应的第一哈希值。S104: Perform hash encryption processing on the first watermark element using a hash encryption algorithm to obtain a first hash value corresponding to the first watermark element.
S106,利用第一哈希值对应的水印图片对待处理图片进行水印加密处理,得到目标图片。S106: Perform watermark encryption processing on the image to be processed using the watermark image corresponding to the first hash value to obtain the target image.
S108,确定目标图片的图片关联内容的验证信息,将验证信息上传至区块链中,图片关联内容包括第一水印元素,验证信息包括第一哈希值。S108: Determine the verification information of the picture-related content of the target picture, and upload the verification information to the blockchain. The picture-related content includes a first watermark element, and the verification information includes a first hash value.
其中,验证信息可以是能够上传至区块链中的哈希值。基于此,确定图片关联内容的验证信息即为将图片关联内容转化为对应的哈希值。Among them, the verification information may be a hash value that can be uploaded to the blockchain. Based on this, determining the verification information of the image-related content is to convert the image-related content into a corresponding hash value.
本实施例中,通过获取待处理图片对应的第一水印元素,并对第一水印元素进行哈希加密处理,得到第一水印元素对应的第一哈希值,进而利用第一哈希值对应的水印图片对待处理图片进行水印加密处理,得到目标图片。使得待处理图片的水印加密过程采用哈希加密后的水印图片,由于哈希加密算法的不可逆性,因此能够提高图片水印的安全等级,降低水印图片中携带的第一水印元素被破解的风险,从而保护第一水印元素中包含的图片版权相关信息。此外,通过将目标图片的图片关联内容的验证信息(包含第一水印元素的哈希值)上传至区块链,使得目标图片上的第一水印元素能够通过区块链留证,便于后续通过验证图片水印来保护图片版权信息。In this embodiment, by obtaining the first watermark element corresponding to the picture to be processed, and performing hash encryption processing on the first watermark element, the first hash value corresponding to the first watermark element is obtained, and then the first hash value is used to correspond to Perform watermark encryption processing on the image to be processed for the watermark picture to obtain the target picture. The watermark encryption process of the image to be processed adopts the watermark image after the hash encryption. Due to the irreversibility of the hash encryption algorithm, the security level of the image watermark can be improved, and the risk of the first watermark element carried in the watermark image is reduced. Therefore, the copyright related information of the picture contained in the first watermark element is protected. In addition, by uploading the verification information (including the hash value of the first watermark element) of the image-related content of the target image to the blockchain, the first watermark element on the target image can be retained by the blockchain for subsequent passage Verify the image watermark to protect the copyright information of the image.
在一个实施例中,利用第一哈希值对应的水印图片对待处理图片进行水印加密处理时,首先对第一哈希值进行图片化处理,得到待处理图片对应的水印图片,进而将水印图片添加至待处理图片中。In one embodiment, when the watermark image corresponding to the first hash value is used to perform watermark encryption processing on the image to be processed, the first hash value is first processed into images to obtain the watermark image corresponding to the image to be processed, and then the watermark image Add to the pending picture.
其中,对第一哈希值进行图片化处理可包括以下两种方式。Wherein, the image processing of the first hash value may include the following two methods.
方式一、利用现有的图片转化方式直接将第一哈希值的格式转化为图片格式,从而得到第一哈希值对应的图片,即水印图片。Manner 1: Use an existing image conversion method to directly convert the format of the first hash value into a picture format, thereby obtaining a picture corresponding to the first hash value, that is, a watermark picture.
方式二、获取符合指定格式的第二水印元素,并对第一哈希值及第二水印元素进行图片合成,从而得到第一哈希值对应的水印图片。其中,指定格式包括图片格式。例如,随机获取一张图片作为第二水印元素,并将随机获取的该张图片与第一哈希值合成为图片,从而得到水印图片。Manner 2: Obtain the second watermark element conforming to the specified format, and perform picture synthesis on the first hash value and the second watermark element, so as to obtain the watermark picture corresponding to the first hash value. Among them, the designated format includes a picture format. For example, a picture is randomly obtained as the second watermark element, and the randomly obtained picture and the first hash value are combined into a picture, thereby obtaining a watermark picture.
在一个实施例中,第一水印元素可由待处理图片的版权相关信息确定得到。具体的,首先获取待处理图片的版权相关信息,进而按照预设规则对版权相关信息进行处理,以生成待处理图片对应的第一水印元素。其中,待处理图片的版权相关信息可包括图片标识(如图片ID号)、图片来源(如获取待处理图片的渠道信息)、图片上传时间、图片相关用户的用户信息(如图片处理者或图片作者的ID号、名字、昵称等)、指定字符等信息。指定字符可以是针对待处理图片确定的随机字符。In one embodiment, the first watermark element can be determined by the copyright related information of the picture to be processed. Specifically, first obtain the copyright-related information of the picture to be processed, and then process the copyright-related information according to preset rules to generate the first watermark element corresponding to the picture to be processed. Among them, the copyright-related information of the image to be processed may include the image identifier (such as the image ID number), the source of the image (such as the channel information for obtaining the image to be processed), the time when the image was uploaded, and the user information of the user related to the image (such as the image processor or the image Author's ID number, name, nickname, etc.), designated characters and other information. The designated character may be a random character determined for the picture to be processed.
预设规则可以是将多项版权相关信息依序拼接在一起的规则。例如,获取待处理图片的版权相关信息包括以下内容:图片ID“1234”、图片渠道号“mayi”、图片作者ID“7823902”、图片上传时间“201901011256”、随机字符“6532802”。则按照上述预设规则将该多项版权相关信息依序拼接在一起,得到第一水印元素“1234mayi78239022019010112566532802”。利用哈希加密算法对该第一水印元素进行哈希加密处理,得到第一水印元素对应的第一哈希值“0257a13bf03b40f54a9fe398c79a664bb21cfa2”。The preset rule may be a rule in which multiple pieces of copyright-related information are spliced together in sequence. For example, obtaining the copyright related information of the picture to be processed includes the following content: picture ID "1234", picture channel number "mayi", picture author ID "7823902", picture upload time "201901011256", random characters "6532802". Then, according to the above-mentioned preset rules, the multiple pieces of copyright-related information are sequentially spliced together to obtain the first watermark element "1234mayi78239022019010112566532802". The first watermark element is hashed and encrypted using a hash encryption algorithm to obtain the first hash value "0257a13bf03b40f54a9fe398c79a664bb21cfa2" corresponding to the first watermark element.
上述例子中,将第一哈希值“0257a13bf03b40f54a9fe398c79a664bb21cfa2”与随机获取的图片格式的第二水印元素进行图片合成后,得到的水印图片如图2所示。从图2中可看出,水印图片中包含的是第一水印元素对应的第一哈希值,而并非直接显示图片的版权相关信息,因此可对图片的版权相关信息起到保护作用。In the above example, after the first hash value "0257a13bf03b40f54a9fe398c79a664bb21cfa2" is combined with the second watermark element of the randomly acquired picture format, the watermark picture obtained is shown in FIG. 2. It can be seen from FIG. 2 that the watermark picture contains the first hash value corresponding to the first watermark element, instead of directly displaying the copyright-related information of the picture, so the copyright-related information of the picture can be protected.
上述实施例中,图片关联内容除第一水印元素之外,还可包括第二水印元素、水印图片、目标图片等。若图片关联内容包括多个,则将多个图片关联内容的验证信息关联上传至区块链,以便于后续通过验证图片水印来保护图片版权信息。In the foregoing embodiment, in addition to the first watermark element, the picture-related content may also include a second watermark element, a watermark picture, a target picture, and so on. If the picture-related content includes multiple, the verification information of the multiple picture-related contents is correlated and uploaded to the blockchain, so that the picture watermark can be subsequently verified to protect the copyright information of the picture.
在一个实施例中,利用第一哈希值对应的水印图片对待处理图片进行水印加密处理,以得到目标图片时,可采用盲水印方式将水印图片添加至待处理图片上。具体方法如下:In one embodiment, when the watermark image corresponding to the first hash value is used to perform watermark encryption processing on the image to be processed to obtain the target image, the watermark image may be added to the image to be processed in a blind watermarking manner. The specific method is as follows:
首先,将待处理图片进行二维傅里叶变换,得到待处理图片对应的频域图。可先对待处理图片对应的图像矩阵数据的每一行进行傅里叶变换,再对每一列进行傅里叶变换,即可完成二维傅里叶变换。First, perform a two-dimensional Fourier transform on the picture to be processed to obtain a frequency domain map corresponding to the picture to be processed. The Fourier transform can be performed on each row of the image matrix data corresponding to the picture to be processed first, and then the Fourier transform is performed on each column to complete the two-dimensional Fourier transform.
其次,确定一个密钥,根据该密钥生成乱序规则。待处理图片对应的密钥可以是随机获取的,不同的密钥可生成不同的乱序规则,且该过程具有可逆性。Second, determine a key, and generate out-of-order rules based on the key. The key corresponding to the picture to be processed can be obtained randomly, different keys can generate different out-of-order rules, and the process is reversible.
再次,将水印图片按照上一步骤中生成的乱序规则打乱像素顺序,并进行二维傅 里叶变换。该步骤中,通过将水印图片的像素打乱,可使水印图片更加隐蔽,从而提高水印图片的安全性。Thirdly, the watermark picture is shuffled the pixel order according to the disorder rule generated in the previous step, and the two-dimensional Fourier transform is performed. In this step, by disrupting the pixels of the watermark picture, the watermark picture can be made more concealed, thereby improving the security of the watermark picture.
然后,将上一步骤得到的水印图片叠加在待处理图片的频域图上,得到包含水印的频谱图。Then, the watermark picture obtained in the previous step is superimposed on the frequency domain map of the picture to be processed to obtain a spectrogram containing the watermark.
最后,将包含水印的频谱图进行二维傅里叶逆变换,得到包含盲水印的目标图片。Finally, the two-dimensional inverse Fourier transform is performed on the spectrogram containing the watermark to obtain the target picture containing the blind watermark.
图3是根据本说明书一实施例的一种基于区块链的图片水印处理方法的示意性流程图,如图3所示,该方法包括步骤S302至步骤S308。Fig. 3 is a schematic flowchart of a block chain-based image watermark processing method according to an embodiment of the present specification. As shown in Fig. 3, the method includes steps S302 to S308.
S302,获取经水印加密处理后的目标图片,目标图片上嵌入有第一哈希值对应的第一水印图片。S302: Obtain a target picture that has been encrypted by the watermark, and the target picture is embedded with a first watermark picture corresponding to a first hash value.
其中,第一哈希值为通过哈希加密算法对第一水印元素进行哈希加密处理得到,第一水印元素包含目标图片的版权相关信息。第一水印元素为按照预设规则对版权相关信息进行处理后得到。Wherein, the first hash value is obtained by hashing and encrypting the first watermark element through a hash encryption algorithm, and the first watermark element contains copyright related information of the target picture. The first watermark element is obtained after processing copyright-related information according to preset rules.
版权相关信息可包括图片标识(如图片ID号)、图片来源(如获取待处理图片的渠道信息)、图片上传时间、图片相关用户的用户信息(如图片处理者或图片作者的ID号、名字、昵称等)、指定字符等信息。指定字符可以是针对待处理图片确定的随机字符。Copyright-related information can include the image identification (such as the image ID number), the source of the image (such as the channel information for obtaining the image to be processed), the upload time of the image, and the user information of the user related to the image (such as the ID number and name of the image processor or the image author) , Nickname, etc.), designated characters and other information. The designated character may be a random character determined for the picture to be processed.
S304,从目标图片上提取出第一水印图片,基于第一水印图片确定第一哈希值。S304: Extract a first watermark picture from the target picture, and determine a first hash value based on the first watermark picture.
S306,获取区块链中存储的目标图片对应的图片关联内容的验证信息。S306: Obtain verification information of the image-related content corresponding to the target image stored in the blockchain.
其中,图片关联内容包括执行水印加密处理时使用的第一合成元素,验证信息包括第一合成元素对应的第二哈希值。Wherein, the picture-related content includes a first composite element used when performing watermark encryption processing, and the verification information includes a second hash value corresponding to the first composite element.
S308,将第一哈希值与验证信息进行匹配,得到匹配结果。S308: Match the first hash value with the verification information to obtain a matching result.
该步骤中,将第一哈希值与验证信息进行匹配时,可将第一哈希值与第一合成元素对应的第二哈希值进行匹配。在目标图片上的水印图片未经篡改的情况下,第一水印元素与第一合成元素相同,第一哈希值与第二哈希值相同。In this step, when matching the first hash value with the verification information, the first hash value can be matched with the second hash value corresponding to the first composite element. In the case that the watermark picture on the target picture has not been tampered with, the first watermark element is the same as the first composite element, and the first hash value is the same as the second hash value.
本实施例中,针对经水印加密处理后的目标图片,能够从目标图片上提取出第一水印图片,并基于第一水印图片确定出第一水印元素(包含目标图片的版权相关信息)对应的第一哈希值,进而将第一哈希值与区块链中存储的图片关联内容的验证信息进行匹配,得到匹配结果。使得经过水印加密处理后的目标图片能够基于区块链中存储的数 据来验证图片上的水印,从而维护图片版权信息。In this embodiment, for the target picture after the watermark encryption process, the first watermark picture can be extracted from the target picture, and based on the first watermark picture, the corresponding corresponding to the first watermark element (including the copyright related information of the target picture) can be determined The first hash value, and then the first hash value is matched with the verification information of the image-related content stored in the blockchain to obtain a matching result. The target picture after the watermark encryption process can verify the watermark on the picture based on the data stored in the blockchain, thereby maintaining the copyright information of the picture.
执行S304时,以目标图片为经过盲水印加密处理后的图片为例。由于盲水印加密处理是在原始图片的频域图上叠加第一水印图片,因此提取目标图片上的第一水印图片时,只需将原始图片和包含第一水印图片的目标图片分别进行傅里叶变换,然后通过减法即可提取出加密后的水印图片(即被打乱像素的水印图片)。提取出加密后的水印图片后,需确定对原始图片进行盲水印加密处理时所采用的密钥(该密钥用于生成乱序规则),然后通过密钥逆推出第一水印图片的像素乱序规则,进而根据该像素乱序规则还原第一水印图片的图片像素,即可得到第一水印图片。When S304 is performed, take the target picture as an example that has undergone blind watermark encryption processing. Since the blind watermark encryption process superimposes the first watermark picture on the frequency domain map of the original picture, when extracting the first watermark picture on the target picture, only the original picture and the target picture containing the first watermark picture need to be Fouriered separately Leaf transformation, and then subtraction can extract the encrypted watermark picture (that is, the watermark picture with disturbed pixels). After extracting the encrypted watermark picture, it is necessary to determine the key used in the blind watermark encryption processing of the original picture (the key is used to generate the disorder rule), and then the pixel disorder of the first watermark picture is deduced by the key. Order rule, and then restore the picture pixels of the first watermark picture according to the pixel disorder rule to obtain the first watermark picture.
在一个实施例中,第一水印图片为对第一哈希值与符合指定格式的第二水印元素进行图片合成得到的图片,该指定格式包括图片格式。In an embodiment, the first watermark picture is a picture obtained by synthesizing a first hash value and a second watermark element in a specified format, and the specified format includes a picture format.
本实施例中,可通过分离第一水印图片中的第二水印元素与第一哈希值,进而确定第一哈希值。由于图片合成具有可逆性,因此对于图片合成得到的第一水印图片,可采用与图片合成相逆的算法分离出第二水印元素与第一哈希值。具体的图片合成算法及其对应的分离算法属于现有技术,在此不再赘述。In this embodiment, the first hash value can be determined by separating the second watermark element and the first hash value in the first watermark picture. Since picture synthesis is reversible, for the first watermark picture obtained by picture synthesis, an algorithm that is inverse to picture synthesis can be used to separate the second watermark element and the first hash value. The specific image synthesis algorithm and its corresponding separation algorithm belong to the prior art, and will not be repeated here.
基于上述实施例,图片关联内容除第一合成元素之外,还可包括目标图片、对目标图片执行水印加密处理时使用的第二水印图片、用于合成第二水印图片的第二合成元素等。Based on the above embodiment, in addition to the first composite element, the picture-related content may also include the target picture, the second watermark picture used when performing watermark encryption processing on the target picture, the second composite element used to synthesize the second watermark picture, etc. .
若第一水印图片为对第一哈希值与符合指定格式的第二水印元素进行图片合成得到的图片,则对目标图片进行验证时,可将第二水印元素对应的第二哈希值与区块链中存储的第二合成元素的验证信息进行匹配。在目标图片上的水印图片未被篡改的情况下,第二水印元素与第二合成元素相同,第二哈希值与第二合成元素的验证信息(如哈希值)相同。If the first watermark picture is a picture obtained by synthesizing the first hash value and the second watermark element conforming to the specified format, when verifying the target picture, the second hash value corresponding to the second watermark element can be compared with The verification information of the second synthetic element stored in the blockchain is matched. In the case that the watermark picture on the target picture has not been tampered with, the second watermark element is the same as the second composite element, and the second hash value is the same as the verification information (such as the hash value) of the second composite element.
此外,还可将第一水印图片对应的第三哈希值与第二水印图片的验证信息进行匹配。在目标图片上的水印图片未被篡改的情况下,第一水印图片与第二水印图片相同,第三哈希值与第二水印图片的验证信息(如哈希值)相同。In addition, the third hash value corresponding to the first watermark picture can also be matched with the verification information of the second watermark picture. In the case that the watermark picture on the target picture has not been tampered with, the first watermark picture is the same as the second watermark picture, and the third hash value is the same as the verification information (such as the hash value) of the second watermark picture.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是 可以的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than in the embodiments and still achieve desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown in order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
以上为本说明书一个或多个实施例提供的基于区块链的图片水印处理方法,基于同样的思路,本说明书一个或多个实施例还提供一种基于区块链的图片水印处理装置。The above is the blockchain-based image watermark processing method provided by one or more embodiments of this specification. Based on the same idea, one or more embodiments of this specification also provide a blockchain-based image watermark processing device.
图4是根据本说明书一实施例的一种基于区块链的图片水印处理装置的示意性流程图,如图4所示,基于区块链的图片水印处理装置400包括:第一获取模块410,获取待处理图片对应的第一水印元素;第一水印元素包含待处理图片的版权相关信息;第一加密模块420,利用哈希加密算法对第一水印元素进行哈希加密处理,得到第一水印元素对应的第一哈希值;第二加密模块430,利用第一哈希值对应的水印图片对待处理图片进行水印加密处理,得到目标图片;上传模块440,确定目标图片的图片关联内容的验证信息,将验证信息上传至区块链中;图片关联内容包括第一水印元素;验证信息包括第一哈希值。Fig. 4 is a schematic flowchart of a block chain-based image watermark processing device according to an embodiment of the present specification. As shown in Fig. 4, the block chain-based picture watermark processing device 400 includes: a first acquisition module 410 , Obtain the first watermark element corresponding to the picture to be processed; the first watermark element contains the copyright related information of the picture to be processed; the first encryption module 420 uses a hash encryption algorithm to perform hash encryption processing on the first watermark element to obtain the first The first hash value corresponding to the watermark element; the second encryption module 430 uses the watermark image corresponding to the first hash value to perform watermark encryption processing on the image to be processed to obtain the target image; the upload module 440 determines the image-related content of the target image The verification information is to upload the verification information to the blockchain; the image-related content includes the first watermark element; the verification information includes the first hash value.
在一个实施例中,第二加密模块430包括:处理单元,对第一哈希值进行图片化处理,得到待处理图片对应的水印图片;添加单元,将水印图片添加至待处理图片中。In one embodiment, the second encryption module 430 includes: a processing unit that performs image processing on the first hash value to obtain a watermark image corresponding to the picture to be processed; and an adding unit that adds the watermark picture to the picture to be processed.
在一个实施例中,处理单元,获取符合指定格式的第二水印元素;指定格式包括图片格式;对第一哈希值及第二水印元素进行图片合成,得到第一哈希值对应的水印图片。In one embodiment, the processing unit obtains a second watermark element that conforms to a specified format; the specified format includes a picture format; performs picture synthesis on the first hash value and the second watermark element to obtain a watermark picture corresponding to the first hash value .
在一个实施例中,版权相关信息包括图片标识、图片来源、图片上传时间、图片相关用户的用户信息、指定字符中的至少一项信息。In one embodiment, the copyright-related information includes at least one of the image identification, the source of the image, the time when the image was uploaded, the user information of the user related to the image, and the designated character.
第一获取模块410包括:获取单元,获取待处理图片的版权相关信息;生成单元,按照预设规则对版权相关信息进行处理,以生成待处理图片对应的第一水印元素。The first obtaining module 410 includes: an obtaining unit, which obtains copyright related information of the picture to be processed; and a generating unit, which processes the copyright related information according to preset rules to generate a first watermark element corresponding to the picture to be processed.
在一个实施例中,图片关联内容还包括第二水印元素、水印图片、目标图片中的至少一项。In an embodiment, the picture-related content further includes at least one of a second watermark element, a watermark picture, and a target picture.
本实施例中,通过获取待处理图片对应的第一水印元素,并对第一水印元素进行哈希加密处理,得到第一水印元素对应的第一哈希值,进而利用第一哈希值对应的水印图片对待处理图片进行水印加密处理,得到目标图片。使得待处理图片的水印加密过程采用哈希加密后的水印图片,由于哈希加密算法的不可逆性,因此能够提高图片水印的安全等级,降低水印图片中携带的第一水印元素被破解的风险,从而保护第一水印元素中包含的图片版权相关信息。此外,通过将目标图片的图片关联内容的验证信息(包含第一水印元素的哈希值)上传至区块链,使得目标图片上的第一水印元素能够通过区块 链留证,便于后续通过验证图片水印来保护图片版权信息。In this embodiment, by obtaining the first watermark element corresponding to the picture to be processed, and performing hash encryption processing on the first watermark element, the first hash value corresponding to the first watermark element is obtained, and then the first hash value is used to correspond to Perform watermark encryption processing on the image to be processed for the watermark picture to obtain the target picture. The watermark encryption process of the image to be processed adopts the watermark image after the hash encryption. Due to the irreversibility of the hash encryption algorithm, the security level of the image watermark can be improved, and the risk of the first watermark element carried in the watermark image is reduced. Therefore, the copyright related information of the picture contained in the first watermark element is protected. In addition, by uploading the verification information (including the hash value of the first watermark element) of the image-related content of the target image to the blockchain, the first watermark element on the target image can be retained by the blockchain for subsequent passage Verify the image watermark to protect the copyright information of the image.
图5是根据本说明书一实施例的另一种基于区块链的图片水印处理装置的示意性流程图,如图5所示,基于区块链的图片水印处理装置500包括:第二获取模块510,获取经水印加密处理后的目标图片;目标图片上嵌入有第一哈希值对应的第一水印图片;第一哈希值为通过哈希加密算法对第一水印元素进行哈希加密处理得到;第一水印元素包含目标图片的版权相关信息;提取模块520,从目标图片上提取出第一水印图片,基于第一水印图片确定第一哈希值;第三获取模块530,获取区块链中存储的目标图片对应的图片关联内容的验证信息;图片关联内容包括执行水印加密处理时使用的第一合成元素;验证信息包括第一合成元素对应的第二哈希值;第一匹配模块540,将第一哈希值与验证信息进行匹配,得到匹配结果。FIG. 5 is a schematic flowchart of another image watermark processing device based on blockchain according to an embodiment of the present specification. As shown in FIG. 5, the image watermark processing device 500 based on blockchain includes: a second acquisition module 510. Obtain the target picture after the watermark encryption processing; the target picture is embedded with the first watermark picture corresponding to the first hash value; the first hash value is to perform hash encryption processing on the first watermark element through a hash encryption algorithm Obtain; the first watermark element contains the copyright related information of the target picture; the extraction module 520 extracts the first watermark picture from the target picture, and determines the first hash value based on the first watermark picture; the third acquisition module 530, acquires the block The verification information of the picture-related content corresponding to the target picture stored in the chain; the picture-related content includes the first composite element used when performing watermark encryption processing; the verification information includes the second hash value corresponding to the first composite element; the first matching module 540. Match the first hash value with the verification information to obtain a matching result.
在一个实施例中,第一水印图片为对第一哈希值与符合指定格式的第二水印元素进行图片合成得到的图片;指定格式包括图片格式;提取模块520,分离第一水印图片中的第二水印元素与第一哈希值。In one embodiment, the first watermark picture is a picture obtained by synthesizing a first hash value and a second watermark element in a specified format; the specified format includes a picture format; the extraction module 520 separates the first watermark picture The second watermark element and the first hash value.
在一个实施例中,图片关联内容还包括目标图片、执行水印加密处理时使用的第二水印图片、用于合成第二水印图片的第二合成元素中的至少一项。In an embodiment, the picture-related content further includes at least one of a target picture, a second watermark picture used when performing watermark encryption processing, and a second composition element used to synthesize the second watermark picture.
装置500还包括以下至少一项:第二匹配模块,将第二水印元素对应的第二哈希值与第二合成元素的验证信息进行匹配;第三匹配模块,将第一水印图片对应的第三哈希值与第二水印图片的验证信息进行匹配。The device 500 also includes at least one of the following: a second matching module, which matches the second hash value corresponding to the second watermark element with the verification information of the second composite element; and a third matching module, which matches the first watermark image corresponding to the first watermark image. The three hash values are matched with the verification information of the second watermark picture.
在一个实施例中,版权相关信息包括图片标识、图片来源、图片上传时间、图片相关用户的用户信息、指定字符中的至少一项信息;第一水印元素为按照预设规则对版权相关信息进行处理后得到。In one embodiment, the copyright-related information includes at least one of the image identification, the source of the image, the time of uploading the image, the user information of the user related to the image, and the specified characters; the first watermark element is to perform the copyright-related information according to preset rules. Obtained after processing.
本实施例中,针对经水印加密处理后的目标图片,能够从目标图片上提取出第一水印图片,并基于第一水印图片确定出第一水印元素(包含目标图片的版权相关信息)对应的第一哈希值,进而将第一哈希值与区块链中存储的图片关联内容的验证信息进行匹配,得到匹配结果。使得经过水印加密处理后的目标图片能够基于区块链中存储的数据来验证图片上的水印,从而维护图片版权信息。In this embodiment, for the target picture after the watermark encryption process, the first watermark picture can be extracted from the target picture, and based on the first watermark picture, the corresponding corresponding to the first watermark element (including the copyright related information of the target picture) can be determined The first hash value, and then the first hash value is matched with the verification information of the image-related content stored in the blockchain to obtain a matching result. The target picture after the watermark encryption process can verify the watermark on the picture based on the data stored in the blockchain, thereby maintaining the copyright information of the picture.
本领域的技术人员应可理解,上述基于区块链的图片水印处理装置能够用来实现前文所述的基于区块链的图片水印处理方法,其中的细节描述应与前文方法部分描述类似,为避免繁琐,此处不另赘述。Those skilled in the art should understand that the above block chain-based picture watermark processing device can be used to implement the block chain-based picture watermark processing method described above, and the detailed description should be similar to the previous method part description. To avoid cumbersomeness, I won’t repeat it here.
基于同样的思路,本说明书一个或多个实施例还提供一种基于区块链的图片水印处理设备,如图6所示。基于区块链的图片水印处理设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器601和存储器602,存储器602中可以存储有一个或一个以上存储应用程序或数据。其中,存储器602可以是短暂存储或持久存储。存储在存储器602的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括对基于区块链的图片水印处理设备中的一系列计算机可执行指令。更进一步地,处理器601可以设置为与存储器602通信,在基于区块链的图片水印处理设备上执行存储器602中的一系列计算机可执行指令。基于区块链的图片水印处理设备还可以包括一个或一个以上电源603,一个或一个以上有线或无线网络接口604,一个或一个以上输入输出接口605,一个或一个以上键盘606。Based on the same idea, one or more embodiments of this specification also provide a block chain-based image watermark processing device, as shown in FIG. 6. Blockchain-based image watermark processing equipment may have relatively large differences due to different configurations or performances, and may include one or more processors 601 and memory 602. The memory 602 may store one or more storage applications or data. Among them, the memory 602 may be short-term storage or persistent storage. The application program stored in the memory 602 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions for the image watermark processing device based on the blockchain. Furthermore, the processor 601 may be configured to communicate with the memory 602, and execute a series of computer-executable instructions in the memory 602 on a block chain-based image watermark processing device. The block chain-based image watermark processing device may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input and output interfaces 605, and one or more keyboards 606.
具体在本实施例中,基于区块链的图片水印处理设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对基于区块链的图片水印处理设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:获取待处理图片对应的第一水印元素;所述第一水印元素包含所述待处理图片的版权相关信息;利用哈希加密算法对所述第一水印元素进行哈希加密处理,得到所述第一水印元素对应的第一哈希值;利用所述第一哈希值对应的水印图片对所述待处理图片进行水印加密处理,得到目标图片;确定所述目标图片的图片关联内容的验证信息,将所述验证信息上传至区块链中;所述图片关联内容包括所述第一水印元素;所述验证信息包括所述第一哈希值。Specifically, in this embodiment, the block chain-based image watermark processing device includes a memory and one or more programs. One or more programs are stored in the memory, and one or more programs may include one or more programs. The above modules, and each module may include a series of computer-executable instructions in a block chain-based image watermark processing device, and is configured to be executed by one or more processors including one or more programs for performing The following computer-executable instructions: obtain the first watermark element corresponding to the picture to be processed; the first watermark element contains the copyright related information of the picture to be processed; hash and encrypt the first watermark element using a hash encryption algorithm Processing to obtain the first hash value corresponding to the first watermark element; use the watermark picture corresponding to the first hash value to perform watermark encryption processing on the picture to be processed to obtain a target picture; determine the value of the target picture For the verification information of the picture-related content, upload the verification information to the blockchain; the picture-related content includes the first watermark element; the verification information includes the first hash value.
可选地,计算机可执行指令在被执行时,还可以使所述处理器:对所述第一哈希值进行图片化处理,得到所述待处理图片对应的水印图片;将所述水印图片添加至所述待处理图片中。Optionally, when the computer-executable instructions are executed, the processor may also cause the processor to: perform graphical processing on the first hash value to obtain the watermark picture corresponding to the picture to be processed; and convert the watermark picture Add to the picture to be processed.
可选地,计算机可执行指令在被执行时,还可以使所述处理器:获取符合指定格式的第二水印元素;所述指定格式包括图片格式;对所述第一哈希值及所述第二水印元素进行图片合成,得到所述第一哈希值对应的水印图片。Optionally, when the computer-executable instructions are executed, the processor may also cause the processor to: obtain a second watermark element conforming to a specified format; the specified format includes a picture format; and the first hash value and the The second watermark element performs picture synthesis to obtain the watermark picture corresponding to the first hash value.
可选地,所述版权相关信息包括图片标识、图片来源、图片上传时间、图片相关用户的用户信息、指定字符中的至少一项信息;计算机可执行指令在被执行时,还可以使所述处理器:获取所述待处理图片的所述版权相关信息;按照预设规则对所述版权相关信息进行处理,以生成所述待处理图片对应的所述第一水印元素。Optionally, the copyright-related information includes at least one of the image identification, the source of the image, the time when the image was uploaded, the user information of the user related to the image, and the specified characters; when the computer-executable instructions are executed, the Processor: Obtain the copyright-related information of the picture to be processed; process the copyright-related information according to preset rules to generate the first watermark element corresponding to the picture to be processed.
可选地,所述图片关联内容还包括所述第二水印元素、所述水印图片、所述目标图片中的至少一项。Optionally, the picture-related content further includes at least one of the second watermark element, the watermark picture, and the target picture.
基于同样的思路,本说明书一个或多个实施例还提供一种基于区块链的图片水印处理设备,如图7所示。基于区块链的图片水印处理设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器701和存储器702,存储器702中可以存储有一个或一个以上存储应用程序或数据。其中,存储器702可以是短暂存储或持久存储。存储在存储器702的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括对基于区块链的图片水印处理设备中的一系列计算机可执行指令。更进一步地,处理器701可以设置为与存储器702通信,在基于区块链的图片水印处理设备上执行存储器702中的一系列计算机可执行指令。基于区块链的图片水印处理设备还可以包括一个或一个以上电源703,一个或一个以上有线或无线网络接口704,一个或一个以上输入输出接口705,一个或一个以上键盘706。Based on the same idea, one or more embodiments of this specification also provide a block chain-based image watermark processing device, as shown in FIG. 7. Blockchain-based image watermark processing equipment may have relatively large differences due to different configurations or performances, and may include one or more processors 701 and a memory 702. The memory 702 may store one or more storage applications or data. Among them, the memory 702 may be short-term storage or persistent storage. The application program stored in the memory 702 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions for the image watermark processing device based on the blockchain. Furthermore, the processor 701 may be configured to communicate with the memory 702, and execute a series of computer-executable instructions in the memory 702 on a block chain-based image watermark processing device. The block chain-based image watermark processing device may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input and output interfaces 705, and one or more keyboards 706.
具体在本实施例中,基于区块链的图片水印处理设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对基于区块链的图片水印处理设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:获取经水印加密处理后的目标图片;所述目标图片上嵌入有第一哈希值对应的第一水印图片;所述第一哈希值为通过哈希加密算法对第一水印元素进行哈希加密处理得到;所述第一水印元素包含所述目标图片的版权相关信息;从所述目标图片上提取出所述第一水印图片,基于所述第一水印图片确定所述第一哈希值;获取区块链中存储的所述目标图片对应的图片关联内容的验证信息;所述图片关联内容包括执行所述水印加密处理时使用的第一合成元素;所述验证信息包括所述第一合成元素对应的第二哈希值;将所述第一哈希值与所述验证信息进行匹配,得到匹配结果。Specifically, in this embodiment, the block chain-based image watermark processing device includes a memory and one or more programs. One or more programs are stored in the memory, and one or more programs may include one or more programs. The above modules, and each module may include a series of computer-executable instructions in a block chain-based image watermark processing device, and is configured to be executed by one or more processors including one or more programs for performing The following computer-executable instructions: Obtain the target picture after the watermark encryption process; The target picture is embedded with the first watermark picture corresponding to the first hash value; A watermark element is hashed and encrypted; the first watermark element contains the copyright-related information of the target picture; the first watermark picture is extracted from the target picture, and the first watermark picture is determined based on the first watermark picture The first hash value; the verification information of the picture-related content corresponding to the target picture stored in the blockchain is obtained; the picture-related content includes the first composite element used when the watermark encryption processing is performed; the verification The information includes a second hash value corresponding to the first composite element; the first hash value is matched with the verification information to obtain a matching result.
可选地,所述第一水印图片为对所述第一哈希值与符合指定格式的第二水印元素进行图片合成得到的图片;所述指定格式包括图片格式;计算机可执行指令在被执行时,还可以使所述处理器:分离所述第一水印图片中的所述第二水印元素与所述第一哈希值。Optionally, the first watermark picture is a picture obtained by synthesizing the first hash value and a second watermark element in a specified format; the specified format includes a picture format; computer executable instructions are being executed At the time, the processor may also be caused to separate the second watermark element and the first hash value in the first watermark picture.
可选地,所述图片关联内容还包括所述目标图片、执行所述水印加密处理时使用的第二水印图片、用于合成所述第二水印图片的第二合成元素中的至少一项;计算机可执行指令在被执行时,还可以使所述处理器:将所述第二水印元素对应的第二哈希值与 所述第二合成元素的验证信息进行匹配;将所述第一水印图片对应的第三哈希值与所述第二水印图片的验证信息进行匹配。Optionally, the picture-related content further includes at least one of the target picture, a second watermark picture used when performing the watermark encryption processing, and a second composition element used to synthesize the second watermark picture; When the computer-executable instructions are executed, the processor may further: match the second hash value corresponding to the second watermark element with the verification information of the second composite element; The third hash value corresponding to the picture is matched with the verification information of the second watermark picture.
可选地,所述版权相关信息包括图片标识、图片来源、图片上传时间、图片相关用户的用户信息、指定字符中的至少一项信息;所述第一水印元素为按照预设规则对所述版权相关信息进行处理后得到。Optionally, the copyright-related information includes at least one of picture identification, picture source, picture upload time, user information of the user related to the picture, and designated characters; The copyright-related information is obtained after processing.
本说明书一个或多个实施例还提出了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序包括指令,该指令当被包括多个应用程序的电子设备执行时,能够使该电子设备执行上述基于区块链的图片水印处理方法,并具体用于执行:获取待处理图片对应的第一水印元素;所述第一水印元素包含所述待处理图片的版权相关信息;利用哈希加密算法对所述第一水印元素进行哈希加密处理,得到所述第一水印元素对应的第一哈希值;利用所述第一哈希值对应的水印图片对所述待处理图片进行水印加密处理,得到目标图片;确定所述目标图片的图片关联内容的验证信息,将所述验证信息上传至区块链中;所述图片关联内容包括所述第一水印元素;所述验证信息包括所述第一哈希值。One or more embodiments of this specification also propose a computer-readable storage medium that stores one or more programs, and the one or more programs include instructions. When the instructions include multiple application programs When executed by the electronic device, the electronic device can execute the above-mentioned blockchain-based picture watermark processing method, and is specifically used to execute: obtain the first watermark element corresponding to the picture to be processed; the first watermark element contains the to-be-processed picture Process the copyright-related information of the picture; use a hash encryption algorithm to perform hash encryption processing on the first watermark element to obtain the first hash value corresponding to the first watermark element; use the first hash value corresponding to the The watermark picture performs watermark encryption processing on the picture to be processed to obtain the target picture; determines the verification information of the picture-related content of the target picture, and uploads the verification information to the blockchain; the picture-related content includes the The first watermark element; the verification information includes the first hash value.
本说明书一个或多个实施例还提出了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序包括指令,该指令当被包括多个应用程序的电子设备执行时,能够使该电子设备执行上述基于区块链的图片水印处理方法,并具体用于执行:获取经水印加密处理后的目标图片;所述目标图片上嵌入有第一哈希值对应的第一水印图片;所述第一哈希值为通过哈希加密算法对第一水印元素进行哈希加密处理得到;所述第一水印元素包含所述目标图片的版权相关信息;从所述目标图片上提取出所述第一水印图片,基于所述第一水印图片确定所述第一哈希值;获取区块链中存储的所述目标图片对应的图片关联内容的验证信息;所述图片关联内容包括执行所述水印加密处理时使用的第一合成元素;所述验证信息包括所述第一合成元素对应的第二哈希值;将所述第一哈希值与所述验证信息进行匹配,得到匹配结果。One or more embodiments of this specification also propose a computer-readable storage medium that stores one or more programs, and the one or more programs include instructions. When the instructions include multiple application programs When the electronic device is executed, the electronic device can execute the above-mentioned block chain-based image watermark processing method, and is specifically used to execute: obtain a target picture after watermark encryption processing; the target picture is embedded with a first hash Value corresponding to the first watermark picture; the first hash value is obtained by hashing and encrypting the first watermark element through a hash encryption algorithm; the first watermark element contains the copyright-related information of the target picture; Extracting the first watermark picture from the target picture, and determining the first hash value based on the first watermark picture; obtaining verification information of the picture-related content corresponding to the target picture stored in the blockchain; The picture-related content includes a first composite element used when performing the watermark encryption process; the verification information includes a second hash value corresponding to the first composite element; and the first hash value is combined with the The verification information is matched, and the matching result is obtained.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules, or units illustrated in the above embodiments may be specifically implemented by computer chips or entities, or implemented by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施 本说明书一个或多个实施例时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various units and described separately. Of course, when implementing one or more embodiments of this specification, the functions of each unit may be implemented in the same one or more software and/or hardware.
本领域内的技术人员应明白,本说明书一个或多个实施例可提供为方法、系统、或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that one or more embodiments of this specification can be provided as a method, a system, or a computer program product. Therefore, one or more embodiments of this specification may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may adopt computer programs implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The form of the product.
本说明书一个或多个实施例是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。One or more embodiments of this specification are described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to the embodiments of this application. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数 据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media include 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, magnetic tape magnetic disk storage 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.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or equipment including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or also include elements inherent to such processes, methods, commodities, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity, or equipment that includes the element.
本说明书一个或多个实施例可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。One or more embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This application can also be practiced in distributed computing environments. In these distributed computing environments, tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
以上所述仅为本说明书一个或多个实施例而已,并不用于限制本说明书。对于本领域技术人员来说,本说明书一个或多个实施例可以有各种更改和变化。凡在本说明书一个或多个实施例的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本说明书一个或多个实施例的权利要求范围之内。The above description is only one or more embodiments of this specification, and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification should be included in the scope of the claims of one or more embodiments of this specification.

Claims (19)

  1. 一种基于区块链的图片水印处理方法,包括:A block chain-based image watermark processing method, including:
    获取待处理图片对应的第一水印元素;所述第一水印元素包含所述待处理图片的版权相关信息;Acquiring a first watermark element corresponding to the picture to be processed; the first watermark element contains copyright related information of the picture to be processed;
    利用哈希加密算法对所述第一水印元素进行哈希加密处理,得到所述第一水印元素对应的第一哈希值;Performing hash encryption processing on the first watermark element using a hash encryption algorithm to obtain the first hash value corresponding to the first watermark element;
    利用所述第一哈希值对应的水印图片对所述待处理图片进行水印加密处理,得到目标图片;Performing watermark encryption processing on the to-be-processed picture by using the watermark picture corresponding to the first hash value to obtain a target picture;
    确定所述目标图片的图片关联内容的验证信息,将所述验证信息上传至区块链中;所述图片关联内容包括所述第一水印元素;所述验证信息包括所述第一哈希值。Determine the verification information of the picture-related content of the target picture, and upload the verification information to the blockchain; the picture-related content includes the first watermark element; the verification information includes the first hash value .
  2. 根据权利要求1所述的方法,利用所述第一哈希值对应的水印图片对所述待处理图片进行水印加密处理,包括:The method according to claim 1, using the watermark picture corresponding to the first hash value to perform watermark encryption processing on the picture to be processed, comprising:
    对所述第一哈希值进行图片化处理,得到所述待处理图片对应的水印图片;Performing image processing on the first hash value to obtain a watermark image corresponding to the image to be processed;
    将所述水印图片添加至所述待处理图片中。Adding the watermark picture to the picture to be processed.
  3. 根据权利要求2所述的方法,对所述第一哈希值对应的水印图片进行图片化处理,得到所述待处理图片对应的水印图片,包括:According to the method of claim 2, performing image processing on the watermark image corresponding to the first hash value to obtain the watermark image corresponding to the image to be processed includes:
    获取符合指定格式的第二水印元素;所述指定格式包括图片格式;对所述第一哈希值及所述第二水印元素进行图片合成,得到所述第一哈希值对应的水印图片。Obtain a second watermark element conforming to a specified format; the specified format includes a picture format; perform picture synthesis on the first hash value and the second watermark element to obtain a watermark picture corresponding to the first hash value.
  4. 根据权利要求1所述的方法,所述版权相关信息包括图片标识、图片来源、图片上传时间、图片相关用户的用户信息、指定字符中的至少一项信息;The method according to claim 1, wherein the copyright-related information includes at least one of a picture identifier, a picture source, a picture upload time, user information of a picture-related user, and designated characters;
    所述获取待处理图片对应的第一水印元素,包括:The obtaining the first watermark element corresponding to the picture to be processed includes:
    获取所述待处理图片的所述版权相关信息;Obtaining the copyright-related information of the picture to be processed;
    按照预设规则对所述版权相关信息进行处理,以生成所述待处理图片对应的所述第一水印元素。The copyright-related information is processed according to preset rules to generate the first watermark element corresponding to the picture to be processed.
  5. 根据权利要求3所述的方法,所述图片关联内容还包括所述第二水印元素、所述水印图片、所述目标图片中的至少一项。The method according to claim 3, wherein the picture-related content further includes at least one of the second watermark element, the watermark picture, and the target picture.
  6. 一种基于区块链的图片水印处理方法,包括:A block chain-based image watermark processing method, including:
    获取经水印加密处理后的目标图片;所述目标图片上嵌入有第一哈希值对应的第一水印图片;所述第一哈希值为通过哈希加密算法对第一水印元素进行哈希加密处理得到;所述第一水印元素包含所述目标图片的版权相关信息;Obtain the target picture after the watermark encryption process; the target picture is embedded with the first watermark picture corresponding to the first hash value; the first hash value is to hash the first watermark element through a hash encryption algorithm Obtained through encryption processing; the first watermark element contains the copyright related information of the target picture;
    从所述目标图片上提取出所述第一水印图片,基于所述第一水印图片确定所述第一 哈希值;Extracting the first watermark picture from the target picture, and determining the first hash value based on the first watermark picture;
    获取区块链中存储的所述目标图片对应的图片关联内容的验证信息;所述图片关联内容包括执行所述水印加密处理时使用的第一合成元素;所述验证信息包括所述第一合成元素对应的第二哈希值;Obtain verification information of the picture-related content corresponding to the target picture stored in the blockchain; the picture-related content includes the first synthesis element used when the watermark encryption process is performed; the verification information includes the first synthesis The second hash value corresponding to the element;
    将所述第一哈希值与所述验证信息进行匹配,得到匹配结果。The first hash value is matched with the verification information to obtain a matching result.
  7. 根据权利要求6所述的方法,所述第一水印图片为对所述第一哈希值与符合指定格式的第二水印元素进行图片合成得到的图片;所述指定格式包括图片格式;The method according to claim 6, wherein the first watermark picture is a picture obtained by synthesizing the first hash value and a second watermark element conforming to a specified format; the specified format includes a picture format;
    所述基于所述第一水印图片确定所述第一哈希值,包括:The determining the first hash value based on the first watermark picture includes:
    分离所述第一水印图片中的所述第二水印元素与所述第一哈希值。Separating the second watermark element and the first hash value in the first watermark picture.
  8. 根据权利要求7所述的方法,所述图片关联内容还包括所述目标图片、执行所述水印加密处理时使用的第二水印图片、用于合成所述第二水印图片的第二合成元素中的至少一项;The method according to claim 7, wherein the picture-related content further includes the target picture, a second watermark picture used when performing the watermark encryption process, and a second composition element used to synthesize the second watermark picture At least one of
    所述方法还包括以下至少一项:The method also includes at least one of the following:
    将所述第二水印元素对应的第二哈希值与所述第二合成元素的验证信息进行匹配;Matching the second hash value corresponding to the second watermark element with the verification information of the second composite element;
    将所述第一水印图片对应的第三哈希值与所述第二水印图片的验证信息进行匹配。Matching the third hash value corresponding to the first watermark picture with the verification information of the second watermark picture.
  9. 根据权利要求6所述的方法,所述版权相关信息包括图片标识、图片来源、图片上传时间、图片相关用户的用户信息、指定字符中的至少一项信息;所述第一水印元素为按照预设规则对所述版权相关信息进行处理后得到。The method according to claim 6, wherein the copyright-related information includes at least one of picture identification, picture source, picture upload time, user information of the user related to the picture, and designated characters; Set rules to be obtained after processing the copyright-related information.
  10. 一种基于区块链的图片水印处理装置,包括:A picture watermark processing device based on blockchain, including:
    第一获取模块,获取待处理图片对应的第一水印元素;所述第一水印元素包含所述待处理图片的版权相关信息;The first obtaining module obtains the first watermark element corresponding to the picture to be processed; the first watermark element contains copyright related information of the picture to be processed;
    第一加密模块,利用哈希加密算法对所述第一水印元素进行哈希加密处理,得到所述第一水印元素对应的第一哈希值;A first encryption module, which uses a hash encryption algorithm to perform hash encryption processing on the first watermark element to obtain a first hash value corresponding to the first watermark element;
    第二加密模块,利用所述第一哈希值对应的水印图片对所述待处理图片进行水印加密处理,得到目标图片;The second encryption module uses the watermark image corresponding to the first hash value to perform watermark encryption processing on the to-be-processed image to obtain a target image;
    上传模块,确定所述目标图片的图片关联内容的验证信息,将所述验证信息上传至区块链中;所述图片关联内容包括所述第一水印元素;所述验证信息包括所述第一哈希值。The upload module determines the verification information of the picture-related content of the target picture, and uploads the verification information to the blockchain; the picture-related content includes the first watermark element; the verification information includes the first Hash value.
  11. 根据权利要求10所述的装置,所述第二加密模块包括:The device according to claim 10, the second encryption module comprises:
    处理单元,对所述第一哈希值进行图片化处理,得到所述待处理图片对应的水印图片;A processing unit to perform picture processing on the first hash value to obtain a watermark picture corresponding to the picture to be processed;
    添加单元,将所述水印图片添加至所述待处理图片中。The adding unit adds the watermark picture to the picture to be processed.
  12. 根据权利要求11所述的装置,所述处理单元,获取符合指定格式的第二水印元素;所述指定格式包括图片格式;对所述第一哈希值及所述第二水印元素进行图片合成,得到所述第一哈希值对应的水印图片。11. The device according to claim 11, wherein the processing unit obtains a second watermark element conforming to a specified format; the specified format includes a picture format; and performs picture synthesis on the first hash value and the second watermark element To obtain the watermark image corresponding to the first hash value.
  13. 一种基于区块链的图片水印处理装置,包括:A picture watermark processing device based on blockchain, including:
    第二获取模块,获取经水印加密处理后的目标图片;所述目标图片上嵌入有第一哈希值对应的第一水印图片;所述第一哈希值为通过哈希加密算法对第一水印元素进行哈希加密处理得到;所述第一水印元素包含所述目标图片的版权相关信息;The second obtaining module obtains the target picture after the watermark encryption processing; the first watermark picture corresponding to the first hash value is embedded on the target picture; The watermark element is obtained through hash encryption processing; the first watermark element contains the copyright related information of the target picture;
    提取模块,从所述目标图片上提取出所述第一水印图片,基于所述第一水印图片确定所述第一哈希值;An extraction module, which extracts the first watermark picture from the target picture, and determines the first hash value based on the first watermark picture;
    第三获取模块,获取区块链中存储的所述目标图片对应的图片关联内容的验证信息;所述图片关联内容包括执行所述水印加密处理时使用的第一合成元素;所述验证信息包括所述第一合成元素对应的第二哈希值;The third obtaining module obtains the verification information of the picture-related content corresponding to the target picture stored in the blockchain; the picture-related content includes the first composite element used when the watermark encryption process is performed; the verification information includes The second hash value corresponding to the first composite element;
    第一匹配模块,将所述第一哈希值与所述验证信息进行匹配,得到匹配结果。The first matching module matches the first hash value with the verification information to obtain a matching result.
  14. 根据权利要求13所述的装置,所述第一水印图片为对所述第一哈希值与符合指定格式的第二水印元素进行图片合成得到的图片;所述指定格式包括图片格式;The device according to claim 13, wherein the first watermark picture is a picture obtained by synthesizing the first hash value and a second watermark element conforming to a specified format; the specified format includes a picture format;
    所述提取模块,分离所述第一水印图片中的所述第二水印元素与所述第一哈希值。The extraction module separates the second watermark element and the first hash value in the first watermark picture.
  15. 根据权利要求14所述的装置,所述图片关联内容还包括所述目标图片、执行所述水印加密处理时使用的第二水印图片、用于合成所述第二水印图片的第二合成元素中的至少一项;The device according to claim 14, wherein the picture-related content further includes the target picture, a second watermark picture used when performing the watermark encryption process, and a second composition element used to synthesize the second watermark picture At least one of
    所述装置还包括以下至少一项:The device also includes at least one of the following:
    第二匹配模块,将所述第二水印元素对应的第二哈希值与所述第二合成元素的验证信息进行匹配;A second matching module, which matches the second hash value corresponding to the second watermark element with the verification information of the second composite element;
    第三匹配模块,将所述第一水印图片对应的第三哈希值与所述第二水印图片的验证信息进行匹配。The third matching module matches the third hash value corresponding to the first watermark picture with the verification information of the second watermark picture.
  16. 一种基于区块链的图片水印处理设备,包括:A picture watermark processing device based on blockchain, including:
    处理器;以及Processor; and
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer-executable instructions which, when executed, cause the processor to:
    获取待处理图片对应的第一水印元素;所述第一水印元素包含所述待处理图片的版权相关信息;Acquiring a first watermark element corresponding to the picture to be processed; the first watermark element contains copyright related information of the picture to be processed;
    利用哈希加密算法对所述第一水印元素进行哈希加密处理,得到所述第一水印元素对应的第一哈希值;Performing hash encryption processing on the first watermark element using a hash encryption algorithm to obtain the first hash value corresponding to the first watermark element;
    利用所述第一哈希值对应的水印图片对所述待处理图片进行水印加密处理,得到目标图片;Performing watermark encryption processing on the to-be-processed picture by using the watermark picture corresponding to the first hash value to obtain a target picture;
    确定所述目标图片的图片关联内容的验证信息,将所述验证信息上传至区块链中;所述图片关联内容包括所述第一水印元素;所述验证信息包括所述第一哈希值。Determine the verification information of the picture-related content of the target picture, and upload the verification information to the blockchain; the picture-related content includes the first watermark element; the verification information includes the first hash value .
  17. 一种基于区块链的图片水印处理设备,包括:A picture watermark processing device based on blockchain, including:
    处理器;以及Processor; and
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer-executable instructions which, when executed, cause the processor to:
    获取经水印加密处理后的目标图片;所述目标图片上嵌入有第一哈希值对应的第一水印图片;所述第一哈希值为通过哈希加密算法对第一水印元素进行哈希加密处理得到;所述第一水印元素包含所述目标图片的版权相关信息;Obtain the target picture after the watermark encryption process; the target picture is embedded with the first watermark picture corresponding to the first hash value; the first hash value is to hash the first watermark element through a hash encryption algorithm Obtained through encryption processing; the first watermark element contains the copyright related information of the target picture;
    从所述目标图片上提取出所述第一水印图片,基于所述第一水印图片确定所述第一哈希值;Extracting the first watermark picture from the target picture, and determining the first hash value based on the first watermark picture;
    获取区块链中存储的所述目标图片对应的图片关联内容的验证信息;所述图片关联内容包括执行所述水印加密处理时使用的第一合成元素;所述验证信息包括所述第一合成元素对应的第二哈希值;Obtain verification information of the picture-related content corresponding to the target picture stored in the blockchain; the picture-related content includes the first synthesis element used when the watermark encryption process is performed; the verification information includes the first synthesis The second hash value corresponding to the element;
    将所述第一哈希值与所述验证信息进行匹配,得到匹配结果。The first hash value is matched with the verification information to obtain a matching result.
  18. 一种存储介质,用于存储计算机可执行指令,所述可执行指令在被执行时实现以下流程:A storage medium for storing computer-executable instructions, which, when executed, implement the following processes:
    获取待处理图片对应的第一水印元素;所述第一水印元素包含所述待处理图片的版权相关信息;Acquiring a first watermark element corresponding to the picture to be processed; the first watermark element contains copyright related information of the picture to be processed;
    利用哈希加密算法对所述第一水印元素进行哈希加密处理,得到所述第一水印元素对应的第一哈希值;Performing hash encryption processing on the first watermark element using a hash encryption algorithm to obtain the first hash value corresponding to the first watermark element;
    利用所述第一哈希值对应的水印图片对所述待处理图片进行水印加密处理,得到目标图片;Performing watermark encryption processing on the to-be-processed picture by using the watermark picture corresponding to the first hash value to obtain a target picture;
    确定所述目标图片的图片关联内容的验证信息,将所述验证信息上传至区块链中;所述图片关联内容包括所述第一水印元素;所述验证信息包括所述第一哈希值。Determine the verification information of the picture-related content of the target picture, and upload the verification information to the blockchain; the picture-related content includes the first watermark element; the verification information includes the first hash value .
  19. 一种存储介质,用于存储计算机可执行指令,所述可执行指令在被执行时实现以下流程:A storage medium for storing computer-executable instructions, which, when executed, implement the following processes:
    获取经水印加密处理后的目标图片;所述目标图片上嵌入有第一哈希值对应的第一水印图片;所述第一哈希值为通过哈希加密算法对第一水印元素进行哈希加密处理得到;所述第一水印元素包含所述目标图片的版权相关信息;Obtain the target picture after the watermark encryption process; the target picture is embedded with the first watermark picture corresponding to the first hash value; the first hash value is to hash the first watermark element through a hash encryption algorithm Obtained through encryption processing; the first watermark element contains the copyright related information of the target picture;
    从所述目标图片上提取出所述第一水印图片,基于所述第一水印图片确定所述第一哈希值;Extracting the first watermark picture from the target picture, and determining the first hash value based on the first watermark picture;
    获取区块链中存储的所述目标图片对应的图片关联内容的验证信息;所述图片关联内容包括执行所述水印加密处理时使用的第一合成元素;所述验证信息包括所述第一合成元素对应的第二哈希值;Obtain verification information of the picture-related content corresponding to the target picture stored in the blockchain; the picture-related content includes the first synthesis element used when the watermark encryption process is performed; the verification information includes the first synthesis The second hash value corresponding to the element;
    将所述第一哈希值与所述验证信息进行匹配,得到匹配结果。The first hash value is matched with the verification information to obtain a matching result.
PCT/CN2020/117918 2019-12-03 2020-09-25 Blockchain-based picture watermark processing method and apparatus WO2021109691A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911222252.8 2019-12-03
CN201911222252.8A CN111145069B (en) 2019-12-03 2019-12-03 Image watermarking processing method and device based on block chain

Publications (1)

Publication Number Publication Date
WO2021109691A1 true WO2021109691A1 (en) 2021-06-10

Family

ID=70517563

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/117918 WO2021109691A1 (en) 2019-12-03 2020-09-25 Blockchain-based picture watermark processing method and apparatus

Country Status (2)

Country Link
CN (1) CN111145069B (en)
WO (1) WO2021109691A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111145069B (en) * 2019-12-03 2021-04-27 支付宝(杭州)信息技术有限公司 Image watermarking processing method and device based on block chain
CN111898155B (en) * 2020-06-19 2024-04-26 杭州鸽子蛋网络科技有限责任公司 Information storage method, information checking method and information storage and checking system
CN112073807B (en) * 2020-11-11 2021-02-09 支付宝(杭州)信息技术有限公司 Video data processing method and device based on block chain
CN112579994A (en) * 2020-12-23 2021-03-30 陈子祺 Digital product content protection system and method based on artificial intelligence
CN112907434B (en) * 2021-03-25 2023-10-13 绍兴聚量数据技术有限公司 Blind watermark hiding, extracting and tampering detection method based on cellular grid matrix
CN113536346A (en) * 2021-07-21 2021-10-22 北京景安云信科技有限公司 Picture sharing method based on block chain
CN113810723A (en) * 2021-09-29 2021-12-17 阿里巴巴达摩院(杭州)科技有限公司 Video data protection method, electronic device and computer storage medium
CN114936354B (en) * 2022-05-20 2023-02-17 浙江云程信息科技有限公司 Information processing method and device for engineering supervision

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180068091A1 (en) * 2016-09-06 2018-03-08 Intel Corporation Blockchain-Based Shadow Images to Facilitate Copyright Protection of Digital Content
CN109635521A (en) * 2018-12-06 2019-04-16 中链科技有限公司 A kind of copyright protection based on block chain, verification method and device
CN109740317A (en) * 2018-12-29 2019-05-10 北京奇虎科技有限公司 A kind of digital finger-print based on block chain deposits card method and device
CN110032839A (en) * 2019-04-04 2019-07-19 深圳大通实业股份有限公司 The digital media content infringement detection system of high security digital watermarking
CN110264390A (en) * 2019-06-24 2019-09-20 上海海事大学 A kind of digital watermark method based on double watermarks insertion
CN110321671A (en) * 2019-06-26 2019-10-11 阿里巴巴集团控股有限公司 Transaction system, method, apparatus and the electronic equipment of picture based on block chain
CN111145069A (en) * 2019-12-03 2020-05-12 支付宝(杭州)信息技术有限公司 Image watermarking processing method and device based on block chain

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10282562B1 (en) * 2015-02-24 2019-05-07 ImageKeeper LLC Secure digital data collection
CN105427231B (en) * 2015-11-26 2018-11-06 南京林业大学 A kind of SVD double-layer digital water mark methods avoiding false alarm
US10484178B2 (en) * 2016-10-26 2019-11-19 Black Gold Coin, Inc. Systems and methods for providing a universal decentralized solution for verification of users with cross-verification features
WO2019147120A1 (en) * 2018-01-23 2019-08-01 Datasonic Smart Solutions Sdn Bhd A method and system for automating arrival and departure procedures in a terminal
CN110457873B (en) * 2018-05-08 2021-04-27 中移(苏州)软件技术有限公司 Watermark embedding and detecting method and device
CN109829269A (en) * 2018-12-26 2019-05-31 平安科技(深圳)有限公司 Method, apparatus and system based on E-seal authenticating electronic documents

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180068091A1 (en) * 2016-09-06 2018-03-08 Intel Corporation Blockchain-Based Shadow Images to Facilitate Copyright Protection of Digital Content
CN109635521A (en) * 2018-12-06 2019-04-16 中链科技有限公司 A kind of copyright protection based on block chain, verification method and device
CN109740317A (en) * 2018-12-29 2019-05-10 北京奇虎科技有限公司 A kind of digital finger-print based on block chain deposits card method and device
CN110032839A (en) * 2019-04-04 2019-07-19 深圳大通实业股份有限公司 The digital media content infringement detection system of high security digital watermarking
CN110264390A (en) * 2019-06-24 2019-09-20 上海海事大学 A kind of digital watermark method based on double watermarks insertion
CN110321671A (en) * 2019-06-26 2019-10-11 阿里巴巴集团控股有限公司 Transaction system, method, apparatus and the electronic equipment of picture based on block chain
CN111145069A (en) * 2019-12-03 2020-05-12 支付宝(杭州)信息技术有限公司 Image watermarking processing method and device based on block chain

Also Published As

Publication number Publication date
CN111145069B (en) 2021-04-27
CN111145069A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
WO2021109691A1 (en) Blockchain-based picture watermark processing method and apparatus
Wu et al. Steganography using reversible texture synthesis
Arya et al. A literature review on various recent steganography techniques
AlAhmad et al. A new fragile digital watermarking technique for a PDF digital Holy Quran
Li et al. Commutative fragile zero-watermarking and encryption for image integrity protection
JP2014085672A5 (en)
Baby et al. Combined Strength of Steganography and Cryptography-A Literature Survey.
US20140143554A1 (en) Methods, Systems and Apparatus for Managing Data Entries on a Database
CN114745373A (en) File transmission method, device, equipment and storage medium
Kukreja et al. Curvelet transform based robust copyright protection scheme for color images using extended visual cryptography
Yi et al. An improved reversible data hiding in encrypted images
Riaz et al. Enhanced image encryption techniques using modified advanced encryption standard
US11276138B2 (en) Image data encryption and rendering system
Singhavi et al. A new method for creation of secret-fragment-visible-mosaic image for secure communication
Riaz et al. Image authentication and restoration by multiple watermarking techniques with advance encryption standard in digital photography
Reddy Novel chaos based Steganography for Images using matrix encoding and cat mapping techniques
Habbouli et al. A secure, self-recovery, and high capacity blind digital image information hiding and authentication scheme using DCT moments
CN105740659B (en) A kind of data-hiding method, application program tamper resistant method and relevant apparatus
CN113177876A (en) Picture processing method and device and electronic equipment
Kumar et al. A Multilayered architecture for hiding executable files in 3D images
Dadkhah et al. Efficient image authentication and tamper localization algorithm using active watermarking
Audhi et al. Secure mechanism for communication using image steganography
Bhat et al. Enhanced steganography using pixel pattern matching
Yadav et al. An efficient video data security mechanism based on RP-AES
Li et al. Audio aggregation zero-watermark algorithm based on (k, n/k= n)

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: 20895226

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: 20895226

Country of ref document: EP

Kind code of ref document: A1