Image signature method and related equipment

By guiding users to add personalized signatures and supporting both visible and hidden display modes in the camera app, the lack of copyright protection in traditional camera apps is solved, achieving immediate copyright protection and improved user experience.

CN121908115APending Publication Date: 2026-04-21HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HONOR DEVICE CO LTD
Filing Date
2024-10-11
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Traditional camera apps lack automatic and efficient copyright protection mechanisms, making it easy for user photos to be copied, altered, or forged, thus harming user rights.

Method used

This paper provides an image signature method that guides users to add personalized signatures in camera applications, supports explicit and implicit display modes, and uses encrypted processing to store signature data, thereby achieving instant copyright protection.

Benefits of technology

It improves user experience and copyright protection efficiency, ensures signature security and privacy, and enhances image personalization and the visibility of copyright markings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121908115A_ABST
    Figure CN121908115A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an image signature method and related equipment. The method comprises the steps of presenting a first interface for prompting to add a signature for a user when the user uses a camera application for the first time; if the user selects the first control which confirms to add the signature in the first interface, displaying a signature input interface for the user so that the user can draw a personalized signature; and receiving signature data of the user to generate a user signature, and displaying the user signature in a preview image of the real-time shooting interface in real time. By using the method, immediate copyright protection in the image shooting process can be realized, and the requirements of users on efficient and convenient copyright protection are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of terminal technology and relates to image processing technology, and in particular to an image signature method and related equipment. Background Technology

[0002] With the widespread application of digital technology, user photos are easily disseminated online, raising concerns about photo copyright protection. Traditional camera apps lack automatic and efficient copyright protection mechanisms, making it easy for user photos to be copied, altered, or even forged without authorization, seriously infringing on user rights. Summary of the Invention

[0003] In view of the above, it is necessary to provide an image processing method and related equipment that can solve the problem that users' rights are easily infringed due to the lack of copyright protection mechanisms in traditional camera applications.

[0004] In a first aspect, this application provides an image signature method, the method comprising: responding to a user's operation to open a camera application; if the operation is the first launch of the camera application, displaying a first interface, the first interface being used to prompt the user to add a signature, the first interface including a first control; responding to the user's operation on the first control, displaying a signature input interface; responding to the user's input operation on the signature input interface, generating a user signature based on signature data corresponding to the input operation; and displaying a shooting interface, responding to the user's shooting operation, displaying a preview image on the shooting interface, the preview image including the user signature.

[0005] The above technical solution can present a guided interface to users when they first use the camera application, asking if they would like to add a personalized signature. If the user selects the first control in the guided interface for "Add Signature," clicking it will guide the user to the signature input interface, where the user can draw their personalized signature, receive the user's signature data, and instantly display the user's signature in the image preview area of ​​the camera application.

[0006] In one possible implementation, the method further includes: if the activation operation is not the first time the camera application is launched, displaying the shooting interface, the shooting interface including a second control for adding a user signature; and in response to the user's operation on the second control, displaying the signature input interface.

[0007] Using the above technical solution, if the user does not enter signature data during the initial launch of the camera application, a control for adding a signature can be set in the displayed shooting interface after the user launches the camera. The user can simply tap the control to enter the signature input interface, freely draw and save their unique signature.

[0008] In one possible implementation, the method further includes: displaying a signature settings interface, which includes an add control, in response to the user's operation on a signature settings control in the settings interface of the camera application; and displaying a signature input interface in response to the user's operation on the add control.

[0009] With the above technical solution, when a user launches the camera application for the first time without setting a signature or wishes to add a new signature later, they can easily access the signature configuration stage through the signature settings control in the camera settings interface. By adding the control to trigger the signature input interface, users can freely draw and save their new signature, adding a personalized identifier to their photos.

[0010] In one possible implementation, the method further includes: after generating the user signature, displaying a mode setting interface, the mode setting interface including a third control and a fourth control, wherein the third control is used to set the display mode of the user signature to a visible mode, and the fourth control is used to set the display mode of the user signature to a hidden mode.

[0011] The above technical solution allows users to set a default display mode for their signature after it has been generated based on their signature data. Users can choose how their signature is displayed: either in explicit mode to enhance the visibility of the image copyright information, or in hidden mode to protect privacy and only display signature details when necessary. This flexible setting not only improves the user experience but also enhances copyright protection.

[0012] In one possible implementation, the method further includes: responding to the user's operation on the third control, determining that the display mode of the user signature is a visible mode; and displaying the user signature in the preview image according to the visible mode.

[0013] In one possible implementation, the method further includes: responding to the user's operation on the fourth control, determining that the display mode of the user signature is a hidden mode; and, based on the hidden mode, not displaying the user signature in the preview image.

[0014] Using the above technical solution, after the user sets their signature and display mode, it can be instantly displayed in the image preview area of ​​the camera application, whether in visible or hidden mode. When visible mode is selected, the user's signature is ensured to be clearly displayed without interfering with the original preview image content. If hidden mode is selected, the signature will not be displayed in the preview image, maintaining the simplicity of the interface. Furthermore, users can freely adjust the display position of the signature to meet their individual needs. Through the switching function of the second control, users can easily switch between the two modes while taking images, providing a highly personalized camera experience. This not only enhances the interactivity and fun of the camera application but also improves user satisfaction.

[0015] In one possible implementation, the method further includes: after generating the user signature, displaying a second interface, the second interface including a user signature generated based on the signature data, one or more editing controls, and a completion control; in response to the user's operation on the one or more signature editing controls, displaying the edited user signature; and in response to the user's operation on the completion control, displaying the mode setting interface.

[0016] In one possible implementation, the one or more signature editing controls include: a size adjustment control, a position adjustment control, a color adjustment control, and a transparency adjustment control.

[0017] The above technical solution automatically displays a second interface containing the user's signature after the user completes the signature data input. This not only allows for real-time preview but also includes rich editing controls for users to customize their signature according to their preferences. After editing, users can click the completion control to confirm and save their satisfactory signature, enhancing the personalization and satisfaction of the signature.

[0018] In one possible implementation, the display mode of the user signature includes a visible mode and a hidden mode. The method further includes: in response to the user's selection operation of any image in the gallery application, displaying an image browsing interface, the image browsing interface displaying the any image, and displaying the user signature on the any image according to a preset display mode.

[0019] In one possible implementation, the method further includes: the image browsing interface includes a fifth control, the fifth control being used to switch the display mode of the user signature; in response to the user's operation on the fifth control in the image browsing interface, the user signature is displayed or not displayed in any image according to the switched display mode.

[0020] Using the above technical solution, users can access the image browsing interface by clicking on an image in the gallery application. The interface will display the image and the user's signature according to a preset mode. The display mode switching control allows users to easily switch the signature display mode, from a visible and intuitive display to an invisible and seamless processing. The color change of the control intuitively reflects the current mode, achieving a perfect balance between personalization and privacy protection.

[0021] In one possible implementation, the method further includes: responding to the user's selection of one or more images in the gallery application, displaying a fourth interface, the fourth interface including a sixth control for adding the user's signature; responding to the user's operation on the sixth control, displaying a signature selection interface including multiple user signatures; and embedding the selected user signature into the one or more images using a preset display mode according to the user's selected user signature.

[0022] The above technical solution allows users to easily add their favorite signatures from the signature library to selected single or multiple images in a photo gallery application. This not only enhances the personalized expression of images but also improves the user experience and satisfaction when using the photo gallery application.

[0023] Secondly, this application provides an image signature method, the method comprising: receiving signature data from a user, generating a user signature based on the signature data; and responding to the user's shooting operation by displaying a preview image on the shooting interface of a camera application, the preview image including the user signature.

[0024] The above technical solutions enable real-time copyright protection during image capture, meeting users' needs for efficient and convenient copyright protection.

[0025] In one possible implementation, the method further includes setting a display mode for the user signature, the display mode including a visible mode and a hidden mode.

[0026] In one possible implementation, the method further includes: if the user selects the explicit mode, displaying the user's signature in the preview image.

[0027] In one possible implementation, the method further includes: if the user selects the hidden mode, not displaying the user signature in the preview image.

