WO2022089482A1 - Image anti-counterfeiting method and apparatus, and device - Google Patents
Image anti-counterfeiting method and apparatus, and device Download PDFInfo
- Publication number
- WO2022089482A1 WO2022089482A1 PCT/CN2021/126694 CN2021126694W WO2022089482A1 WO 2022089482 A1 WO2022089482 A1 WO 2022089482A1 CN 2021126694 W CN2021126694 W CN 2021126694W WO 2022089482 A1 WO2022089482 A1 WO 2022089482A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- watermark
- input
- original
- reverse
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 84
- 230000002441 reversible effect Effects 0.000 claims abstract description 94
- 230000004044 response Effects 0.000 claims abstract description 35
- 230000006870 function Effects 0.000 claims description 84
- 238000004891 communication Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 238000007726 management method Methods 0.000 description 4
- 238000007667 floating Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000012559 user support system Methods 0.000 description 2
- 101100264195 Caenorhabditis elegans app-1 gene Proteins 0.000 description 1
- 241000699670 Mus sp. Species 0.000 description 1
- 238000003967 crop rotation Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000009966 trimming Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/0021—Image watermarking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
Definitions
- the present application belongs to the field of communication technologies, and in particular relates to an image anti-counterfeiting method, device and device.
- Watermarks refer to information such as icons and trademarks embedded in images.
- the original author will embed the original author's identity information, such as company information, personal nickname, etc., by adding a watermark to the image. Therefore, when a watermarked image is shared on a social platform, if others copy the image, the watermark will also be copied, thereby preventing the image from being misappropriated by others.
- identity information such as company information, personal nickname, etc.
- the purpose of the embodiments of the present application is to provide an image anti-counterfeiting method, device and device, which can solve the problem of protecting the copyright of the image without destroying the viewing quality of the image.
- the embodiments of the present application provide an image anti-counterfeiting method.
- the method is applied to the first device.
- the method includes: in the case of displaying the reverse side image of the first image, receiving a first input of the reverse side image, the reverse side image being a watermark image; in response to the first input, displaying the front side image of the first image, the The frontal image is the original image; receiving a second input, the second input is a screenshot input of the target area of the frontal image; in response to the second input, acquiring a screenshot image, the screenshot image superimposing the reverse image on the frontal image The image corresponding to the target area captured after uploading.
- the embodiments of the present application provide an image anti-counterfeiting method.
- the method is applied to the second device.
- the method includes: in the case of displaying the original image, receiving a first input; in response to the first input, setting a watermark image corresponding to the original image; sharing the first image or image information of the first image, the first image
- the front image of the first image is the original image, and the reverse image of the first image is the watermark image.
- the embodiments of the present application provide an image anti-counterfeiting device.
- the device includes a receiving module, a display module and a processing module.
- the receiving module is configured to receive a first input of the reverse image when the reverse image of the first image is displayed, and the reverse image is a watermark image.
- a display module configured to display a front image of the first image in response to the first input received by the receiving module, where the front image is an original image.
- the receiving module is further configured to receive a second input, where the second input is a screenshot input of the target area of the frontal image.
- the processing module is configured to acquire a screenshot image in response to the second input received by the receiving module, where the screenshot image is an image corresponding to the target area captured after the reverse image is superimposed on the front image.
- an embodiment of the present application provides an image anti-counterfeiting device.
- the device includes a receiving module, a processing module and a transceiver module.
- the receiving module is configured to receive the first input under the condition of displaying the original image.
- a processing module configured to set a watermark image corresponding to the original image in response to the first input received by the receiving module.
- the transceiver module is used for sharing a first image or image information of the first image, the front image of the first image is the original image, and the reverse image of the first image is the watermark image.
- an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the processor When executed, the steps of the method as provided in the first aspect or the second aspect are implemented.
- an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the method as provided in the first aspect or the second aspect is implemented. step.
- an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the first aspect or the second aspect provided method.
- an embodiment of the present application provides an electronic device, including the steps of the electronic device being configured to execute the image anti-counterfeiting method according to the first aspect or the second aspect.
- an embodiment of the present application provides a computer program product, where the computer program product can be executed by a processor to implement the steps of the image anti-counterfeiting method according to the first aspect or the second aspect.
- a first input of the reverse image may be received, and the reverse image is a watermark image; in response to the first input, the first input of the first image is displayed.
- front image the front image is the original image; receiving a second input, the second input is a screenshot input of the target area of the front image; in response to the second input, acquiring a screenshot image, the screenshot image is to superimpose the reverse image The image corresponding to the target area captured after the frontal image.
- the front side of the first image is the original image and the back side of the first image is the watermark image, other users will see the first image displayed respectively by the watermark image and the original image, thus ensuring the viewing quality of the first image.
- other users want to capture the first image, they will capture the original image of the superimposed watermark image, thereby ensuring the copyright of the first image. Therefore, the copyright of the image is protected without destroying the viewing quality of the image.
- FIG. 1 is one of the schematic diagrams of an image anti-counterfeiting method provided by an embodiment of the present application
- FIG. 2 is the second schematic diagram of an image anti-counterfeiting method provided by an embodiment of the present application.
- FIG. 3 is a schematic diagram of an operation for setting a watermark image provided by an embodiment of the present application.
- FIG. 4 is one of the schematic structural diagrams of the image anti-counterfeiting device provided by the embodiment of the present application.
- FIG. 5 is the second schematic structural diagram of the image anti-counterfeiting device provided by the embodiment of the present application.
- FIG. 6 is one of the schematic hardware diagrams of the electronic device provided by the embodiment of the present application.
- FIG. 7 is the second schematic diagram of the hardware of the electronic device provided by the embodiment of the present application.
- first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
- the objects are usually of one type, and the number of objects is not limited.
- the first object may be one or more than one.
- “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
- the front side of the first image provided by the embodiment of the present application is the original image
- the back side of the first image is the watermark image.
- an embodiment of the present application provides an image anti-counterfeiting method.
- the method can be applied to the first device and the second device.
- the method may include S101 to S104 described below.
- the first device displays the reverse image of the first image
- the first device receives a first input of the reverse image, and the reverse image is a watermark image.
- the first image may be an anti-counterfeiting image uploaded by the original author to the network platform, or may be an anti-counterfeiting image shared by the original author to other devices.
- the front image of the first image is the original image
- the back image of the first image is the watermark image.
- the front image of the first image is the watermark image
- the back image of the first image is the original image, which is not limited in this embodiment of the present application.
- the watermark image can be a static image, and the display position and watermark pattern of the watermark in the static image are unchanged; or, the watermark image can be a group of dynamic images, and the watermark display position and The watermark pattern changes dynamically.
- the watermark image may include a preset identifier, and the preset identifier may be used to indicate that the first image includes an original image in addition to the watermark image, that is, the preset identifier may be used to indicate that the first image is an anti-counterfeiting image.
- the first input may be a user's sliding input along a preset direction in the reverse image of the first image, a touch input on a preset mark, a click input on the first image, or a double-click input, etc.
- the actual use requirements are determined and the embodiments of the present application are not limited.
- the first device displays a front image of the first image in response to the first input, where the front image is an original image.
- the above-mentioned original image is an original image, that is, an image to be watermarked.
- the above-mentioned original image may be a picture or a video.
- the description is given by taking another user receiving the first image using the first device as an example.
- the first device After the first device receives the first image directly sent by the original author using the second device, or after the first device receives the first image sent/pushed by the network platform, the first device will first display the first image according to the preset The back image of an image, the watermark image.
- the user can follow the prompt information and slide the finger in the watermark image along a preset direction (for example, the direction from the top of the watermark image to the bottom of the watermark image), so that the first device will respond to the sliding input and display the first image.
- the frontal image the original image.
- the first device receives a second input, where the second input is a screenshot input of the target area of the frontal image.
- the above-mentioned target area may be a partial area or the entire area of the frontal image.
- the second input is used to acquire a screenshot image corresponding to the target area.
- the second input may include a selection input to the target area and an input that triggers a screenshot of the target area.
- the first device in response to the second input, acquires a screenshot image, where the screenshot image is an image corresponding to the target area captured after the reverse image is superimposed on the front image.
- an electronic device when an electronic device displays an image, if a user's screenshot operation of an area in the image is received, the electronic device will directly capture the image from the area. Specifically, if the content of the original image is displayed in this area, the original image without anti-counterfeiting will be directly intercepted, but this will infringe the copyright of the original author; Anti-counterfeiting images with watermarks, but this will spoil the viewing quality of the images.
- the first device in the case of displaying a frontal image of the first image, if a user's screenshot input of the target area of the frontal image is received, the first device The image corresponding to the target area will not be directly intercepted, but according to preset rules, the reverse image of the first image is first superimposed on the front image of the first image to obtain an anti-counterfeiting image with a superimposed watermark image;
- the target area (corresponding to the target area of the frontal image) is screen-captured, so as to obtain the image corresponding to the target area.
- the captured image corresponding to the target area includes the following two cases: one case is that all images are captured from the target area; the other case is that part of the image is captured from the target area image. It can be determined according to actual usage requirements, which is not limited in the embodiments of the present application.
- An embodiment of the present application provides an image anti-counterfeiting method. Since the front side of the first image is the original image and the back side of the first image is the watermark image, other users will see the first image in which the watermark image and the original image are displayed respectively. The viewing quality of the first image is guaranteed; in addition, when other users want to capture the first image, the anti-counterfeiting image superimposed on the watermark image will be captured, thereby ensuring the copyright of the first image. Therefore, the copyright of the image is protected without destroying the viewing quality of the image.
- the image anti-counterfeiting method provided by this embodiment of the present application further includes: S105 to S113 described below may be included.
- the second device receives the first input.
- the second device In response to the first input, sets a watermark image corresponding to the original image.
- setting a watermark image corresponding to the original image does not refer to overlaying the watermark image on the original image, but refers to establishing an association relationship between the original image and the watermark image. That is, the original image is used as a front image of an anti-counterfeiting image, and the watermark image is used as a reverse image of an anti-counterfeiting image.
- the user can set a watermark image corresponding to the original image through the first input to obtain a first image; or through the first input, set multiple watermark images corresponding to the original image to obtain multiple first images. image. That is, the number of the first images may be one or more.
- One way is that after the second device sets a watermark image corresponding to the original image, a first image can be obtained, the front image of the first image is the original image, and the reverse image of the first image is the watermark image.
- the above S106 may specifically include: the second device, in response to the i-th sub-input in the M sub-inputs, sets the i-th watermark image corresponding to the original image , and generate the i-th first image according to the original image and the i-th watermark image.
- M is an integer greater than or equal to 2.
- the second device when the second device displays the original image 01, if the user wants to edit the original image 01, the user can long press the original image 01, so that the second The device can superimpose and display the floating window 02 on the original image 01, and the floating window 02 includes several options of trimming, rotating, adjusting, mosaic and picture reverse effect.
- the user clicks the crop rotation option the user can modify the size and display orientation of the original image 01.
- the user clicks the adjustment option the user can adjust the display parameters such as the brightness and resolution of the original image 01 .
- the user clicks the mosaic the user can superimpose the mosaic on the original image 01.
- the user clicks the picture reverse effect option the user can add a reverse image to the original image 01.
- the second device adds the reverse image 03 as shown in (b) of FIG. 3 , and generates the original image 01 and the reverse image 03 as one anti-counterfeiting image.
- the second device adds the reverse image 04 as shown in (c) of FIG. 3 , and generates the original image 01 and the reverse image 04 as one anti-counterfeiting image.
- the second device adds the reverse image 05 as shown in (d) in FIG. 3 , and generates the original image 01 and the reverse image 05 as one anti-counterfeiting image.
- the image anti-counterfeiting method provided in this embodiment of the present application may further include: setting the i-th application supporting the target function as an application for displaying the i-th first image, or setting the i-th application supporting the target function as an application for displaying the i-th first image.
- the device is set as a device for displaying the i-th first image.
- the target function is: allowing to display an image in which the front image is an original image and the reverse image is a watermark image.
- different applications supporting the target function may be used to display different first images.
- application 1 can be used to display the first image in which the front image is the original image and the reverse image is the image shown in (b) in FIG. 3 ;
- application 2 can be used to display the front image as the original image and the reverse image as the first image. is the first image of the image shown in (c) in Figure 3;
- the application 3 can be used to display the first image in which the front image is the original image and the reverse image is the image shown in Figure 3 (d) .
- application 1, application 2 and application 3 all support the display of images in which the front image is an original image and the reverse image is a watermark image. In this way, the anti-counterfeiting display effects of different applications can be different.
- different electronic devices supporting the target function may be used to display different first images.
- the electronic device 1 can be used to display the first image in which the front image is the original image and the reverse image is the image shown in (b) in FIG. 3 ;
- the electronic device 2 can be used to display the front image as the original image and the reverse image as the first image. is the first image of the image shown in (c) in FIG. 3 ;
- the electronic device 3 can be used to display the first image in which the front image is the original image and the reverse image is the image shown in (d) in FIG. 3 .
- the electronic device 1, the electronic device 2 and the electronic device 3 all support the display of an image in which the front image is an original image and the reverse image is a watermark image. In this way, the anti-counterfeiting display effects of different electronic devices can be different.
- the watermark patterns of the M watermark images corresponding to the M sub-inputs may be completely different or partially the same.
- Different watermark patterns may indicate that the original image was authored by different users, eg, a first watermark image may indicate that the original image was authored by a first user, and a second watermark image may indicate that the original image was authored by a second user.
- the user may select an application program to share the first image from multiple application programs of the second device.
- the first optional implementation manner is that the second device directly shares the first image or image information of the first image without judging whether the application program selected by the user supports the target function, that is, the following S107 is performed.
- the second optional implementation manner is that the second device may first determine whether the application program selected by the user supports the target function. If the application program supports the target function, then the second device shares the first image or the image information of the first image through the application program, that is, the following S107 is performed; if the application program does not support the target function, the second device can first The watermark image is superimposed on the original image to generate a second image, and then the second image is shared through the application, that is, the following S108 is performed.
- the second device shares the first image or image information of the first image.
- the front image of the first image is the original image
- the reverse image of the first image is the watermark image
- the embodiment of the present application is exemplified by taking the second device sharing a first image as an example, which does not form any limitation to the embodiment of the present application. It can be understood that the user can use the second device to set watermark images for multiple original images, respectively, to obtain multiple anti-counterfeiting images, and share multiple anti-counterfeiting images at the same time.
- the first device may execute the following S112; if the second device shares the image information of the first image, the first device may execute the following S109.
- the second device shares the second image.
- the second image is an image generated after superimposing the watermark image on the original image.
- the first device may receive the second image and display the second image.
- S109 The first device receives the image information of the first image through the target application.
- the application program used by the second device to send the first image and the application program used by the first device to receive the first image are the same application program; the application program used by the second device to send the image information of the first image It is the same application program as the application program that the first device receives the image information of the first image.
- the first device since the application program through which the second device sends the image information of the first image and the application program through which the first device receives the image information of the first image are the same application program, and the second device sends the image information of the first image The device does not determine whether the application supports the target function, so after the first device receives the image information of the first image through the target application, the first device needs to first determine whether the received target application supports the target function. If the target application supports the target function, the first device will execute the following S110; if the target application does not support the target function, the first device will execute the following S111.
- the application program for sending the image information of the first image by the second device and the application program for receiving the image information of the first image by the first device are the same application program, and the second device sends the image information of the first image
- the device has determined that the application program supports the target function, so the first device can directly generate the first image according to the image information of the first image, and display the first image through the one application program, that is, directly execute the following S110.
- the first device In the case that the target application supports the target function, the first device generates a first image according to the image information; and displays the first image through the target application.
- the watermark image is a first watermark image
- the first watermark image indicates that the original image of the first image is created by the first user
- the watermark image is a second watermark image indicating that the original image of the first image was authored by the second user.
- the embodiment of the present application can display watermark images created by different users through different application programs, the reverse image presents different effects.
- the watermark in app1 indicates that the original image was created by user 1
- the watermark in app2 indicates that the original image was created by user 2, thereby enriching the display effect of the anti-counterfeiting image.
- the first device If the target application does not support the target function, the first device superimposes the watermark image on the original image to generate a second image according to the image information; and displays the second image through the target application.
- the first device receives, through the target application, the first image sent by the second device.
- the first device displays the first image through the target application.
- the first device After the first device receives the first image sent by the second device through the target application, if the target application supports the target function, the first device may display the first image through the target application, for example, display the first image rear image or front image. If the target application does not support the target function, the first device cannot display the first image.
- the second device can generate the first image in which the back image is a watermark image and the front image is an original image. Therefore, when the first device displays the first image through the application program supporting the target function, the watermark image and the watermark image can be displayed separately, thereby protecting the copyright of the image without destroying the viewing quality of the image; and when the first device does not support When the first image is displayed, the second image generated by superimposing the watermark image on the original image can be displayed, thereby protecting the copyright of the image.
- the embodiments of the present application provide an image anti-counterfeiting method.
- the method can be applied to the first device.
- the method may include the following S201 to S204.
- the first device displays the reverse image of the first image
- the first device receives a first input of the reverse image, and the reverse image is a watermark image.
- the first device displays a front image of the first image in response to the first input, where the front image is an original image.
- the first device receives a second input, where the second input is a screenshot input of the target area of the frontal image.
- the first device in response to the second input, acquires a screenshot image, where the screenshot image is an image corresponding to the target area captured after the reverse image is superimposed on the front image.
- An embodiment of the present application provides an image anti-counterfeiting method. Since the front side of the first image is the original image and the back side of the first image is the watermark image, other users will see the first image in which the watermark image and the original image are displayed respectively. The viewing quality of the first image is guaranteed; in addition, when other users want to capture the first image, the anti-counterfeiting image superimposed on the watermark image will be captured, thereby ensuring the copyright of the first image. Therefore, the copyright of the image is protected without destroying the viewing quality of the image.
- an optional implementation manner is that, before the above-mentioned S201, the image anti-counterfeiting method provided in this embodiment of the present application may also be used. It includes the following S205 and S206, or includes S205 and S207; another optional implementation manner is that, before the foregoing S201, the image anti-counterfeiting method provided by the embodiment of the present application may further include the following S208 and S209.
- the first device receives, through the target application, image information of the first image sent by the second device.
- the first device In the case that the target application supports the target function, the first device generates a first image according to the image information; and displays the first image through the target application.
- the watermark image is a first watermark image
- the first watermark image indicates that the original image of the first image was created by the first user
- the watermark image is a second watermark image indicating that the original image of the first image was authored by the second user.
- the first device superimposes the watermark image on the original image to generate a second image according to the image information; and displays the second image through the target application.
- the first device receives the first image sent by the second device through the target application.
- the first device displays the first image through the target application.
- the target function is: allow to display an image with the front image as the original image and the reverse image as the watermarked image.
- the first device receives the image information of the first image sent by the second device through an application program, because when the first device displays the first image through the application program supporting the target function
- the watermark image and the watermark image can be displayed separately, so the copyright of the image is protected without destroying the viewing quality of the image; and when the first device does not support the display of the first image, the watermark image can be displayed to be superimposed on the original image. of the second image, thus protecting the copyright of the image.
- the embodiments of the present application provide an image anti-counterfeiting method.
- the method can be applied to the second device.
- the method may include the following S301 to S303.
- the second device receives the first input.
- the second device sets a watermark image corresponding to the original image.
- the second device shares the first image and the image information of the first image, wherein the front image of the first image is the original image, and the reverse image of the first image is the watermark image.
- the second device can generate the first image in which the back image is a watermark image and the front image is an original image. Therefore, when the first device displays the first image through the application program supporting the target function, the watermarked image and the watermarked image can be displayed respectively, thereby protecting the copyright of the image without destroying the viewing quality of the image.
- the first input includes M sub-inputs, where M is an integer greater than or equal to 2.
- M is an integer greater than or equal to 2.
- the image anti-counterfeiting method provided by the embodiment of the present application may further include S304.
- the second device sets the i-th watermark image corresponding to the original image in response to the i-th sub-input in the M sub-inputs, and generates the i-th first image according to the original image and the i-th watermark image.
- the second device sets the i-th application program supporting the target function as the application program for displaying the i-th first image, or sets the i-th device supporting the target function as the application program for displaying the i-th first image device for the first image.
- the above-mentioned target function is to allow the display of an image in which the front image is the original image and the reverse image is the watermark image.
- the execution body may be an image anti-counterfeiting device, or a control module in the image anti-counterfeiting device for executing the image anti-counterfeiting method.
- the image anti-counterfeiting device provided by the embodiment of the present application is described by taking the image anti-counterfeiting device executing the image anti-counterfeiting method as an example.
- an embodiment of the present application provides an image anti-counterfeiting device 400 .
- the image anti-counterfeiting device includes a receiving module 401 , a display module 402 and a processing module 403 .
- the receiving module 401 may be configured to receive a first input of the reverse image when the reverse image of the first image is displayed, and the reverse image is a watermark image.
- the display module 402 may be configured to display a front image of the first image in response to the first input received by the receiving module 401, where the front image is an original image.
- the receiving module 401 may also be configured to receive a second input, where the second input is a screenshot input of the target area of the frontal image.
- the processing module 403 may be configured to, in response to the second input received by the receiving module 401, acquire a screenshot image, where the screenshot image is an image corresponding to the target area captured after the reverse image is superimposed on the front image.
- the image anti-counterfeiting device may further include a transceiver module 404 .
- the transceiver module 404 may be configured to receive, through the target application, image information of the first image sent by the second device before receiving the first input of the reverse image.
- the processing module 403 may also be configured to generate a first image according to the image information when the target application supports the target function.
- the display module 402 may also be configured to display the first image through the target application.
- the processing module 403 may also be configured to superimpose the watermark image on the original image to generate the second image according to the image information when the target application does not support the target function.
- the display module 402 can also be used to display the second image through the target application.
- the image anti-counterfeiting device may further include a transceiver module 404 .
- the transceiver module 404 may be configured to receive, through the target application, the first image sent by the second device before receiving the first input of the reverse image.
- the processing module 403 may also be configured to display the first image through the target application when the target application supports the target function.
- the target function is: allow to display an image in which the front image is the original image and the reverse image is the watermark image.
- the watermark image is a first watermark image, and the first watermark image indicates that the original image of the first image was created by the first user;
- the target application is a second application supporting the target function, the watermark image is a second watermark image indicating that the original image of the first image was created by the second user.
- image anti-counterfeiting device shown in FIG. 4 is the first device in the above embodiment.
- the embodiment of the present application provides an image anti-counterfeiting device. Since the front side of the first image is the original image and the back side of the first image is the watermark image, other users will see the first image displayed by the watermark image and the original image respectively, thus The viewing quality of the first image is guaranteed; in addition, when other users want to capture the first image, the anti-counterfeiting image superimposed on the watermark image will be captured, thereby ensuring the copyright of the first image. Therefore, the copyright of the image is protected without destroying the viewing quality of the image.
- an embodiment of the present application provides an image anti-counterfeiting device 500 .
- the image anti-counterfeiting device includes a receiving module 501 , a processing module 502 and a transceiver module 503 .
- the receiving module 501 may be configured to receive the first input when the original image is displayed.
- the processing module 502 may be configured to, in response to the first input received by the receiving module 501, set a watermark image corresponding to the original image.
- the transceiver module 503 can be used to share a first image or image information of the first image, the front image of the first image is the original image, and the reverse image of the first image is the watermark image.
- the first input includes M sub-inputs, where M is an integer greater than or equal to 2.
- the processing module 502 can be specifically configured to set the i-th watermark image corresponding to the original image in response to the i-th sub-input in the M sub-inputs, and generate the i-th watermark image according to the original image and the i-th watermark image. first image.
- the processing module 502 can also be used to set the i-th application program supporting the target function as an application program for displaying the i-th first image, or set the i-th device supporting the target function to be used for displaying the i-th first image.
- i first image device wherein, the target function is: allowing to display an image in which the front image is the original image and the reverse image is the watermark image.
- image anti-counterfeiting device shown in FIG. 5 is the second device in the above embodiment.
- the embodiment of the present application provides an image anti-counterfeiting device, because the device can generate a first image in which the back image is a watermark image and the front image is an original image. Therefore, when the device displays the first image through the application program supporting the target function, the watermark image and the watermark image can be displayed respectively, thereby protecting the copyright of the image without destroying the viewing quality of the image.
- the image anti-counterfeiting device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
- the apparatus may be a mobile electronic device or a non-mobile electronic device.
- the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
- UMPC ultra-mobile personal computer
- netbook or a personal digital assistant
- the non-mobile electronic device may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiments of the present application.
- the image anti-counterfeiting device in the embodiment of the present application may be a device having an operating system.
- the operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
- the image anti-counterfeiting device provided in the embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 3 , and to avoid repetition, details are not described here.
- an embodiment of the present application further provides an electronic device 600, including a processor 601, a memory 602, and a program or instruction stored in the memory 602 and executable on the processor 601, the program Or, when the instruction is executed by the processor 601, each process of the above image anti-counterfeiting method embodiment can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
- the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
- FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
- the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
- a power source such as a battery
- the structure of the electronic device shown in FIG. 7 does not constitute a limitation on the electronic device.
- the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
- An optional implementation manner is that the electronic device is the first device in the foregoing embodiment.
- the user input unit 107 may be configured to receive a first input of the reverse image when the reverse image of the first image is displayed, and the reverse image is a watermark image.
- the display unit 106 may be configured to display a front image of the first image in response to the first input received by the user input unit 107, where the front image is an original image.
- the user input unit 107 may also be configured to receive a second input, where the second input is a screenshot input of the target area of the frontal image.
- the processor 110 may be configured to acquire a screenshot image in response to the second input received by the user input unit 107, where the screenshot image is an image corresponding to the target area captured after the reverse image is superimposed on the front image.
- the radio frequency unit 101 may be configured to receive, through the target application, image information of the first image sent by the second device before receiving the first input of the reverse image.
- the processor 110 may also be configured to generate a first image according to the image information when the target application supports the target function.
- the display unit 106 can also be used to display the first image through the target application.
- the processor 110 may be further configured to, in the case where the target application does not support the target function, generate the second image by superimposing the watermark image on the original image according to the image information.
- the display unit 106 can also be used to display the second image through the target application.
- the radio frequency unit 101 may be configured to receive the first image sent by the second device through the target application program before receiving the first input of the reverse image.
- the processor 110 may also be configured to display the first image through the target application when the target application supports the target function.
- the target function is: allowing to display an image in which the front image is the original image and the reverse image is the watermark image.
- the watermark image is a first watermark image, and the first watermark image indicates that the original image of the first image was created by the first user;
- the target application is a second application supporting the target function, the watermark image is a second watermark image indicating that the original image of the first image was created by the second user.
- the target function is: allowing to display an image in which the front image is the original image and the reverse image is the watermark image.
- the embodiment of the present application provides an electronic device. Since the front side of the first image is the original image and the back side of the first image is the watermark image, other users will see the first image displayed with the watermark image and the original image respectively, thereby ensuring that The viewing quality of the first image is improved; in addition, when other users want to capture the first image, the anti-counterfeiting image superimposed on the watermark image will be captured, thereby ensuring the copyright of the first image. Therefore, the copyright of the image is protected without destroying the viewing quality of the image.
- Another optional implementation manner is that the electronic device is the second device in the foregoing embodiment.
- the user input unit 107 may be configured to receive a first input when the original image is displayed.
- the processor 110 may be configured to, in response to the first input received by the user input unit 107, set a watermark image corresponding to the original image.
- the radio frequency unit 101 can be used to share a first image or image information of the first image, the front image of the first image is the original image, and the reverse image of the first image is the watermark image.
- the first input includes M sub-inputs, where M is an integer greater than or equal to 2.
- the processor 110 can be specifically configured to set the i-th watermark image corresponding to the original image in response to the i-th sub-input in the M sub-inputs, and generate the i-th watermark image according to the original image and the i-th watermark image. first image.
- the processor 110 may also be configured to set the i-th application program supporting the target function as an application program for displaying the i-th first image, or to set the i-th device supporting the target function as an application program for displaying the i-th first image.
- i first image device wherein, the target function is: allowing to display an image in which the front image is the original image and the reverse image is the watermark image.
- the embodiment of the present application provides an electronic device, because the device can generate a first image in which the back image is a watermark image and the front image is an original image. Therefore, when the device displays the first image through the application program supporting the target function, the watermark image and the watermark image can be displayed respectively, thereby protecting the copyright of the image without destroying the viewing quality of the image.
- the input unit 104 may include a graphics processing unit (graphics processing unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing.
- the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
- the user input unit 107 includes a touch panel 1071 and other input devices 1072 .
- the touch panel 1071 is also called a touch screen.
- the touch panel 1071 may include two parts, a touch detection device and a touch controller.
- Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
- Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
- the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
- the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium.
- a program or an instruction is stored on the readable storage medium.
- a readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
- ROM computer read-only memory
- RAM random access memory
- magnetic disk or an optical disk and the like.
- An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above image anti-counterfeiting method embodiment, and The same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
- the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
- An embodiment of the present application further provides an electronic device, including the electronic device being configured to perform each process of implementing the above image anti-counterfeiting method embodiment, and can achieve the same technical effect, and to avoid repetition, details are not repeated here. .
- the embodiments of the present application also provide a computer program product, which can be executed by a processor to implement the various processes of the above image anti-counterfeiting method embodiments, and can achieve the same technical effect. Repeat.
- the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to enable a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of the various embodiments of the present application.
- a storage medium such as ROM/RAM, magnetic disk, CD-ROM
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Editing Of Facsimile Originals (AREA)
- Image Processing (AREA)
Abstract
An image anti-counterfeiting method and apparatus, and a device. The solution comprises: in a case of displaying a reverse image of a first image, receiving a first input of the reverse image, the reverse image being a watermark image; in response to the first input, displaying a frontal image of the first image, the frontal image being an original image; receiving a second input, the second input being a screenshot input of a target area of the frontal image; and in response to the second input, obtaining a screenshot image, the screenshot image being an image corresponding to the target area and captured after superposing the reverse image on the frontal image.
Description
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2020年10月29日在中国提交的名称为“图像防伪方法、装置及设备”的中国专利申请号202011179027.3的优先权,其全部内容通过引用并入本文中。The present application claims priority to Chinese Patent Application No. 202011179027.3, filed in China on October 29, 2020, entitled "Image Anti-Counterfeiting Method, Apparatus, and Apparatus", the entire contents of which are incorporated herein by reference.
本申请属于通信技术领域,具体涉及一种图像防伪方法、装置及设备。The present application belongs to the field of communication technologies, and in particular relates to an image anti-counterfeiting method, device and device.
水印是指在图像中嵌入的图标(icon)、商标(logo)等信息。Watermarks refer to information such as icons and trademarks embedded in images.
通常,原创作者会采用为图像添加水印的方式嵌入原创作者的身份信息,如公司信息、个人昵称等。因此,当添加水印的图像被分享至社交平台时,如果其他人复制该图像,那么该水印也会被复制,从而防止了图片被其他人盗用。Usually, the original author will embed the original author's identity information, such as company information, personal nickname, etc., by adding a watermark to the image. Therefore, when a watermarked image is shared on a social platform, if others copy the image, the watermark will also be copied, thereby preventing the image from being misappropriated by others.
尽管为图像添加水印可以有效地保护原创作者的版权,但是由于水印是覆盖在原始图像的内容上的,因此,水印图案越复杂或水印位置越接近图像视觉中心,则水印对原始图像的内容影响越严重,从而破坏了图片的观赏性。因此,如何既保护图像的版权又不破坏图像的观赏性成为亟待解决的技术问题。Although adding a watermark to an image can effectively protect the copyright of the original author, since the watermark is overlaid on the content of the original image, the more complex the watermark pattern is or the closer the watermark position is to the visual center of the image, the watermark will affect the content of the original image. The more serious it is, the viewing quality of the picture is destroyed. Therefore, how to protect the copyright of the image without destroying the viewing quality of the image has become an urgent technical problem to be solved.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种图像防伪方法、装置及设备,能够解决既保护图像的版权又不破坏图像的观赏性的问题。The purpose of the embodiments of the present application is to provide an image anti-counterfeiting method, device and device, which can solve the problem of protecting the copyright of the image without destroying the viewing quality of the image.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种图像防伪方法。该方法应用于第一设备。该方法包括:在显示第一图像的反面图像的情况下,接收对该反面图像的第一输入,该反面图像为水印图像;响应于该第一输入,显示该第一图像的正面图像,该正面图像为原始图像;接收第二输入,该第二输入为对该正面图像的目标区域的截图输入;响应于该第二输入,获取截屏图像,该截屏图像为将反面图像叠加至该正面图像上之后截取的与该目标区域对应的图像。In a first aspect, the embodiments of the present application provide an image anti-counterfeiting method. The method is applied to the first device. The method includes: in the case of displaying the reverse side image of the first image, receiving a first input of the reverse side image, the reverse side image being a watermark image; in response to the first input, displaying the front side image of the first image, the The frontal image is the original image; receiving a second input, the second input is a screenshot input of the target area of the frontal image; in response to the second input, acquiring a screenshot image, the screenshot image superimposing the reverse image on the frontal image The image corresponding to the target area captured after uploading.
第二方面,本申请实施例提供了一种图像防伪方法。该方法应用于第二设备。该方法包括:在显示原始图像的情况下,接收第一输入;响应于该第一输入,设置与该原始图像对应的水印图像;分享第一图像或第一图像的图像信息,该第一图像的正面图像为该原始图像,该第一图像的反面图像为该水印图像。In a second aspect, the embodiments of the present application provide an image anti-counterfeiting method. The method is applied to the second device. The method includes: in the case of displaying the original image, receiving a first input; in response to the first input, setting a watermark image corresponding to the original image; sharing the first image or image information of the first image, the first image The front image of the first image is the original image, and the reverse image of the first image is the watermark image.
第三方面,本申请实施例提供了一种图像防伪装置。该装置包括接收模块、显示模块和处理模块。接收模块,用于在显示第一图像的反面图像的情况下,接收对该反面图像的第一输入,该反面图像为水印图像。显示模块,用于响应于接收模块接收的该第一输入,显示该第一图像的正面图像,该正面图像为原始图像。接收模块,还用于接收第二输入,该第二输入为对该正面图像的目标区域的截图输入。处理模块,用 于响应于接收模块接收的该第二输入,获取截屏图像,该截屏图像为将该反面图像叠加至该正面图像上之后截取的与该目标区域对应的图像。In a third aspect, the embodiments of the present application provide an image anti-counterfeiting device. The device includes a receiving module, a display module and a processing module. The receiving module is configured to receive a first input of the reverse image when the reverse image of the first image is displayed, and the reverse image is a watermark image. A display module, configured to display a front image of the first image in response to the first input received by the receiving module, where the front image is an original image. The receiving module is further configured to receive a second input, where the second input is a screenshot input of the target area of the frontal image. The processing module is configured to acquire a screenshot image in response to the second input received by the receiving module, where the screenshot image is an image corresponding to the target area captured after the reverse image is superimposed on the front image.
第四方面,本申请实施例提供了一种图像防伪装置。该装置包括接收模块、处理模块和收发模块。接收模块,用于在显示原始图像的情况下,接收第一输入。处理模块,用于响应于接收模块接收的该第一输入,设置与该原始图像对应的水印图像。收发模块,用于分享第一图像或第一图像的图像信息,该第一图像的正面图像为该原始图像,该第一图像的反面图像为该水印图像。In a fourth aspect, an embodiment of the present application provides an image anti-counterfeiting device. The device includes a receiving module, a processing module and a transceiver module. The receiving module is configured to receive the first input under the condition of displaying the original image. A processing module, configured to set a watermark image corresponding to the original image in response to the first input received by the receiving module. The transceiver module is used for sharing a first image or image information of the first image, the front image of the first image is the original image, and the reverse image of the first image is the watermark image.
第五方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在该存储器上并可在该处理器上运行的程序或指令,该程序或指令被该处理器执行时实现如第一方面或第二方面提供的方法的步骤。In a fifth aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the processor When executed, the steps of the method as provided in the first aspect or the second aspect are implemented.
第六方面,本申请实施例提供了一种可读存储介质,该可读存储介质上存储程序或指令,该程序或指令被处理器执行时实现如第一方面或第二方面提供的方法的步骤。In a sixth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the method as provided in the first aspect or the second aspect is implemented. step.
第七方面,本申请实施例提供了一种芯片,该芯片包括处理器和通信接口,该通信接口和该处理器耦合,该处理器用于运行程序或指令,实现如第一方面或第二方面提供的方法。In a seventh aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the first aspect or the second aspect provided method.
第八方面,本申请实施例提供了一种电子设备,包括所述电子设备被配置成用于执行如第一方面或第二方面所述的图像防伪方法的步骤。In an eighth aspect, an embodiment of the present application provides an electronic device, including the steps of the electronic device being configured to execute the image anti-counterfeiting method according to the first aspect or the second aspect.
第九方面,本申请实施例提供了一种计算机程序产品,所述计算机程序产品可被处理器执行以实现如第一方面或第二方面所述的图像防伪方法的步骤。In a ninth aspect, an embodiment of the present application provides a computer program product, where the computer program product can be executed by a processor to implement the steps of the image anti-counterfeiting method according to the first aspect or the second aspect.
在本申请实施例中,可以在显示第一图像的反面图像的情况下,接收对该反面图像的第一输入,该反面图像为水印图像;响应于该第一输入,显示该第一图像的正面图像,该正面图像为原始图像;接收第二输入,该第二输入为对该正面图像的目标区域的截图输入;响应于该第二输入,获取截屏图像,该截屏图像为将反面图像叠加至该正面图像上之后截取的与该目标区域对应的图像。通过该方案,由于第一图像的正面为原始图像,第一图像的背面为水印图像,因此其他用户会看到水印图像和原始图像分别显示的第一图像,从而保证了第一图像的观赏性;另外,由于当其他用户想要截取第一图像时,会截取到叠加水印图像的原始图像,从而保证了第一图像的版权。因此,既保护了图像的版权又未破坏图像的观赏性。In this embodiment of the present application, in the case of displaying the reverse image of the first image, a first input of the reverse image may be received, and the reverse image is a watermark image; in response to the first input, the first input of the first image is displayed. front image, the front image is the original image; receiving a second input, the second input is a screenshot input of the target area of the front image; in response to the second input, acquiring a screenshot image, the screenshot image is to superimpose the reverse image The image corresponding to the target area captured after the frontal image. With this solution, since the front side of the first image is the original image and the back side of the first image is the watermark image, other users will see the first image displayed respectively by the watermark image and the original image, thus ensuring the viewing quality of the first image. ; In addition, when other users want to capture the first image, they will capture the original image of the superimposed watermark image, thereby ensuring the copyright of the first image. Therefore, the copyright of the image is protected without destroying the viewing quality of the image.
图1为本申请实施例提供的一种图像防伪方法的示意图之一;1 is one of the schematic diagrams of an image anti-counterfeiting method provided by an embodiment of the present application;
图2为本申请实施例提供的一种图像防伪方法的示意图之二;2 is the second schematic diagram of an image anti-counterfeiting method provided by an embodiment of the present application;
图3为本申请实施例提供的设置水印图像的操作示意图;3 is a schematic diagram of an operation for setting a watermark image provided by an embodiment of the present application;
图4为本申请实施例提供的图像防伪装置的结构示意图之一;FIG. 4 is one of the schematic structural diagrams of the image anti-counterfeiting device provided by the embodiment of the present application;
图5为本申请实施例提供的图像防伪装置的结构示意图之二;FIG. 5 is the second schematic structural diagram of the image anti-counterfeiting device provided by the embodiment of the present application;
图6为本申请实施例提供的电子设备的硬件示意图之一;FIG. 6 is one of the schematic hardware diagrams of the electronic device provided by the embodiment of the present application;
图7为本申请实施例提供的电子设备的硬件示意图之二。FIG. 7 is the second schematic diagram of the hardware of the electronic device provided by the embodiment of the present application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
通常,当用户对原始图像进行防伪设置时,会在原始图像上叠加水印,得到防伪图像。因此,在用户将防伪图像分享至其他设备或上传至网络平台之后,其他用户会看到被水印覆盖的图像,其观赏性受到了破坏。Usually, when a user performs anti-counterfeiting settings on an original image, a watermark is superimposed on the original image to obtain an anti-counterfeiting image. Therefore, after a user shares the anti-counterfeiting image to other devices or uploads it to a network platform, other users will see the image covered by the watermark, and its viewing quality is damaged.
与现有技术的防伪图像有所不同,本申请实施例提供的第一图像的正面为原始图像,第一图像的背面为水印图像。在将第一图像分享至其他设备或上传至网络平台之后,其他用户会看到水印图像和原始图像分别显示的第一图像,从而保证了第一图像的观赏性。但是,当其他用户想要截取第一图像时,会获取到叠加水印图像的原始图像,从而保证了图像的版权。Different from the anti-counterfeiting image in the prior art, the front side of the first image provided by the embodiment of the present application is the original image, and the back side of the first image is the watermark image. After the first image is shared to other devices or uploaded to a network platform, other users will see the first image displayed respectively by the watermarked image and the original image, thereby ensuring the viewing quality of the first image. However, when other users want to capture the first image, they will obtain the original image superimposed on the watermarked image, thereby ensuring the copyright of the image.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的图像防伪方法、装置及设备进行详细地说明。The image anti-counterfeiting method, device, and device provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
如图1所示,本申请实施例提供一种图像防伪方法。该方法可以应用于第一设备和第二设备。该方法可以包括下述的S101至S104。As shown in FIG. 1 , an embodiment of the present application provides an image anti-counterfeiting method. The method can be applied to the first device and the second device. The method may include S101 to S104 described below.
S101、在第一设备显示第一图像的反面图像的情况下,第一设备接收对该反面图像的第一输入,该反面图像为水印图像。S101. When the first device displays the reverse image of the first image, the first device receives a first input of the reverse image, and the reverse image is a watermark image.
可选地,第一图像可以为原创作者上传至网络平台的防伪图像,也可以为原创作者分享至其他设备的防伪图像。该第一图像的正面图像为原始图像,第一图像的背面图像为水印图像。当然,也可以设置为第一图像的正面图像为水印图像,第一图像的背面图像为原始图像,本申请实施例不作限定。Optionally, the first image may be an anti-counterfeiting image uploaded by the original author to the network platform, or may be an anti-counterfeiting image shared by the original author to other devices. The front image of the first image is the original image, and the back image of the first image is the watermark image. Of course, it may also be set that the front image of the first image is the watermark image, and the back image of the first image is the original image, which is not limited in this embodiment of the present application.
可选地,水印图像可以为一张静态图像,该静态图像中的水印的显示位置和水印图案是不变的;或者,水印图像可以为一组动态图像,该动态图像中的水印显示位置和水印图案会动态变化。Optionally, the watermark image can be a static image, and the display position and watermark pattern of the watermark in the static image are unchanged; or, the watermark image can be a group of dynamic images, and the watermark display position and The watermark pattern changes dynamically.
可选地,水印图像可以包括预设标识,该预设标识可以用于指示第一图像除了包括水印图像还包括原始图像,即,该预设标识可以用于指示第一图像为防伪图像。Optionally, the watermark image may include a preset identifier, and the preset identifier may be used to indicate that the first image includes an original image in addition to the watermark image, that is, the preset identifier may be used to indicate that the first image is an anti-counterfeiting image.
可选地,第一输入可以为用户在第一图像的反面图像中沿着预设方向的滑动输入、对预设标识的触控输入、对第一图像的点击输入或双击输入等,可以根据实际使用需求确定本申请实施例不作限定。Optionally, the first input may be a user's sliding input along a preset direction in the reverse image of the first image, a touch input on a preset mark, a click input on the first image, or a double-click input, etc. The actual use requirements are determined and the embodiments of the present application are not limited.
S102、第一设备响应于该第一输入,显示该第一图像的正面图像,该正面图像为原始 图像。S102. The first device displays a front image of the first image in response to the first input, where the front image is an original image.
其中,上述原始图像为原创图像,即待添加水印的图像。Wherein, the above-mentioned original image is an original image, that is, an image to be watermarked.
可选地,上述原始图像可以为图片或视频。Optionally, the above-mentioned original image may be a picture or a video.
以其他用户使用第一设备接收到第一图像为例进行说明。在第一设备接收到原创作者使用第二设备直接发送的第一图像之后,或者,在第一设备接收到由网络平台发送/推送的第一图像之后,第一设备会按照预先设置先显示第一图像的背面图像,即水印图像。用户可以按照提示信息,在该水印图像中沿着预设方向(例如从水印图像的顶部至水印图像的底部的方向)滑动手指,从而第一设备会响应于滑动输入,显示该第一图像的正面图像,即原始图像。The description is given by taking another user receiving the first image using the first device as an example. After the first device receives the first image directly sent by the original author using the second device, or after the first device receives the first image sent/pushed by the network platform, the first device will first display the first image according to the preset The back image of an image, the watermark image. The user can follow the prompt information and slide the finger in the watermark image along a preset direction (for example, the direction from the top of the watermark image to the bottom of the watermark image), so that the first device will respond to the sliding input and display the first image. The frontal image, the original image.
S103、第一设备接收第二输入,该第二输入为对该正面图像的目标区域的截图输入。S103. The first device receives a second input, where the second input is a screenshot input of the target area of the frontal image.
可选地,上述目标区域可以为正面图像的部分区域或全部区域。Optionally, the above-mentioned target area may be a partial area or the entire area of the frontal image.
本申请实施例中,第二输入用于获取与目标区域对应的截屏图像。例如,第二输入可以包括对目标区域的选择输入和触发对目标区域截屏的输入。In this embodiment of the present application, the second input is used to acquire a screenshot image corresponding to the target area. For example, the second input may include a selection input to the target area and an input that triggers a screenshot of the target area.
S104、第一设备响应于该第二输入,获取截屏图像,该截屏图像为将该反面图像叠加至该正面图像上之后截取的与该目标区域对应的图像。S104. The first device, in response to the second input, acquires a screenshot image, where the screenshot image is an image corresponding to the target area captured after the reverse image is superimposed on the front image.
通常,当电子设备显示一个图像时,如果接收到用户对该图像中的一个区域的截屏操作,那么电子设备会直接从该区域截取图像。具体地,如果这个区域显示的是原始图像的内容,那么会直接截取未防伪的原始图像,但这会侵犯原创作者的版权;如果这个区域显示的是叠加水印后的防伪图像,那么会截取包括水印的防伪图像,但这会破坏图像的观赏性。Generally, when an electronic device displays an image, if a user's screenshot operation of an area in the image is received, the electronic device will directly capture the image from the area. Specifically, if the content of the original image is displayed in this area, the original image without anti-counterfeiting will be directly intercepted, but this will infringe the copyright of the original author; Anti-counterfeiting images with watermarks, but this will spoil the viewing quality of the images.
与现有技术的截取图像的方法有所不同,本申请实施例中,在显示第一图像的正面图像的情况下,如果接收到用户对该正面图像的目标区域的截图输入,那么第一设备不会直接截取的与该目标区域对应的图像,而是按照预设规则,先将第一图像的反面图像叠加至第一图像的正面图像,得到一个叠加水印图像的防伪图像;再对防伪图像的目标区域(与正面图像的目标区域对应)进行截屏操作,从而获取与该目标区域对应的图像。Different from the method for capturing an image in the prior art, in this embodiment of the present application, in the case of displaying a frontal image of the first image, if a user's screenshot input of the target area of the frontal image is received, the first device The image corresponding to the target area will not be directly intercepted, but according to preset rules, the reverse image of the first image is first superimposed on the front image of the first image to obtain an anti-counterfeiting image with a superimposed watermark image; The target area (corresponding to the target area of the frontal image) is screen-captured, so as to obtain the image corresponding to the target area.
需要说明的是,上述“截取的与目标区域对应的图像”包括下述两种情况:一种情况为,从目标区域中截取全部的图像;另一种情况为,从目标区域中截取部分的图像。可以根据实际使用需求确定,本申请实施例不作限定。It should be noted that the above-mentioned "the captured image corresponding to the target area" includes the following two cases: one case is that all images are captured from the target area; the other case is that part of the image is captured from the target area image. It can be determined according to actual usage requirements, which is not limited in the embodiments of the present application.
本申请实施例提供一种图像防伪方法,由于第一图像的正面为原始图像,第一图像的背面为水印图像,因此在其他用户会看到水印图像和原始图像分别显示的第一图像,从而保证了第一图像的观赏性;另外,由于当其他用户想要截取第一图像时,会截取到叠加水印图像的防伪图像,从而保证了第一图像的版权。因此,既保护了图像的版权又未破坏图像的观赏性。An embodiment of the present application provides an image anti-counterfeiting method. Since the front side of the first image is the original image and the back side of the first image is the watermark image, other users will see the first image in which the watermark image and the original image are displayed respectively. The viewing quality of the first image is guaranteed; in addition, when other users want to capture the first image, the anti-counterfeiting image superimposed on the watermark image will be captured, thereby ensuring the copyright of the first image. Therefore, the copyright of the image is protected without destroying the viewing quality of the image.
可选地,在第一设备显示的第一图像为第二设备分享的防伪图像的情况下,结合图1,如图2所示,在上述S101之前,本申请实施例提供的图像防伪方法还可以包括下述的S105至S113。Optionally, in the case where the first image displayed by the first device is an anti-counterfeiting image shared by the second device, with reference to FIG. 1 , as shown in FIG. 2 , before the above-mentioned S101 , the image anti-counterfeiting method provided by this embodiment of the present application further includes: S105 to S113 described below may be included.
S105、在显示原始图像的情况下,第二设备接收第一输入。S105. In the case of displaying the original image, the second device receives the first input.
S106、第二设备响应于该第一输入,设置与该原始图像对应的水印图像。S106. In response to the first input, the second device sets a watermark image corresponding to the original image.
需要说的是,上述“设置与原始图像对应的水印图像”不是指将水印图像覆盖在原始图像之上,而是指建立原始图像和水印图像的关联关系。即,将该原始图像作为一个防伪图像的正面图像,并将该水印图像作为一个防伪图像的反面图像。It should be noted that the above-mentioned "setting a watermark image corresponding to the original image" does not refer to overlaying the watermark image on the original image, but refers to establishing an association relationship between the original image and the watermark image. That is, the original image is used as a front image of an anti-counterfeiting image, and the watermark image is used as a reverse image of an anti-counterfeiting image.
可选地,用户可以通过第一输入,设置与原始图像对应的一个水印图像,得到一个第一图像;也可以通过第一输入,设置与原始图像对应的多个水印图像,得到多个第一图像。即,第一图像的数量可以为一个或多个。Optionally, the user can set a watermark image corresponding to the original image through the first input to obtain a first image; or through the first input, set multiple watermark images corresponding to the original image to obtain multiple first images. image. That is, the number of the first images may be one or more.
一种方式为,在第二设备设置与原始图像对应的一个水印图像之后,可以得到一个第一图像,该一个第一图像的正面图像为原始图像,且该一个第一图像的反面图像为水印图像。One way is that after the second device sets a watermark image corresponding to the original image, a first image can be obtained, the front image of the first image is the original image, and the reverse image of the first image is the watermark image.
另一种方式为,在第一输入包括M个子输入的情况下,上述S106具体可以包括:第二设备响应于M个子输入中的第i个子输入,设置与原始图像对应的第i个水印图像,并根据该原始图像和该第i个水印图像,生成第i个第一图像。其中,M为大于或等于2的整数。Another way is that, in the case where the first input includes M sub-inputs, the above S106 may specifically include: the second device, in response to the i-th sub-input in the M sub-inputs, sets the i-th watermark image corresponding to the original image , and generate the i-th first image according to the original image and the i-th watermark image. Wherein, M is an integer greater than or equal to 2.
示例性的,如图3中的(a)所示,在第二设备显示原始图像01的情况下,如果用户想到对原始图像01进行编辑操作,那么用户可以长按原始图像01,从而第二设备可以在原始图像01上叠加显示悬浮窗02,该悬浮窗02包括修剪旋转、调节、马赛克和图片反面效果这几个选项。在用户点击修剪旋转选项之后,用户可以为修改原始图像01的尺寸和显示方向。在用户点击调节选项之后,用户可以为调整原始图像01的亮度、分辨率等显示参数。在用户点击马赛克之后,用户可以在原始图像01上叠加马赛克。在用户点击图片反面效果选项之后,用户可以为原始图像01添加反面图像。Exemplarily, as shown in (a) of FIG. 3 , when the second device displays the original image 01, if the user wants to edit the original image 01, the user can long press the original image 01, so that the second The device can superimpose and display the floating window 02 on the original image 01, and the floating window 02 includes several options of trimming, rotating, adjusting, mosaic and picture reverse effect. After the user clicks the crop rotation option, the user can modify the size and display orientation of the original image 01. After the user clicks the adjustment option, the user can adjust the display parameters such as the brightness and resolution of the original image 01 . After the user clicks the mosaic, the user can superimpose the mosaic on the original image 01. After the user clicks the picture reverse effect option, the user can add a reverse image to the original image 01.
如果用户向上翻转原始图像01,那么第二设备会添加如图3中的(b)所示的反面图像03,并将原始图像01和反面图像03生成为一张防伪图像。If the user flips the original image 01 upwards, the second device adds the reverse image 03 as shown in (b) of FIG. 3 , and generates the original image 01 and the reverse image 03 as one anti-counterfeiting image.
如果用户向下翻转原始图像01,那么第二设备会添加如图3中的(c)所示的反面图像04,并将原始图像01和反面图像04生成为一张防伪图像。If the user flips the original image 01 downward, the second device adds the reverse image 04 as shown in (c) of FIG. 3 , and generates the original image 01 and the reverse image 04 as one anti-counterfeiting image.
如果用户向右翻转原始图像01,那么第二设备会添加如图3中的(d)所示的反面图像05,并将原始图像01和反面图像05生成为一张防伪图像。If the user flips the original image 01 to the right, the second device adds the reverse image 05 as shown in (d) in FIG. 3 , and generates the original image 01 and the reverse image 05 as one anti-counterfeiting image.
可选地,本申请实施例提供的图像防伪方法还可以包括:将支持目标功能的第i应用程序设置为用于显示第i个第一图像的应用程序,或者,将支持目标功能的第i设备设置为用于显示第i个第一图像的设备。其中,目标功能为:允许显示正面图像为原始图像且反面图像为水印图像的图像。Optionally, the image anti-counterfeiting method provided in this embodiment of the present application may further include: setting the i-th application supporting the target function as an application for displaying the i-th first image, or setting the i-th application supporting the target function as an application for displaying the i-th first image. The device is set as a device for displaying the i-th first image. Among them, the target function is: allowing to display an image in which the front image is an original image and the reverse image is a watermark image.
针对“将支持目标功能的第i应用程序设置为用于显示第i个第一图像的应用程序”,支持目标功能的不同应用程序可以用于显示不同的第一图像。例如,应用程序1可以用于显示正面图像为原始图像、反面图像为如图3中的(b)所示的图像的第一图像;应用程序2可以用于显示正面图像为原始图像、反面图像为如图3中的(c)所示的图像的第一图像;应用程序3可以用于显示正面图像为原始图像、反面图像为如图3中的(d)所示的 图像的第一图像。其中,应用程序1、应用程序2和应用程序3均支持显示正面图像为原始图像且反面图像为水印图像的图像。这样可以使得不同应用程序的防伪显示的效果不同。For "setting the i-th application supporting the target function as an application for displaying the i-th first image", different applications supporting the target function may be used to display different first images. For example, application 1 can be used to display the first image in which the front image is the original image and the reverse image is the image shown in (b) in FIG. 3 ; application 2 can be used to display the front image as the original image and the reverse image as the first image. is the first image of the image shown in (c) in Figure 3; the application 3 can be used to display the first image in which the front image is the original image and the reverse image is the image shown in Figure 3 (d) . Among them, application 1, application 2 and application 3 all support the display of images in which the front image is an original image and the reverse image is a watermark image. In this way, the anti-counterfeiting display effects of different applications can be different.
针对“将支持目标功能的第i设备设置为用于显示第i个第一图像的设备”,支持目标功能的不同电子设备可以用于显示不同的第一图像。例如,电子设备1可以用于显示正面图像为原始图像、反面图像为如图3中的(b)所示的图像的第一图像;电子设备2可以用于显示正面图像为原始图像、反面图像为如图3中的(c)所示的图像的第一图像;电子设备3可以用于显示正面图像为原始图像、反面图像为如图3中的(d)所示的图像的第一图像。其中,电子设备1、电子设备2和电子设备3均支持显示正面图像为原始图像且反面图像为水印图像的图像。这样可以使得不同电子设备的防伪显示的效果不同。For "setting the i-th device supporting the target function as the device for displaying the i-th first image", different electronic devices supporting the target function may be used to display different first images. For example, the electronic device 1 can be used to display the first image in which the front image is the original image and the reverse image is the image shown in (b) in FIG. 3 ; the electronic device 2 can be used to display the front image as the original image and the reverse image as the first image. is the first image of the image shown in (c) in FIG. 3 ; the electronic device 3 can be used to display the first image in which the front image is the original image and the reverse image is the image shown in (d) in FIG. 3 . Among them, the electronic device 1, the electronic device 2 and the electronic device 3 all support the display of an image in which the front image is an original image and the reverse image is a watermark image. In this way, the anti-counterfeiting display effects of different electronic devices can be different.
可选地,与M个子输入对应的M个水印图像的水印图案可以完全不同或部分相同。不同的水印图案可以指示原始图像由不同的用户创作,例如,第一水印图像可以指示原始图像由第一用户创作,第二水印图像可以指示原始图像由第二用户创作。Optionally, the watermark patterns of the M watermark images corresponding to the M sub-inputs may be completely different or partially the same. Different watermark patterns may indicate that the original image was authored by different users, eg, a first watermark image may indicate that the original image was authored by a first user, and a second watermark image may indicate that the original image was authored by a second user.
本申请实施例中,在设置与原始图像对应的水印图像之后,用户可以从第二设备的多个应用程序中选择分享第一图像的应用程序。In this embodiment of the present application, after setting the watermark image corresponding to the original image, the user may select an application program to share the first image from multiple application programs of the second device.
第一种可选的实现方式为,第二设备无需判断用户选择的应用程序是否支持目标功能,直接分享第一图像或第一图像的图像信息,即执行下述的S107。The first optional implementation manner is that the second device directly shares the first image or image information of the first image without judging whether the application program selected by the user supports the target function, that is, the following S107 is performed.
第二种可选的实现方式为,第二设备可以先判断用户选择的应用程序是否支持目标功能。如果该应用程序支持目标功能,那么第二设备通过该应用程序分享第一图像或第一图像的图像信息,即执行下述的S107;如果该应用程序不支持目标功能,那么第二设备可以先将水印图像叠加至原始图像上生成第二图像,再通过该应用程序分享第二图像,即执行下述的S108。The second optional implementation manner is that the second device may first determine whether the application program selected by the user supports the target function. If the application program supports the target function, then the second device shares the first image or the image information of the first image through the application program, that is, the following S107 is performed; if the application program does not support the target function, the second device can first The watermark image is superimposed on the original image to generate a second image, and then the second image is shared through the application, that is, the following S108 is performed.
S107、第二设备分享第一图像或第一图像的图像信息。S107. The second device shares the first image or image information of the first image.
其中,第一图像的正面图像为原始图像,第一图像的反面图像为水印图像。The front image of the first image is the original image, and the reverse image of the first image is the watermark image.
可选地,本申请实施例是以第二设备分享一个第一图像为例进行示例性说明的,其并不对本申请实施例形成任何限定。可以理解的是,用户可以使用第二设备为多个原始图像分别设置水印图像,得到多个防伪图像,并同时分享着多个防伪图像。Optionally, the embodiment of the present application is exemplified by taking the second device sharing a first image as an example, which does not form any limitation to the embodiment of the present application. It can be understood that the user can use the second device to set watermark images for multiple original images, respectively, to obtain multiple anti-counterfeiting images, and share multiple anti-counterfeiting images at the same time.
若第二设备分享第一图像,则第一设备可以执行下述的S112;若第二设备分享第一图像的图像信息,则第一设备可以执行下述的S109。If the second device shares the first image, the first device may execute the following S112; if the second device shares the image information of the first image, the first device may execute the following S109.
S108、第二设备分享第二图像。S108. The second device shares the second image.
其中,第二图像为在将水印图像叠加至原始图像上后生成的图像。Wherein, the second image is an image generated after superimposing the watermark image on the original image.
相应的,第一设备可以接收第二图像,并显示第二图像。Correspondingly, the first device may receive the second image and display the second image.
S109、第一设备通过目标应用程序接收该第一图像的图像信息。S109: The first device receives the image information of the first image through the target application.
需要说明的是,本申请实施例中,第二设备发送第一图像的应用程序和第一设备接收第一图像的应用程序为同一应用程序;第二设备发送第一图像的图像信息的应用程序和第一设备接收第一图像的图像信息的应用程序为同一应用程序。It should be noted that, in this embodiment of the present application, the application program used by the second device to send the first image and the application program used by the first device to receive the first image are the same application program; the application program used by the second device to send the image information of the first image It is the same application program as the application program that the first device receives the image information of the first image.
针对上述S106中的第一种可选的实现方式,由于第二设备发送第一图像的图像信息 的应用程序和第一设备接收第一图像的图像信息的应用程序为同一应用程序,且第二设备并没有确定该应用程序是否支持目标功能,因此在第一设备通过目标应用程序接收该第一图像的图像信息之后,第一设备需要先判断接收该目标应用程序是否支持目标功能。在该目标应用程序支持目标功能的情况下,第一设备会执行下述的S110;在该目标应用程序不支持目标功能的情况下,第一设备会执行下述的S111。For the first optional implementation manner in the above S106, since the application program through which the second device sends the image information of the first image and the application program through which the first device receives the image information of the first image are the same application program, and the second device sends the image information of the first image The device does not determine whether the application supports the target function, so after the first device receives the image information of the first image through the target application, the first device needs to first determine whether the received target application supports the target function. If the target application supports the target function, the first device will execute the following S110; if the target application does not support the target function, the first device will execute the following S111.
针对上述S106中的第二种可选的实现方式,由于第二设备发送第一图像的图像信息的应用程序和第一设备接收第一图像的图像信息的应用程序为同一应用程序,且第二设备已经确定该应用程序支持目标功能,因此第一设备可以直接根据该第一图像的图像信息,生成第一图像,并通过该一个应用程序显示该第一图像,即直接执行下述的S110。For the second optional implementation manner in the above S106, since the application program for sending the image information of the first image by the second device and the application program for receiving the image information of the first image by the first device are the same application program, and the second device sends the image information of the first image The device has determined that the application program supports the target function, so the first device can directly generate the first image according to the image information of the first image, and display the first image through the one application program, that is, directly execute the following S110.
S110、在该目标应用程序支持目标功能的情况下,第一设备根据该图像信息,生成第一图像;以及,通过该目标应用程序显示该第一图像。S110. In the case that the target application supports the target function, the first device generates a first image according to the image information; and displays the first image through the target application.
在上述目标应用程序为支持目标功能的第一应用程序的情况下,水印图像为第一水印图像,该第一水印图像指示第一图像的原始图像由第一用户创作;When the above-mentioned target application program is the first application program supporting the target function, the watermark image is a first watermark image, and the first watermark image indicates that the original image of the first image is created by the first user;
或者,or,
在上述目标应用程序为支持目标功能的第二应用程序的情况下,水印图像为第二水印图像,该第二水印图像指示第一图像的原始图像由第二用户创作。In the case where the above target application is a second application supporting the target function, the watermark image is a second watermark image indicating that the original image of the first image was authored by the second user.
在第一图像分享到不同的应用程序之后,由于本申请实施例能够通过不同的应用程序显示由不同用户创作的水印图像,因此,反面图像呈现出不同的效果。例如,在app1中的水印指示原始图像由用户1创作,在app2中的水印指示原始图像由用户2创作,从而丰富了防伪图像的显示效果。After the first image is shared to different application programs, since the embodiment of the present application can display watermark images created by different users through different application programs, the reverse image presents different effects. For example, the watermark in app1 indicates that the original image was created by user 1, and the watermark in app2 indicates that the original image was created by user 2, thereby enriching the display effect of the anti-counterfeiting image.
S111、在该目标应用程序不支持目标功能的情况下,第一设备根据该图像信息,将水印图像叠加至原始图像上生成第二图像;以及,通过该目标应用程序显示该第二图像。S111. If the target application does not support the target function, the first device superimposes the watermark image on the original image to generate a second image according to the image information; and displays the second image through the target application.
S112、第一设备通过目标应用程序接收第二设备发送的第一图像。S112. The first device receives, through the target application, the first image sent by the second device.
S113、在该目标应用程序支持目标功能的情况下,第一设备通过该目标应用程序显示该第一图像。S113. In the case that the target application supports the target function, the first device displays the first image through the target application.
在第一设备通过目标应用程序接收第二设备发送的第一图像之后,如果该目标应用程序支持目标功能,那么第一设备可以通过该目标应用程序显示该第一图像,例如显示该第一图像的背面图像或正面图像。如果该目标应用程序不支持目标功能,那么第一设备无法显示该第一图像。After the first device receives the first image sent by the second device through the target application, if the target application supports the target function, the first device may display the first image through the target application, for example, display the first image rear image or front image. If the target application does not support the target function, the first device cannot display the first image.
本申请实施例提供的图像防伪方法,由于第二设备可以生成背面图像为水印图像且正面图像为原始图像的第一图像。因此,当第一设备通过支持目标功能的应用程序显示第一图像时,可以分别显示水印图像和水印图像,从而既保护了图像的版权又未破坏图像的观赏性;而当第一设备不支持显示第一图像时,可以显示将水印图像叠加至原始图像上生成的第二图像,从而保护了图像的版权。In the image anti-counterfeiting method provided by the embodiment of the present application, the second device can generate the first image in which the back image is a watermark image and the front image is an original image. Therefore, when the first device displays the first image through the application program supporting the target function, the watermark image and the watermark image can be displayed separately, thereby protecting the copyright of the image without destroying the viewing quality of the image; and when the first device does not support When the first image is displayed, the second image generated by superimposing the watermark image on the original image can be displayed, thereby protecting the copyright of the image.
本申请实施例提供一种图像防伪方法。该方法可以应用于第一设备。该方法可以包括下述的S201至S204。The embodiments of the present application provide an image anti-counterfeiting method. The method can be applied to the first device. The method may include the following S201 to S204.
S201、在第一设备显示第一图像的反面图像的情况下,第一设备接收对该反面图像的第一输入,该反面图像为水印图像。S201. In the case where the first device displays the reverse image of the first image, the first device receives a first input of the reverse image, and the reverse image is a watermark image.
S202、第一设备响应于该第一输入,显示该第一图像的正面图像,该正面图像为原始图像。S202. The first device displays a front image of the first image in response to the first input, where the front image is an original image.
S203、第一设备接收第二输入,该第二输入为对该正面图像的目标区域的截图输入。S203. The first device receives a second input, where the second input is a screenshot input of the target area of the frontal image.
S204、第一设备响应于该第二输入,获取截屏图像,该截屏图像为将该反面图像叠加至该正面图像上之后截取的与该目标区域对应的图像。S204. The first device, in response to the second input, acquires a screenshot image, where the screenshot image is an image corresponding to the target area captured after the reverse image is superimposed on the front image.
本申请实施例提供一种图像防伪方法,由于第一图像的正面为原始图像,第一图像的背面为水印图像,因此在其他用户会看到水印图像和原始图像分别显示的第一图像,从而保证了第一图像的观赏性;另外,由于当其他用户想要截取第一图像时,会截取到叠加水印图像的防伪图像,从而保证了第一图像的版权。因此,既保护了图像的版权又未破坏图像的观赏性。An embodiment of the present application provides an image anti-counterfeiting method. Since the front side of the first image is the original image and the back side of the first image is the watermark image, other users will see the first image in which the watermark image and the original image are displayed respectively. The viewing quality of the first image is guaranteed; in addition, when other users want to capture the first image, the anti-counterfeiting image superimposed on the watermark image will be captured, thereby ensuring the copyright of the first image. Therefore, the copyright of the image is protected without destroying the viewing quality of the image.
可选地,在第一设备显示的第一图像为第二设备分享的防伪图像的情况下,一种可选的实现方式为,在上述S201之前,本申请实施例提供的图像防伪方法还可以包括下述的S205和S206,或者包括S205和S207;另一种可选的实现方式为,在上述S201之前,本申请实施例提供的图像防伪方法还可以包括下述的S208和S209。Optionally, in the case where the first image displayed by the first device is an anti-counterfeiting image shared by the second device, an optional implementation manner is that, before the above-mentioned S201, the image anti-counterfeiting method provided in this embodiment of the present application may also be used. It includes the following S205 and S206, or includes S205 and S207; another optional implementation manner is that, before the foregoing S201, the image anti-counterfeiting method provided by the embodiment of the present application may further include the following S208 and S209.
S205、第一设备通过目标应用程序接收第二设备发送的第一图像的图像信息。S205. The first device receives, through the target application, image information of the first image sent by the second device.
S206、在目标应用程序支持目标功能的情况下,第一设备根据该图像信息,生成第一图像;以及,通过该目标应用程序显示该第一图像。S206. In the case that the target application supports the target function, the first device generates a first image according to the image information; and displays the first image through the target application.
在上述目标应用程序为支持目标功能的第一应用程序的情况下,水印图像为第一水印图像,该第一水印图像指示第一图像的原始图像由第一用户创作;或者,In the case where the above-mentioned target application is a first application supporting the target function, the watermark image is a first watermark image, and the first watermark image indicates that the original image of the first image was created by the first user; or,
在上述目标应用程序为支持目标功能的第二应用程序的情况下,水印图像为第二水印图像,该第二水印图像指示第一图像的原始图像由第二用户创作。In the case where the above target application is a second application supporting the target function, the watermark image is a second watermark image indicating that the original image of the first image was authored by the second user.
S207、在目标应用程序不支持目标功能的情况下,第一设备根据该图像信息,将水印图像叠加至原始图像上生成第二图像;以及,通过该目标应用程序显示该第二图像。S207. In the case that the target application does not support the target function, the first device superimposes the watermark image on the original image to generate a second image according to the image information; and displays the second image through the target application.
S208、第一设备通过目标应用程序接收第二设备发送的第一图像。S208. The first device receives the first image sent by the second device through the target application.
S209、在该目标应用程序支持目标功能的情况下,第一设备通过该目标应用程序显示该第一图像。目标功能为:允许显示正面图像为原始图像且反面图像为水印图像的图像。S209. In the case that the target application supports the target function, the first device displays the first image through the target application. The target function is: allow to display an image with the front image as the original image and the reverse image as the watermarked image.
本申请实施例提供的图像防伪方法,在第一设备通过一个应用程序接收第二设备发送的第一图像的图像信息的情况下,由于当第一设备通过支持目标功能的应用程序显示第一图像时,可以分别显示水印图像和水印图像,因此既保护了图像的版权又未破坏图像的观赏性;而当第一设备不支持显示第一图像时,可以显示将水印图像叠加至原始图像上生成的第二图像,因此保护了图像的版权。In the image anti-counterfeiting method provided by the embodiment of the present application, in the case where the first device receives the image information of the first image sent by the second device through an application program, because when the first device displays the first image through the application program supporting the target function When the first device does not support the display of the first image, the watermark image and the watermark image can be displayed separately, so the copyright of the image is protected without destroying the viewing quality of the image; and when the first device does not support the display of the first image, the watermark image can be displayed to be superimposed on the original image. of the second image, thus protecting the copyright of the image.
本申请实施例提供一种图像防伪方法。该方法可以应用于第二设备。该方法可以包括下述的S301至S303。The embodiments of the present application provide an image anti-counterfeiting method. The method can be applied to the second device. The method may include the following S301 to S303.
S301、在显示原始图像的情况下,第二设备接收第一输入。S301. In the case of displaying the original image, the second device receives the first input.
S302、第二设备响应于该第一输入,设置与该原始图像对应的水印图像。S302. In response to the first input, the second device sets a watermark image corresponding to the original image.
S303、第二设备分享第一图像和第一图像的图像信息,其中,该第一图像的正面图像为该原始图像,该第一图像的反面图像为该水印图像。S303. The second device shares the first image and the image information of the first image, wherein the front image of the first image is the original image, and the reverse image of the first image is the watermark image.
本申请实施例提供的图像防伪方法,由于第二设备可以生成背面图像为水印图像且正面图像为原始图像的第一图像。因此,当第一设备通过支持目标功能的应用程序显示第一图像时,可以分别显示水印图像和水印图像,从而既保护了图像的版权又未破坏图像的观赏性。In the image anti-counterfeiting method provided by the embodiment of the present application, the second device can generate the first image in which the back image is a watermark image and the front image is an original image. Therefore, when the first device displays the first image through the application program supporting the target function, the watermarked image and the watermarked image can be displayed respectively, thereby protecting the copyright of the image without destroying the viewing quality of the image.
可选地,第一输入包括M个子输入,M为大于或等于2的整数。上述S302可以通过下述的S302a实现。相应的,本申请实施例提供的图像防伪方法还可以包括S304。Optionally, the first input includes M sub-inputs, where M is an integer greater than or equal to 2. The above S302 can be implemented by the following S302a. Correspondingly, the image anti-counterfeiting method provided by the embodiment of the present application may further include S304.
S302a、第二设备响应于M个子输入中的第i个子输入,设置与原始图像对应的第i个水印图像,并根据该原始图像和该第i个水印图像,生成第i个第一图像。S302a, the second device sets the i-th watermark image corresponding to the original image in response to the i-th sub-input in the M sub-inputs, and generates the i-th first image according to the original image and the i-th watermark image.
S304、第二设备将支持目标功能的第i个应用程序设置为用于显示该第i个第一图像的应用程序,或者,将支持目标功能的第i个设备设置为用于显示该第i个第一图像的设备。S304. The second device sets the i-th application program supporting the target function as the application program for displaying the i-th first image, or sets the i-th device supporting the target function as the application program for displaying the i-th first image device for the first image.
其中,上述目标功能为:允许显示正面图像为原始图像且反面图像为水印图像的图像。Wherein, the above-mentioned target function is to allow the display of an image in which the front image is the original image and the reverse image is the watermark image.
本申请实施例提供的图像防伪方法,由于支持目标功能的不同的应用程序可以用于显示不同的水印图像,或支持目标功能的不同的电子设备可以用于显示不同的水印图像,因此,反面图像可以呈现出不同的效果,从而丰富了防伪图像的显示效果。In the image anti-counterfeiting method provided by the embodiments of the present application, since different applications supporting the target function can be used to display different watermark images, or different electronic devices supporting the target function can be used to display different watermark images, therefore, the reverse image Different effects can be presented, thereby enriching the display effect of the anti-counterfeiting image.
需要说明的是,本申请实施例提供的图像防伪方法,执行主体可以为图像防伪装置,或者该图像防伪装置中的用于执行图像防伪方法的控制模块。本申请实施例中以图像防伪装置执行图像防伪方法为例,说明本申请实施例提供的图像防伪装置。It should be noted that, in the image anti-counterfeiting method provided by the embodiments of the present application, the execution body may be an image anti-counterfeiting device, or a control module in the image anti-counterfeiting device for executing the image anti-counterfeiting method. In the embodiment of the present application, the image anti-counterfeiting device provided by the embodiment of the present application is described by taking the image anti-counterfeiting device executing the image anti-counterfeiting method as an example.
如图4所示,本申请实施例提供一种图像防伪装置400。该图像防伪装置包括接收模块401、显示模块402和处理模块403。As shown in FIG. 4 , an embodiment of the present application provides an image anti-counterfeiting device 400 . The image anti-counterfeiting device includes a receiving module 401 , a display module 402 and a processing module 403 .
接收模块401,可以用于在显示第一图像的反面图像的情况下,接收对该反面图像的第一输入,该反面图像为水印图像。显示模块402,可以用于响应于接收模块401接收的该第一输入,显示该第一图像的正面图像,该正面图像为原始图像。接收模块401,还可以用于接收第二输入,该第二输入为对该正面图像的目标区域的截图输入。处理模块403,可以用于响应于接收模块401接收的该第二输入,获取截屏图像,该截屏图像为将反面图像叠加至正面图像上之后截取的与该目标区域对应的图像。The receiving module 401 may be configured to receive a first input of the reverse image when the reverse image of the first image is displayed, and the reverse image is a watermark image. The display module 402 may be configured to display a front image of the first image in response to the first input received by the receiving module 401, where the front image is an original image. The receiving module 401 may also be configured to receive a second input, where the second input is a screenshot input of the target area of the frontal image. The processing module 403 may be configured to, in response to the second input received by the receiving module 401, acquire a screenshot image, where the screenshot image is an image corresponding to the target area captured after the reverse image is superimposed on the front image.
可选地,本申请实施例提供的图像防伪装置还可以包括收发模块404。收发模块404,可以用于在接收对反面图像的第一输入之前,通过目标应用程序接收第二设备发送的第一图像的图像信息。Optionally, the image anti-counterfeiting device provided in this embodiment of the present application may further include a transceiver module 404 . The transceiver module 404 may be configured to receive, through the target application, image information of the first image sent by the second device before receiving the first input of the reverse image.
处理模块403,还可以用于在目标应用程序支持目标功能的情况下,根据该图像信息,生成第一图像。显示模块402,还可以用于通过该目标应用程序显示该第一图像。The processing module 403 may also be configured to generate a first image according to the image information when the target application supports the target function. The display module 402 may also be configured to display the first image through the target application.
或者,处理模块403,还可以用于在目标应用程序不支持目标功能的情况下,根据该图像信息,将水印图像叠加至原始图像上生成第二图像。显示模块402,还可以用于通过 该目标应用程序显示该第二图像。Alternatively, the processing module 403 may also be configured to superimpose the watermark image on the original image to generate the second image according to the image information when the target application does not support the target function. The display module 402 can also be used to display the second image through the target application.
可选地,本申请实施例提供的图像防伪装置还可以包括收发模块404。收发模块404,可以用于在接收对反面图像的第一输入之前,通过目标应用程序接收第二设备发送的第一图像。处理模块403,还可以用于在该目标应用程序支持目标功能的情况下,通过该目标应用程序显示该第一图像。其中,目标功能为:允许显示正面图像为原始图像且反面图像为水印图像的图像。Optionally, the image anti-counterfeiting device provided in this embodiment of the present application may further include a transceiver module 404 . The transceiver module 404 may be configured to receive, through the target application, the first image sent by the second device before receiving the first input of the reverse image. The processing module 403 may also be configured to display the first image through the target application when the target application supports the target function. Among them, the target function is: allow to display an image in which the front image is the original image and the reverse image is the watermark image.
可选地,在目标应用程序为支持目标功能的第一应用程序的情况下,水印图像为第一水印图像,该第一水印图像指示第一图像的原始图像由第一用户创作;或者,在目标应用程序为支持目标功能的第二应用程序的情况下,水印图像为第二水印图像,该第二水印图像指示第一图像的原始图像由第二用户创作。Optionally, when the target application is a first application that supports the target function, the watermark image is a first watermark image, and the first watermark image indicates that the original image of the first image was created by the first user; When the target application is a second application supporting the target function, the watermark image is a second watermark image indicating that the original image of the first image was created by the second user.
需要说明的是,如图4所示的图像防伪装置为上述实施例中的第一设备。It should be noted that the image anti-counterfeiting device shown in FIG. 4 is the first device in the above embodiment.
本申请实施例提供一种图像防伪装置,由于第一图像的正面为原始图像,第一图像的背面为水印图像,因此在其他用户会看到水印图像和原始图像分别显示的第一图像,从而保证了第一图像的观赏性;另外,由于当其他用户想要截取第一图像时,会截取到叠加水印图像的防伪图像,从而保证了第一图像的版权。因此,既保护了图像的版权又未破坏图像的观赏性。The embodiment of the present application provides an image anti-counterfeiting device. Since the front side of the first image is the original image and the back side of the first image is the watermark image, other users will see the first image displayed by the watermark image and the original image respectively, thus The viewing quality of the first image is guaranteed; in addition, when other users want to capture the first image, the anti-counterfeiting image superimposed on the watermark image will be captured, thereby ensuring the copyright of the first image. Therefore, the copyright of the image is protected without destroying the viewing quality of the image.
如图5所示,本申请实施例提供一种图像防伪装置500。该图像防伪装置包括接收模块501、处理模块502和收发模块503。As shown in FIG. 5 , an embodiment of the present application provides an image anti-counterfeiting device 500 . The image anti-counterfeiting device includes a receiving module 501 , a processing module 502 and a transceiver module 503 .
接收模块501,可以用于在显示原始图像的情况下,接收第一输入。处理模块502,可以用于响应于接收模块501接收的该第一输入,设置与该原始图像对应的水印图像。收发模块503,可以用于分享第一图像或第一图像的图像信息,该第一图像的正面图像为该原始图像,该第一图像的反面图像为该水印图像。The receiving module 501 may be configured to receive the first input when the original image is displayed. The processing module 502 may be configured to, in response to the first input received by the receiving module 501, set a watermark image corresponding to the original image. The transceiver module 503 can be used to share a first image or image information of the first image, the front image of the first image is the original image, and the reverse image of the first image is the watermark image.
可选地,第一输入包括M个子输入,M为大于或等于2的整数。处理模块502,具体可以用于响应于该M个子输入中的第i个子输入,设置与原始图像对应的第i个水印图像,并根据该原始图像和该第i个水印图像,生成第i个第一图像。处理模块502,还可以用于将支持目标功能的第i应用程序设置为用于显示该第i个第一图像的应用程序,或者,将支持目标功能的第i设备设置为用于显示该第i个第一图像的设备。其中,该目标功能为:允许显示正面图像为原始图像且反面图像为水印图像的图像。Optionally, the first input includes M sub-inputs, where M is an integer greater than or equal to 2. The processing module 502 can be specifically configured to set the i-th watermark image corresponding to the original image in response to the i-th sub-input in the M sub-inputs, and generate the i-th watermark image according to the original image and the i-th watermark image. first image. The processing module 502 can also be used to set the i-th application program supporting the target function as an application program for displaying the i-th first image, or set the i-th device supporting the target function to be used for displaying the i-th first image. i first image device. Wherein, the target function is: allowing to display an image in which the front image is the original image and the reverse image is the watermark image.
需要说明的是,如图5所示的图像防伪装置为上述实施例中的第二设备。It should be noted that the image anti-counterfeiting device shown in FIG. 5 is the second device in the above embodiment.
本申请实施例提供一种图像防伪装置,由于该装置可以生成背面图像为水印图像且正面图像为原始图像的第一图像。因此,当该装置通过支持目标功能的应用程序显示第一图像时,可以分别显示水印图像和水印图像,从而既保护了图像的版权又未破坏图像的观赏性。The embodiment of the present application provides an image anti-counterfeiting device, because the device can generate a first image in which the back image is a watermark image and the front image is an original image. Therefore, when the device displays the first image through the application program supporting the target function, the watermark image and the watermark image can be displayed respectively, thereby protecting the copyright of the image without destroying the viewing quality of the image.
本申请实施例中的图像防伪装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The image anti-counterfeiting device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., the non-mobile electronic device may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiments of the present application.
本申请实施例中的图像防伪装置可以为具有操作***的装置。该操作***可以为安卓(Android)操作***,可以为iOS操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。The image anti-counterfeiting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的图像防伪装置能够实现图1至图3的方法实施例实现的各个过程,为避免重复,这里不再赘述。The image anti-counterfeiting device provided in the embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 3 , and to avoid repetition, details are not described here.
可选的,如图6所示,本申请实施例还提供一种电子设备600,包括处理器601,存储器602,存储在存储器602上并可在处理器601上运行的程序或指令,该程序或指令被处理器601执行时实现上述图像防伪方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 6 , an embodiment of the present application further provides an electronic device 600, including a processor 601, a memory 602, and a program or instruction stored in the memory 602 and executable on the processor 601, the program Or, when the instruction is executed by the processor 601, each process of the above image anti-counterfeiting method embodiment can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
需要说明的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图7为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。The electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理***与处理器110逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions. The structure of the electronic device shown in FIG. 7 does not constitute a limitation on the electronic device. The electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
一种可选的实现方式为,电子设备为上述实施例中的第一设备。An optional implementation manner is that the electronic device is the first device in the foregoing embodiment.
用户输入单元107,可以用于在显示第一图像的反面图像的情况下,接收对该反面图像的第一输入,该反面图像为水印图像。显示单元106,可以用于响应于用户输入单元107接收的该第一输入,显示该第一图像的正面图像,该正面图像为原始图像。用户输入单元107,还可以用于接收第二输入,该第二输入为对该正面图像的目标区域的截图输入。处理器110,可以用于响应于用户输入单元107接收的该第二输入,获取截屏图像,该截屏图像为将反面图像叠加至正面图像上之后截取的与该目标区域对应的图像。The user input unit 107 may be configured to receive a first input of the reverse image when the reverse image of the first image is displayed, and the reverse image is a watermark image. The display unit 106 may be configured to display a front image of the first image in response to the first input received by the user input unit 107, where the front image is an original image. The user input unit 107 may also be configured to receive a second input, where the second input is a screenshot input of the target area of the frontal image. The processor 110 may be configured to acquire a screenshot image in response to the second input received by the user input unit 107, where the screenshot image is an image corresponding to the target area captured after the reverse image is superimposed on the front image.
可选地,射频单元101,可以用于在接收对反面图像的第一输入之前,通过目标应用程序接收第二设备发送的第一图像的图像信息。Optionally, the radio frequency unit 101 may be configured to receive, through the target application, image information of the first image sent by the second device before receiving the first input of the reverse image.
处理器110,还可以用于在目标应用程序支持目标功能的情况下,根据该图像信息,生成第一图像。显示单元106,还可以用于通过该目标应用程序显示该第一图像。或者,处理器110,还可以用于在目标应用程序不支持目标功能的情况下,根据该图像信息,将水印图像叠加至原始图像上生成第二图像。显示单元106,还可以用于通过该目标应用程序显示该第二图像。The processor 110 may also be configured to generate a first image according to the image information when the target application supports the target function. The display unit 106 can also be used to display the first image through the target application. Alternatively, the processor 110 may be further configured to, in the case where the target application does not support the target function, generate the second image by superimposing the watermark image on the original image according to the image information. The display unit 106 can also be used to display the second image through the target application.
可选地,射频单元101,可以用于在接收对反面图像的第一输入之前,通过目标应用程序接收第二设备发送的第一图像。Optionally, the radio frequency unit 101 may be configured to receive the first image sent by the second device through the target application program before receiving the first input of the reverse image.
处理器110,还可以用于在目标应用程序支持目标功能的情况下,通过该目标应用程序显示第一图像。其中,该目标功能为:允许显示正面图像为原始图像且反面图像为水印图像的图像。The processor 110 may also be configured to display the first image through the target application when the target application supports the target function. Wherein, the target function is: allowing to display an image in which the front image is the original image and the reverse image is the watermark image.
可选地,在目标应用程序为支持目标功能的第一应用程序的情况下,水印图像为第一水印图像,该第一水印图像指示第一图像的原始图像由第一用户创作;或者,在目标应用程序为支持目标功能的第二应用程序的情况下,水印图像为第二水印图像,该第二水印图像指示第一图像的原始图像由第二用户创作。其中,该目标功能为:允许显示正面图像为原始图像且反面图像为水印图像的图像。Optionally, when the target application is a first application that supports the target function, the watermark image is a first watermark image, and the first watermark image indicates that the original image of the first image was created by the first user; When the target application is a second application supporting the target function, the watermark image is a second watermark image indicating that the original image of the first image was created by the second user. Wherein, the target function is: allowing to display an image in which the front image is the original image and the reverse image is the watermark image.
本申请实施例提供一种电子设备,由于第一图像的正面为原始图像,第一图像的背面为水印图像,因此在其他用户会看到水印图像和原始图像分别显示的第一图像,从而保证了第一图像的观赏性;另外,由于当其他用户想要截取第一图像时,会截取到叠加水印图像的防伪图像,从而保证了第一图像的版权。因此,既保护了图像的版权又未破坏图像的观赏性。The embodiment of the present application provides an electronic device. Since the front side of the first image is the original image and the back side of the first image is the watermark image, other users will see the first image displayed with the watermark image and the original image respectively, thereby ensuring that The viewing quality of the first image is improved; in addition, when other users want to capture the first image, the anti-counterfeiting image superimposed on the watermark image will be captured, thereby ensuring the copyright of the first image. Therefore, the copyright of the image is protected without destroying the viewing quality of the image.
另一种可选的实现方式为,电子设备为上述实施例中的第二设备。Another optional implementation manner is that the electronic device is the second device in the foregoing embodiment.
用户输入单元107,可以用于在显示原始图像的情况下,接收第一输入。处理器110,可以用于响应于用户输入单元107接收的该第一输入,设置与该原始图像对应的水印图像。射频单元101,可以用于分享第一图像或第一图像的图像信息,该第一图像的正面图像为该原始图像,该第一图像的反面图像为该水印图像。The user input unit 107 may be configured to receive a first input when the original image is displayed. The processor 110 may be configured to, in response to the first input received by the user input unit 107, set a watermark image corresponding to the original image. The radio frequency unit 101 can be used to share a first image or image information of the first image, the front image of the first image is the original image, and the reverse image of the first image is the watermark image.
可选地,第一输入包括M个子输入,M为大于或等于2的整数。处理器110,具体可以用于响应于该M个子输入中的第i个子输入,设置与原始图像对应的第i个水印图像,并根据该原始图像和该第i个水印图像,生成第i个第一图像。处理器110,还可以用于将支持目标功能的第i应用程序设置为用于显示该第i个第一图像的应用程序,或者,将支持目标功能的第i设备设置为用于显示该第i个第一图像的设备。其中,该目标功能为:允许显示正面图像为原始图像且反面图像为水印图像的图像。Optionally, the first input includes M sub-inputs, where M is an integer greater than or equal to 2. The processor 110 can be specifically configured to set the i-th watermark image corresponding to the original image in response to the i-th sub-input in the M sub-inputs, and generate the i-th watermark image according to the original image and the i-th watermark image. first image. The processor 110 may also be configured to set the i-th application program supporting the target function as an application program for displaying the i-th first image, or to set the i-th device supporting the target function as an application program for displaying the i-th first image. i first image device. Wherein, the target function is: allowing to display an image in which the front image is the original image and the reverse image is the watermark image.
本申请实施例提供一种电子设备,由于该设备可以生成背面图像为水印图像且正面图像为原始图像的第一图像。因此,当该设备通过支持目标功能的应用程序显示第一图像时,可以分别显示水印图像和水印图像,从而既保护了图像的版权又未破坏图像的观赏性。The embodiment of the present application provides an electronic device, because the device can generate a first image in which the back image is a watermark image and the front image is an original image. Therefore, when the device displays the first image through the application program supporting the target function, the watermark image and the watermark image can be displayed respectively, thereby protecting the copyright of the image without destroying the viewing quality of the image.
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(graphics processing unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器109可用于存储软件程序以及各种数据,包括但不限于应 用程序和操作***。处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。It should be understood that, in this embodiment of the present application, the input unit 104 may include a graphics processing unit (graphics processing unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts, a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again. Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图像防伪方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the above image anti-counterfeiting method embodiment can be achieved, and can achieve the same The technical effect, in order to avoid repetition, will not be repeated here.
其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。The processor is the processor in the electronic device in the above embodiment. A readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,该通信接口和该处理器耦合,该处理器用于运行程序或指令,实现上述图像防伪方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above image anti-counterfeiting method embodiment, and The same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
应理解,本申请实施例提到的芯片还可以称为***级芯片、***芯片、芯片***或片上***芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
本申请实施例还提供了一种电子设备,包括所述电子设备被配置成用于执行实现上述图像防伪方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides an electronic device, including the electronic device being configured to perform each process of implementing the above image anti-counterfeiting method embodiment, and can achieve the same technical effect, and to avoid repetition, details are not repeated here. .
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品可被处理器执行以实现上述图像防伪方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application also provide a computer program product, which can be executed by a processor to implement the various processes of the above image anti-counterfeiting method embodiments, and can achieve the same technical effect. Repeat.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器或者网络设备等)执行本申请各个实施例的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to enable a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形 式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.
Claims (17)
- 一种图像防伪方法,应用于第一设备,所述方法包括:An image anti-counterfeiting method, applied to a first device, the method comprising:在显示第一图像的反面图像的情况下,接收对所述反面图像的第一输入,所述反面图像为水印图像;in the case of displaying the reverse image of the first image, receiving a first input to the reverse image, the reverse image being a watermark image;响应于所述第一输入,显示所述第一图像的正面图像,所述正面图像为原始图像;in response to the first input, displaying a frontal image of the first image, the frontal image being the original image;接收第二输入,所述第二输入为对所述正面图像的目标区域的截图输入;receiving a second input, the second input being a screenshot input of the target area of the frontal image;响应于所述第二输入,获取截屏图像,所述截屏图像为将所述反面图像叠加至所述正面图像上之后截取的与所述目标区域对应的图像。In response to the second input, a screen shot image is acquired, where the screen shot image is an image corresponding to the target area captured after the reverse side image is superimposed on the front side image.
- 根据权利要求1所述的方法,其中,所述接收对所述反面图像的第一输入之前,所述方法还包括:The method of claim 1 , wherein before the receiving the first input to the reverse image, the method further comprises:通过目标应用程序接收第二设备发送的所述第一图像的图像信息;Receive image information of the first image sent by the second device through the target application;在所述目标应用程序支持目标功能的情况下,根据所述图像信息,生成所述第一图像;以及,通过所述目标应用程序显示所述第一图像;In the case that the target application supports the target function, generating the first image according to the image information; and displaying the first image through the target application;或者,or,在所述目标应用程序不支持目标功能的情况下,根据所述图像信息,将所述水印图像叠加至所述原始图像上生成第二图像;以及,通过所述目标应用程序显示所述第二图像;In the case that the target application does not support the target function, according to the image information, superimposing the watermark image on the original image to generate a second image; and displaying the second image through the target application image;其中,所述目标功能为:允许显示正面图像为原始图像且反面图像为水印图像的图像。Wherein, the target function is: allowing to display an image in which the front image is an original image and the reverse image is a watermark image.
- 根据权利要求1所述的方法,其中,所述接收对所述反面图像的第一输入之前,所述方法还包括:The method of claim 1 , wherein before the receiving the first input to the reverse image, the method further comprises:通过目标应用程序接收第二设备发送的所述第一图像;Receive the first image sent by the second device through the target application;在所述目标应用程序支持目标功能的情况下,通过所述目标应用程序显示所述第一图像;In the case that the target application supports the target function, displaying the first image through the target application;其中,所述目标功能为:允许显示正面图像为原始图像且反面图像为水印图像的图像。Wherein, the target function is: allowing to display an image in which the front image is an original image and the reverse image is a watermark image.
- 根据权利要求2或3所述的方法,其中,The method according to claim 2 or 3, wherein,在所述目标应用程序为支持所述目标功能的第一应用程序的情况下,所述水印图像为第一水印图像,所述第一水印图像指示所述第一图像的原始图像由第一用户创作;In the case where the target application is a first application supporting the target function, the watermark image is a first watermark image, and the first watermark image indicates that the original image of the first image is used by the first user creation;或者,or,在所述目标应用程序为支持所述目标功能的第二应用程序的情况下,所述水印图像为第二水印图像,所述第二水印图像指示所述第一图像的原始图像由第二用户创作。In the case where the target application is a second application supporting the target function, the watermark image is a second watermark image indicating that the original image of the first image is used by a second user creation.
- 一种图像防伪方法,应用于第二设备,所述方法包括:An image anti-counterfeiting method, applied to a second device, the method comprising:在显示原始图像的情况下,接收第一输入;receiving a first input with the original image displayed;响应于所述第一输入,设置与所述原始图像对应的水印图像;in response to the first input, setting a watermark image corresponding to the original image;分享第一图像或第一图像的图像信息,所述第一图像的正面图像为所述原始图像,所述第一图像的反面图像为所述水印图像。Share a first image or image information of a first image, where the front image of the first image is the original image, and the reverse image of the first image is the watermark image.
- 根据权利要求5所述的方法,其中,所述第一输入包括M个子输入,M为大于或等于2的整数;The method of claim 5, wherein the first input comprises M sub-inputs, and M is an integer greater than or equal to 2;所述响应于所述第一输入,设置与所述原始图像对应的水印图像,包括:The setting, in response to the first input, a watermark image corresponding to the original image, includes:响应于所述M个子输入中的第i个子输入,设置与所述原始图像对应的第i个水印图像,并根据所述原始图像和所述第i个水印图像,生成第i个第一图像;In response to the i-th sub-input in the M sub-inputs, set the i-th watermark image corresponding to the original image, and generate the i-th first image according to the original image and the i-th watermark image ;所述方法还包括:The method also includes:将支持目标功能的第i个应用程序设置为用于显示所述第i个第一图像的应用程序,或者,将支持目标功能的第i个设备设置为用于显示所述第i个第一图像的设备;其中,所述目标功能为:允许显示正面图像为原始图像且反面图像为水印图像的图像。Setting the i-th application program supporting the target function as the application program for displaying the i-th first image, or setting the i-th device supporting the target function as the application program for displaying the i-th first image An image device; wherein the target function is: allowing to display an image in which the front image is an original image and the reverse image is a watermark image.
- 一种图像防伪装置,所述装置包括接收模块、显示模块和处理模块;An image anti-counterfeiting device, the device includes a receiving module, a display module and a processing module;所述接收模块,用于在显示第一图像的反面图像的情况下,接收对所述反面图像的第一输入,所述反面图像为水印图像;The receiving module is configured to receive a first input to the reverse image when the reverse image of the first image is displayed, and the reverse image is a watermark image;所述显示模块,用于响应于所述接收模块接收的所述第一输入,显示所述第一图像的正面图像,所述正面图像为原始图像;the display module, configured to display a front image of the first image in response to the first input received by the receiving module, where the front image is an original image;所述接收模块,还用于接收第二输入,所述第二输入为对所述正面图像的目标区域的截图输入;The receiving module is further configured to receive a second input, where the second input is a screenshot input of the target area of the frontal image;所述处理模块,用于响应于所述接收模块接收的所述第二输入,获取截屏图像,所述截屏图像为将所述反面图像叠加至所述正面图像上之后截取的与所述目标区域对应的图像。The processing module is configured to, in response to the second input received by the receiving module, acquire a screen shot image, where the screen shot image is obtained after superimposing the reverse side image on the front side image and the target area corresponding image.
- 根据权利要求7所述的装置,其中,所述装置还包括收发模块;The apparatus of claim 7, wherein the apparatus further comprises a transceiver module;所述收发模块,用于在接收对所述反面图像的所述第一输入之前,通过目标应用程序接收第二设备发送的所述第一图像的图像信息;The transceiver module is configured to receive, through a target application, the image information of the first image sent by the second device before receiving the first input to the reverse image;所述处理模块,还用于在所述目标应用程序支持目标功能的情况下,根据所述图像信息,生成所述第一图像;所述显示模块,还用于通过所述目标应用程序显示所述第一图像;The processing module is further configured to generate the first image according to the image information when the target application supports the target function; the display module is further configured to display the target application through the target application. the first image;或者,or,所述处理模块,还用于在所述目标应用程序不支持目标功能的情况下,根据所述图像信息,将所述水印图像叠加至所述原始图像上生成第二图像;所述显示模块,还用于通过所述目标应用程序显示所述第二图像;The processing module is further configured to superimpose the watermark image on the original image to generate a second image according to the image information when the target application does not support the target function; the display module, is also used to display the second image through the target application;其中,所述目标功能为:允许显示正面图像为原始图像且反面图像为水印图像的图像。Wherein, the target function is: allowing to display an image in which the front image is an original image and the reverse image is a watermark image.
- 根据权利要求7所述的装置,其中,所述装置还包括收发模块;The apparatus of claim 7, wherein the apparatus further comprises a transceiver module;所述收发模块,用于在接收对所述反面图像的所述第一输入之前,通过目标应用程序接收第二设备发送的所述第一图像;The transceiver module is configured to receive, through a target application, the first image sent by the second device before receiving the first input to the reverse image;所述处理模块,还用于在所述目标应用程序支持目标功能的情况下,通过所述目标应用程序显示所述第一图像;The processing module is further configured to display the first image through the target application when the target application supports the target function;其中,所述目标功能为:允许显示正面图像为原始图像且反面图像为水印图像的图像。Wherein, the target function is: allowing to display an image in which the front image is an original image and the reverse image is a watermark image.
- 根据权利要求8或9所述的装置,其中,An apparatus according to claim 8 or 9, wherein,在所述目标应用程序为支持所述目标功能的第一应用程序的情况下,所述水印图像为第一水印图像,所述第一水印图像指示所述原始图像由第一用户创作;或者,In the case where the target application is a first application supporting the target function, the watermark image is a first watermark image, and the first watermark image indicates that the original image was created by the first user; or,在所述目标应用程序为支持所述目标功能的第二应用程序的情况下,所述水印图像为第二水印图像,所述第二水印图像指示所述原始图像由第二用户创作。In the case where the target application is a second application supporting the target function, the watermark image is a second watermark image indicating that the original image was authored by a second user.
- 一种图像防伪装置,所述装置包括接收模块、处理模块和收发模块;An image anti-counterfeiting device, the device includes a receiving module, a processing module and a transceiver module;所述接收模块,用于在显示原始图像的情况下,接收第一输入;The receiving module is configured to receive the first input under the condition of displaying the original image;所述处理模块,用于响应于所述接收模块接收的所述第一输入,设置与所述原始图像对应的水印图像;the processing module, configured to set a watermark image corresponding to the original image in response to the first input received by the receiving module;所述收发模块,用于分享第一图像或第一图像的图像信息,所述第一图像的正面图像为所述原始图像,所述第一图像的反面图像为所述水印图像。The transceiver module is used for sharing a first image or image information of the first image, the front image of the first image is the original image, and the reverse image of the first image is the watermark image.
- 根据权利要求11所述的装置,其中,所述第一输入包括M个子输入,M为大于或等于2的整数;The apparatus of claim 11, wherein the first input comprises M sub-inputs, where M is an integer greater than or equal to 2;所述处理模块,具体用于响应于所述M个子输入中的第i个子输入,设置与所述原始图像对应的第i个水印图像,并根据所述原始图像和所述第i个水印图像,生成第i个第一图像;The processing module is specifically configured to, in response to the i-th sub-input in the M sub-inputs, set the i-th watermark image corresponding to the original image, and set the i-th watermark image corresponding to the original image, and set the i-th watermark image according to the original image and the i-th watermark image , generate the i-th first image;所述处理模块,还用于将支持目标功能的第i应用程序设置为用于显示所述第i个第一图像的应用程序,或者,将支持目标功能的第i设备设置为用于显示所述第i个第一图像的设备;其中,所述目标功能为:允许显示正面图像为原始图像且反面图像为水印图像的图像。The processing module is further configured to set the i-th application program supporting the target function as an application program for displaying the i-th first image, or, setting the i-th device supporting the target function to be used for displaying the i-th device. The device for the i-th first image; wherein, the target function is: allowing to display an image in which the front image is an original image and the reverse image is a watermark image.
- 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至6中任一项所述的图像防伪方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the processor to achieve as claimed in claims 1 to 6 The steps of any one of the image anti-counterfeiting methods.
- 一种电子设备,所述电子设备被配置成用于执行如权利要求1至6中任一项所述的图像防伪方法。An electronic device configured to perform the image anti-counterfeiting method of any one of claims 1 to 6.
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至6任一项所述的图像防伪方法。A chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction to realize the image anti-counterfeiting according to any one of claims 1 to 6 method.
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至6中任一项所述的图像防伪方法的步骤。A readable storage medium on which programs or instructions are stored, and when the programs or instructions are executed by a processor, the steps of the image anti-counterfeiting method according to any one of claims 1 to 6 are implemented.
- 一种计算机程序产品,所述计算机程序产品可被处理器执行以实现如权利要求1至6中任一项所述的图像防伪方法的步骤。A computer program product executable by a processor to implement the steps of the image anti-counterfeiting method according to any one of claims 1 to 6.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011179027.3 | 2020-10-29 | ||
CN202011179027.3A CN112184535B (en) | 2020-10-29 | 2020-10-29 | Image anti-counterfeiting method, device and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022089482A1 true WO2022089482A1 (en) | 2022-05-05 |
Family
ID=73916465
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/126694 WO2022089482A1 (en) | 2020-10-29 | 2021-10-27 | Image anti-counterfeiting method and apparatus, and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112184535B (en) |
WO (1) | WO2022089482A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112184535B (en) * | 2020-10-29 | 2024-04-26 | 维沃移动通信有限公司 | Image anti-counterfeiting method, device and equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005076985A2 (en) * | 2004-02-04 | 2005-08-25 | Digimarc Corporation | Digital watermarking image signals on-chip and photographic travel logs through digital watermarking |
CN109829843A (en) * | 2018-12-27 | 2019-05-31 | 北京奇安信科技有限公司 | A kind of image blind watermarking processing method and processing device improving robustness and encoding amount |
CN110969563A (en) * | 2018-09-28 | 2020-04-07 | 浙江大学 | Watermark embedding method, watermark extracting method, watermark embedding device, watermark extracting equipment and data processing method |
CN111223032A (en) * | 2018-11-23 | 2020-06-02 | 浙江大学 | Watermark embedding method, watermark extracting method, watermark embedding device, watermark extracting equipment and data processing method |
CN111461955A (en) * | 2020-03-31 | 2020-07-28 | 上海德易车信息科技有限公司 | Method and device for automatically increasing digital blind watermark in screenshot, electronic equipment and storage medium |
CN112184535A (en) * | 2020-10-29 | 2021-01-05 | 维沃移动通信有限公司 | Image anti-counterfeiting method, device and equipment |
-
2020
- 2020-10-29 CN CN202011179027.3A patent/CN112184535B/en active Active
-
2021
- 2021-10-27 WO PCT/CN2021/126694 patent/WO2022089482A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005076985A2 (en) * | 2004-02-04 | 2005-08-25 | Digimarc Corporation | Digital watermarking image signals on-chip and photographic travel logs through digital watermarking |
CN110969563A (en) * | 2018-09-28 | 2020-04-07 | 浙江大学 | Watermark embedding method, watermark extracting method, watermark embedding device, watermark extracting equipment and data processing method |
CN111223032A (en) * | 2018-11-23 | 2020-06-02 | 浙江大学 | Watermark embedding method, watermark extracting method, watermark embedding device, watermark extracting equipment and data processing method |
CN109829843A (en) * | 2018-12-27 | 2019-05-31 | 北京奇安信科技有限公司 | A kind of image blind watermarking processing method and processing device improving robustness and encoding amount |
CN111461955A (en) * | 2020-03-31 | 2020-07-28 | 上海德易车信息科技有限公司 | Method and device for automatically increasing digital blind watermark in screenshot, electronic equipment and storage medium |
CN112184535A (en) * | 2020-10-29 | 2021-01-05 | 维沃移动通信有限公司 | Image anti-counterfeiting method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112184535B (en) | 2024-04-26 |
CN112184535A (en) | 2021-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021259100A1 (en) | Sharing method and apparatus, and electronic device | |
WO2022063022A1 (en) | Video preview method and apparatus and electronic device | |
US20240098056A1 (en) | Message Reminding Method and Electronic Device | |
WO2016197470A1 (en) | Method and apparatus for setting background picture of unlocking interface of application program, and electronic device | |
US20240031317A1 (en) | Image Sharing Method and Electronic Device | |
WO2022135409A1 (en) | Display processing method, display processing apparatus, and wearable device | |
WO2022268024A1 (en) | Video playback method and apparatus, and electronic device | |
WO2023083089A1 (en) | Photographing control display method and apparatus, and electronic device and medium | |
WO2023040845A1 (en) | Message transmission method and apparatus, and electronic device | |
WO2023030115A1 (en) | Interface display method and apparatus | |
WO2022089482A1 (en) | Image anti-counterfeiting method and apparatus, and device | |
JP6564859B2 (en) | Color gamut mapping method and apparatus | |
WO2022156703A1 (en) | Image display method and apparatus, and electronic device | |
CN115268817A (en) | Screen-projected content display method, device, equipment and storage medium | |
WO2022089481A1 (en) | Information processing method and apparatus, and electronic device | |
US20240089223A1 (en) | Information display method and apparatus, and electronic device | |
US20240094868A1 (en) | Display Control Method and Apparatus, Electronic Device, and Medium | |
CN112104785B (en) | Information display method and device | |
WO2023241563A1 (en) | Data processing method and electronic device | |
CN112199149A (en) | Interface rendering method and device and electronic equipment | |
WO2022135219A1 (en) | Image display method and apparatus, and electronic device | |
US10902101B2 (en) | Techniques for displaying secure content for an application through user interface context file switching | |
CN114253449B (en) | Screen capturing method, device, equipment and medium | |
CN112884651B (en) | Watermark display method and device | |
CN115037874A (en) | Photographing method and device and electronic equipment |
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: 21885209 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: 21885209 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 30.11.2023) |