Image editing verification system and method

By dividing the image into block areas and using the Merkle tree operation structure to generate hash values, and combining it with zero-knowledge proof technology to verify the legitimacy of the image editing, the problem of low image verification efficiency in the existing technology is solved and high efficiency is achieved. Image editing verification and privacy protection.

CN118691622APending Publication Date: 2024-09-24INVENTEC PUDONG TECH CORPOARTION +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310251486.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-15
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing image authentication methods cannot effectively distinguish malicious modifications from legitimate authorized modifications, and the image verification efficiency is low due to the encryption and decryption of edited images.

Method used

By dividing the image into block image areas, giving each area a hash value, and using the Merkle tree operation structure to generate the overall hash value and editing hash value, combined with zero-knowledge proof technology to verify the legitimacy of the image editing. Ensure privacy protection.

Benefits of technology

It improves the efficiency and privacy protection of image verification, reduces computing time and storage space requirements, and ensures the legality of image editing and the protection of privacy rights.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118691622A
    Figure CN118691622A
Patent Text Reader

Abstract

The invention provides an image editing verification system and an image editing verification method, which are characterized in that an image provider terminal device is used for correspondingly endowing a plurality of block image areas distributed by a source image with a plurality of source image hash values so as to calculate a source image overall hash value, and digital signature is carried out to generate an image volume label pair. Receiving the image volume label pair by using an image editor terminal device, segmenting the source image into a plurality of block images according to the block image region, editing a part of the block images, splicing the edited block images with the rest of unedited original block images to form an edited whole image, calculating an edited image whole hash value, and storing the edited image whole hash value in the edited whole image. And digital signature is carried out to generate a zero-knowledge proof image guarantee voucher. And finally, receiving the zero-knowledge proof image guarantee voucher by using a user terminal device, and verifying whether the edited whole image is formed by editing the source image or not.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a verification system and method, and more particularly to a system and method for verifying whether an edited whole image is formed by editing a source image. Background Art

[0002] With the development of multimedia and social media, the function of image and video sharing has been added. Although sharing is convenient, digital content can be easily modified maliciously. Not only is it easy to cause the proliferation of false information, but it also poses a serious challenge to the protection of privacy rights such as personal data and portraits. In order to overcome the problem of image modification, image authentication methods have gradually been developed to verify the source, integrity and authenticity of images. Although image authentication methods can verify whether the source image has been modified, they cannot distinguish whether these modifications are malicious or authorized.

[0003] In addition, to protect the privacy of personal data and portraits, technologies such as electronic watermarks, digital signatures, and cutting-edge cryptography have been applied to authenticate and confirm the editing of source images. Among them, the newer technology is the "Photo Proof: Cryptographic image authentication for any set of permissible transformations," proposed by A. Naveh and E. Tromer at the Symposium on Security and Privacy (SP), 2016. (hereinafter referred to as "Image Proof Technology") at the Symposium on Security and Privacy in 2016.

[0004] However, in "image proof technology", although it is possible to verify whether the editing of the image is properly authorized and to protect some privacy rights, it is subject to the encryption and decryption of the entire edited image, which causes the mathematical calculation to run too long, thus resulting in the problem of inefficiency in image verification. Summary of the invention

[0005] Based on the description of the background technology, in order to verify whether the editing of an image is properly authorized and to protect some privacy rights, there is generally a problem of inefficiency in image verification. One of the necessary technical means adopted by the present application to solve the above-mentioned problem is to provide an image editing verification system, and the image editing verification system includes an image provider terminal device, an image editor terminal device and a user terminal device.

[0006] The image provider terminal device stores a private key and a public key for providing a source image and editing the source image into a plurality of block image areas allocated according to an area allocation method.

[0007] The image provider terminal device is also used to assign multiple source image hash values ​​corresponding to the block image area according to an operation sequence structure to generate a block edit data. The image provider terminal device is used to operate the source image hash value according to the operation sequence structure to generate a source image overall hash value, use a private key to sign the source image overall hash value to generate a source certificate, and bind the source image and the source certificate into an image label pair.

[0008] The image editor terminal device is communicatively linked to the image provider terminal device to receive the block editing data and the image volume tag pair, receive the public key to define as an editing end public key, and block-divide the source image into a plurality of block images according to the block image area of ​​the block editing data.

[0009] The image editor terminal device is also used to define the block image into at least one block image to be edited and at least one original block image, define the source image hash value corresponding to the block image to be edited as at least one editing area hash value, and define the source image hash value corresponding to the original block image as at least one original hash value.

[0010] The image editor terminal device is also used for an editor to operate to edit the block image to be edited into at least one edited block image, and to splice the edited block image and the original block image into an edited overall image according to the area allocation method, and to operate the edited area hash value and the original hash value according to the operation order structure to generate an edited image overall hash value, and after comparing the edited image overall hash value with the source proof, use the editor's public key to sign to generate a zero-knowledge proof image guarantee certificate.

[0011] The user terminal device is communicatively linked to the image provider terminal device and the image editor terminal device, and is used to receive a public key from the image provider terminal device to be defined as a source public key, receive a zero-knowledge proof image assurance certificate and the edited overall image from the image editor terminal device, and verify whether the edited overall image is formed by editing the source image based on the source public key and the zero-knowledge proof image assurance certificate.