[0028] Using the above technical solution, after the user sets their signature and display mode, it can be instantly displayed in the image preview area of ​​the camera application, whether in explicit or hidden mode. When explicit mode is selected, it ensures that the user's signature is clearly displayed without interfering with the original preview image content. If hidden mode is selected, the signature will not be displayed in the preview image, maintaining the simplicity of the interface.

[0029] In one possible implementation, generating a user signature based on the signature data includes: determining a signature trajectory image corresponding to the signature data, generating the user signature based on the signature trajectory image; extracting feature data of the user signature, encrypting the feature data of the user signature, and storing the user signature and the encrypted feature data in a preset encrypted storage area.

[0030] The above technical solutions enable the reconstruction of a user's handwriting style and dynamics based on the signature trajectory image, ensuring the uniqueness and recognizability of the user's signature. Binarization of the signature trajectory image simplifies the image information, while singular value decomposition effectively reduces the dimensionality of the data and preserves key information in the signature, providing a solid foundation for subsequent hash encryption processing. By storing the hash value obtained through hash encryption in a pre-defined encrypted storage area (such as a secure area), the security and privacy of the user's signature can be ensured, preventing unauthorized access and tampering.

[0031] In one possible implementation, the method further includes: if the display mode of the user signature is a hidden mode, responding to the user's shooting operation to obtain a captured image; and embedding the user signature into the captured image according to the hidden mode to obtain a target image.

[0032] The above technical solution enables instant signature embedding after each shooting operation, eliminating the need for users to manually add signatures in subsequent processes.

[0033] In one possible implementation, embedding the user signature into the captured image according to the hiding mode includes: performing discrete wavelet transform processing on the captured image to obtain high-frequency data and low-frequency data of the captured image; performing noise reduction processing on the high-frequency data to obtain noise-reduced high-frequency data; extracting features from the low-frequency data and fusing the extracted low-frequency data features with the user signature to obtain fused data; and obtaining the target image by performing inverse discrete wavelet transform processing based on the noise-reduced high-frequency data and the fused data, wherein the target image includes the embedded user signature.

[0034] The above technical solution, in hidden mode, utilizes the characteristics of DWT to embed the user's signature into the low-frequency components of the image while maintaining the clarity and detail of the high-frequency components. This ensures the signature's concealment and reduces its impact on the image's visual quality. This hidden mode not only protects the security of the signature but also ensures the integrity and authenticity of the image, thus providing strong technical support for applications such as image copyright protection and identity verification.

[0035] Thirdly, this application provides a terminal device, the terminal device including a memory and a processor: wherein the memory is used to store program instructions; the processor is used to read and execute the program instructions stored in the memory, and when the program instructions are executed by the processor, the terminal device performs the above-described image signature method.

[0036] Fourthly, this application provides a chip coupled to a memory in a terminal device, the chip being used to control the processor of the terminal device to execute the above-described image signature method.

[0037] Fifthly, this application provides a computer storage medium storing program instructions that, when executed on a terminal device, cause the processor of the terminal device to execute the aforementioned image signature method.

[0038] Furthermore, the technical effects brought about by the third to fifth aspects can be found in the descriptions of the methods in the above-mentioned method section, and will not be repeated here. Attached Figure Description

[0039] Figure 1 This is an example diagram of a desktop interface provided in an embodiment of this application.

[0040] Figure 2 This is an example diagram of the first interface provided in an embodiment of this application.

[0041] Figure 3 This is an example diagram of a signature input interface provided in another embodiment of this application.

[0042] Figure 4 This is an example diagram of the shooting interface provided in one embodiment of this application.

[0043] Figures 5(a)-5(b) This is an example diagram of the settings interface provided in the embodiments of this application.

[0044] Figure 6 This is an example diagram of the second interface provided in an embodiment of this application.

[0045] Figure 7 This is an example diagram of the mode setting interface provided in an embodiment of this application.

[0046] Figures 8(a)-8(c) This is an example diagram of the shooting interface provided in another embodiment of this application.

[0047] Figure 9 This is an example image of a target image provided in an embodiment of this application.

[0048] Figure 10(a) is an example diagram of a desktop interface provided in an embodiment of this application.

[0049] Figure 10(b) is an example diagram of an album / photo interface provided in an embodiment of this application.

[0050] Figure 10(c) is an example diagram of an image browsing interface provided in an embodiment of this application.

[0051] Figure 10(d) is an example diagram of an image browsing interface provided in another embodiment of this application.

[0052] Figure 11(a) is an example diagram of an album / photo interface provided in another embodiment of this application.

[0053] Figure 11(b) is an example diagram of the fourth interface provided in an embodiment of this application.

[0054] Figure 11(c) is an example diagram of a signature selection interface provided in an embodiment of this application.

[0055] Figure 11(d) is an example diagram of the fourth interface provided in another embodiment of this application.

[0056] Figure 12 This is a software architecture diagram of a terminal device provided in an embodiment of this application.

[0057] Figure 13 This is a flowchart of an image signature method provided in an embodiment of this application.

[0058] Figure 14 This is a flowchart of a method for embedding signatures based on a hidden pattern, provided in an embodiment of this application.

[0059] Figure 15 This is a flowchart of an image signature method provided in another embodiment of this application.

[0060] Figure 16 This application provides a hardware architecture diagram of a terminal device according to an embodiment. Detailed Implementation

[0061] In one embodiment of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more features. In the description of embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in one embodiment of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0062] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. The terminology used in this application's specification is for the purpose of describing particular embodiments only and is not intended to limit the application. It should be understood that, unless otherwise stated, " / " in this application means "or". For example, A / B can mean A or B. "And / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. "At least one" refers to one or more. "More than one" refers to two or more. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, and a, b, and c. Where there is no conflict, the following embodiments and features described herein can be combined with each other.

[0063] With the increasing popularity of digital photography, camera apps have become essential tools for people to record life and share moments. However, traditional camera apps often focus on optimizing shooting functions and improving user experience, neglecting the crucial aspect of photo copyright protection. After taking photos using a camera app, users need to rely on external tools or manual operations to add copyright information or watermarks to the images, which is not only cumbersome but also inefficient.

[0064] Furthermore, with the rapid development of Artificial Intelligence Generative Content (AIGC) technology, the creation and dissemination of image content have undergone tremendous changes. On the one hand, AIGC technology provides users with a wider variety of image creation tools, promoting the prosperity of image culture; on the other hand, the lowering of the technical threshold for AIGC has also exacerbated the difficulty of image copyright protection. Especially when users' private images are maliciously altered, forged, or even used for illegal purposes, the lack of effective copyright protection means makes these images highly vulnerable to infringement and alteration during online dissemination, posing a significant threat to users' legitimate rights and interests.

[0065] Image copyright protection methods used in related technologies, such as manually adding watermarks and using third-party software for copyright registration, all have limitations to varying degrees. For example, manually adding watermarks is not only time-consuming and laborious, but also makes it difficult to guarantee the watermark's concealment and non-removability; while using third-party software for copyright registration may lead to new disputes due to copyright ownership issues.

[0066] To address the aforementioned problems, this application provides an image signature method that enables real-time copyright protection during image capture, meeting users' needs for efficient and convenient copyright protection. The image signature method provided in this application will be described below with reference to several accompanying drawings. For ease of description, several embodiments of this application will be introduced using a mobile phone as an example of the terminal device.

[0067] refer to Figure 1 The image shown is an example of a desktop interface provided in an embodiment of this application. The phone's desktop interface displays icons for various applications, such as the camera application icon and the gallery application icon. In response to a user's touch operation (e.g., a click) on the camera application icon, the phone opens the camera application and determines whether this is the first time the camera application has been launched.

[0068] If this is the first time launching the camera app, the phone will display... Figure 2 The signature prompt interface shown (hereinafter referred to as the "first interface" for ease of description) prompts the user whether they want to add their signature to the captured image. Figure 2 As shown, the first interface includes a prompt message to the user to add a signature, such as "Add signature?". The prompt message is only an example, and the content of the message is not limited in actual applications.