[0012] Among the subsidiary technical means derived on the basis of the above-mentioned necessary technical means, the best one is that the image provider terminal device can generate an image block editing interface after installing and executing an application suite, and the image block editing interface is used to edit the source image into block image areas allocated according to the area allocation method, and assign the source image hash value corresponding to the block image area according to the operation order structure, so as to generate block editing data.

[0013] The image provider terminal device can also generate a hash value calculation module after installing and executing the application suite, and the hash value calculation module calculates the source image hash value according to the operation sequence structure to generate the source image overall hash value.

[0014] The image provider terminal device can further generate a signature module after installing and executing the application suite, and the signature module uses a private key to sign the entire hash value of the source image to generate a source certificate, and binds the source image and the source certificate into the image label pair.

[0015] The image editor terminal device can generate an image segmentation module after installing and executing the application suite, and the image segmentation module blocks and segments the source image into block images according to the block image area of ​​the block editing data, and defines the block image into the block image to be edited and the original block image, defines the source image hash value corresponding to the block image to be edited as the at least one editing area hash value, and defines the source image hash value corresponding to the original block image as the original hash value.

[0016] The image editor terminal device can also generate a first zero-knowledge proof module after installing and executing the application suite. The first zero-knowledge proof module includes an image editing unit, and the image editing unit is used for the editor to operate to edit the block image to be edited into the edited block image.

[0017] The first zero-knowledge proof module may further include an image synthesis unit, and the image synthesis unit is used to splice the edited block image and the original block image into an edited overall image according to the area allocation method.

[0018] The first zero-knowledge proof module may further include a hash value operation unit, and the hash value operation unit operates the edited region hash value and the original hash value according to the operation sequence structure to generate an edited image overall hash value.

[0019] The first zero-knowledge proof module may further include a certificate generating unit, and after comparing the overall hash value of the edited image with the source certificate, the certificate generating unit uses the editing end public key to sign to generate a zero-knowledge proof image guarantee certificate.

[0020] The user terminal device generates a second zero-knowledge proof module after installing and executing the application suite, and the second zero-knowledge proof module is used to verify whether the edited overall image is formed by editing the source image based on the source end public key and the zero-knowledge proof image assurance certificate.

[0021] The user terminal device may further generate an image selection interface after installing and executing the application suite, and the image selection interface allows a user to select to accept the edited overall image after the second zero-knowledge proof module verifies that the edited overall image is formed by editing the source image.

[0022] Preferably, the operation order structure used can be a Merkle Tree operation order structure, the source image hash value is calculated according to the Merkle Tree operation order structure to generate the source image overall hash value, and the edited area hash value and the original hash value are also calculated according to the Merkle Tree operation order structure to generate the edited image overall hash value.

[0023] Another necessary technical means adopted by the present application to solve the problems of the prior art is to provide an image editing and verification method, which is implemented using the above-mentioned image editing and verification system and includes the following steps: first, a private key and a public key are stored in the image provider terminal device, and the image provider terminal device is used to provide a source image, and the source image is edited into multiple block image areas allocated according to the area allocation method.

[0024] Next, the image provider terminal device assigns a source image hash value corresponding to the block image area according to the operation order structure to generate block editing data, and the image provider terminal device operates the source image hash value according to the operation order structure to generate the source image overall hash value, and uses a private key to sign the source image overall hash value to generate the source certificate, and binds the source image and the source certificate into an image label pair.

[0025] Next, the image editor terminal receives the block editing data and the image tag pair, and receives a public key to define as an editing end public key. Then, the image editor terminal divides the source image into a plurality of block images according to the block image area of ​​the block editing data, and defines at least one block image to be edited and at least one original block image from the plurality of block images.

[0026] Then, the image editor terminal device is used to define the source image hash value corresponding to the block image to be edited as the edited area hash value, and the source image hash value corresponding to the original block image is defined as the original hash value. The image editor terminal device is further used for the editor to edit the block image to be edited into the edited block image, and the edited block image and the original block image are spliced ​​into the edited overall image according to the area allocation method.

[0027] Next, the image editor terminal device is used to calculate the edited area hash value and the original hash value according to the operation order structure to generate an edited image overall hash value. After comparing the edited image overall hash value with the source proof, the editor's public key is used to sign to generate a zero-knowledge proof image guarantee certificate.

[0028] Finally, the user terminal device is used to receive the public key from the image provider's terminal device to define it as the source public key, receive the zero-knowledge proof image assurance certificate and the edited overall image from the image editor's terminal device, and verify whether the edited overall image is formed by editing the source image based on the source public key and the zero-knowledge proof image assurance certificate.

[0029] Among the subsidiary technical means derived on the basis of the above-mentioned necessary technical means, it is preferable that the operation order structure adopted in the image editing verification method can also be a Merkle Tree operation order structure, and the source image hash value is calculated according to the Merkle Tree operation order structure to generate the overall hash value of the source image, and the edited area hash value and the original hash value are also calculated according to the Merkle Tree operation order structure to generate the overall hash value of the edited image.