[0069] The first interface includes an "Agree" control (hereinafter referred to as the "first control") 21, which is used to confirm the addition of a signature. If the user confirms that they need to add a signature to an image (e.g., a photographed image), they can click the first control 21. Responding to the user's touch operation (e.g., a click operation) on the first control 21, the following is displayed: Figure 3 The signature input interface shown is shown. The first interface also includes a rejection control 22, which is used to refuse adding a signature. For example, if the user does not intend to sign, they can click the rejection control 22. The phone responds to the user's touch operation on the rejection control 22, closes or exits the first interface, and then displays the following... Figure 4 The shooting interface shown allows users to take photos using the camera app.

[0070] refer to Figure 3 As shown, the signature input interface may include an input area 30, where users can perform input operations to input their signature. For example, the input operation may include handwriting a signature. The user writes their signature in the input area 30 using their finger or a stylus, and the phone responds to the user's input operation by receiving the signature data corresponding to the input operation. For example, the signature data may include a signature trajectory drawn by the user, containing a set of coordinates for multiple drawing points, such as... Figure 3 The signature trace is shown in the attached image. The signature "Ken" is only an example; in actual applications, users can enter any personalized signature.

[0071] The signature input interface includes multiple controls, such as a redraw control 31 and a completion control 32. If the user needs to rewrite their signature, they can click the redraw control 31 to clear the previously drawn signature and rewrite it. After confirming the completion of the signature, the user can click the completion control 32, and the phone will confirm the user's signature based on the currently completed signature trace. The signature input interface may further include other controls for processing the user's signature, such as erase controls and edit controls; this embodiment does not limit this.

[0072] Through the above embodiments, a signature prompt interface can be presented to the user when they first use the camera application, asking if they would like to add a personalized signature. If the user agrees to add a signature, they can click the first control for "Add Signature" in the signature prompt interface to enter the signature input interface, where the user can draw their personalized signature. The mobile phone receives and stores the user's signature data.

[0073] Following the above embodiments, when the user clicks, such as Figure 1 After the camera app icon appears on the desktop interface, if the phone determines that the user's action on the camera app is not the first time it has been opened, it will display something like this. Figure 4 The shooting interface shown. (As shown) Figure 4As shown, the shooting interface includes an image preview area 40 and a second control 41, which is used to add a user signature. For example, if the user has not previously set a signature, they can click the second control 41 in the shooting interface to add a user signature. The phone responds to the user's click on the second control 41, displaying as shown... Figure 3 The signature input interface shown receives the user's signature data.

[0074] Through the above embodiments, if the user does not enter signature data during the first launch of the camera application, the user can click the add signature control in the displayed shooting interface after launching the camera application, thereby quickly entering the signature input interface, completing the user's signature input, and saving the user's personalized signature on the mobile phone.

[0075] Referring to Figure 5(a), this is an example diagram of a camera settings interface provided in an embodiment of this application. Users can access the camera settings interface in various ways. For example, users can access the camera settings interface by searching for "camera settings" in their phone's settings, or by clicking the camera settings icon in the shooting interface displayed after opening the camera application. In other embodiments, camera settings can also be presented as options within the extended services / functions of the shooting interface for users to select.

[0076] The camera settings interface includes a signature settings control 51. In response to user touch operations (e.g., click operations) on the settings control 51, the signature settings interface is displayed, as shown in Figure 5(b). The signature settings interface also includes an add control 52. In response to user operations on the add control 52, the signature settings interface is displayed. Figure 3 The signature input interface shown receives signature data input by the user.

[0077] Through the above embodiments, when a user launches the camera application for the first time without setting a signature or wishes to add a new signature later, they can easily access the signature settings interface through the signature settings control in the camera settings interface. By adding the control to trigger the signature input interface, users can quickly input and save their signature, adding a personalized identifier to their captured content.

[0078] refer to Figure 6 In some embodiments of this application, after generating a user signature based on the signature data (e.g., in response to a user's request), Figure 3 (Complete the operation of control 34 in the middle), you can enter such as Figure 6The signature display interface shown is referred to as the "second interface" below. The second interface displays the user signature generated based on the signature data. Through the second interface, users can easily check whether the generated user signature meets their needs. The second interface includes one or more editing controls, allowing users to edit the signature according to their preferences if the generated user signature does not meet their needs.

[0079] like Figure 6 As shown in some embodiments of this application, one or more signature editing controls include, but are not limited to: size adjustment controls, position adjustment controls, color adjustment controls, transparency adjustment controls, background adjustment controls, and thickness adjustment controls. Users can adjust these controls... Figure 6 The controls shown allow users to edit and adjust the signature. For example, users can use the size adjustment control to scale the signature. Users can click the color adjustment control to choose their preferred color for the signature. Users can click the background adjustment control to adjust the color of the background area of ​​the signature; for example, the background area can be the area enclosed by the signature's border, and its color can be adjusted to pure white, transparent, etc. In other embodiments, users can long-press and drag the area containing the signature to adjust its display position.

[0080] The phone responds to the user's actions on one or more signature editing controls, displaying the edited user signature. The second interface also includes a completion control, which the user can click after editing the signature to confirm the completion of the signature editing and save the edited signature.

[0081] Through the above embodiments, the user's signature can be displayed on the second interface after the user completes the signature data input. This not only allows the user to preview the signature in real time, but also allows the user to edit the personalized signature according to their own preferences through the rich built-in editing controls, which can improve the personalization and satisfaction of the signature.

[0082] refer to Figure 7 The image shown is an example diagram of a mode setting interface provided in one embodiment of this application. In some embodiments of this application, after completing and saving the user's signature, the display mode of the signature can also be set. For example, the user can choose to display the signature in the image or hide the signature (not display the signature in the image). Figure 7 As shown, the mode setting interface includes a third control 71 and a fourth control 72. The third control 71 is used to set the display mode of the user's signature to explicit mode, and the fourth control 72 is used to set the display mode of the user's signature to hidden mode. The system responds to the user's operation on the third control 71, determining that the display mode of the user's signature is explicit. Alternatively, it responds to the user's operation on the fourth control 72, determining that the display mode of the user's signature is hidden mode.

[0083] In other embodiments, if the user completes the signature but does not select a signature display mode (e.g., the user clicks...), Figure 7 The "Skip" control in the mode settings interface (shown in the image) allows the signature display mode to be set to explicit mode by default, meaning the user's signature is displayed in the image. If the user does not agree to the default explicit mode, they can enter the mode settings interface and select hidden mode by clicking the fourth control 72. Conversely, the signature display mode can also be set to hidden mode by default; if the user needs to display the signature, they can enter the mode settings interface and select explicit mode by clicking the third control 71.

[0084] Following the above embodiments, after a user sets a user signature, each time the camera application is used subsequently, a preview image can be displayed in the image preview area of ​​the camera application's shooting interface in response to the user's shooting operation. The preview image may include the user signature. For example, if the user selects the explicit mode for displaying the user signature, the user signature is displayed in the preview image according to the explicit mode. If the user selects the hidden mode for displaying the user signature, the user signature is not displayed in the preview image according to the hidden mode.

[0085] Through the above embodiments, after generating a user signature based on the user's signature data, the user can be guided to set a default display mode for their signature, allowing them to choose how it is displayed. Users can choose to display the signature directly in explicit mode to enhance the visibility of the image copyright notice; or choose a hidden mode to protect user privacy, displaying signature details only when necessary. This flexible setting not only improves the user experience but also enhances copyright protection.

[0086] In one example, if a user's signature needs to be displayed in the preview image based on an explicit mode, a template image can be generated based on the user's signature. This template image has the same size as the preview image, and the background area outside the user's signature in the template image is transparent. By placing this template image as a layer above the preview image, the user's signature can be displayed in the preview image without changing its original content. The position of the user's signature in the template image can be a pre-set display position; for example, the user can... Figure 6 The interface shown has a pre-set display position.

[0087] refer to Figures 8(a) to 8(c)The image shown is an example diagram of a shooting interface provided in another embodiment of this application. Based on the user signature's visibility mode, the user signature is displayed at a pre-set display position in the preview image of the image preview area 40. The user can long-press and drag the area where the user signature is located to adjust the display position of the signature; for example, adjusting the display position of the user signature from Figure 8(a) to Figure 8(b). Referring to Figure 8(c), based on the user's selected signature hiding mode, the user signature is not displayed in the preview image.

[0088] In one example, accept Figure 4 In the illustrated embodiment, the shooting interface includes a second control 41. If no signature is set, the second control 41 is used to add a user signature. If a signature has been set and a display mode for the user signature has been set, the second control 41 can also be used to switch the display mode.

[0089] For example, referring to Figure 8(a), when the preview image displays the user's signature in explicit mode, the second control 41 can be displayed in the first color. Responding to the user's operation on the second control 41, the user's signature is switched from explicit mode to hidden mode, displaying the interface shown in Figure 8(c), and the user's signature is not displayed in the preview image. Alternatively, referring to Figure 8(c), when the preview image does not display the user's signature in hidden mode, the second control 41 can be displayed in the second color. If the user clicks the second control 41, the phone responds to the user's operation, switching the user's signature from hidden mode to explicit mode, thus displaying the interface shown in Figure 8(a): the user's signature is displayed in the preview image.

[0090] Through the above embodiments, after the user sets their signature and display mode, it can be instantly displayed in the camera application's shooting interface, whether in visible or hidden mode. When visible mode is selected, the user's signature is ensured to be clearly displayed without interfering with the original preview image content. If hidden mode is selected, the signature will not be displayed in the preview image, maintaining the simplicity of the interface. Furthermore, users can freely adjust the display position of the signature to meet their individual needs. Through the switching function of the second control, users can also conveniently switch between the two modes while shooting images, providing a highly personalized camera experience. This not only enhances the interactivity and fun of the camera application but also improves user satisfaction.

[0091] The above embodiments have introduced the relevant content of camera signature settings. Next, we will introduce the embedding of signatures when using a camera to capture images, in conjunction with the above embodiments.

[0092] In some embodiments of this application, if the display mode of the user signature is explicit, a captured image is obtained in response to the user's shooting operation; based on the explicit mode, the user signature is embedded into the captured image to obtain the target image. In one example, a template image generated from the user signature and the captured image can be fused using an image fusion algorithm to obtain the target image, so that the target image can explicitly display the user signature. (See reference...) Figure 9 The image shown is an example of a target image provided in an embodiment of this application, in which the user signature is presented in explicit mode. Continuing with the shooting interface shown in Figure 8(a), the position of the user signature in the captured image is the same as the position of the user signature in the corresponding image preview area.

[0093] Referring to Figure 10(a), in response to a user clicking the Gallery app icon on the desktop interface, the album / photo interface (i.e., the Gallery app interface) shown in Figure 10(b) is displayed. Referring to Figure 10(b), in response to a user clicking the thumbnail of any image (e.g., image A) in the album / photo interface, the image browsing interface shown in Figure 10(c) or Figure 10(d) is displayed, including the user-selected image A. In Figure 10(c), the user's signature is displayed on image A according to a preset explicit mode; in Figure 10(d), the user's signature is not displayed on image A according to a preset hidden mode.

[0094] The image browsing interface includes a fifth control 1001, which can be used to switch the display mode of the user signature. For example, referring to Figure 10(c), when the user signature is displayed in explicit mode in image A, the fifth control 1001 can be presented in the first color; if the user clicks the fifth control 1001, the phone responds to the user's operation and switches the user signature from explicit mode to hidden mode, displaying the interface shown in Figure 10(d): the user signature is not displayed in image A. Alternatively, referring to Figure 10(d), when the user signature is not displayed in hidden mode in image A, the fifth control 1001 can be presented in the second color; if the user clicks the fifth control 1001, the phone responds to the user's operation and switches the user signature from hidden mode to explicit mode, thus displaying the interface shown in Figure 10(c): the user signature is displayed in image A.

[0095] Through the above embodiments, users can access the image browsing interface by clicking on an image in the gallery application. The interface will display the image and the user's signature according to a preset mode. The display mode switching control allows users to easily switch the signature display mode, from an explicit and intuitive display to an implicit and seamless processing. The color change of the control intuitively reflects the current mode, achieving a balance between personalization and privacy protection.

[0096] In some embodiments of this application, the user signature of any image (e.g., image A) can be switched from explicit mode to hidden mode using various methods. In one example, after obtaining the captured image corresponding to image A in response to a user's shooting operation, the user can also choose to upload the captured image to a cloud server for backup, thereby storing the original image data OA corresponding to image A. When switching the user signature of image A from explicit mode to hidden mode, the original image data OA and the user signature stored in the mobile phone can be retrieved from the cloud server. Based on the hidden mode, the user signature is embedded into the original image data OA to generate image B containing the user signature of the hidden mode, and image A is replaced by image B. In another example, the layer corresponding to the user signature can also be removed from image A to obtain the original image data corresponding to image A. Based on the original image data and the user signature, image B containing the user signature of the hidden mode is generated. The above methods can be selected according to actual needs. Other methods can also be used to switch the user signature of any image from explicit mode to hidden mode, and this application does not impose specific limitations on this.

[0097] In some embodiments of this application, the user signature of any image (e.g., image C) can be switched from hidden mode to explicit mode using various methods. In one example, the original image data OC corresponding to image C can be retrieved from a cloud server. Based on the original image data OC and the user signature stored in the mobile phone, an image D displaying the user signature in explicit mode can be generated, and image C can be replaced with image D. In another example, the user signature embedded in image C can be decrypted based on an inverse algorithm for generating an image containing a signature in hidden mode, thereby obtaining image D displaying the user signature in explicit mode, and image C can be replaced with image D. The above methods can be selected according to actual needs. Other methods can also be used to switch the user signature of any image from hidden mode to explicit mode, and this application does not impose specific limitations on this.

[0098] Through the above embodiments, various algorithms can be used to implement image signature display mode switching schemes, thereby enabling free and flexible switching between explicit and hidden signature modes in an image. When it is necessary to hide the signature, an image containing the hidden signature can be regenerated from the original image backed up in the cloud and the user's signature information. This image can then replace the image containing the explicit signature, or the signature layer can be directly removed from the image containing the explicit signature to restore the original image. When it is necessary to display the signature, the original image can be restored from the cloud or the hidden signature in the image can be decrypted to generate an image containing the explicit signature. This image can then replace the image containing the hidden signature, ensuring the secure storage and flexible display of the user's signature.

[0099] In some embodiments of this application, a fourth interface is displayed in response to a user's selection of one or more images in a gallery application. The fourth interface includes multiple images in a selected state; for example, the multiple images may include an image displaying a signature according to a preset display mode, and may also include images without signatures. The fourth interface also includes a sixth control, which can be used to add a user signature. In response to the user's operation on the sixth control, a signature selection interface is displayed, which includes multiple user signatures. Based on the user signature selected by the user, the selected user signature is embedded into one or more images using a preset display mode.

[0100] Referring to Figure 11(a), the system can respond to a user's click on the thumbnails of multiple images in the album / photos interface, displaying the fourth interface shown in Figure 11(b). It can also respond to a user's operation on the sixth control 1101, displaying the signature selection interface shown in Figure 11(c). The signature selection interface can include thumbnails of multiple user signatures and can respond to the user's selection of a user signature, embedding the selected user signature into one or more images using a preset display mode. Referring to Figure 11(c), after the user selects a second user signature, they can click the "OK" control. The phone, based on the user's selected signature and according to the explicit display mode, embeds the selected user signature into one or more images, as shown in Figure 11(d).

[0101] Through the above embodiments, users can conveniently add their favorite signatures from the signature library to selected single or multiple images in the gallery application, which not only enhances the personalized expression of the images, but also improves the user experience and satisfaction when using the gallery application.

[0102] In other embodiments of this application, the sixth control 1101 can also be used to switch the display mode of the user signature. For example, it can respond to the user's operation on the sixth control 1101 and display the signature mode setting interface (e.g. Figure 7 (As shown). It can respond to the user's selection of a display mode in the mode settings interface, and switch the display mode of the signatures of the multiple images selected by the user to the display mode selected by the user.

[0103] Through the above embodiments, users can flexibly switch the display mode of the signature of a selected single or multiple images in the gallery application through the sixth control 1101, thereby improving the user experience and satisfaction when using the gallery application.

[0104] The image signature method described above can be applied to various terminal devices, including display devices, such as mobile phones, tablets, wearable devices, camera devices, computers, and self-moving devices. The terminal device includes an application processor, which runs the operating system. The following section will discuss this further. Figure 12The software structure of a terminal device is illustrated by example.

[0105] See Figure 12 The diagram shown is a software architecture diagram of a terminal device provided in an embodiment of this application. The layered architecture divides the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. For example, the Android system, from top to bottom, consists of the application layer 101, framework layer 102, Android runtime and system libraries 103, hardware abstraction layer 104, kernel layer 105, and hardware layer 106.

[0106] Application layer 101 may include a series of application packages. For example, application packages may include applications such as camera, gallery, calendar, calling, map, navigation, WLAN, Bluetooth, music, video, SMS, device control services, etc.

[0107] The framework layer 102 provides an Application Programming Interface (API) and programming framework for applications in the application layer. The application framework layer includes predefined functions. For example, it may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

[0108] The window manager manages window programs. It can obtain screen size, determine the presence of a status bar, lock the screen, and capture screenshots. The content provider stores and retrieves data, making it accessible to applications. This data can include videos, images, audio, made and received calls, browsing history and bookmarks, and phone books. The view system includes visual controls, such as controls for displaying text and controls for displaying images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon can include views for displaying text and views for displaying images. The phone manager provides communication functionality for terminal devices, such as managing call status (including connection and disconnection). The resource manager provides applications with various resources, such as localized strings, icons, images, layout files, and video files. The notification manager allows applications to display notifications in the status bar, conveying informational messages that disappear automatically after a short pause without user interaction. For example, the notification manager is used to notify of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the system's top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting alert sounds, causing the device to vibrate, and flashing indicator lights.

[0109] The Android Runtime consists of the core libraries and the virtual machine. The Android runtime is responsible for the scheduling and management of the Android system. The core libraries consist of two parts: one part contains the functionalities that the Java language needs to call, and the other part contains the core Android libraries.

[0110] Application layer 101 and framework layer 102 run in a virtual machine. The virtual machine executes the Java files of the application layer and framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0111] System library 103 may include multiple functional modules. For example, a surface manager, media libraries, 3D graphics processing libraries (e.g., Open GLES), 2D graphics engines (e.g., SGL), etc.