[0030] In addition, after the application suite is installed and executed by the user terminal device, an image selection interface can be generated, and after verifying that the edited overall image is formed by editing the source image, the image selection interface allows a user to operate and select to accept the edited overall image.

[0031] In summary, in the image editing verification technology (including verification system and verification method) provided in this application, the source image is divided into multiple block images and the corresponding source image hash values ​​are assigned. Therefore, only part of the block images need to be edited, and hash operations and comparisons are performed before and after editing to confirm whether the edited overall image after editing is generated by the source image before editing; and combined with key comparison and zero-knowledge proof technology, the original content of the source image is protected from being known by users or the rest of the public, while protecting the privacy of personal information and portraits. Among them, due to the block processing, not only can the time spent be saved, but also the memory space spent can be reduced, so as to achieve the effect of improving the efficiency of image verification. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 Shown is a functional block diagram of an image editing verification system provided by a preferred embodiment of the present application;

[0033] Figure 2 Displayed is one of the source images in the preferred embodiment of the present application;

[0034] Figure 3 Shown is one of the area allocation methods for the source image in the preferred embodiment of the present application;

[0035] Figure 4 It is shown that in a preferred embodiment of the present application, the source image is divided into a plurality of block images according to the block image area of ​​the block editing data;

[0036] Figure 5 Displayed as one of the block images to be edited in the preferred embodiment of the present application;

[0037] Figure 6 Display as Figure 5 An edited block image is obtained by editing the block image to be edited in a mosaic processing manner;

[0038] Figure 7 Shown is another block image to be edited in the preferred embodiment of the present application;

[0039] Figure 8 Display as Figure 7 Another edited block image is obtained by editing the block image to be edited in a mosaic processing manner;

[0040] Fig. 9 It is a schematic diagram showing, in a preferred embodiment of the present application, that the edited block image and the original block image are arranged according to the area allocation method to wait for splicing;

[0041] Fig.10 It is a schematic diagram showing, in a preferred embodiment of the present application, that the edited block image and the original block image are arranged and spliced ​​into an edited overall image according to the area allocation method;

[0042] Fig.11 and Fig.12 A schematic diagram showing an edited block image having another type of image edited in another manner;

[0043] Fig.13 In the preferred embodiment of the present application, Fig.11 and Fig.12 A schematic diagram showing the edited block images and the original block images in the image are arranged according to the area allocation method and are waiting to be spliced;

[0044] Fig.14 It is a schematic diagram showing a preferred embodiment of the present application, in which an image block editing interface is used for manual operation to divide the image block area; and

[0045] Fig.15A and Fig. 15B Shown is a simplified flow chart of the image editing verification method provided by the preferred embodiment of the present application.

[0046] Component number description

[0047] 100 Verification System

[0048] 1 Image provider terminal device

[0049] 11 Storage Module

[0050] 12 Image Block Editing Interface

[0051] 13 Hash value calculation module

[0052] 14 Signature Module

[0053] 2 Video editor terminal device

[0054] 21 Storage Module

[0055] 22 Image Segmentation Module

[0056] 23 The first zero-knowledge proof module

[0057] 231 Video Editing Unit

[0058] 232 Image Synthesis Unit

[0059] 233 Hash value calculation unit

[0060] 234 Certificate Generation Unit

[0061] 3 User terminal devices

[0062] 31 Storage Module

[0063] 32 Second Zero-Knowledge Proof Module

[0064] 33 Image selection interface

[0065] APK Application Kit

[0066] KP key pair

[0067] PUK Public Key

[0068] PRK Private Key

[0069] PUK-S Source public key

[0070] PUK-E Edit end public key

[0071] (Is,τ) image label pair

[0072] π Guarantee certificate

[0073] Is Source Image

[0074] R0~R8,R0'~R3' Block image area

[0075] RI Full Image Area

[0076] I0~I8 block image

[0077] Ie2,Ie4 need to edit block images

[0078] Ied2,Ied2',Ied4,Ied4' Edited block images

[0079] Io0, Io1, Io3, Io5~Io8 original block images

[0080] Ied Edited overall image

[0081] Steps S110~S250 DETAILED DESCRIPTION

[0082] Since the image editing verification technology (including the verification system and the verification method) provided by the present application can be widely used to determine whether various edited images are indeed produced by editing the real source images, rather than fabricating them out of thin air, its application level is quite broad, so it will not be described one by one here. Only a better verification system and a corresponding verification method are listed as an embodiment for specific explanation, and this embodiment is only used to conveniently and clearly assist in explaining the purpose and function of the embodiment of the present application.

[0083] See also Figure 1 , which shows a functional block diagram of the image editing verification system provided by the preferred embodiment of the present application. Figure 1 As shown, an image editing verification system (hereinafter referred to as "verification system") 100 includes an image provider terminal device 1, an image editor terminal device 2 and a user terminal device 3, and operates in conjunction with an application package APK.

[0084] The image provider terminal device 1 includes a storage module 11 and an application package APK is installed. The storage module 11 stores a key pair KP and multiple source images Is. The key pair KP may include a public key PUK and a private key PRK. The source image Is may be an image directly taken by the image provider terminal device 1, or an image captured by other image capture devices (such as a digital camera, a webcam, a mobile phone, a tablet computer, or other devices capable of capturing digital images).

[0085] After the image provider terminal device 1 executes the application package APK, an image block editing interface 12, a hash value calculation module 13 and a signature module 14 are generated. The image block editing interface 12 is used to edit the source image Is into block image areas R0-R8 allocated according to the area allocation method (such as Figure 3 As shown), the source image hash values ​​H0-H8 are assigned to the corresponding block image areas R0-R8 according to the operation order structure, thereby generating a block editing data.

[0086] Table 1: Block editing data

[0087]

[0088] The block editing data can be shown in Table 1. In this embodiment, the area allocation method can be set by default by the application suite APK, or manually input by an image provider of the image provider terminal device 1. In this embodiment, it is manually input by the image provider, and the area allocation method adopted is a 3x3 equal division allocation method. According to the 3x3 equal division allocation method, a full image area RI with a pixel size of 900X1440 can be divided into the above-mentioned 9 block image areas R0~R8 with a pixel size of 300X480, and the source image hash values ​​H0~H8 are correspondingly assigned.

[0089] In order to more clearly define the connection (stitching) relationship between each block image area, each block image area R0~R8 can be defined as a diagonal pixel coordinate range composed of (upper left and lower right) diagonal pixel coordinates in the block editing data, where the diagonal pixel coordinate range composed of (upper left and lower right) diagonal pixel coordinates in the full image area RI is (001,001)~(900,1440).

[0090] The hash value calculation module 13 calculates the source image hash values ​​H0~H8 according to the operation order structure to generate a source image overall hash value HI. In the present embodiment, the above operation order structure adopts the Merkle Tree operation order structure, that is, the tree structure hash operation is performed in two stages. In the first stage, three first-order hash values ​​HM0~HM2 are calculated, that is, the first-order hash value HM0 is calculated by performing a first-order hash operation using the source image hash values ​​H0~H2; the first-order hash value HM1 is calculated by performing a first-order hash operation using the source image hash values ​​H3~H5; and the first-order hash value HM2 is calculated by performing a first-order hash operation using the source image hash values ​​H6~H8. In the second stage, the above three first-order hash values ​​HM0~HM2 are used to perform a second-order hash operation to calculate the above-mentioned source image overall hash value HI.

[0091] In practice, the so-called operation order structure can be adjusted according to the number of block image regions. For example, when the number of block image regions is only 3, that is, there are only three source image hash values ​​H1'~H3', a direct serial operation order structure can also be used, that is, first perform a hash operation on the source image hash values ​​H1' and H2', and then perform a second hash operation on the result of the first hash operation and the source image hash value H3' to obtain the above-mentioned source image overall hash value HI'. In addition, an odd-even serial operation order structure or other operation order structures can be used.

[0092] The signing module 14 signs the source image overall hash value HI using the private key PRK to generate a source certificate τ, and binds the source image Is and the source certificate τ to form the image label pair (Is, τ).

[0093] The image editor terminal device 2 has a storage module 21 and also has an application package APK installed. After the image editor terminal device 2 is communicatively linked to the image provider terminal device 1, it can receive the block editing data (as shown in Table 1) and the image tag pair (Is, τ), and receive the public key PUK from the image provider terminal device 1 to define an editing end public key PUK-E.

[0094] After the image editor terminal device 2 executes the application package APK, an image segmentation module 22 and a first zero-knowledge proof module 23 are generated, and the first zero-knowledge proof module 23 includes an image editing unit 231, an image synthesis unit 232, a hash value calculation unit 233 and a certificate generation unit 234.

[0095] The image segmentation module 22 segments the source image Is into block images I0-I8 (as shown in Table 1) according to the block image regions R0-R8 of the block editing data (as shown in Table 1). Figure 4 As shown in FIG. 1 , block images I0 to I8 are defined as block images to be edited and original block images. In this embodiment, block images I2 and I4 need to be edited because they involve sensitive portrait rights and personal information (especially portrait rights and personal information of non-public figures), so they are defined as block images Ie2 and Ie4 to be edited (as shown in FIG. 1 ). Figure 5 and Figure 7 As shown in FIG. 1 , block images I0, I1, I3 and I5 to I8 do not need to be edited, so they are defined as the original block images Io0, Io1, Io3 and Io5 to Io8. Figure 5 The personal data displayed is fabricated for the purpose of explanation. Any similarity is purely coincidental.

[0096] Therefore, the source image hash values ​​H2 and H4 corresponding to the block images Ie2 and Ie4 that need to be edited are defined as the editing area hash values ​​He2 and He4 respectively, and the source image hash values ​​H0, H1, H3 and H5~H8 corresponding to the original block images Io0, Io1, Io3 and Io5~Io8 that do not need to be edited are defined as the original hash values ​​Ho0, Ho1, Ho3 and Ho5~Ho8 respectively.