[0112] The Surface Manager manages the display subsystem and provides fusion of 2D and 3D layers for multiple applications. The Media Library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG. The 3D Graphics Processing Library implements 3D graphics drawing, image rendering, compositing, and layer processing. The 2D Graphics Engine is the drawing engine for 2D graphics.

[0113] Hardware Abstraction Layer 104 runs in user space, encapsulates kernel-level drivers, and provides calling interfaces to the upper layers.

[0114] Kernel layer 105 is the layer between hardware and software. Kernel layer 105 contains at least the display driver, touch driver, audio driver, and sensor driver.

[0115] Kernel layer 105 is the core of the operating system for terminal devices. It is the first layer of software extension based on the hardware, providing the most basic functions of the operating system. It is the foundation for the operation of the operating system, responsible for managing system processes, memory, device drivers, files, and network systems, and determining the system's performance and stability. For example, the kernel layer can determine the timing of an application's operation on certain parts of the hardware.

[0116] Kernel layer 105 includes hardware-dependent programs such as interrupt handlers and device drivers, as well as basic, common, and frequently running modules such as clock management and process scheduling modules, and critical data structures. The kernel layer can be located within the processor or embedded in internal memory.

[0117] The hardware layer 106 includes the hardware of the terminal device, such as the display screen, buttons, camera, etc.

[0118] See Figure 13 The diagram shown is a flowchart of an image signature method provided in an embodiment of this application. The image signature method can be applied to various terminal devices and specifically includes the following steps.

[0119] S1301, responding to the user's operation to open the camera application. If the operation is the first launch of the camera application, the first interface is displayed. The first interface is used to prompt the user to add a signature. The first interface includes the first control.

[0120] In one example, the phone responds to the user's... Figure 1 Touching the camera app icon (e.g., clicking) will launch the camera app. Confirm if this is the first time launching the camera app. If it is, the phone will display... Figure 2 The first interface shown includes a first control 21, which is used to confirm the addition of a signature.

[0121] S1302, responding to the user's operation on the first control, displays the signature input interface.

[0122] In one example, responding to user... Figure 2 The touch operation of the first control 21 in the middle displays as follows: Figure 3 The signature input interface shown.

[0123] S1303, responds to the user's input operation on the signature input interface, and generates a user signature based on the signature data corresponding to the input operation.

[0124] In one example, a user can... Figure 3 The input area 30 shown is used to perform an input operation to input a signature.

[0125] In some embodiments of this application, when generating a user signature based on signature data, a signature trajectory image corresponding to the signature data can be determined, and a user signature can be generated based on the signature trajectory image; feature data of the user signature can be extracted, the feature data of the user signature can be encrypted, and the user signature and the encrypted feature data can be stored in a preset encrypted storage area.

[0126] In one example, the signature trajectory image can be binarized to obtain the user signature. The user signature is then subjected to Singular Value Decomposition (SVD) to obtain feature data that represents the essential characteristics of the signature trajectory. This feature data is then hashed to obtain the corresponding hash value, which serves as the encrypted feature data. The user signature and its corresponding encrypted feature data are then stored in a secure area.

[0127] Through the above embodiments, the user's handwriting style and dynamics can be reconstructed based on the signature trajectory image, ensuring the uniqueness and recognizability of the user's signature. Binarizing the signature trajectory image simplifies the image information, and singular value decomposition effectively reduces the dimensionality of the data while preserving key information in the signature, providing a solid foundation for subsequent hash encryption processing. By storing the hash value obtained through hash encryption in a preset encrypted storage area (such as a secure area), the security and privacy of the user's signature can be ensured, preventing unauthorized access and tampering.

[0128] S1304 displays the shooting interface, responds to the user's shooting operation, and displays a preview image on the shooting interface, which includes the user's signature.

[0129] In some embodiments of this application, the mode setting interface can be displayed after the user signature is generated, or after responding to the user's operation of the completion control on the second interface. The mode setting interface represents an interface displayed to the user for setting the display mode of the signature. Through the mode setting interface, the user's setting of the signature display mode can be received, and the user signature can be displayed in the preview image based on the display mode set by the user.

[0130] The image signature method provided in this application presents a guided interface to users when they first use the camera application, asking if they wish to add a personalized signature. If the user selects the first control for "Add Signature" in the guided interface, clicking it will guide the user to the signature input interface, allowing the user to draw their personalized signature. The system receives the user's signature data and displays the signature in real-time in the image preview area of ​​the camera application. This enables real-time copyright protection during image capture, meeting users' needs for efficient and convenient copyright protection.

[0131] In other embodiments of this application, user signature data can also be received in other ways. For example, various methods may include: Method (1): If the user does not input signature data in the first launch operation of the camera application, a shooting interface including an image preview area can be displayed in response to the user's non-first launch operation of the camera application. The shooting interface includes a control for adding a signature. In response to the user's operation on the control for adding a signature, an interface for inputting a signature is displayed, through which the user's signature data is received. Method (2): If the user does not input signature data in the first launch operation of the camera application, or if the user needs to add a new signature, an interface for inputting a signature can be displayed in response to the user's operation of adding a signature in the camera settings, through which the user's signature data is received.

[0132] In some embodiments of this application, in the implementation process of method (1), in response to the user's operation to open the camera application, if the operation is not the first time the camera application has been launched, a shooting interface is displayed, which includes a second control. In response to the user's operation on the second control, a signature input interface is displayed; in response to the user's input operation on the signature input interface, signature data corresponding to the input operation is received.

[0133] In one example, the phone responds to the user's action of opening the camera app, determining whether this is the first time the camera app has been launched. For example, the action could be tapping the camera app icon on the home screen. If the action is not the first time the camera app has been launched, the phone displays... Figure 4 The shooting interface shown. For example, if the user has not previously set a signature, the system will respond to the user's request... Figure 4 The touch operation (e.g., click operation) of the second control 41 in the middle displays as follows: Figure 3 The signature input interface is shown. Users can... Figure 3 The input area 30 shown is used to perform an input operation to input a signature.

[0134] In some embodiments of this application, in the implementation process of method (2), in response to the user's operation on the signature setting control in the camera application's settings interface, the signature setting interface is displayed, and the signature setting interface includes an add control. In response to the user's operation on the add control, the signature input interface is displayed; in response to the user's input operation in the signature input interface, the signature data corresponding to the input operation is received.

[0135] In one example, referring to Figure 5(a), an example diagram of the camera settings interface provided in an embodiment of this application is shown. In response to a user's touch operation (e.g., click operation) on the signature settings control 51, the signature settings interface is displayed, as shown in Figure 5(b), for example. In response to a user's operation of adding control 52 to the signature settings interface, the following is displayed: Figure 3 The signature input interface shown receives signature data input by the user.

[0136] The above embodiments allow users to conveniently add user signatures in various ways and receive user signature data in various ways.

[0137] In some embodiments of this application, if the user signature display mode is a hidden mode, a captured image is obtained in response to the user's shooting operation; according to the hidden mode, the user signature is embedded into the captured image to obtain the target image. In one example, user signature information can be embedded in different frequency components of the captured image based on the characteristics of Discrete Wavelet Transform (DWT), while minimizing the impact on the image's visual quality, thus hiding the user signature in the target image. (See reference...) Figure 14 As shown, the process of embedding signatures based on the hidden pattern includes:

[0138] S1401 performs discrete wavelet transform on the captured image to obtain high-frequency and low-frequency data of the captured image.

[0139] In some embodiments of this application, captured images can be decomposed into high-frequency data and low-frequency data based on DWT. High-frequency data typically contains details and edge information of the image, while low-frequency data contains the main structure and smooth areas of the image.

[0140] S1402 performs noise reduction processing on high-frequency data to obtain noise-reduced high-frequency data.

[0141] In some embodiments of this application, since high-frequency data is easily affected by noise, noise reduction processing of high-frequency data can improve the overall quality of the image and help to embed signature information more accurately in subsequent steps.

[0142] S1403, extract features from low-frequency data, and fuse the extracted low-frequency data features with user signatures to obtain fused data.

[0143] In some embodiments of this application, the feature data of low-frequency data includes important or salient features in the image, which can be used to fuse with the user signature. For example, the fusion process may include combining the features of the signature (e.g., shape, texture, etc.) with the features of the low-frequency data to form new fused data.

[0144] S1404, based on the denoised high-frequency data and fused data, obtains the target image through discrete wavelet inverse transform processing, and the target image includes the embedded user signature.

[0145] In some embodiments of this application, after the fusion of low-frequency data and the denoising of high-frequency data are completed, the data can be recombined into an image using the Inverse Discrete Wavelet Transform (IDWT). The resulting target image will contain the embedded user signature. However, since the signature is embedded in the low-frequency part and the high-frequency part has undergone denoising processing, the presence of the signature has little impact on the visual quality of the image, thus achieving the embedding of the user signature in the captured image in a hidden mode.

[0146] Through the above embodiments, a flexible and efficient image signature embedding scheme can be implemented to embed user signatures into captured images in explicit or hidden modes, according to different user needs. Signature embedding is achieved instantly after each capture operation, eliminating the need for users to manually add signatures in subsequent processes. In explicit mode, the user signature is displayed intuitively on the image, facilitating direct recognition and verification. In hidden mode, the characteristics of DWT are utilized to embed the user signature into the low-frequency components of the image while maintaining the clarity and detail of the high-frequency components, thus ensuring the signature's concealment and minimizing its impact on the image's visual quality. This hidden mode not only protects the security of the signature but also ensures the integrity and authenticity of the image, providing strong technical support for applications such as image copyright protection and identity verification.

[0147] In other embodiments of this application, besides using the set signature display mode as the default universal display mode for the signature in both the preview image and the captured image displayed in the shooting interface, separate display modes can be set for the signature in the preview image displayed in the shooting interface (e.g., a first display mode) and the signature in the captured image (e.g., a second display mode). In one example, the first display mode can be a visible mode, allowing the user to adjust the signature's position when capturing the image; the second display mode can be a hidden mode, so that even if the shooting interface is in visible mode, the signature can be hidden in the captured image, achieving better image copyright protection. In another example, the first display mode can be a hidden mode, allowing the user to better focus on the shooting scene; the second display mode can be a visible mode, so that even if the shooting interface is in hidden mode, the signature can be visible in the captured image, facilitating the user to view the signature effect later.

[0148] The above embodiments further expand the signature display mode settings, allowing users to independently configure the signature display mode (e.g., a first display mode and a second display mode) in the shooting interface and captured images. This flexibility provides users with more choices: users can choose a visible mode during preview to intuitively adjust the signature position, and then choose a hidden mode after shooting to protect image copyright; conversely, they can also hide the signature during preview to reduce interference, and then display the signature visible after shooting for inspection. This dual-mode configuration not only improves the user experience but also enhances the flexibility and efficiency of image copyright protection and signature verification.

[0149] In some embodiments of this application, users can also add or adjust signatures on images in the gallery while viewing them. Specifically, users can add or adjust signatures on a single image, such as adjusting the signature's display effect, position, or display mode; or they can add or adjust signatures on multiple images simultaneously with a single click, such as adjusting the signature's display mode.

[0150] In some embodiments of this application, in response to a user's selection of any image in the image library application, an image browsing interface is displayed. The image browsing interface displays any image, and the user's signature is displayed on any image according to a preset display mode. The image browsing interface includes a fifth control used to switch the display mode of the user's signature. In response to the user's operation of the mode switching control in the image browsing interface, the user's signature is displayed in any image according to the switched display mode.

[0151] Referring to Figure 10(a), in response to a user clicking the Gallery app icon on the desktop interface, the album / photo interface (i.e., the Gallery app interface) shown in Figure 10(b) is displayed. Referring to Figure 10(b), in response to a user clicking the thumbnail of any image (e.g., image A) in the album / photo interface, the image browsing interface shown in Figure 10(c) or Figure 10(d) is displayed, including the user-selected image A. In Figure 10(c), the user's signature is displayed on image A according to a preset explicit mode; in Figure 10(d), the user's signature is not displayed on image A according to a preset hidden mode.

[0152] The image browsing interface includes a fifth control 1001, which can be used to switch the display mode of the user signature. For example, referring to Figure 10(c), when the user signature is displayed in explicit mode in image A, the fifth control 1001 can be presented in the first color; if the user clicks the fifth control 1001, the phone responds to the user's operation and switches the user signature from explicit mode to hidden mode, displaying the interface shown in Figure 10(d): the user signature is not displayed in image A. Alternatively, referring to Figure 10(d), when the user signature is not displayed in hidden mode in image A, the fifth control 1001 can be presented in the second color; if the user clicks the fifth control 1001, the phone responds to the user's operation and switches the user signature from hidden mode to explicit mode, thus displaying the interface shown in Figure 10(c): the user signature is displayed in image A.

[0153] Through the above embodiments, users can access the image browsing interface by clicking on an image in the gallery application. The interface will display the image and the user's signature according to a preset mode. The display mode switching control allows users to easily switch the signature display mode, from an explicit and intuitive display to an implicit and seamless processing. The color change of the control intuitively reflects the current mode, achieving a balance between personalization and privacy protection.

[0154] In some embodiments of this application, a fourth interface is displayed in response to a user's selection of one or more images in a gallery application. The fourth interface includes multiple images in a selected state; for example, the multiple images may include an image displaying a signature according to a preset display mode, and may also include images without signatures. The fourth interface also includes a sixth control, which can be used to add a user signature. In response to the user's operation on the sixth control, a signature selection interface is displayed, which includes multiple user signatures. Based on the user signature selected by the user, the selected user signature is embedded into one or more images using a preset display mode.

[0155] Referring to Figure 11(a), the fourth interface shown in Figure 11(b) can be displayed in response to a user's click on the thumbnails of multiple images in the album / photos interface. The signature selection interface shown in Figure 11(c) can be displayed in response to a user's operation on the sixth control 1101. The signature selection interface can include thumbnails of multiple user signatures and can embed the selected user signature into one or more images using a preset display mode in response to the user's selection of a user signature.

[0156] The above embodiments allow users to easily add their favorite signatures from the signature library to selected single or multiple images in a photo gallery application. This not only enhances the personalized expression of images but also improves the user experience and satisfaction when using the photo gallery application.