[0097] The image editing unit 231 is used for the editor to edit the block image to be edited into the edited block image. In one application of this embodiment, a mosaic processing editing method is used for the sensitive areas of the block images Ie2 and Ie4 to be edited, so as to form the edited block images Ied2 and Ied4 respectively (such as Figure 6 and Figure 8 In addition, in another application of this embodiment, other editing methods may be used, such as replacing human figures with cartoons, comics or animal figures to generate another type of edited block images Ied2' and Ied4' (such as Fig.11 and Fig.12 as shown) to avoid infringement of portrait rights, or by coding personal information (i.e. replacing part of the real data with a code ○, such as Fig.11 The information will be edited as shown) to avoid leaking personal data.

[0098] The image synthesis unit 232 is used to combine the edited block images Ied2 and Ied4 with the original block images Io0, Io1, Io3 and Io5-Io8 according to the area allocation method (ie, the above-mentioned 3x3 equal allocation method, such as Fig. 9 ) and the diagonal pixel coordinate range in the block edited data to form an edited overall image Ied (as shown in FIG. Fig.10 Wherein, the edited block images Ied2 and Ied4 correspond to the block image regions R2 and R4 (indicated in Figure 3 ) of the diagonal pixel coordinate range; the original block images Io0, Io1, Io3 and Io5~Io8 correspond to the block image areas R0, R1, R3 and R5~R8 (also marked in Figure 3 ) diagonal pixel coordinate range. Alternatively, edited block images Ied2', Ied4' and original block images Io0, Io1, Io3 and Io5~Io8 (such as Fig.13 As shown), according to the area allocation method (ie, the 3x3 equal allocation method mentioned above) and the diagonal pixel coordinate range in the block-based editing data, another edited overall image is spliced.

[0099] The hash value operation unit 233 operates the edited region hash values ​​He2 and He4 and the original hash values ​​Ho0, Ho1, Ho3 and Ho5-Ho8 according to the operation sequence structure to generate an edited image overall hash value HeI. In this embodiment, the same Merkle Tree operation sequence structure as the hash value operation module 13 must be used, that is, the tree structure hash operation is performed in two stages. In the first stage, three first-order hash values ​​HMe0-HMe2 are calculated, that is, the first-order hash value HMe0 is calculated by using the original hash values ​​Ho0, Ho1 and the edited region hash value He2 for the first-order hash operation; the first-order hash value HMe1 is calculated by using the original hash value Ho3, the edited region hash value He4, and the original hash value Ho5 for the first-order hash operation; and the first-order hash value HMe2 is calculated by using the original hash values ​​Ho6-Ho8 for the first-order hash operation. In the second stage, the above three first-order hash values ​​HMe0-HMe2 are used to perform a second-order hash operation to calculate the above edited image overall hash value HeI.

[0100] Similarly, when the operation sequence structure adopted by the hash value operation module 13 is direct serial operation, odd-even serial operation or other operation sequence structure, the hash value operation unit 233 must also use the same operation sequence structure as the hash value operation module 13 .

[0101] After comparing the edited image's overall hash value HeI with the source certificate τ (which contains the source image's overall hash value HI), the certificate generating unit 234 uses the editing end public key PUK-E to sign and generate a zero-knowledge proof image assurance certificate (hereinafter referred to as "assurance certificate") π.

[0102] The user terminal device 3 also has a storage module 31, and an application package APK is installed, and a second zero-knowledge proof module 32 and an image selection interface 33 are generated when the application package APK is executed. The user terminal device 3 is communicatively linked to the image provider terminal device 1 and the image editor terminal device 2, and can be used to receive the public key PUK from the image provider terminal device 1 to define a source public key PUK-S, and receive the guarantee certificate π and the edited whole image Ied from the image editor terminal device 2.

[0103] The second zero-knowledge proof module 32 is used to verify whether the edited overall image Ied is formed by editing the source image Is based on the source end public key PUK-S and the zero-knowledge proof image assurance certificate π (which contains the editing end public key PUK-E). The verification method may include verifying whether the editing end public key PUK-E is the same as the source end public key PUK-S, verifying whether the edited image overall hash value HeI is the same as the source image overall hash value HI, and other related verification methods derived from the source end public key PUK-S and the zero-knowledge proof image assurance certificate π (such as verifying the block-edited data, etc.).

[0104] In practice, the image editor terminal device 2 may receive source images provided by multiple different image provider terminal devices 1; the same image provider terminal device 1 may also provide multiple different source images to the same image editor terminal device 2. If the edited overall image Ied is not formed by editing the source image Is, it means that the edited overall image Ied is not provided by the provider of the source image Is (i.e., the operator of the image provider terminal device 1), or although it is provided by the operator of the image provider terminal device 1, it is not the corresponding source image Is. If the edited overall image Ied is not provided by the provider of the source image Is, the editing end public key PUK-E and the source end public key PUK-S will inevitably be different; if it is provided by the operator of the image provider terminal device 1, but it is not the corresponding source image Is, the edited image overall hash value HeI and the source image overall hash value HI will inevitably be different. As long as any of the above comparison results are different, verification cannot be passed.

[0105] The image selection interface 33 allows a user to select to accept the edited overall image Ied after the second zero-knowledge proof module 32 verifies that the edited overall image Ied is formed by editing the source image Is. In addition, after accepting the edited overall image Ied, the received source end public key PUK-S, the guarantee certificate π and the edited overall image Ied can be stored in the storage module 31 together for future reference.

[0106] The above-mentioned image provider terminal device 1, image editor terminal device 2 and user terminal device 3 can be a smart phone, tablet computer, personal computer, notebook computer or other terminal electronic devices capable of direct or indirect wired or wireless communication. The above-mentioned storage modules 11, 21 and 31 can be a memory, memory card or other electronic device for permanent, limited or temporary storage of digital data.

[0107] Since the above-mentioned image block editing interface 12, hash value calculation module 13, signature module 14, image segmentation module 22, first zero-knowledge proof module 23 (including an image editing unit 231, an image synthesis unit 232, a hash value calculation unit 233 and a certificate generation unit 234), second zero-knowledge proof module 32 and image selection interface 33 are all generated when executing the application suite APK, they are essentially (part of) the main program, sub-program or plug-in attached program in the application suite APK. The relevant program logic is as described above, and those who have general knowledge in the field of program editing technology can write the corresponding main program, sub-program or plug-in attached program according to the above-mentioned relevant program logic for specific implementation.

[0108] The above-mentioned source image Is, block images I0~I8, block images to be edited Ie2, Ie4, original block images Io0, Io1, Io3, Io5~Io8, edited block images Ied2, Ied4 and edited overall image Ied are essentially digital image data (files). The ones marked in the figure are the images presented on the display interface after the digital image data (files) are opened by the image display application.

[0109] Also, see Fig.14, which is a schematic diagram showing the use of the image block editing interface for manual operation to divide the block image area in the preferred embodiment of the present application. In addition to the above-mentioned 3x3 equal division allocation method, the area allocation method adopted by the image block editing interface 12 can also be used by an image provider of the image provider terminal device 1 to manually operate (such as directly clicking with a mouse) to divide the block image areas R0'~R3' with different pixel sizes as the above-mentioned area allocation method, and further serve as the basis for the subsequent block division of the source image Is. The block images in the block image area R0' do not need to be edited, and the block images in the block image areas R1'~R3' need to be edited. The remaining technical means are similar to the above-mentioned description and will not be repeated.

[0110] Please continue reading Fig.15A and Fig. 15B , which is a simplified flow chart of the image editing verification method provided by the preferred embodiment of the present application. The image editing verification method provided by the preferred embodiment of the present application is implemented by using the above-mentioned image editing verification system (i.e., verification system 100), preferably, the image provider terminal device 1, an image editor terminal device 2, and a user terminal device 3 in the verification system 100 are respectively installed and executed after the above-mentioned application package APK is implemented.

[0111] In this image editing verification method, first, a key pair KP can be pre-stored in the storage module 11 of the image provider terminal device 1, and the key pair KP can include a public key PUK and a private key PRK (step S110), and the source image Is is edited into a plurality of block image areas R0~R8 allocated according to the area allocation method (step S120).

[0112] Next, the image provider terminal device 1 is used to assign the corresponding source image hash values ​​H0-H8 corresponding to the block image areas R0-R8 according to the operation order structure, thereby generating block editing data (as shown in Table 1), wherein the operation order structure can be the Merkle Tree operation order structure mentioned above (step S130). Then, the image provider terminal device 1 is used to operate the source image hash values ​​H0-H8 according to the operation order structure to generate the source image overall hash value HI (step S140), and the source image overall hash value is signed using the private key PRK to generate the source certificate τ, and the source image Is and the source certificate τ are bound to the image label pair (Is, τ) (step S150).

[0113] Next, the image editor terminal device 2 receives the block editing data and the image tag pair (Is, τ), and receives the public key to define as the editing end public key PUK-E (step S160). Then, the image editor terminal device 2 blocks and divides the source image Is into block images I0-I8 according to the block image regions R0-R8 of the block editing data, and defines the block images I0-I8 to be edited into block images Ie2 and Ie4 and the original block images Io0, Io1, Io3 and Io5-Io8 (step S170).

[0114] Then, the image editor terminal device 2 is used to define the source image hash values ​​H2 and H4 corresponding to the block images Ie2 and Ie4 to be edited as the edited area hash values ​​He2 and He4, and the source image hash values ​​H0, H1, H3 and H5-H8 corresponding to the original block images Io0, Io1, Io3 and Io5-Io8 are defined as the original hash values ​​Ho0, Ho1, Ho3 and Ho5-Ho8 (step S180). Further, the image editor terminal device 2 can be used for the editor to edit the block images Ie2 and Ie4 to be edited into the edited block images Ied2 and Ied4, and the edited block images Ied2 and Ied4 are spliced ​​with the original block images Io0, Io1, Io3 and Io5-Io8 according to the area allocation method into the edited overall image Ied (step S190).

[0115] Next, the image editor terminal device 2 is used to calculate the editing area hash values ​​He2 and He4 and the original hash values ​​Ho0, Ho1, Ho3 and Ho5~Ho8 according to the operation order structure to generate the overall hash value HeI of the edited image (step S200), and compare the overall hash value HeI of the edited image with the source certificate τ (which contains the overall hash value HI of the source image) to see if they are correct (step S210); if the comparison is correct, the editing end public key is used to sign to generate a zero-knowledge proof image guarantee certificate (i.e., guarantee certificate π) (step S220); if the comparison is incorrect, return to step S160 to re-receive the block-based editing data, image label pair (Is, τ) and editing end public key PUK-E.

[0116] Finally, the user terminal device 3 is used to receive the public key PUK from the image provider terminal device 1 to define it as the source public key PUK-S, and receive the zero-knowledge proof image assurance certificate (i.e., the assurance certificate π, which contains the editing public key PUK-E) and the edited overall image Ied from the image editor terminal device 2 (step S230), and verify whether the edited overall image Ied is formed by editing the source image Is based on the source public key PUK-S and the assurance certificate π (step S240).

[0117] If it is verified in step S240 that the edited overall image Ied is formed by editing the source image Is, an image selection interface 33 is generated for a user to operate the user terminal device 3 to select and accept the edited overall image (step S250). If it is verified in step S240 that the edited overall image Ied is not formed by editing the source image Is, the process returns to step S230 to receive the source end public key PUK-S, the guarantee certificate π and the edited overall image Ied again.

[0118] In order to confirm that the technical means adopted by this application have higher image, processing and verification efficiency than the above-mentioned "image verification technology" published in 2016 (i.e. the prior art in Table 2), the following will further compare the source image with a total pixel size of 128x128 and the image with an edited pixel size (i.e. the pixel size of the block image to be edited) of 64x64 in terms of program operation time and memory space. The specific comparison results are shown in Table 2. As can be seen from Table 2, this application takes significantly less time and consumes significantly less memory space than the prior art, and undoubtedly has higher image, processing and verification efficiency.

[0119] Table 2: Processing performance comparison table

[0120]

[0121] In summary, in the image editing verification technology (including verification system and verification method) provided in this application, the source image is divided into multiple block images and the corresponding source image hash values ​​are assigned. Therefore, only part of the block images need to be edited, and hash operations and comparisons are performed before and after editing to confirm whether the edited overall image after editing is generated by the source image before editing; combined with the key comparison and zero-knowledge proof technology, only the operator of the image provider terminal device 1 and the image editor terminal device 2 can see the source image Is, so as to protect the original content of the source image Is from being known by the user (i.e. the operator of the above-mentioned user terminal device 3) or the rest of the public, and has the effect of protecting the privacy of personal information and portraits. Among them, due to the block processing, it has been proved by experiments (the results are shown in Table 2) that it can not only save the time spent, but also reduce the memory space spent, so as to achieve the effect of improving the efficiency of image verification.

[0122] Through the detailed description of the preferred embodiments above, it is hoped that the features and spirit of the present application can be more clearly described, and the scope of the present application is not limited by the preferred embodiments disclosed above. On the contrary, its purpose is to cover various changes and arrangements with equivalents within the scope of the patent scope to be applied for by the present application.

Claims

1. An image editing verification system, comprising: An image provider terminal device stores a private key and a public key, is used to provide a source image, edit the source image into a plurality of block image areas allocated according to a region allocation method, assign a plurality of source image hash values ​​corresponding to the plurality of block image areas according to an operation sequence structure, thereby generating a block edit data, calculate the plurality of source image hash values ​​according to the operation sequence structure to generate a source image overall hash value, use the private key to sign the source image overall hash value to generate a source certificate, and bind the source image and the source certificate into an image label pair; an image editor terminal device, communicatively linked to the image provider terminal device, to receive the block-editing data and the image tag pair, to receive the public key to define as an editing end public key, to block-divide the source image into a plurality of block images according to the plurality of block-editing image regions of the block-editing data, to define at least one block image to be edited and at least one original block image from the plurality of block images, to define a plurality of source image hash values ​​corresponding to the at least one block image to be edited as at least one editing region hash value, to define the remaining plurality of source image hash values ​​corresponding to the at least one original block image as at least one editing region hash value, The source image hash value is defined as at least one original hash value, which is used by an editor to edit the at least one block image to be edited into at least one edited block image, and to splice the at least one edited block image and the at least one original block image into an edited overall image according to the area allocation method, and to operate the at least one edited area hash value and the at least one original hash value according to the operation sequence structure to generate an edited image overall hash value, and after comparing the edited image overall hash value with the source certificate, the editor end public key is used to sign to generate a zero-knowledge proof image guarantee certificate; as well as A user terminal device is communicatively linked to the image provider terminal device and the image editor terminal device to receive the public key from the image provider terminal device to be defined as a source public key, receive the zero-knowledge proof image assurance certificate and the edited overall image from the image editor terminal device, and verify whether the edited overall image is formed by editing the source image based on the source public key and the zero-knowledge proof image assurance certificate.

2. The image editing verification system according to claim 1, wherein: The image provider terminal device generates an image block editing interface after installing and executing an application suite, and the image block editing interface is used to edit the source image into a plurality of the block image areas allocated according to the area allocation method, and assign a plurality of the source image hash values ​​corresponding to the plurality of the block image areas according to the operation order structure, thereby generating the block editing data.

3. The image editing verification system according to claim 1, wherein: The image provider terminal device further generates a hash value calculation module after installing and executing the application suite, and the hash value calculation module calculates a plurality of the source image hash values ​​according to the calculation sequence structure to generate the overall hash value of the source image.

4. The image editing verification system according to claim 1, wherein: The image provider terminal device further generates a signature module after installing and executing the application suite, and the signature module uses the private key to sign the entire hash value of the source image to generate the source certificate, and binds the source image and the source certificate into the image label pair.

5. The image editing verification system according to claim 1, wherein: The image editor terminal device generates an image segmentation module after installing and executing the application suite, and the image segmentation module blocks and segments the source image into a plurality of block images according to the plurality of block image areas of the block editing data, and defines the at least one block image to be edited and the at least one original block image from the plurality of block images, defines a plurality of source image hash values ​​corresponding to the at least one block image to be edited as the at least one editing area hash value, and defines the remaining plurality of source image hash values ​​corresponding to the at least one original block image as the at least one original hash value.

6. The image editing verification system according to claim 5, wherein: The image editor terminal device further generates a first zero-knowledge proof module after installing and executing the application suite, wherein the first zero-knowledge proof module includes an image editing unit, and the image editing unit is used for the editor to operate to edit the at least one block image to be edited into the at least one edited block image.

7. The image editing verification system according to claim 6, wherein: The first zero-knowledge proof module further includes an image synthesis unit, and the image synthesis unit is used to splice the at least one edited block image and the at least one original block image into an edited overall image according to the area allocation method.

8. The image editing verification system according to claim 6, wherein: The first zero-knowledge proof module further includes a hash value operation unit, and the hash value operation unit operates the at least one edited region hash value and the at least one original hash value according to the operation sequence structure to generate an edited image overall hash value.

9. The image editing verification system according to claim 6, wherein: The first zero-knowledge proof module further includes a certificate generating unit, and after comparing the overall hash value of the edited image with the source certificate, the certificate generating unit uses the editing end public key to sign to generate the zero-knowledge proof image guarantee certificate.

10. The image editing verification system according to claim 1, wherein: The user terminal device generates a second zero-knowledge proof module after installing and executing the application suite, and the second zero-knowledge proof module is used to verify whether the edited overall image is formed by editing the source image based on the source end public key and the zero-knowledge proof image assurance certificate.

11. The image editing verification system according to claim 10, wherein: The user terminal device generates an image selection interface after installing and executing the application suite, and the image selection interface allows a user to operate and select to accept the edited overall image after the second zero-knowledge proof module verifies that the edited overall image is formed by editing the source image.

12. The image editing verification system according to claim 1, wherein: The operation sequence structure is a Merkle Tree operation sequence structure, and the plurality of source image hash values ​​are operated according to the Merkle Tree operation sequence structure to generate the overall hash value of the source image, and the at least one edited area hash value and the at least one original hash value are also operated according to the Merkle Tree operation sequence structure to generate the overall hash value of the edited image.

13. A method for verifying image editing, implemented by the image editing verification system according to claim 1, comprising the following steps: The private key and the public key are stored in the image provider terminal device, the source image is provided by the image provider terminal device, and the source image is edited into a plurality of block image areas allocated according to the area allocation method; Using the image provider terminal device to assign a plurality of source image hash values ​​corresponding to a plurality of the block image regions according to the operation order structure, thereby generating the block edit data; Using the image provider terminal device to calculate the plurality of source image hash values ​​according to the operation sequence structure to generate the source image overall hash value, using the private key to sign the source image overall hash value to generate the source certificate, and binding the source image and the source certificate to form the image label pair; Using the image editor terminal device to receive the block-edited data and the image tag pair, and receiving the public key to define it as the editing end public key; Using the image editor terminal device to block-divide the source image into a plurality of block images according to the plurality of block image regions of the block editing data, and define the at least one block image to be edited and the at least one original block image from the plurality of block images; Using the image editor terminal device, define the plurality of source image hash values ​​corresponding to the at least one block image to be edited as the at least one edit region hash value, and define the remaining plurality of source image hash values ​​corresponding to the at least one original block image as the at least one original hash value; Using the image editor terminal device for the editor to operate to edit the at least one block image to be edited into the at least one edited block image, and splicing the at least one edited block image and the at least one original block image into the edited overall image according to the area allocation method; The image editor terminal device operates the at least one edited region hash value and the at least one original hash value according to the operation sequence structure to generate the edited image overall hash value, and after comparing the edited image overall hash value with the source certificate, the editor end public key is used to sign to generate the zero-knowledge proof image guarantee certificate; as well as The user terminal device is used to receive the public key from the image provider terminal device to define it as the source public key, receive the zero-knowledge proof image assurance certificate and the edited overall image from the image editor terminal device, and verify whether the edited overall image is formed by editing the source image based on the source public key and the zero-knowledge proof image assurance certificate.

14. The image editing verification method according to claim 13, wherein: The operation sequence structure is a Merkle Tree operation sequence structure, and the plurality of source image hash values ​​are operated according to the Merkle Tree operation sequence structure to generate the overall hash value of the source image, and the at least one edited area hash value and the at least one original hash value are also operated according to the Merkle Tree operation sequence structure to generate the overall hash value of the edited image.

15. The image editing verification method according to claim 13 further includes a step (j) after the step (i), and the step (j) utilizes the user terminal device to generate an image selection interface after installing and executing an application suite, and the image selection interface provides a user with the option to accept the edited overall image after verifying that the edited overall image is formed by editing the source image.