[0157] In other embodiments of this application, the sixth control can also be used to switch the display mode of the user signature. For example, it can respond to the user's operation on the sixth control and display a signature mode setting interface (e.g. Figure 9 (As shown). It can respond to the user's selection of a display mode in the mode settings interface, and switch the display mode of the signatures of the multiple images selected by the user to the display mode selected by the user.

[0158] The above embodiments allow users to flexibly switch the display mode of the signature of a selected single or multiple images in the gallery application via the sixth control, thereby improving the user experience and satisfaction when using the gallery application.

[0159] refer to Figure 15The diagram shows a flowchart of an image signature method provided in another embodiment of this application. The image signature method may include: performing Discrete Wavelet Transform (DWT) processing on a captured image to obtain multiple frequency data of the captured image, such as high-frequency data HH1, low-frequency data LL1, low-frequency data LH1, and high-frequency data HL1. Selecting high-frequency data HH1 from the multiple frequency data of the captured image for noise reduction to obtain denoised high-frequency data. Selecting low-frequency data LL1 from the multiple frequency data of the captured image for Singular Value Decomposition (SVD) to obtain feature data of the low-frequency data. Binarizing the signature data to obtain a signature trajectory image; performing SVD on the signature trajectory image to obtain signature feature data. Hash mapping the signature feature data to obtain an encrypted user signature, and storing the encrypted user signature in a preset secure storage area. Fusing the encrypted user signature with the feature data of the low-frequency data to form fused data. Generating a target image by performing Inverse Discrete Wavelet Transform (IDWT) processing based on the denoised high-frequency data and the fused data, the target image containing a user signature embedded in a hidden mode.

[0160] Through the above embodiments, discrete wavelet transform (DWT), singular value decomposition (SVD), and hash mapping techniques can be comprehensively applied to achieve deep processing of captured images and secure embedding of user signatures. Specifically, DWT decomposes the image into data layers of different frequencies, with noise reduction specifically applied to the high-frequency layers to improve image quality. Subsequently, SVD analysis is performed on the low-frequency layers to extract key features. The user's signature is converted into a trajectory image and encrypted using SVD and hash mapping to ensure the security and uniqueness of the signature. The encrypted signature is fused with the low-frequency feature data, and the image is reconstructed using inverse IDWT, allowing the user signature to be embedded covertly into the target image, preserving image integrity while achieving effective signature verification and anti-counterfeiting.

[0161] This application also provides a terminal device 100, see below. Figure 16 As shown, the terminal device 100 can be a mobile phone, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, as well as cellular phone, personal digital assistant (PDA), augmented reality (AR) device, virtual reality (VR) device, artificial intelligence (AI) device, wearable device, in-vehicle device, smart home device and / or smart city device. The specific type of terminal device 100 is not specifically limited in the embodiments of this application.

[0162] Terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a Subscriber Identification Module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0163] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the terminal device 100. In other embodiments of this application, the terminal device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0164] Processor 110 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.

[0165] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.

[0166] The processor 110 may also include a memory for storing instructions and data. In one embodiment of this application, the memory in the processor 110 is a cache memory. The memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instructions or data again, it can directly retrieve them from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0167] In one embodiment of this application, the processor 110 may include one or more interfaces. These interfaces may include an Inter-integrated Circuit (I2C) interface, an Inter-integrated Circuit Sound (I2S) interface, a Pulse Code Modulation (PCM) interface, a Universal Asynchronous Receiver / Transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI) interface, a General-Purpose Input / Output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and / or a Universal Serial Bus (USB) interface, etc.

[0168] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In one embodiment of this application, the processor 110 may include multiple I2C buses. The processor 110 can couple to the touch sensor 180K, charger, flash, camera 193, etc., through different I2C bus interfaces. For example, the processor 110 can couple to the touch sensor 180K through the I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface, thereby realizing the touch function of the terminal device 100.

[0169] The I2S interface can be used for audio communication. In one embodiment of this application, the processor 110 may include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to realize communication between the processor 110 and the audio module 170. In one embodiment of this application, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface to realize the function of answering phone calls through a Bluetooth headset.

[0170] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In one embodiment of this application, the audio module 170 and the wireless communication module 160 can be coupled via the PCM bus interface. In another embodiment of this application, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering phone calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0171] The UART interface is a universal serial data bus used for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial and parallel communication. In one embodiment of this application, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In one embodiment of this application, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface to enable music playback via Bluetooth headphones.

[0172] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a Camera Serial Interface (CSI) and a Display Serial Interface (DSI). In one embodiment of this application, the processor 110 and the camera 193 communicate via the CSI interface to realize the shooting function of the terminal device 100. The processor 110 and the display screen 194 communicate via the DSI interface to realize the display function of the terminal device 100.

[0173] The GPIO interface can be configured via software. It can be configured as a control signal or a data signal. In one embodiment of this application, the GPIO interface can be used to connect the processor 110 to a camera 193, a display screen 194, a wireless communication module 160, an audio module 170, a sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0174] USB port 130 is a USB standard compliant interface, specifically a Mini USB port, MicroUSB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge terminal device 100, and can also be used for data transfer between terminal device 100 and peripheral devices. It can also be used to connect headphones for audio playback. Furthermore, the interface can be used to connect other terminal devices 100, such as AR devices.

[0175] It is understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are merely illustrative and do not constitute a structural limitation on the terminal device 100. In other embodiments of this application, the terminal device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0176] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the terminal device 100. While charging the battery 142, the charging management module 140 can also supply power to the terminal device 100 via the power management module 141.

[0177] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, providing power to the processor 110, internal memory 121, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.

[0178] The wireless communication function of the terminal device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0179] Antennas 1 and 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.

[0180] The mobile communication module 150 can provide wireless communication solutions, including 2G / 3G / 4G / 5G, for use on the terminal device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In one embodiment of this application, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In another embodiment of this application, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.

[0181] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through audio devices (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In one embodiment of this application, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and housed within the same device as the mobile communication module 150 or other functional modules.

[0182] The wireless communication module 160 can provide solutions for wireless communication applications on the terminal device 100, including Wireless Local Area Networks (WLAN) (such as Wireless Fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), and Infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, modulates and filters the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, modulate and amplify them, and then convert them into electromagnetic waves for radiation via antenna 2.

[0183] In one embodiment of this application, antenna 1 of terminal device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling terminal device 100 to communicate with networks and other devices via wireless communication technology. Wireless communication technologies may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. GNSS can include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the Beidou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or Satellite Based Augmentation Systems (SBAS).

[0184] Terminal device 100 implements display functions through a GPU, display screen 194, and application processor. The GPU is a microprocessor that signs images and connects to the display screen 194 and the application processor. The GPU performs mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0185] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), an Active-Matrix Organic Light-Emitting Diode (AMOLED), a Flexible Light-Emitting Diode (FLED), a Minied, Microled, Micro-OLED, or a Quantum Dot Light-Emitting Diode (QLED), etc. In one embodiment of this application, the terminal device 100 may include one or N display screens 194, where N is a positive integer greater than 1.

[0186] Terminal device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.

[0187] The ISP is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, converting it into an image visible to the naked eye. The ISP can also perform algorithmic optimization on image noise, brightness, etc. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In one embodiment of this application, the ISP can be set in the camera 193.

[0188] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then transmitted to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In one embodiment of this application, the terminal device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0189] A digital signal processor (DSP) is used to process digital signals. Besides digital image signals, it can also process other digital signals. For example, when terminal device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.

[0190] Video codecs are used to compress or decompress digital video. Terminal device 100 may support one or more video codecs. Thus, terminal device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.

[0191] NPU stands for Neural Network (NN) computing processor. By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in terminal devices, such as image recognition, facial recognition, information prompts, speech recognition, and text understanding.

[0192] Internal memory 121 may include one or more random access memory (RAM) and one or more non-volatile memory (NVM).

[0193] Random access memory can include static random-access memory (SRAM), dynamic random-access memory (DRAM), synchronous dynamic random-access memory (SDRAM), double data rate synchronous dynamic random-access memory (DDRSDRAM, for example, fifth-generation DDRSDRAM is generally called DDR5SDRAM), etc.

[0194] Non-volatile memory can include disk storage devices and flash memory.

[0195] Flash memory can be classified according to its operating principle, including NORFLASH, NANDFLASH, 3D NANDFLASH, etc.; according to the level of the storage cell, including single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc.; and according to the storage specification, including universal flash storage (UFS) and embedded multi-media card (eMMC), etc.

[0196] The random access memory can be directly read and written by the processor 110. It can be used to store executable programs (such as machine instructions) of the operating system or other running programs, as well as user and application data.

[0197] Non-volatile memory can also store executable programs and user and application data, and can be pre-loaded into random access memory for direct reading and writing by the processor 110.

[0198] The external memory interface 120 can be used to connect to external non-volatile memory, thereby expanding the storage capacity of the terminal device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to perform data storage functions. For example, music, video, and other files can be stored in the external non-volatile memory.

[0199] Internal memory 121 or external memory interface 120 is used to store one or more computer programs. The one or more computer programs are configured to be executed by processor 110. The one or more computer programs include multiple instructions, which, when executed by processor 110, can implement the screen display detection method executed on terminal device 100 in the above embodiments, so as to realize the screen display detection function of terminal device 100.

[0200] Terminal device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.

[0201] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In one embodiment of this application, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.

[0202] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The terminal device 100 can listen to music or make hands-free calls through the speaker 170A.

[0203] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the terminal device 100 answers a phone call or voice message, the receiver 170B can be brought close to the listener's ear to hear the voice.

[0204] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. Terminal device 100 may be equipped with at least one microphone 170C. In some embodiments, terminal device 100 may be equipped with two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, terminal device 100 may be equipped with three, four, or more microphones 170C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.

[0205] The 170D headphone jack is used to connect wired headphones. The 170D headphone jack can be a USB 130 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.

[0206] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. Terminal device 100 can receive button input and generate key signal inputs related to user settings and function control of terminal device 100.

[0207] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations performed on different applications (such as taking photos, playing audio, etc.). Motor 191 can also correspond to different vibration feedback effects for touch operations performed on different areas of the display screen 194. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.

[0208] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.

[0209] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to make contact with and separate from the terminal device 100. The terminal device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to realize functions such as calls and data communication. In one embodiment of this application, the terminal device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100. This application also provides a computer storage medium storing computer instructions. When the computer instructions are executed on the terminal device 100, the terminal device 100 performs the aforementioned related method steps to implement the methods in the above embodiments.

[0210] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement the methods described in the above embodiments.

[0211] In addition, embodiments of this application also provide an apparatus, which may specifically be a chip, component, or module. The apparatus may include a connected processor and a memory; wherein the memory is used to store computer execution instructions, and when the apparatus is running, the processor may execute the computer execution instructions stored in the memory to cause the chip to execute the methods in the above-described method embodiments.

[0212] In this embodiment, the terminal device, computer storage medium, computer program product or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0213] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0214] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0215] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0216] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0217] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially or in other words, the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. The software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0218] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this application without departing from the spirit and scope of the technical solutions of this application.

Claims

1. An image signature method, applied to a terminal device, characterized in that, The method includes: In response to a user's action to open the camera application, if the action is the first launch of the camera application, a first interface is displayed. The first interface is used to prompt the user to add a signature. The first interface includes a first control. In response to the user's operation on the first control, a signature input interface is displayed; In response to the user's input operation on the signature input interface, a user signature is generated based on the signature data corresponding to the input operation; The system displays a shooting interface and responds to the user's shooting operation by displaying a preview image, which includes the user's signature.

2. The image signature method according to claim 1, characterized in that, The method further includes: If the opening operation is not the first time the camera application is launched, the shooting interface is displayed. The shooting interface includes a second control, which is used to add a user signature. In response to the user's operation on the second control, the signature input interface is displayed.

3. The image signature method according to claim 1, characterized in that, The method further includes: In response to the user's operation on the signature settings control in the camera application's settings interface, the signature settings interface is displayed, which includes an add control. In response to the user's operation on the added control, the signature input interface is displayed.

4. The image signature method according to claim 1, characterized in that, The method further includes: After the user signature is generated, a display mode setting interface is shown. The display mode setting interface includes a third control and a fourth control. The third control is used to set the display mode of the user signature to a visible mode, and the fourth control is used to set the display mode of the user signature to a hidden mode.

5. The image signature method according to claim 4, characterized in that, The method further includes: In response to the user's operation on the third control, determine that the display mode of the user's signature is explicit mode; The user signature is displayed in the preview image according to the explicit mode.

6. The image signature method according to claim 4, characterized in that, The method further includes: In response to the user's operation on the fourth control, determine that the display mode of the user's signature is hidden mode; According to the hiding mode, the user signature is not displayed in the preview image.

7. The image signature method according to claim 4, characterized in that, The method further includes: After the user signature is generated, a second interface is displayed, which includes the user signature generated based on the signature data, one or more editing controls, and a completion control. In response to the user's operation on one or more signature editing controls, the edited user signature is displayed; In response to the user's operation on the completion control, the mode setting interface is displayed.

8. The image signature method according to claim 7, characterized in that, The one or more signature editing controls include: a size adjustment control, a position adjustment control, a color adjustment control, and a transparency adjustment control.

9. The image signature method according to claim 1, characterized in that, The user signature display mode includes a visible mode and a hidden mode, and the method further includes: In response to the user's selection of any image in the gallery application, an image browsing interface is displayed, which displays the selected image and shows the user's signature on the selected image according to a preset display mode.

10. The image signature method according to claim 9, characterized in that, The method further includes: The image browsing interface includes a fifth control, which is used to switch the display mode of the user signature; In response to the user's operation on the fifth control in the image browsing interface, the user's signature may or may not be displayed in any image according to the switched display mode.

11. The image signature method according to claim 1, characterized in that, The method further includes: In response to the user's selection of one or more images in the gallery application, a fourth interface is displayed, the fourth interface including a sixth control, the sixth control being used to add the user's signature; In response to the user's operation on the sixth control, a signature selection interface is displayed, which includes multiple user signatures; Based on the user signature selected by the user, the selected user signature is embedded into one or more images using a preset display mode.

12. An image signature method, applied to a terminal device, characterized in that, The method includes: Receive the user's signature data and generate a user signature based on the signature data; In response to the user's shooting action, a preview image is displayed on the camera application's shooting interface, the preview image including the user's signature.

13. The method according to claim 12, characterized in that, The method further includes: The display mode of the user signature is set, which includes a visible mode and a hidden mode.

14. The method according to claim 13, characterized in that, The method further includes: If the user selects the explicit mode, the user's signature is displayed in the preview image.

15. The method according to claim 13, characterized in that, The method further includes: If the user selects the hidden mode, the user's signature will not be displayed in the preview image.

16. The method according to claim 12, characterized in that, The step of generating a user signature based on the signature data includes: Determine the signature trajectory image corresponding to the signature data, and generate the user signature based on the signature trajectory image; Extract the feature data of the user signature, encrypt the feature data of the user signature, and store the user signature and the encrypted feature data in a preset encrypted storage area.

17. The method according to claim 12, characterized in that, The method further includes: If the user signature is displayed in hidden mode, respond to the user's shooting operation and obtain the captured image; Based on the hiding pattern, the user signature is embedded into the captured image to obtain the target image.

18. The method according to claim 17, characterized in that, Embedding the user signature into the captured image according to the hiding mode includes: The captured image is subjected to discrete wavelet transform processing to obtain high-frequency and low-frequency data of the captured image; The high-frequency data is subjected to noise reduction processing to obtain noise-reduced high-frequency data; Feature extraction is performed on the low-frequency data, and the extracted low-frequency data feature data is fused with the user signature to obtain fused data; Based on the denoised high-frequency data and the fused data, the target image is obtained through discrete wavelet inverse transform processing, and the target image includes the embedded user signature.

19. A terminal device, characterized in that, The terminal device includes a memory and a processor: The memory is used to store program instructions; The processor is configured to read and execute the program instructions stored in the memory, and when the program instructions are executed by the processor, the terminal device performs the image signature method as described in any one of claims 1 to 18.

20. A computer storage medium, characterized in that, The computer storage medium stores program instructions that, when executed on a terminal device, cause the processor of the terminal device to perform the image signature method as described in any one of claims 1 to 18.