WO2023186011A1 - Image display method and apparatus, and electronic device - Google Patents

Image display method and apparatus, and electronic device Download PDF

Info

Publication number
WO2023186011A1
WO2023186011A1 PCT/CN2023/085083 CN2023085083W WO2023186011A1 WO 2023186011 A1 WO2023186011 A1 WO 2023186011A1 CN 2023085083 W CN2023085083 W CN 2023085083W WO 2023186011 A1 WO2023186011 A1 WO 2023186011A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
user
area
identity
unencrypted
Prior art date
Application number
PCT/CN2023/085083
Other languages
French (fr)
Chinese (zh)
Inventor
熊晨
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023186011A1 publication Critical patent/WO2023186011A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • H04N1/32149Methods relating to embedding, encoding, decoding, detection or retrieval operations
    • H04N1/32267Methods relating to embedding, encoding, decoding, detection or retrieval operations combined with processing of the image
    • H04N1/32272Encryption or ciphering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Definitions

  • the present application belongs to the technical field of terminal equipment, and specifically relates to an image display method, device and electronic equipment.
  • the purpose of the embodiments of the present application is to provide an image display method, device and electronic equipment, which can solve the problem of great limitations in displaying encrypted pictures in photo albums.
  • embodiments of the present application provide an image display method, which method includes: receiving a user's first operation on a photo album or a first image, where the photo album includes the first image; in response to The first operation is to display an image in an unencrypted area corresponding to the identity of the user, where the unencrypted area is at least part of the first image.
  • embodiments of the present application provide an image display device, which includes: a receiving module configured to receive a user's first operation on a photo album or a first image, where the photo album includes the first image; display A module configured to, in response to the first operation, display an image in an unencrypted area corresponding to the identity of the user, where the unencrypted area is at least part of the first image.
  • inventions of the present application provide an electronic device.
  • the electronic device includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor.
  • the program or instructions are When executed by the processor, the steps of the image display method as described in the first aspect are implemented.
  • embodiments of the present application provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the image display method as described in the first aspect is implemented.
  • inventions of the present application provide a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the first aspect.
  • the image display method is used to run programs or instructions to implement the first aspect.
  • the album by receiving the user's first operation on the album or the first image, the album includes the first image, and in response to the first operation, the image in the unencrypted area corresponding to the user's identity is displayed.
  • the encrypted area is at least part of the first image, and can display images in the unencrypted area, while pictures in the encrypted area will not be displayed. That is to say, partial presentation of the first image in the album protects the user. It also ensures that the owner will not forget the encrypted images, reduces the limitations of displaying encrypted images in the album, and improves the user experience.
  • Figure 1 shows a schematic flowchart of a first image display method provided by an embodiment of the present application
  • FIGS. 2 to 13 show schematic diagrams of the operation interface of the first image display method embodiment provided by the embodiment of the present application
  • Figure 14 shows a schematic flowchart of the second image display method provided by the embodiment of the present application.
  • FIGS 15 to 24 show schematic diagrams of the operation interface of the second image display method embodiment provided by the embodiment of the present application.
  • Figure 25 shows a schematic structural diagram of an image display device provided by an embodiment of the present application.
  • Figure 26 shows a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Figure 27 shows a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first,”"second,” etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • Figure 1 shows a schematic flowchart of an image display method provided by an embodiment of the present application.
  • This method can be executed by an electronic device, such as a terminal device. That is to say, the above image display method can be performed by hardware installed on the terminal device. or software to execute.
  • the method includes the following steps:
  • step S101 a user's first operation on a photo album or a first image is received, and the photo album includes the first image.
  • the terminal device can be a mobile phone, a tablet, a computer, etc.
  • the photo album can be a photo album in a mobile phone, a tablet, or a computer
  • the photo album includes at least one picture.
  • the first image is an image encrypted by the user in the photo album
  • the first operation is an opening operation in which the user clicks on the photo album or motorizes the first image to open the photo album or the first image.
  • the user encrypting the first image includes: responding to the user's first input of the first image, selecting an unencrypted area from the first image, and encrypting areas in the first image except the unencrypted area.
  • the user opens the album and displays the thumbnail of at least one image in the album.
  • the user clicks on the image that needs to be encrypted in the album to open the image that needs to be encrypted.
  • the lock button at the target position on the display screen (such as the upper right corner of the display screen)
  • two modes are displayed, namely "Global mode” and "directional mode".
  • the user selects the global mode.
  • the global mode he can use his finger to frame any area in the image as a display area (unencrypted area). The user uses his finger to select the global mode. Drag a rectangle in the image as the display area.
  • a logo 501 can be displayed in the display area.
  • the logo 501 is an "eye" logo. It means that the area selected by the frame is an unencrypted visible area. It can be understood that the area selected by the user in the image can also be used as an encrypted area.
  • the embodiments of the present application are not limited here, and the area in the image
  • the shape of the frame selection area is not limited to a square, it can also be circular, irregular, etc.
  • the first input may be that the user can drag a predefined selection frame (such as a rectangular frame, a circular frame, etc.) in the first image.
  • the area covered by the selection frame in the first image is the unencrypted area.
  • Select The area not covered by the frame in the first image is the encrypted area, and the size of the selection frame can be adjusted by the user scaling the selection frame.
  • the first input may also be various shapes drawn by the user in the first image.
  • the area covered by the shape drawn by the user's finger in the first image is the unencrypted area.
  • the shape drawn by the user's finger is not covered in the first image.
  • the area is the encrypted area.
  • the image area except the unencrypted area presents the first display style.
  • the first display style is inconsistent with the display style of the unencrypted area, thus clearly providing instructions to the user. Which areas of the image are encrypted and cannot be displayed, and which areas are unencrypted and displayable.
  • the display style of the unencrypted area can be the original display style of the image.
  • the first display style can be gray display, shadow display, etc. Click to confirm. After that, return to the album interface and complete the selection of the unencrypted area.
  • the area in the first image except the unencrypted area is encrypted, that is, an encryption password is set for the area in the first image except the unencrypted area.
  • the encryption password can be a fingerprint password, a face password, a digital password, etc.
  • the encrypted area is in It will be hidden in the album, that is, in the album, the content in the thumbnails and large images has also changed accordingly.
  • the content in the thumbnails and large images displayed in the album only contains the unencrypted area, that is, only the first image is displayed. unencrypted areas.
  • step S103 in response to the first operation, an image in an unencrypted area corresponding to the user's identity is displayed, and the unencrypted area is at least a partial area in the first image.
  • any user after completing the selection and setting of the unencrypted area of the first image, any user opens the photo album or the first image and determines the unencrypted area of the first image.
  • a thumbnail of the first image 701 will be displayed in the album interface, and only the image of the unencrypted area will be displayed.
  • the encrypted area in the first image 701 images will be hidden.
  • the opened image only displays the image of the unencrypted area.
  • the user when the user selects an area in the first image, he or she can select a part of the first image or the entire area of the first image. When the user selects the entire area of the first image as unencrypted area, the first image will be completely displayed to the user.
  • images in the unencrypted area can be displayed, while pictures in the encrypted area will not be displayed. That is to say, the partial presentation of the first image in the album protects the user's privacy. , will also ensure that the owner will not forget the encrypted images, reduce the limitations of displaying encrypted images in the album, and improve the user experience.
  • displaying the image in the unencrypted area corresponding to the user's identity includes: displaying the image in the unencrypted area; verifying the user's identity, and displaying the first image after the user's identity verification is passed .
  • passing the user's identity verification means that the user's identity is the machine owner, and the first image is completely displayed only when the user's identity is the machine owner.
  • the identity can be verified. Only after the verification is passed, the complete first image is allowed to be viewed.
  • the opportunity for identity verification can be when the user opens the album, or when the user opens the thumbnail, the identity verification can be performed again.
  • the user can long press the unencrypted area, and the encrypted area of the first image will be unlocked. As shown in Figure 10, the user can long press the unencrypted area, and the "People" pop-up will appear.
  • the user can choose any one of the unlocking methods to unlock the first image. If the user's identity verification passes, the full version of the first image will automatically open, as shown in Figure 11, showing the complete The first image. In this way, when the user needs to view the complete first image, identity authentication is required. After the identity authentication is passed, the first image can be completely displayed. This can not only protect privacy, but also allow the host to Directly operate the unencrypted area of the first image to decrypt the entire first image without searching for hidden pictures from other folders. This is not only simple to operate, but also ensures the security of the encrypted area of the first image.
  • the method further includes: displaying a first control indicating continued encryption of the encrypted area, and a second control indicating to cancel the encryption of the encrypted area; in the case of receiving the user's second operation on the first control, controlling the encrypted area to continue to be in the encrypted state, in the case of receiving the user's third operation on the second control. Click to cancel the encryption of the encrypted area.
  • the first image will continue to be encrypted and only the unencrypted area will be displayed.
  • the user can freely choose whether to continue to encrypt the first image, thereby providing the user with more selectivity, which is not only simple to operate, but also reduces the limitations of the encrypted display of the first image in the album. , which improves the user experience.
  • the user's identity is recognized certificate
  • the thumbnails and large images in the album will completely display the first image, that is, the unencrypted area corresponding to the user's identity is the entire area of the first image, and will be displayed in the first image
  • Two controls are displayed at the bottom of .
  • FIG 14 shows a schematic flowchart of an image display method provided by an embodiment of the present application.
  • This method can be executed by an electronic device, such as a terminal device. That is to say, the above image display method can be performed by hardware installed on the terminal device. or software to execute.
  • the method includes the following steps:
  • step S1401 a user's first operation on a photo album or a first image is received, and the photo album includes the first image.
  • step S1402 receive the user's third operation on the target control in the setting page, determine the second user in response to the third operation, and select the second user from the first image in response to the user's third input on the first image.
  • area the second area corresponds to the identity of the second user; or, in response to the user's second operation on the second image in the album, determining the first user from the second image; in response to the user's second operation on the first image.
  • Input select a first region from the first image, where the first region corresponds to the identity of the first user.
  • different unencrypted areas in the first image can be preset for different users.
  • the user opens the album, and a thumbnail of at least one image in the album is displayed on the album homepage.
  • the user clicks on the album Image that needs to be encrypted, open the image that needs to be encrypted.
  • the lock button at the target position on the display screen (such as the upper right corner of the display screen)
  • two modes are displayed, namely "Global mode” and "directional mode”.
  • the user After the user clicks the "Default" control, the user then selects the unencrypted area in the first image displayed to the default user, as shown in Figure 4. You can use your finger to select any area in the image as a display area (unencrypted area). Encrypted area), as shown in Figure 5, the user uses his finger to drag a rectangle in the image as a display area, and a logo 501 can be displayed in the display area.
  • the logo 501 is the logo of an eye, indicating that the frame is selected. This part of the area is an unencrypted visible area. It can be understood that the area selected by the user in the image can also be used as an encrypted area.
  • the embodiments of the present application are not limited here, and the area selected in the image is
  • the shape is not limited to a square shape, and it may also be a circular shape, an irregular shape, etc.
  • click OK to complete the setting of the second area for the default user display.
  • the "Default" control can present different colors to identify the setting and completion of the default user. For example, the default user displays white before setting, and the default user displays white after setting. Then it shows blue.
  • the third input may be that the user can drag a predefined selection frame (such as a rectangular frame, a circular frame, etc.) in the first image.
  • the area covered by the selection frame in the first image is the unencrypted area.
  • Select The area not covered by the frame in the first image is the encrypted area.
  • the third input can also be various shapes drawn by the user in the first image.
  • the area covered by the shapes drawn by the user's fingers in the first image is the unencrypted area.
  • Encrypted area the area not covered by the shape drawn by the user's finger in the first image is the encrypted area.
  • setting different unencrypted areas for different users specifically includes: in response to the user's second operation on the second image in the album, determining the first user from the second image; in response to the user's second input on the first image. , select the first area from the first image, the first area and the identity of the first user Corresponding.
  • the characters appearing in the album can be summarized and displayed, thereby setting the first area for specific characters, as shown in Figure 18.
  • An unencrypted area displayed by a user is shown in Figure 20.
  • the user uses your finger to drag a square area in the image as a display area.
  • a logo 2001 can be displayed in the display area. For example, if the logo 2001 is an eye logo, it means that the area selected by the frame is an unencrypted visible area.
  • the area selected by the user in the image can also be used as an encrypted area.
  • the embodiments of the present application are not limited here, and the shape of the selected area in the image is not limited to square, and it can also be circular. and irregular shapes, etc.
  • remove your finger, and the image area except the unencrypted area will show the first display style.
  • the first display style is inconsistent with the display style of the unencrypted area, thus clearly indicating to the user the Which areas of the image are encrypted and cannot be displayed, and which areas are unencrypted and displayable.
  • the display style of the unencrypted area can be the original display style of the image.
  • the second input may be that the user can drag a predefined selection frame (such as a rectangular frame, a circular frame, etc.) in the first image.
  • the area covered by the selection frame in the first image is the unencrypted area.
  • Select The area not covered by the frame in the first image is the encrypted area.
  • the second input can also be various shapes drawn by the user in the first image.
  • the area covered by the shape drawn by the user's finger in the first image is It is an unencrypted area, and the area not covered by the shape drawn by the user's finger in the first image is the encrypted area.
  • the first area can be set for a specific person after the user performs the setting operation of the target control on the setting page.
  • the embodiments of the present application are not limited here.
  • the user's identity is authenticated when the user opens the album, and the thumbnail and large image of the first image in the album are displayed to different users.
  • the content displayed in the first area and the second area may be different for different types of users.
  • step S1403 if the user's identity is the first user, the image in the first area is displayed; or, if the user's identity is the second user, the image in the second area is displayed.
  • the user's identity is authenticated.
  • the owner always has the permission to view the entire picture. If the above settings do not set the target control in the settings page, only specific people Settings, if the user identity is the owner, the content displayed in the album thumbnail and the enlarged view of the first image is as shown in Figure 22. If the user identity is a specific person, as shown in Figure 23, the content displayed in the album thumbnail is as shown in Figure 22. Specific persons in the thumbnail and in the enlarged view of the first image can see the unencrypted area of the first image set for them. If the above settings not only set the target control in the settings page, but also set the specific person, as shown in Figure 22, the owner can see the first image in the album thumbnail and the enlarged view of the first image.
  • the image in the second area is displayed.
  • the user's identity is authenticated. If the user's identity If the user is the originally set second user, then only the image in the originally set second area is displayed in the thumbnail or when the user opens the first image. Or, when the user opens the photo album, the user's identity is authenticated. If the user's identity is the originally set second user, the image in the originally set second area is displayed in the thumbnail, and when the user clicks the first When the first image is opened as a thumbnail of the image, the user's identity can be authenticated again. If the user's identity is the originally set second user, the large image of the image in the originally set second area is displayed. .
  • the user's identity is the first user
  • the image in the first area is displayed.
  • the user's identity is authenticated. If the user's identity is the originally set first user, only the originally set first area is displayed in the thumbnail or when the user opens the first image. images in . Or, when the user opens the photo album, the user's identity is authenticated. If the user's identity is the originally set first user, the image in the originally set first area is displayed in the thumbnail, and when the user clicks the first When the first image is opened as a thumbnail of the image, the user's identity can be authenticated again. If the user's identity is the originally set first user, then the large image of the image in the originally set second area is displayed. , high authentication security.
  • images in the unencrypted area can be displayed, while pictures in the encrypted area will not be displayed. That is to say, the partial presentation of the first image in the album protects the user's privacy. , will also ensure that the owner will not forget the encrypted images, reduce the limitations of displaying encrypted images in the album, and improve the user experience.
  • different unencrypted areas in the first image can be set as visible areas for different users. The methods are diverse and the operation is simple. This not only protects the user's privacy, but also can differentiate the unencrypted areas for different users. Setting The methods of unencrypted areas are more diversified, improving the user experience.
  • the unencrypted area includes a second area, and before displaying the image in the unencrypted area corresponding to the identity of the user in response to the first operation, the method further includes: receiving a sixth operation of the user on the target list.
  • receive a sixth operation of the user on the target list To determine the third user, in response to the user's fourth input to the first image, select a third area from the first image, where the third area corresponds to the identity of the third user. In the case where the user's identity is the third user, the image in the third area is displayed.
  • the target list can be the names of different users pre-configured by the user. If the user selects the name of a user in the list, the user is set as the third user. For the third user, the first user selects the first name.
  • the unencrypted area in the image displayed to the third user is shown in Figure 20. You can use your finger to select any area in the image as a display area (unencrypted area), and the user uses your finger to drag a square in the image.
  • the area is used as a display area, and a logo 2001 can be displayed in the display area. For example, if the logo 2001 is an eye logo, it means that the selected area is an unencrypted visible area, and the visible area is the third area. .
  • the fourth input may be that the user can drag a predefined selection frame (such as a rectangular frame, a circular frame, etc.) in the first image.
  • the area covered by the selection frame in the first image is the unencrypted area.
  • the uncovered area in the first image is the encrypted area.
  • the fourth input can also be various shapes drawn by the user in the first image.
  • the area covered by the shapes drawn by the user's fingers in the first image is the unencrypted area.
  • the area not covered by the shape drawn by the user's finger in the first image is the encrypted area.
  • the image in the third area is displayed.
  • the user's identity is authenticated. If the user's identity is the originally set third user, only the originally set third area is displayed in the thumbnail or when the user opens the first image. images in . Or, when the user opens the photo album, the user's identity is authenticated. If the user's identity is the originally set third user, the image in the originally set third area is displayed in the thumbnail, and when the user clicks the first When the first image is opened as a thumbnail of the image, the user's identity can be authenticated again. If the user's identity is the originally set third user, then the large image of the image in the originally set third area is displayed. .
  • the content displayed in the first area, the second area and the third area may be different.
  • the execution subject may be an image display device, or a control module in the image display device for executing the image display method.
  • an image display device performing an image display method is used as an example to describe the image display device provided by the embodiment of the present application.
  • FIG 25 shows a schematic structural diagram of an image display device provided by an embodiment of the present application.
  • the device 2500 includes: a receiving module 2501, configured to receive a user's first operation on a photo album or a first image, where the photo album includes the first image;
  • the display module 2502 is configured to, in response to the first operation, display the image in the unencrypted area corresponding to the user's identity, where the unencrypted area is at least part of the first image.
  • the image display device 2500 further includes: a selection module, configured to select an unencrypted area from the first image in response to the user's first input of the first image, and remove the unencrypted area from the first image.
  • the area outside the encrypted area is encrypted.
  • the selection module is also configured to determine the first user from the second image in response to the user's second operation on the second image in the album; in response to the user's second input to the first image , select the first area from the first image, and the first area corresponds to the identity of the first user; the display module 2502 is also used to display the image in the first area when the user's identity is the first user.
  • the selection module is also configured to receive the user's third operation on the target control in the settings page; in response to the third operation, determine the second user; in response to the user's third operation on the first image. Input, select a second area from the first image, and the second area corresponds to the identity of the second user; the display module 2502 is also used to display the image in the second area when the user's identity is the second user. .
  • the display module 2502 is also used to display the image in the unencrypted area; verify the user's identity, and display the first image after the user's identity verification passes.
  • the display module 2502 is also used to display a first control indicating continued encryption of the encrypted area, and a second control indicating decryption of the encrypted area; after receiving the user's third control of the first control, In the case of four operations, the control encryption area continues to be in an encrypted state. When the user's fifth operation on the second control is received, the encryption of the encryption area is cancelled.
  • the image display device 2500 provided by the embodiment of the present application can execute each method in the previous method embodiment and realize the functions and beneficial effects of each method in the previous method embodiment, which will not be described again here.
  • the image display device in the embodiment of the present application may be a device, or may be a component, integrated circuit, or chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computers (personal computers, PC), televisions (television, TV), teller machines or self-service machines, etc., this application The examples are not specifically limited.
  • the image display device in the embodiment of the present application may be a device with an operating system.
  • the operating system can be an Android operating system, an Apple operating system (iPhone Operating System, ios), or other possible operating systems, which are not specifically limited in the embodiments of this application.
  • the image display device provided by the embodiments of the present application can implement each process implemented by the above method embodiments. To avoid duplication, details will not be described here.
  • this embodiment of the present application also provides an electronic device 2600, including Processor 2601, memory 2602, programs or instructions stored in the memory 2602 and executable on the processor 2601.
  • Processor 2601 the programs or instructions stored in the memory 2602 and executable on the processor 2601.
  • the programs or instructions are executed by the processor 2601, each process of the above image display method embodiment is implemented, and the same can be achieved. The technical effects will not be repeated here to avoid repetition.
  • Figure 27 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 2700 includes but is not limited to: radio frequency unit 2701, network module 2702, audio output unit 2703, input unit 2704, sensor 2705, display unit 2706, user input unit 2707, interface unit 2708, memory 2709, processor 2710, etc. part.
  • the electronic device 2700 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 2710 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions.
  • the structure of the electronic device shown in Figure 27 does not constitute a limitation of the electronic device.
  • the electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .
  • the user input unit 2707 is used to receive the user's first operation on the photo album or the first image.
  • the photo album includes the first image.
  • the display unit 2706 is used to display the unencrypted area corresponding to the user's identity in response to the first operation. In the image in , the unencrypted area is at least part of the area in the first image.
  • the processor 2710 is also configured to select an unencrypted area from the first image in response to the user's first input of the first image, and encrypt areas in the first image except the unencrypted area.
  • the processor 2710 is further configured to determine the first user from the second image in response to the user's second operation on the second image in the album; and select the first user from the first image in response to the user's second input to the first image. Area, the first area corresponds to the identity of the first user.
  • the display unit 2706 is also configured to display the image in the first area when the user's identity is the first user.
  • the user input unit 2707 is used to receive the user's third operation on the target control in the settings page.
  • the processor 2710 is further configured to determine the second user in response to the third operation; and select a second area from the first image in response to the user's third input to the first image, where the second area corresponds to the identity of the second user. .
  • the display unit 2706 is also used to display the image in the second area when the user's identity is the second user.
  • the display unit 2706 is also used to display the image in the unencrypted area; verify the user's identity, and display the first image after the user's identity verification passes.
  • the display unit 2706 is also configured to display a first control indicating continued encryption of the encrypted area, and a second control indicating cancellation of encryption of the encrypted area.
  • the processor 2710 is also configured to display a second control indicating that the encrypted area has been encrypted. In this case, the control encrypted area continues to be in an encrypted state, and upon receiving the user's third operation on the second control, the encryption of the encrypted area is cancelled.
  • the radio frequency unit 2701 can be used to receive and send information or signals during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 2710; in addition, the uplink data is sent to the base station.
  • the radio frequency unit 2701 includes, but is not limited to, an antenna, at least one amplifier, transceiver, coupler, low noise amplifier, duplexer, etc.
  • the radio frequency unit 2701 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 2702, such as helping users send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 2703 may convert the audio data received by the radio frequency unit 2701 or the network module 2702 or stored in the memory 2709 into an audio signal and output it as a sound.
  • the audio output unit 2703 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 2704 may include a graphics processor (Graphics Processing Unit, GPU) 27041 and a microphone 27042.
  • the graphics processor 27041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. such as a camera) Process image data of dynamic pictures or videos.
  • the display unit 2706 may include a display panel 27061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 2707 includes a touch panel 27071 and other input devices 27072. Touch panel 27071, also known as touch screen.
  • the touch panel 27071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 27072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • Memory 2709 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 2710 can integrate an application processor and a modem processor.
  • the application processor mainly processes the operating system, user interface, application programs, etc.
  • the modem processor mainly processes wireless communications. It can be understood that the above modem processor may not be integrated into the processor 2710.
  • Electronic device 2700 also includes at least one sensor 2705, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 27061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 27061 when the electronic device 2700 moves to the ear. /or backlight.
  • the display unit 2706 is used to display information input by the user or information provided to the user (such as displaying the first icon, the second icon, the logo, and the target control).
  • the display unit 2706 may include a display panel 27061, which may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (OLED), etc.
  • LCD Liquid Crystal Display
  • OLED organic light-emitting diode
  • the user input unit 2707 may be used to receive input numeric or character information and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 2707 includes a touch panel 27071 and other input devices 27072.
  • Touch panel 27071 also called a touch screen, can collect the user's touch operations on or near it (such as the user using a finger, stylus any suitable object or accessory on or near the touch panel 27071).
  • the touch panel 27071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact point coordinates, and then sends it to the touch controller.
  • the touch panel 27071 can be implemented using various types such as resistive, capacitive, infrared and surface acoustic wave.
  • the user input unit 2707 may also include other input devices 27072.
  • other input devices 27072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • the touch panel 27071 can be covered on the display panel 27061.
  • the touch panel 27071 detects a touch operation on or near it, it is sent to the processor 2710 to determine the type of touch event. Then the processor 2710 determines the type of touch event according to the touch. The type of event provides corresponding visual output on display panel 27061.
  • the touch panel 27071 and the display panel 27061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 27071 and the display panel 27061 can be integrated. The implementation of input and output functions of electronic equipment is not limited here.
  • the interface unit 2708 is an interface for connecting external devices to the electronic device 2700 .
  • external devices may include a wired or wireless headphone port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (Input/Output, I/O) port, video I/O port, headphone port, etc.
  • Interface unit 2708 may be used to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more elements within electronic device 2700 or may be used to Data is transferred between electronic device 2700 and external devices.
  • Memory 2709 can be used to store software programs as well as various data.
  • the memory 2709 may mainly include a storage program area and a storage data area, wherein the storage program area may store the operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may store data based on Data created by the use of mobile phones (such as audio data, phone books, etc.), etc.
  • memory 2709 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
  • the processor 2710 is the control center of the electronic device, using various interfaces and lines to connect various parts of the entire electronic device, by running or executing software programs and/or modules stored in the memory 2709, and calling data stored in the memory 2709 , perform various functions of the electronic device and process data, thereby overall monitoring the electronic device.
  • the processor 2710 may include one or more processing units; preferably, the processor 2710 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor The processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 2710.
  • Embodiments of the present application also provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the program or instructions are executed by a processor, each process of the above image display method embodiment is implemented, and the same technology can be achieved. The effect will not be described here to avoid repetition.
  • Readable storage media includes computer-readable storage media, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc.
  • ROM computer read-only memory
  • RAM random access memory
  • magnetic disks or optical disks etc.
  • the embodiment of the present application also provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the above image display method.
  • Each process in the example can achieve the same technical effect. To avoid repetition, we will not repeat it here.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-a-chip.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk , CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present application.

Abstract

Disclosed in the present application are an image display method and apparatus, and an electronic device. The method comprises: receiving a first operation of a user for a photo album or a first image, wherein the photo album comprises the first image; and in response to the first operation, displaying an image in an unencrypted area that corresponds to the identity of the user, wherein the unencrypted area is an area that is at least a part of the first image.

Description

图像显示方法、装置及电子设备Image display method, device and electronic equipment
交叉引用cross reference
本发明要求在2022年03月31日提交中国专利局、申请号为202210334876.4、发明名称为“图像显示方法、装置及电子设备”的中国专利申请的优先权,该申请的全部内容通过引用结合在本发明中。This invention claims the priority of the Chinese patent application submitted to the China Patent Office on March 31, 2022, with the application number 202210334876.4 and the invention name "Image display method, device and electronic equipment". The entire content of this application is incorporated by reference. in the present invention.
技术领域Technical field
本申请属于终端设备技术领域,具体涉及一种图像显示方法、装置及电子设备。The present application belongs to the technical field of terminal equipment, and specifically relates to an image display method, device and electronic equipment.
背景技术Background technique
对于喜欢拍照的用户而言,手机和相机等电子设备里都会有很多的相片,这些相片都会收集到电子设备的相册中,供用户自身和他人浏览这些相片。For users who like to take pictures, there are many photos in electronic devices such as mobile phones and cameras. These photos will be collected in the photo album of the electronic device for the user and others to browse these photos.
在一些场景下,用户需要向他人展示自己相册中的图片,而相册中一些图片用户并不想向他人展示,在相关技术中,可以将这些图片从相册中直接进行加密,该加密的图片会直接从相册中隐藏,而这样很容易被机主遗忘,相册中加密图片显示的局限性比较大,影响用户体验感。In some scenarios, users need to show pictures in their albums to others, but users do not want to show some pictures in the album to others. In related technologies, these pictures can be directly encrypted from the album, and the encrypted pictures will be directly Hidden from the photo album, which can easily be forgotten by the owner. The display of encrypted pictures in the photo album has greater limitations, affecting the user experience.
发明内容Contents of the invention
本申请实施例的目的是提供一种图像显示方法、装置及电子设备,能够解决相册中加密图片显示的局限性较大的问题。The purpose of the embodiments of the present application is to provide an image display method, device and electronic equipment, which can solve the problem of great limitations in displaying encrypted pictures in photo albums.
第一方面,本申请实施例提供了一种图像显示方法,该方法包括:接收用户对相册或第一图像的第一操作,所述相册内包括所述第一图像;响应于 所述第一操作,显示与所述用户的身份相对应的未加密区域中的图像,所述未加密区域为所述第一图像中的至少部分区域。In a first aspect, embodiments of the present application provide an image display method, which method includes: receiving a user's first operation on a photo album or a first image, where the photo album includes the first image; in response to The first operation is to display an image in an unencrypted area corresponding to the identity of the user, where the unencrypted area is at least part of the first image.
第二方面,本申请实施例提供了一种图像显示装置,该装置包括:接收模块,用于接收用户对相册或第一图像的第一操作,所述相册内包括所述第一图像;显示模块,用于响应于所述第一操作,显示与所述用户的身份相对应的未加密区域中的图像,所述未加密区域为所述第一图像中的至少部分区域。In a second aspect, embodiments of the present application provide an image display device, which includes: a receiving module configured to receive a user's first operation on a photo album or a first image, where the photo album includes the first image; display A module configured to, in response to the first operation, display an image in an unencrypted area corresponding to the identity of the user, where the unencrypted area is at least part of the first image.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的图像显示方法的步骤。In a third aspect, embodiments of the present application provide an electronic device. The electronic device includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor. The program or instructions are When executed by the processor, the steps of the image display method as described in the first aspect are implemented.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的图像显示方法的步骤。In a fourth aspect, embodiments of the present application provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the image display method as described in the first aspect is implemented. A step of.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的图像显示方法。In a fifth aspect, embodiments of the present application provide a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the first aspect. The image display method.
在本申请实施例中,通过接收用户对相册或第一图像的第一操作,相册内包括第一图像,响应于第一操作,显示与用户的身份相对应的未加密区域中的图像,未加密区域为第一图像中的至少部分区域,能够显示未加密区域中的图像,而加密区域中的图片则不会被显示,也就是说,第一图像的部分呈现在相册中既保护了用户的隐私,也会保证机主不会忘记被加密的图像,减小了相册中加密图片显示的局限性,提高了用户体验感。 In the embodiment of the present application, by receiving the user's first operation on the album or the first image, the album includes the first image, and in response to the first operation, the image in the unencrypted area corresponding to the user's identity is displayed. The encrypted area is at least part of the first image, and can display images in the unencrypted area, while pictures in the encrypted area will not be displayed. That is to say, partial presentation of the first image in the album protects the user. It also ensures that the owner will not forget the encrypted images, reduces the limitations of displaying encrypted images in the album, and improves the user experience.
附图说明Description of drawings
图1示出本申请实施例提供的第一种图像显示方法的流程示意图;Figure 1 shows a schematic flowchart of a first image display method provided by an embodiment of the present application;
图2至图13示出本申请实施例提供的第一种图像显示方法实施例的操作界面示意图;Figures 2 to 13 show schematic diagrams of the operation interface of the first image display method embodiment provided by the embodiment of the present application;
图14示出本申请实施例提供的第二种图像显示方法的流程示意图;Figure 14 shows a schematic flowchart of the second image display method provided by the embodiment of the present application;
图15至图24示出本申请实施例提供的第二种图像显示方法实施例的操作界面示意图;Figures 15 to 24 show schematic diagrams of the operation interface of the second image display method embodiment provided by the embodiment of the present application;
图25示出本申请实施例提供的一种图像显示装置的结构示意图;Figure 25 shows a schematic structural diagram of an image display device provided by an embodiment of the present application;
图26示出本申请实施例提供的一种电子设备的结构示意图;Figure 26 shows a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图27示出本申请实施例提供的一种电子设备的硬件结构示意图。Figure 27 shows a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。 The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first,""second," etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的图像显示方法进行详细地说明。The image display method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios.
图1示出本申请实施例提供的一种图像显示方法的一种流程示意图,该方法可以由电子设备执行,例如终端设备,也就是说,上述的图像显示方法可以由安装在终端设备的硬件或软件来执行。如图1所示,该方法包括以下步骤:Figure 1 shows a schematic flowchart of an image display method provided by an embodiment of the present application. This method can be executed by an electronic device, such as a terminal device. That is to say, the above image display method can be performed by hardware installed on the terminal device. or software to execute. As shown in Figure 1, the method includes the following steps:
在步骤S101中,接收用户对相册或第一图像的第一操作,相册内包括第一图像。In step S101, a user's first operation on a photo album or a first image is received, and the photo album includes the first image.
具体来讲,终端设备可以为手机、平板以及电脑等,相册可以为手机、平板以及电脑中的相册,相册中包括至少一张图片。第一图像是相册里的用户加密的图像,第一操作为用户点击相册或电机第一图像从而打开相册或第一图像的打开操作。Specifically, the terminal device can be a mobile phone, a tablet, a computer, etc., and the photo album can be a photo album in a mobile phone, a tablet, or a computer, and the photo album includes at least one picture. The first image is an image encrypted by the user in the photo album, and the first operation is an opening operation in which the user clicks on the photo album or motorizes the first image to open the photo album or the first image.
其中,用户对第一图像进行加密具体是:响应于用户对第一图像的第一输入,从第一图像中选取未加密区域,对第一图像中除未加密区域外的区域进行加密。Specifically, the user encrypting the first image includes: responding to the user's first input of the first image, selecting an unencrypted area from the first image, and encrypting areas in the first image except the unencrypted area.
具体来讲,用户打开相册,显示相册内至少一张图像的缩略图,如图2所示的,用户点击相册中需要加密的图像,以打开需要加密的图像。如图3所示的,在需要加密的图像打开之后,针对该图像,在用户点击显示屏上目标位置(如显示屏的右上角)的锁形按键后,显示两种模式,分别为“全局模式”和“定向模式”。如图4所示,用户选择全局模式,如图5所示的,用户选择全局模式之后,可以用手指在该图像中框选任意区域作为一个显示区域(未加密区域),用户用手指在该图像中拖出一个长方形作为显示区域,在该显示区域可以显示一个标识501,如该标识501为一个“眼睛”的标识, 表示框选出来的这部分区域是不加密的可视区域,可以理解的是,用户在图像中框选出来的区域也可以作为加密的区域,本申请实施例在此并不作限定,且图像中框选区域的形状并不限于方形,其也可以为圆形以及不规则形状等。Specifically, the user opens the album and displays the thumbnail of at least one image in the album. As shown in Figure 2, the user clicks on the image that needs to be encrypted in the album to open the image that needs to be encrypted. As shown in Figure 3, after the image that needs to be encrypted is opened, for this image, after the user clicks the lock button at the target position on the display screen (such as the upper right corner of the display screen), two modes are displayed, namely "Global mode" and "directional mode". As shown in Figure 4, the user selects the global mode. As shown in Figure 5, after the user selects the global mode, he can use his finger to frame any area in the image as a display area (unencrypted area). The user uses his finger to select the global mode. Drag a rectangle in the image as the display area. A logo 501 can be displayed in the display area. For example, the logo 501 is an "eye" logo. It means that the area selected by the frame is an unencrypted visible area. It can be understood that the area selected by the user in the image can also be used as an encrypted area. The embodiments of the present application are not limited here, and the area in the image The shape of the frame selection area is not limited to a square, it can also be circular, irregular, etc.
其中,第一输入可以是用户可以拖动第一图像中预先定义好的选择框(如,矩形框、圆形框等),选择框在第一图像中覆盖的区域即为未加密区域,选择框在第一图像中未覆盖的区域即为加密区域,选择框的大小可以通过用户缩放选择框进行调整。第一输入也可以是用户在第一图像中用手绘的各种形状,用户手指绘制的形状在第一图像中覆盖的区域即为未加密区域,用户手指绘制的形状在第一图像中未覆盖的区域即为加密区域。The first input may be that the user can drag a predefined selection frame (such as a rectangular frame, a circular frame, etc.) in the first image. The area covered by the selection frame in the first image is the unencrypted area. Select The area not covered by the frame in the first image is the encrypted area, and the size of the selection frame can be adjusted by the user scaling the selection frame. The first input may also be various shapes drawn by the user in the first image. The area covered by the shape drawn by the user's finger in the first image is the unencrypted area. The shape drawn by the user's finger is not covered in the first image. The area is the encrypted area.
用户框选出未加密区域之后,如图6所示的,除未加密区域外的图像区域呈现第一显示样式,第一显示样式与未加密区域的显示样式不一致,从而能明确的为用户指示该图像的哪些区域是加密不可显示的,哪些区域是未加密可显示的,未加密区域的显示样式可以为该图像的原始显示样式,第一显示样式可以为灰色显示、阴影显示等,点击确认之后,返回到相册界面,完成未加密区域的选取。第一图像中除未加密区域外的区域进行加密,即对第一图像中除未加密区域外的区域设置加密密码,加密密码可以是指纹密码、人脸密码以及数字密码等,加密的区域在相册中会被隐藏起来,即在相册中,缩略图和大图中的内容也相应发生了变化,相册中显示的缩略图和大图中的内容仅包含未加密区域,即仅展示第一图像中未加密的区域。After the user frame selects the unencrypted area, as shown in Figure 6, the image area except the unencrypted area presents the first display style. The first display style is inconsistent with the display style of the unencrypted area, thus clearly providing instructions to the user. Which areas of the image are encrypted and cannot be displayed, and which areas are unencrypted and displayable. The display style of the unencrypted area can be the original display style of the image. The first display style can be gray display, shadow display, etc. Click to confirm. After that, return to the album interface and complete the selection of the unencrypted area. The area in the first image except the unencrypted area is encrypted, that is, an encryption password is set for the area in the first image except the unencrypted area. The encryption password can be a fingerprint password, a face password, a digital password, etc. The encrypted area is in It will be hidden in the album, that is, in the album, the content in the thumbnails and large images has also changed accordingly. The content in the thumbnails and large images displayed in the album only contains the unencrypted area, that is, only the first image is displayed. unencrypted areas.
在步骤S103中,响应于第一操作,显示与用户的身份相对应的未加密区域中的图像,未加密区域为第一图像中的至少部分区域。In step S103, in response to the first operation, an image in an unencrypted area corresponding to the user's identity is displayed, and the unencrypted area is at least a partial area in the first image.
具体来讲,在完成上述第一图像的未加密区域的选取设置之后,任意用户打开相册或第一图像,确定第一图像中未加密区域。 Specifically, after completing the selection and setting of the unencrypted area of the first image, any user opens the photo album or the first image and determines the unencrypted area of the first image.
在确定未加密区域之后,在用户打开相册后,如图7所示的,会在相册界面中显示第一图像701的缩略图,且仅显示未加密区域的图像,第一图像701中加密区域的图像则会被隐藏。如图8所示的,用户用手指点击第一图像的缩略图,打开第一图像,如图9所示的,打开的图像也仅仅显示未加密区域的图像。After determining the unencrypted area, after the user opens the album, as shown in Figure 7, a thumbnail of the first image 701 will be displayed in the album interface, and only the image of the unencrypted area will be displayed. The encrypted area in the first image 701 images will be hidden. As shown in Figure 8, the user clicks on the thumbnail of the first image with a finger to open the first image. As shown in Figure 9, the opened image only displays the image of the unencrypted area.
值得注意的是,用户在框选第一图像中的区域时,可以框选第一图像的一部分,也可以框选第一图像的全部区域,在用户框选第一图像的全部区域作为未加密区域时,第一图像则会完整的展示给用户。It is worth noting that when the user selects an area in the first image, he or she can select a part of the first image or the entire area of the first image. When the user selects the entire area of the first image as unencrypted area, the first image will be completely displayed to the user.
通过本申请实施例公开的技术方案,能够显示未加密区域中的图像,而加密区域中的图片则不会被显示,也就是说,第一图像的部分呈现在相册中既保护了用户的隐私,也会保证机主不会忘记被加密的图像,减小了相册中加密图片显示的局限性,提高了用户体验感。Through the technical solutions disclosed in the embodiments of the present application, images in the unencrypted area can be displayed, while pictures in the encrypted area will not be displayed. That is to say, the partial presentation of the first image in the album protects the user's privacy. , will also ensure that the owner will not forget the encrypted images, reduce the limitations of displaying encrypted images in the album, and improve the user experience.
在一种可能的实现方式中,显示与用户的身份相对应的未加密区域中的图像包括:显示未加密区域中的图像;验证用户的身份,在用户的身份验证通过后,显示第一图像。具体的,用户的身份验证通过指的是用户的身份为机主,在用户身份为机主时,才完整的显示第一图像。In one possible implementation, displaying the image in the unencrypted area corresponding to the user's identity includes: displaying the image in the unencrypted area; verifying the user's identity, and displaying the first image after the user's identity verification is passed . Specifically, passing the user's identity verification means that the user's identity is the machine owner, and the first image is completely displayed only when the user's identity is the machine owner.
具体来讲,对于部分用户而言,如机主,在其需要查看完整的第一图像时,需要对第一图像进行解锁,为了保证第一图像的隐私性,可以对身份进行验证,在身份验证通过的情况下,才允许查看完整的第一图像。其中,身份验证的时机可以是用户打开相册时进行身份验证,也可以在用户打开缩略图时再次进行身份验证。其中,对于用户打开缩略图时进行身份验证具体是用户可以长按未加密区域,弹出解锁第一图像的加密区域的解锁方式,如图10所示的,用户长按未加密区域,弹出“人脸解锁”、“指纹解锁”和“密码 解锁”三种方式,用户可以选择其中的任意一种解锁方式对第一图像进行解锁,如果用户的身份验证通过,第一图像的完整版图像会自动打开,如图11所示的,显示完整的第一图像。如此,在用户需要查看完整的第一图像时,需要进行身份鉴权,在身份鉴权通过后,才能完整的展示第一图像,这样既可以保护隐私,且可以由机主直接操作第一图像的未加密区域从而对整个第一图像进行解密,无需从其他文件夹中查找被隐藏的图片,不仅操作简单,也保证了第一图像的加密区域的安全性。Specifically, for some users, such as the owner, when they need to view the complete first image, they need to unlock the first image. In order to ensure the privacy of the first image, the identity can be verified. Only after the verification is passed, the complete first image is allowed to be viewed. Among them, the opportunity for identity verification can be when the user opens the album, or when the user opens the thumbnail, the identity verification can be performed again. Among them, for authentication when the user opens the thumbnail, the user can long press the unencrypted area, and the encrypted area of the first image will be unlocked. As shown in Figure 10, the user can long press the unencrypted area, and the "People" pop-up will appear. Face Unlock, Fingerprint Unlock and Password "Unlock" three methods, the user can choose any one of the unlocking methods to unlock the first image. If the user's identity verification passes, the full version of the first image will automatically open, as shown in Figure 11, showing the complete The first image. In this way, when the user needs to view the complete first image, identity authentication is required. After the identity authentication is passed, the first image can be completely displayed. This can not only protect privacy, but also allow the host to Directly operate the unencrypted area of the first image to decrypt the entire first image without searching for hidden pictures from other folders. This is not only simple to operate, but also ensures the security of the encrypted area of the first image.
在一种可能的实现方式中,如果确认了用户的身份为机主时,完整的显示第一图像,在显示第一图像之后,方法还包括:显示指示对加密区域继续加密的第一控件,和指示对加密区域取消加密的第二控件;在接收到用户对第一控件的第二操作的情况下,控制加密区域继续处于加密状态,在接收到用户对第二控件的第三操作的情况下,取消对加密区域的加密。In one possible implementation, if it is confirmed that the user's identity is the owner of the machine, the first image is completely displayed. After displaying the first image, the method further includes: displaying a first control indicating continued encryption of the encrypted area, and a second control indicating to cancel the encryption of the encrypted area; in the case of receiving the user's second operation on the first control, controlling the encrypted area to continue to be in the encrypted state, in the case of receiving the user's third operation on the second control. Click to cancel the encryption of the encrypted area.
具体来讲,如图11所示,在第一图像解锁且完整显示后,如果确认用户的身份为机主可以在第一图像的底部显示两个控件,左侧的锁形控件会继续加密第一图像的加密区域,右侧的锁形控件会取消对第一图像的加密区域的加密。如果用户点击了右侧的第二控件,如图12所示的,由显示第一图像的页面直接返回到相册首页,第一图像以后会以完整版对所有的用户展现。如果用户点击左侧的第一控件,如图13所示的,由显示第一图像的页面直接返回到相册首页,以后第一图像还是会以加密的状态继续只呈现未加密区域。如此,通过提供两个控件,可以由用户自由选择是否继续加密第一图像,从而为用户提供了更多的选择性,不仅操作简单,而且减小了相册中第一图像的加密显示的局限性,提升了用户体验感。Specifically, as shown in Figure 11, after the first image is unlocked and fully displayed, if the user's identity is confirmed to be the owner, two controls can be displayed at the bottom of the first image, and the lock control on the left will continue to encrypt the second image. In the encrypted area of an image, the lock control on the right will cancel the encryption of the encrypted area of the first image. If the user clicks on the second control on the right, as shown in Figure 12, the page that displays the first image will be directly returned to the album home page. The first image will be displayed to all users in a complete version in the future. If the user clicks on the first control on the left, as shown in Figure 13, the page that displays the first image will be returned directly to the album homepage. In the future, the first image will continue to be encrypted and only the unencrypted area will be displayed. In this way, by providing two controls, the user can freely choose whether to continue to encrypt the first image, thereby providing the user with more selectivity, which is not only simple to operate, but also reduces the limitations of the encrypted display of the first image in the album. , which improves the user experience.
在另一种可能实现的方式中,在用户打开相册时,对用户的身份进行认 证,如果用户的身份认证为机主时,相册的中的缩略图以及大图都完整显示第一图像,即与用户身份对应的未加密区域为第一图像的全部区域,并在第一图像的底部显示两个控件,左侧的锁形控件(第一控件)会继续加密第一图像的加密区域,右侧的锁形控件(第二控件)会取消对第一图像的加密区域的加密。In another possible implementation method, when the user opens the photo album, the user's identity is recognized certificate, if the user's identity is authenticated as the owner, the thumbnails and large images in the album will completely display the first image, that is, the unencrypted area corresponding to the user's identity is the entire area of the first image, and will be displayed in the first image Two controls are displayed at the bottom of .
图14示出本申请实施例提供的一种图像显示方法的一种流程示意图,该方法可以由电子设备执行,例如终端设备,也就是说,上述的图像显示方法可以由安装在终端设备的硬件或软件来执行。如图14所示,该方法包括以下步骤:Figure 14 shows a schematic flowchart of an image display method provided by an embodiment of the present application. This method can be executed by an electronic device, such as a terminal device. That is to say, the above image display method can be performed by hardware installed on the terminal device. or software to execute. As shown in Figure 14, the method includes the following steps:
在步骤S1401中,接收用户对相册或第一图像的第一操作,相册内包括第一图像。In step S1401, a user's first operation on a photo album or a first image is received, and the photo album includes the first image.
在步骤S1402中,接收用户在设置页面中对目标控件的第三操作,响应于第三操作,确定第二用户,响应于用户对第一图像的第三输入,从第一图像中选取第二区域,第二区域与第二用户的身份相对应;或者,响应于用户对相册中第二图像的第二操作,从第二图像中确定第一用户;响应于用户对第一图像的第二输入,从第一图像中选取第一区域,第一区域与第一用户的身份相对应。In step S1402, receive the user's third operation on the target control in the setting page, determine the second user in response to the third operation, and select the second user from the first image in response to the user's third input on the first image. area, the second area corresponds to the identity of the second user; or, in response to the user's second operation on the second image in the album, determining the first user from the second image; in response to the user's second operation on the first image. Input, select a first region from the first image, where the first region corresponds to the identity of the first user.
具体来讲,可以针对不同的用户预先设置第一图像中不同的未加密区域,用户打开相册,在相册首页显示相册内至少一张图像的缩略图,如图2所示的,用户点击相册中需要加密的图像,打开需要加密的图像。如图3所示的,在需要加密的图像打开之后,针对该图像,在用户点击显示屏上目标位置(如显示屏的右上角)的锁形按键后,显示两种模式,分别为“全局模式”和“定向模式”。如图15所示,当用户选择了定向模式,如图16所示的,进入定向 模式之后,会进入“用户定向定制”的设置页面,在设置页面中显示“默认”图样的目标控件,如图17所示,当用户点击“默认”控件,即是确定了除机主外的其余用户为第二用户,对该第二用户设定第一图像中的第二区域,第二用户只能看到第一图像中框选出来的第二区域中的图像。Specifically, different unencrypted areas in the first image can be preset for different users. The user opens the album, and a thumbnail of at least one image in the album is displayed on the album homepage. As shown in Figure 2, the user clicks on the album Image that needs to be encrypted, open the image that needs to be encrypted. As shown in Figure 3, after the image that needs to be encrypted is opened, for this image, after the user clicks the lock button at the target position on the display screen (such as the upper right corner of the display screen), two modes are displayed, namely "Global mode" and "directional mode". As shown in Figure 15, when the user selects the directional mode, as shown in Figure 16, enter the directional After entering the mode, the setting page of "User Targeted Customization" will be entered, and the target control of the "default" pattern will be displayed in the setting page, as shown in Figure 17. When the user clicks the "default" control, it is determined that the target control except the host is The remaining users are second users, and the second area in the first image is set for the second user. The second user can only see the image in the second area selected by the frame in the first image.
用户点击“默认”控件之后,再给默认用户框选第一图像中向默认用户展示的未加密区域,如图4所示,可以用手指在该图像中框选任意区域作为一个显示区域(未加密区域),如图5所示的,用户用手指在该图像中拖出一个长方形作为显示区域,在该显示区域可以显示一个标识501,如该标识501为一个眼睛的标识,表示框选出来的这部分区域是不加密的可视区域,可以理解的是,用户在图像中框选出来的区域也可以作为加密的区域,本申请实施例在此并不作限定,且图像中框选区域的形状并不限于方形,其也可以为圆形以及不规则形状等。默认设置完成之后,点击确定,即完成对默认用户展示第二区域的设置,“默认”控件可以呈现不同的颜色标识默认用户的设置以及完成,如默认用户在设置前显示白色,默认用户在设置后显示蓝色。After the user clicks the "Default" control, the user then selects the unencrypted area in the first image displayed to the default user, as shown in Figure 4. You can use your finger to select any area in the image as a display area (unencrypted area). Encrypted area), as shown in Figure 5, the user uses his finger to drag a rectangle in the image as a display area, and a logo 501 can be displayed in the display area. For example, the logo 501 is the logo of an eye, indicating that the frame is selected. This part of the area is an unencrypted visible area. It can be understood that the area selected by the user in the image can also be used as an encrypted area. The embodiments of the present application are not limited here, and the area selected in the image is The shape is not limited to a square shape, and it may also be a circular shape, an irregular shape, etc. After the default setting is completed, click OK to complete the setting of the second area for the default user display. The "Default" control can present different colors to identify the setting and completion of the default user. For example, the default user displays white before setting, and the default user displays white after setting. Then it shows blue.
其中,第三输入可以是用户可以拖动第一图像中预先定义好的选择框(如,矩形框、圆形框等),选择框在第一图像中覆盖的区域即为未加密区域,选择框在第一图像中未覆盖的区域即为加密区域,第三输入也可以是用户在第一图像中用手绘的各种形状,用户手指绘制的形状在第一图像中覆盖的区域即为未加密区域,用户手指绘制的形状在第一图像中未覆盖的区域即为加密区域。The third input may be that the user can drag a predefined selection frame (such as a rectangular frame, a circular frame, etc.) in the first image. The area covered by the selection frame in the first image is the unencrypted area. Select The area not covered by the frame in the first image is the encrypted area. The third input can also be various shapes drawn by the user in the first image. The area covered by the shapes drawn by the user's fingers in the first image is the unencrypted area. Encrypted area, the area not covered by the shape drawn by the user's finger in the first image is the encrypted area.
进一步,对不同的用户设置不同的未加密区域具体是:响应于用户对相册中第二图像的第二操作,从第二图像中确定第一用户;响应于用户对第一图像的第二输入,从第一图像中选取第一区域,第一区域与第一用户的身份 相对应。Further, setting different unencrypted areas for different users specifically includes: in response to the user's second operation on the second image in the album, determining the first user from the second image; in response to the user's second input on the first image. , select the first area from the first image, the first area and the identity of the first user Corresponding.
具体来讲,可以对相册内出现的人物进行归纳并展示,从而对特定人物设置第一区域,如图18所示,在“用户定向定制”页面中,用户点击“添加控件”1801,如图19所示,在展示有多个人物的第二图像中,用户点击第二图像中的至少一个用户作为第一用户,确定第一用户之后,再由第一用户框选第一图像中向第一用户展示的未加密区域,如图20所示,可以用手指在该图像中框选任意区域作为一个显示区域(未加密区域),用户用手指在该图像中拖出一个方形区域作为显示区域,在该显示区域可以显示一个标识2001,如该标识2001为一个眼睛的标识,表示框选出来的这部分区域是不加密的可视区域。Specifically, the characters appearing in the album can be summarized and displayed, thereby setting the first area for specific characters, as shown in Figure 18. In the "User Oriented Customization" page, the user clicks "Add Control" 1801, as shown in Figure 18 As shown in 19, in the second image showing multiple characters, the user clicks on at least one user in the second image as the first user. After the first user is determined, the first user selects the first user in the first image to the third user. An unencrypted area displayed by a user is shown in Figure 20. You can use your finger to select any area in the image as a display area (unencrypted area). The user uses your finger to drag a square area in the image as a display area. , a logo 2001 can be displayed in the display area. For example, if the logo 2001 is an eye logo, it means that the area selected by the frame is an unencrypted visible area.
可以理解的是,用户在图像中框选出来的区域也可以作为加密的区域,本申请实施例在此并不作限定,且图像中框选区域的形状并不限于方形,其也可以为圆形以及不规则形状等,框选完成后,移开手指,除未加密区域外的图像区域呈现第一显示样式,第一显示样式与未加密区域的显示样式不一致,从而能明确的为用户指示该图像的哪些区域是加密不可显示的,哪些区域是未加密可显示的,未加密区域的显示样式可以为该图像的原始显示样式。点击“确认”按钮之后,如图21所示,再返回到“用户定向定制”页面,“用户定向定制”页面中呈现特定用户的头像,机主还可以点击“添加按钮”继续添加用户,针对新用户设定新的可视区域。It can be understood that the area selected by the user in the image can also be used as an encrypted area. The embodiments of the present application are not limited here, and the shape of the selected area in the image is not limited to square, and it can also be circular. and irregular shapes, etc. After the frame selection is completed, remove your finger, and the image area except the unencrypted area will show the first display style. The first display style is inconsistent with the display style of the unencrypted area, thus clearly indicating to the user the Which areas of the image are encrypted and cannot be displayed, and which areas are unencrypted and displayable. The display style of the unencrypted area can be the original display style of the image. After clicking the "Confirm" button, as shown in Figure 21, return to the "User Targeting Customization" page. The "User Targeting Customization" page displays the avatar of the specific user. The owner can also click the "Add Button" to continue adding users. New users set a new viewing area.
其中,第二输入可以是用户可以拖动第一图像中预先定义好的选择框(如,矩形框、圆形框等),选择框在第一图像中覆盖的区域即为未加密区域,选择框在第一图像中未覆盖的区域即为加密区域,第二输入也可以是用户在第一图像中用手绘的各种形状,用户手指绘制的形状在第一图像中覆盖的区域即 为未加密区域,用户手指绘制的形状在第一图像中未覆盖的区域即为加密区域。The second input may be that the user can drag a predefined selection frame (such as a rectangular frame, a circular frame, etc.) in the first image. The area covered by the selection frame in the first image is the unencrypted area. Select The area not covered by the frame in the first image is the encrypted area. The second input can also be various shapes drawn by the user in the first image. The area covered by the shape drawn by the user's finger in the first image is It is an unencrypted area, and the area not covered by the shape drawn by the user's finger in the first image is the encrypted area.
值得注意的是,可以在进行用户在设置页面中对目标控件的设置操作之后,再继续对特定人物设置第一区域,本申请实施例在此并不作限制。It is worth noting that the first area can be set for a specific person after the user performs the setting operation of the target control on the setting page. The embodiments of the present application are not limited here.
具体来讲,在进行上述设置之后,在用户打开相册时对用户的身份进行鉴权,对不同用户展示相册中第一图像的缩略图和大图。Specifically, after the above settings are made, the user's identity is authenticated when the user opens the album, and the thumbnail and large image of the first image in the album are displayed to different users.
值得注意的是,针对不同类型的用户,第一区域和第二区域显示的内容可以不同。It is worth noting that the content displayed in the first area and the second area may be different for different types of users.
在步骤S1403中,在用户的身份为第一用户的情况下,显示第一区域中的图像;或者,在用户的身份为第二用户的情况下,显示第二区域中的图像。In step S1403, if the user's identity is the first user, the image in the first area is displayed; or, if the user's identity is the second user, the image in the second area is displayed.
具体来讲,在用户打开相册时,对用户的身份进行鉴权,其中,机主总是拥有查看全图的权限,如果上述设置未在设置页面中对目标控件进行设置操作,只进行特定人物设置,如果用户身份是机主,在相册缩略图中和第一图像的放大图中的显示内容就如图22所示的,如果用户身份是特定人物,如图23所示的,在相册缩略图中和第一图像的放大图中特定人物能够看到为其设定的第一图像的未加密区域。如果上述设置既在设置页面中对目标控件进行设置操作,又进行特定人物设置,如图22所示的,在相册缩略图中和第一图像的放大图中机主能看到第一图像的完整全图;如图23所示的在相册缩略图中和第一图像的放大图中,特定人物能够看到为其设定的第一图像的第一区域。如图24所示的,在相册缩略图中和第一图像的放大图中默认设置的用户能够看到为其设定的第一图像的第二区域。Specifically, when the user opens the album, the user's identity is authenticated. The owner always has the permission to view the entire picture. If the above settings do not set the target control in the settings page, only specific people Settings, if the user identity is the owner, the content displayed in the album thumbnail and the enlarged view of the first image is as shown in Figure 22. If the user identity is a specific person, as shown in Figure 23, the content displayed in the album thumbnail is as shown in Figure 22. Specific persons in the thumbnail and in the enlarged view of the first image can see the unencrypted area of the first image set for them. If the above settings not only set the target control in the settings page, but also set the specific person, as shown in Figure 22, the owner can see the first image in the album thumbnail and the enlarged view of the first image. Complete image; as shown in Figure 23, in the album thumbnail and the enlarged image of the first image, the specific person can see the first area of the first image set for him. As shown in FIG. 24 , users who are set by default in the album thumbnail and the enlarged view of the first image can see the second area of the first image set for them.
更为具体的,在用户的身份为第二用户的情况下,显示第二区域中的图像。具体的,在用户打开相册时,对用户的身份进行鉴权,如果用户的身份 为原先设定的第二用户,则在缩略图中或用户打开第一图像时仅显示原先设定的第二区域中的图像。或者,在用户打开相册时,对用户的身份进行鉴权,如果用户的身份为原先设定的第二用户,则在缩略图显示原先设定的第二区域中的图像,在用户点击第一图像的缩略图以打开第一图像时,可以对用户的身份再次进行鉴权,如果用户的身份为原先设定的第二用户,则在显示原先设定的第二区域中的图像的大图。More specifically, when the user's identity is the second user, the image in the second area is displayed. Specifically, when the user opens the photo album, the user's identity is authenticated. If the user's identity If the user is the originally set second user, then only the image in the originally set second area is displayed in the thumbnail or when the user opens the first image. Or, when the user opens the photo album, the user's identity is authenticated. If the user's identity is the originally set second user, the image in the originally set second area is displayed in the thumbnail, and when the user clicks the first When the first image is opened as a thumbnail of the image, the user's identity can be authenticated again. If the user's identity is the originally set second user, the large image of the image in the originally set second area is displayed. .
更为具体的,在用户的身份为第一用户的情况下,显示第一区域中的图像。具体的,在用户打开相册时,对用户的身份进行鉴权,如果用户的身份为原先设定的第一用户,则在缩略图或用户打开第一图像时仅显示原先设定的第一区域中的图像。或者,在用户打开相册时,对用户的身份进行鉴权,如果用户的身份为原先设定的第一用户,则在缩略图显示原先设定的第一区域中的图像,在用户点击第一图像的缩略图以打开第一图像时,可以对用户的身份再次进行鉴权,如果用户的身份为原先设定的第一用户,则在显示原先设定的第二区域中的图像的大图,身份验证的安全性高。More specifically, when the user's identity is the first user, the image in the first area is displayed. Specifically, when the user opens the photo album, the user's identity is authenticated. If the user's identity is the originally set first user, only the originally set first area is displayed in the thumbnail or when the user opens the first image. images in . Or, when the user opens the photo album, the user's identity is authenticated. If the user's identity is the originally set first user, the image in the originally set first area is displayed in the thumbnail, and when the user clicks the first When the first image is opened as a thumbnail of the image, the user's identity can be authenticated again. If the user's identity is the originally set first user, then the large image of the image in the originally set second area is displayed. , high authentication security.
通过本申请实施例公开的技术方案,能够显示未加密区域中的图像,而加密区域中的图片则不会被显示,也就是说,第一图像的部分呈现在相册中既保护了用户的隐私,也会保证机主不会忘记被加密的图像,减小了相册中加密图片显示的局限性,提高了用户体验感。此外,针对不同的用户可以设定第一图像中不同的未加密区域作为可视区域,方式多样且操作简单,既保护了用户的隐私,又可以针对不同用户进行区别化设置未加密区域,设置未加密区域的方式更加多元化,提升了用户体验感。Through the technical solutions disclosed in the embodiments of the present application, images in the unencrypted area can be displayed, while pictures in the encrypted area will not be displayed. That is to say, the partial presentation of the first image in the album protects the user's privacy. , will also ensure that the owner will not forget the encrypted images, reduce the limitations of displaying encrypted images in the album, and improve the user experience. In addition, different unencrypted areas in the first image can be set as visible areas for different users. The methods are diverse and the operation is simple. This not only protects the user's privacy, but also can differentiate the unencrypted areas for different users. Setting The methods of unencrypted areas are more diversified, improving the user experience.
未加密区域包括第二区域,在响应于第一操作,显示与用户的身份相对应的未加密区域中的图像之前,方法还包括:接收用户对目标名单的第六操 作,确定第三用户,响应于用户对第一图像的第四输入,从第一图像中选取第三区域,第三区域与第三用户的身份相对应。在用户的身份为第三用户的情况下,显示第三区域中的图像。The unencrypted area includes a second area, and before displaying the image in the unencrypted area corresponding to the identity of the user in response to the first operation, the method further includes: receiving a sixth operation of the user on the target list. To determine the third user, in response to the user's fourth input to the first image, select a third area from the first image, where the third area corresponds to the identity of the third user. In the case where the user's identity is the third user, the image in the third area is displayed.
具体来讲,目标名单可以为用户预先配置的不同用户的名字,用户选择名单中哪个用户的名字,则将该用户设定为第三用户,针对第三用户,由第一用户框选第一图像中向第三用户展示的未加密区域,如图20所示,可以用手指在该图像中框选任意区域作为一个显示区域(未加密区域),用户用手指在该图像中拖出一个方形区域作为显示区域,在该显示区域可以显示一个标识2001,如该标识2001为一个眼睛的标识,表示框选出来的这部分区域是不加密的可视区域,该可视区域即为第三区域。Specifically, the target list can be the names of different users pre-configured by the user. If the user selects the name of a user in the list, the user is set as the third user. For the third user, the first user selects the first name. The unencrypted area in the image displayed to the third user is shown in Figure 20. You can use your finger to select any area in the image as a display area (unencrypted area), and the user uses your finger to drag a square in the image. The area is used as a display area, and a logo 2001 can be displayed in the display area. For example, if the logo 2001 is an eye logo, it means that the selected area is an unencrypted visible area, and the visible area is the third area. .
第四输入可以是用户可以拖动第一图像中预先定义好的选择框(如,矩形框、圆形框等),选择框在第一图像中覆盖的区域即为未加密区域,选择框在第一图像中未覆盖的区域即为加密区域,第四输入也可以是用户在第一图像中用手绘的各种形状,用户手指绘制的形状在第一图像中覆盖的区域即为未加密区域,用户手指绘制的形状在第一图像中未覆盖的区域即为加密区域。The fourth input may be that the user can drag a predefined selection frame (such as a rectangular frame, a circular frame, etc.) in the first image. The area covered by the selection frame in the first image is the unencrypted area. The uncovered area in the first image is the encrypted area. The fourth input can also be various shapes drawn by the user in the first image. The area covered by the shapes drawn by the user's fingers in the first image is the unencrypted area. , the area not covered by the shape drawn by the user's finger in the first image is the encrypted area.
在用户的身份为第三用户的情况下,显示第三区域中的图像。具体的,在用户打开相册时,对用户的身份进行鉴权,如果用户的身份为原先设定的第三用户,则在缩略图或用户打开第一图像时仅显示原先设定的第三区域中的图像。或者,在用户打开相册时,对用户的身份进行鉴权,如果用户的身份为原先设定的第三用户,则在缩略图显示原先设定的第三区域中的图像,在用户点击第一图像的缩略图以打开第一图像时,可以对用户的身份再次进行鉴权,如果用户的身份为原先设定的第三用户,则在显示原先设定的第三区域中的图像的大图。 In the case where the user's identity is the third user, the image in the third area is displayed. Specifically, when the user opens the photo album, the user's identity is authenticated. If the user's identity is the originally set third user, only the originally set third area is displayed in the thumbnail or when the user opens the first image. images in . Or, when the user opens the photo album, the user's identity is authenticated. If the user's identity is the originally set third user, the image in the originally set third area is displayed in the thumbnail, and when the user clicks the first When the first image is opened as a thumbnail of the image, the user's identity can be authenticated again. If the user's identity is the originally set third user, then the large image of the image in the originally set third area is displayed. .
值得注意的是,针对不同类型的用户,第一区域、第二区域以及第三区域显示的内容可以不同。It is worth noting that for different types of users, the content displayed in the first area, the second area and the third area may be different.
需要说明的是,本申请实施例提供的图像显示方法,执行主体可以为图像显示装置,或者该图像显示装置中的用于执行处理图像显示方法的控制模块。本申请实施例中以图像显示装置执行图像显示方法为例,说明本申请实施例提供的图像显示装置。It should be noted that, for the image display method provided by the embodiments of the present application, the execution subject may be an image display device, or a control module in the image display device for executing the image display method. In the embodiment of the present application, an image display device performing an image display method is used as an example to describe the image display device provided by the embodiment of the present application.
图25示出本申请实施例提供的一种图像显示装置的结构示意图,该装置2500包括:接收模块2501,用于接收用户对相册或第一图像的第一操作,相册内包括第一图像;显示模块2502,用于响应于第一操作,显示与用户的身份相对应的未加密区域中的图像,未加密区域为第一图像中的至少部分区域。Figure 25 shows a schematic structural diagram of an image display device provided by an embodiment of the present application. The device 2500 includes: a receiving module 2501, configured to receive a user's first operation on a photo album or a first image, where the photo album includes the first image; The display module 2502 is configured to, in response to the first operation, display the image in the unencrypted area corresponding to the user's identity, where the unencrypted area is at least part of the first image.
在一种可能的实现方式中,图像显示装置2500还包括:选取模块,用于响应于用户对第一图像的第一输入,从第一图像中选取未加密区域,对第一图像中除未加密区域外的区域进行加密。In a possible implementation, the image display device 2500 further includes: a selection module, configured to select an unencrypted area from the first image in response to the user's first input of the first image, and remove the unencrypted area from the first image. The area outside the encrypted area is encrypted.
在一种可能的实现方式中,选取模块,还用于响应于用户对相册中第二图像的第二操作,从第二图像中确定第一用户;响应于用户对第一图像的第二输入,从第一图像中选取第一区域,第一区域与第一用户的身份相对应;显示模块2502,还用于在用户的身份为第一用户的情况下,显示第一区域中的图像。In a possible implementation, the selection module is also configured to determine the first user from the second image in response to the user's second operation on the second image in the album; in response to the user's second input to the first image , select the first area from the first image, and the first area corresponds to the identity of the first user; the display module 2502 is also used to display the image in the first area when the user's identity is the first user.
在一种可能的实现方式中,选取模块,还用于接收用户在设置页面中对目标控件的第三操作;响应于第三操作,确定第二用户;响应于用户对第一图像的第三输入,从第一图像中选取第二区域,第二区域与第二用户的身份相对应;显示模块2502,还用于在用户的身份为第二用户的情况下,显示第二区域中的图像。 In a possible implementation, the selection module is also configured to receive the user's third operation on the target control in the settings page; in response to the third operation, determine the second user; in response to the user's third operation on the first image. Input, select a second area from the first image, and the second area corresponds to the identity of the second user; the display module 2502 is also used to display the image in the second area when the user's identity is the second user. .
在一种可能的实现方式中,显示模块2502,还用于显示未加密区域中的图像;验证用户的身份,在用户的身份验证通过后,显示第一图像。In a possible implementation, the display module 2502 is also used to display the image in the unencrypted area; verify the user's identity, and display the first image after the user's identity verification passes.
在一种可能的实现方式中,显示模块2502,还用于显示指示对加密区域继续加密的第一控件,和指示对加密区域取消加密的第二控件;在接收到用户对第一控件的第四操作的情况下,控制加密区域继续处于加密状态,在接收到用户对第二控件的第五操作的情况下,取消对加密区域的加密。In a possible implementation, the display module 2502 is also used to display a first control indicating continued encryption of the encrypted area, and a second control indicating decryption of the encrypted area; after receiving the user's third control of the first control, In the case of four operations, the control encryption area continues to be in an encrypted state. When the user's fifth operation on the second control is received, the encryption of the encryption area is cancelled.
本申请实施例提供的该图像显示装置2500,可执行前文方法实施例中的各方法,并实现前文方法实施例中的各方法的功能和有益效果,在此不再赘述。The image display device 2500 provided by the embodiment of the present application can execute each method in the previous method embodiment and realize the functions and beneficial effects of each method in the previous method embodiment, which will not be described again here.
本申请实施例中的图像显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The image display device in the embodiment of the present application may be a device, or may be a component, integrated circuit, or chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computers (personal computers, PC), televisions (television, TV), teller machines or self-service machines, etc., this application The examples are not specifically limited.
本申请实施例中的图像显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为苹果操作系统(iPhone Operating System,ios),还可以为其他可能的操作系统,本申请实施例不作具体限定。The image display device in the embodiment of the present application may be a device with an operating system. The operating system can be an Android operating system, an Apple operating system (iPhone Operating System, ios), or other possible operating systems, which are not specifically limited in the embodiments of this application.
本申请实施例提供的图像显示装置能够实现以上方法实施例实现的各个过程,为避免重复,这里不再赘述。The image display device provided by the embodiments of the present application can implement each process implemented by the above method embodiments. To avoid duplication, details will not be described here.
可选地,如图26所示,本申请实施例还提供一种电子设备2600,包括 处理器2601,存储器2602,存储在存储器2602上并可在处理器2601上运行的程序或指令,该程序或指令被处理器2601执行时实现上述图像显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 26, this embodiment of the present application also provides an electronic device 2600, including Processor 2601, memory 2602, programs or instructions stored in the memory 2602 and executable on the processor 2601. When the programs or instructions are executed by the processor 2601, each process of the above image display method embodiment is implemented, and the same can be achieved. The technical effects will not be repeated here to avoid repetition.
图27为实现本申请实施例的一种电子设备的硬件结构示意图。Figure 27 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备2700包括但不限于:射频单元2701、网络模块2702、音频输出单元2703、输入单元2704、传感器2705、显示单元2706、用户输入单元2707、接口单元2708、存储器2709、以及处理器2710等部件。The electronic device 2700 includes but is not limited to: radio frequency unit 2701, network module 2702, audio output unit 2703, input unit 2704, sensor 2705, display unit 2706, user input unit 2707, interface unit 2708, memory 2709, processor 2710, etc. part.
本领域技术人员可以理解,电子设备2700还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器2710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图27中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 2700 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 2710 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions. The structure of the electronic device shown in Figure 27 does not constitute a limitation of the electronic device. The electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .
用户输入单元2707,用于接收用户对相册或第一图像的第一操作,相册内包括第一图像,显示单元2706,用于响应于第一操作,显示与用户的身份相对应的未加密区域中的图像,未加密区域为第一图像中的至少部分区域。The user input unit 2707 is used to receive the user's first operation on the photo album or the first image. The photo album includes the first image. The display unit 2706 is used to display the unencrypted area corresponding to the user's identity in response to the first operation. In the image in , the unencrypted area is at least part of the area in the first image.
处理器2710还用于响应于用户对第一图像的第一输入,从第一图像中选取未加密区域,对第一图像中除未加密区域外的区域进行加密。The processor 2710 is also configured to select an unencrypted area from the first image in response to the user's first input of the first image, and encrypt areas in the first image except the unencrypted area.
处理器2710还用于响应于用户对相册中第二图像的第二操作,从第二图像中确定第一用户;响应于用户对第一图像的第二输入,从第一图像中选取第一区域,第一区域与第一用户的身份相对应。The processor 2710 is further configured to determine the first user from the second image in response to the user's second operation on the second image in the album; and select the first user from the first image in response to the user's second input to the first image. Area, the first area corresponds to the identity of the first user.
显示单元2706,还用于在用户的身份为第一用户的情况下,显示第一区域中的图像。The display unit 2706 is also configured to display the image in the first area when the user's identity is the first user.
用户输入单元2707,用于接收用户在设置页面中对目标控件的第三操作。 The user input unit 2707 is used to receive the user's third operation on the target control in the settings page.
处理器2710还用于响应于第三操作,确定第二用户;响应于用户对第一图像的第三输入,从第一图像中选取第二区域,第二区域与第二用户的身份相对应。显示单元2706,还用于在用户的身份为第二用户的情况下,显示第二区域中的图像。The processor 2710 is further configured to determine the second user in response to the third operation; and select a second area from the first image in response to the user's third input to the first image, where the second area corresponds to the identity of the second user. . The display unit 2706 is also used to display the image in the second area when the user's identity is the second user.
显示单元2706,还用于显示未加密区域中的图像;验证用户的身份,在用户的身份验证通过后,显示第一图像。The display unit 2706 is also used to display the image in the unencrypted area; verify the user's identity, and display the first image after the user's identity verification passes.
显示单元2706,还用于显示指示对加密区域继续加密的第一控件,和指示对加密区域取消加密的第二控件,处理器2710还用于在接收到用户对第一控件的第二操作的情况下,控制加密区域继续处于加密状态,在接收到用户对第二控件的第三操作的情况下,取消对加密区域的加密。The display unit 2706 is also configured to display a first control indicating continued encryption of the encrypted area, and a second control indicating cancellation of encryption of the encrypted area. The processor 2710 is also configured to display a second control indicating that the encrypted area has been encrypted. In this case, the control encrypted area continues to be in an encrypted state, and upon receiving the user's third operation on the second control, the encryption of the encrypted area is cancelled.
其中,射频单元2701可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器2710处理;另外,将上行的数据发送给基站。通常,射频单元2701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元2701还可以通过无线通信系统与网络和其他设备通信。Among them, the radio frequency unit 2701 can be used to receive and send information or signals during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 2710; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 2701 includes, but is not limited to, an antenna, at least one amplifier, transceiver, coupler, low noise amplifier, duplexer, etc. In addition, the radio frequency unit 2701 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块2702为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 2702, such as helping users send and receive emails, browse web pages, and access streaming media.
音频输出单元2703可以将射频单元2701或网络模块2702接收的或者在存储器2709中存储的音频数据转换成音频信号并且输出为声音。音频输出单元2703包括扬声器、蜂鸣器以及受话器等。The audio output unit 2703 may convert the audio data received by the radio frequency unit 2701 or the network module 2702 or stored in the memory 2709 into an audio signal and output it as a sound. The audio output unit 2703 includes a speaker, a buzzer, a receiver, and the like.
应理解的是,本申请实施例中,输入单元2704可以包括图形处理器(Graphics Processing Unit,GPU)27041和麦克风27042,图形处理器27041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静 态图片或视频的图像数据进行处理。It should be understood that in the embodiment of the present application, the input unit 2704 may include a graphics processor (Graphics Processing Unit, GPU) 27041 and a microphone 27042. The graphics processor 27041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. such as a camera) Process image data of dynamic pictures or videos.
显示单元2706可包括显示面板27061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板27061。用户输入单元2707包括触控面板27071以及其他输入设备27072。触控面板27071,也称为触摸屏。触控面板27071可包括触摸检测装置和触摸控制器两个部分。其他输入设备27072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器2709可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器2710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器2710中。The display unit 2706 may include a display panel 27061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 2707 includes a touch panel 27071 and other input devices 27072. Touch panel 27071, also known as touch screen. The touch panel 27071 may include two parts: a touch detection device and a touch controller. Other input devices 27072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here. Memory 2709 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 2710 can integrate an application processor and a modem processor. The application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above modem processor may not be integrated into the processor 2710.
电子设备2700还包括至少一种传感器2705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板27061的亮度,接近传感器可在电子设备2700移动到耳边时,关闭显示面板27061和/或背光。Electronic device 2700 also includes at least one sensor 2705, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 27061 according to the brightness of the ambient light. The proximity sensor can close the display panel 27061 when the electronic device 2700 moves to the ear. /or backlight.
显示单元2706用于显示由用户输入的信息或提供给用户的信息(如显示第一图标、第二图标、标识以及目标控件)。显示单元2706可包括显示面板27061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板27061。The display unit 2706 is used to display information input by the user or information provided to the user (such as displaying the first icon, the second icon, the logo, and the target control). The display unit 2706 may include a display panel 27061, which may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (OLED), etc.
用户输入单元2707可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元2707包括触控面板27071以及其他输入设备27072。触控面板27071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔 等任何适合的物体或附件在触控面板27071上或在触控面板27071附近的操作)。触控面板27071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器2710,接收处理器2710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板27071。除了触控面板27071,用户输入单元2707还可以包括其他输入设备27072。具体地,其他输入设备27072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 2707 may be used to receive input numeric or character information and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 2707 includes a touch panel 27071 and other input devices 27072. Touch panel 27071, also called a touch screen, can collect the user's touch operations on or near it (such as the user using a finger, stylus any suitable object or accessory on or near the touch panel 27071). The touch panel 27071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact point coordinates, and then sends it to the touch controller. To the processor 2710, receive the command sent by the processor 2710 and execute it. In addition, the touch panel 27071 can be implemented using various types such as resistive, capacitive, infrared and surface acoustic wave. In addition to the touch panel 27071, the user input unit 2707 may also include other input devices 27072. Specifically, other input devices 27072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
进一步的,触控面板27071可覆盖在显示面板27061上,当触控面板27071检测到在其上或附近的触摸操作后,传送给处理器2710以确定触摸事件的类型,随后处理器2710根据触摸事件的类型在显示面板27061上提供相应的视觉输出。虽然在图27中,触控面板27071与显示面板27061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板27071与显示面板27061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 27071 can be covered on the display panel 27061. When the touch panel 27071 detects a touch operation on or near it, it is sent to the processor 2710 to determine the type of touch event. Then the processor 2710 determines the type of touch event according to the touch. The type of event provides corresponding visual output on display panel 27061. Although in Figure 27, the touch panel 27071 and the display panel 27061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 27071 and the display panel 27061 can be integrated. The implementation of input and output functions of electronic equipment is not limited here.
接口单元2708为外部装置与电子设备2700连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(Input/Output,I/O)端口、视频I/O端口、耳机端口等等。接口单元2708可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备2700内的一个或多个元件或者可以用于在 电子设备2700和外部装置之间传输数据。The interface unit 2708 is an interface for connecting external devices to the electronic device 2700 . For example, external devices may include a wired or wireless headphone port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (Input/Output, I/O) port, video I/O port, headphone port, etc. Interface unit 2708 may be used to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more elements within electronic device 2700 or may be used to Data is transferred between electronic device 2700 and external devices.
存储器2709可用于存储软件程序以及各种数据。存储器2709可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器2709可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 2709 can be used to store software programs as well as various data. The memory 2709 may mainly include a storage program area and a storage data area, wherein the storage program area may store the operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may store data based on Data created by the use of mobile phones (such as audio data, phone books, etc.), etc. In addition, memory 2709 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
处理器2710是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器2709内的软件程序和/或模块,以及调用存储在存储器2709内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器2710可包括一个或多个处理单元;优选的,处理器2710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器2710中。The processor 2710 is the control center of the electronic device, using various interfaces and lines to connect various parts of the entire electronic device, by running or executing software programs and/or modules stored in the memory 2709, and calling data stored in the memory 2709 , perform various functions of the electronic device and process data, thereby overall monitoring the electronic device. The processor 2710 may include one or more processing units; preferably, the processor 2710 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor The processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 2710.
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图像显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, each process of the above image display method embodiment is implemented, and the same technology can be achieved. The effect will not be described here to avoid repetition.
其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device in the above embodiment. Readable storage media includes computer-readable storage media, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc.
本申请实施例另提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述图像显示方法实施 例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the above image display method. Each process in the example can achieve the same technical effect. To avoid repetition, we will not repeat it here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的, 本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations, which are only illustrative and not restrictive. Inspired by this application, those of ordinary skill in the art can make many forms without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (17)

  1. 一种图像显示方法,所述图像显示方法包括:An image display method, the image display method includes:
    接收用户对相册或第一图像的第一操作,所述相册内包括所述第一图像;Receive the user's first operation on a photo album or a first image, where the photo album includes the first image;
    响应于所述第一操作,显示与所述用户的身份相对应的未加密区域中的图像,所述未加密区域为所述第一图像中的至少部分区域。In response to the first operation, an image in an unencrypted area corresponding to the identity of the user is displayed, and the unencrypted area is at least a partial area in the first image.
  2. 根据权利要求1所述的图像显示方法,其中,在所述响应于所述第一操作,显示与所述用户的身份相对应的未加密区域中的图像之前,所述图像显示方法还包括:The image display method according to claim 1, wherein before displaying the image in the unencrypted area corresponding to the identity of the user in response to the first operation, the image display method further includes:
    响应于用户对所述第一图像的第一输入,从所述第一图像中选取所述未加密区域,对所述第一图像中除所述未加密区域外的区域进行加密。In response to the user's first input to the first image, the unencrypted area is selected from the first image, and areas in the first image except the unencrypted area are encrypted.
  3. 根据权利要求1所述的图像显示方法,其中,所述未加密区域包括第一区域,在所述响应于所述第一操作,显示与所述用户的身份相对应的未加密区域中的图像之前,所述图像显示方法还包括:The image display method according to claim 1, wherein the unencrypted area includes a first area, and in response to the first operation, the image in the unencrypted area corresponding to the identity of the user is displayed. Previously, the image display method also included:
    响应于用户对所述相册中第二图像的第二操作,从所述第二图像中确定第一用户;In response to the user's second operation on the second image in the album, determining the first user from the second image;
    响应于用户对所述第一图像的第二输入,从所述第一图像中选取所述第一区域,所述第一区域与所述第一用户的身份相对应;In response to a second user input to the first image, selecting the first region from the first image, the first region corresponding to the identity of the first user;
    所述显示与所述用户的身份相对应的未加密区域中的图像包括:The display of the image in the unencrypted area corresponding to the identity of the user includes:
    在所述用户的身份为所述第一用户的情况下,显示所述第一区域中的图像。If the identity of the user is the first user, the image in the first area is displayed.
  4. 根据权利要求1所述的图像显示方法,其中,所述未加密区域包括第二区域,在所述响应于所述第一操作,显示与所述用户的身份相对应的未加密区域中的图像之前,所述图像显示方法还包括: The image display method according to claim 1, wherein the unencrypted area includes a second area, and in response to the first operation, the image in the unencrypted area corresponding to the identity of the user is displayed. Previously, the image display method also included:
    接收用户在设置页面中对目标控件的第三操作;Receive the user's third operation on the target control in the settings page;
    响应于所述第三操作,确定第二用户;In response to the third operation, determining a second user;
    响应于用户对所述第一图像的第三输入,从所述第一图像中选取所述第二区域,所述第二区域与所述第二用户的身份相对应;In response to a third user input to the first image, selecting the second region from the first image, the second region corresponding to the identity of the second user;
    所述显示与所述用户的身份相对应的未加密区域中的图像包括:The display of the image in the unencrypted area corresponding to the identity of the user includes:
    在所述用户的身份为所述第二用户的情况下,显示所述第二区域中的图像。If the identity of the user is the second user, the image in the second area is displayed.
  5. 根据权利要求1所述的图像显示方法,其中,所述显示与所述用户的身份相对应的未加密区域中的图像包括:The image display method according to claim 1, wherein the displaying the image in the unencrypted area corresponding to the identity of the user includes:
    显示所述未加密区域中的图像;Display the image in the unencrypted area;
    验证所述用户的身份,在所述用户的身份验证通过后,显示所述第一图像。Verify the identity of the user, and display the first image after the identity verification of the user passes.
  6. 根据权利要求5所述的图像显示方法,其中,在所述显示所述第一图像之后,所述图像显示方法还包括:The image display method according to claim 5, wherein after the display of the first image, the image display method further includes:
    显示指示对所述加密区域继续加密的第一控件,和指示对所述加密区域取消加密的第二控件;Display a first control indicating continued encryption of the encrypted area, and a second control indicating cancellation of encryption of the encrypted area;
    在接收到用户对所述第一控件的第四操作的情况下,控制所述加密区域继续处于加密状态,在接收到用户对所述第二控件的第五操作的情况下,取消对所述加密区域的加密。When the user's fourth operation on the first control is received, the encryption area is controlled to continue to be in the encryption state; when the user's fifth operation on the second control is received, the encryption area is canceled. Encryption of encrypted areas.
  7. 一种图像显示装置,所述图像显示装置包括:An image display device, the image display device includes:
    接收模块,用于接收用户对相册或第一图像的第一操作,所述相册内包括所述第一图像;A receiving module, configured to receive the user's first operation on a photo album or a first image, where the photo album includes the first image;
    显示模块,用于响应于所述第一操作,显示与所述用户的身份相对应的 未加密区域中的图像,所述未加密区域为所述第一图像中的至少部分区域。A display module configured to, in response to the first operation, display a message corresponding to the identity of the user. An image in an unencrypted area, which is at least part of the first image.
  8. 根据权利要求7所述的图像显示装置,其中,所述图像显示装置还包括:The image display device according to claim 7, wherein the image display device further includes:
    选取模块,用于响应于用户对所述第一图像的第一输入,从所述第一图像中选取所述未加密区域,对所述第一图像中除所述未加密区域外的区域进行加密。A selection module, configured to select the unencrypted area from the first image in response to the user's first input to the first image, and perform operations on areas in the first image other than the unencrypted area. encryption.
  9. 根据权利要求7所述的图像显示装置,其中,所述显示模块,还用于显示所述未加密区域中的图像,所述图像显示装置还包括:The image display device according to claim 7, wherein the display module is further used to display images in the unencrypted area, and the image display device further includes:
    验证模块,用于验证所述用户的身份,在所述用户的身份验证通过后,显示所述第一图像。A verification module, used to verify the identity of the user, and display the first image after the identity verification of the user passes.
  10. 根据权利要求7所述的图像显示装置,其中,所述未加密区域包括第一区域,所述图像显示装置还包括:The image display device according to claim 7, wherein the unencrypted area includes a first area, and the image display device further includes:
    选取模块,用于响应于用户对所述相册中第二图像的第二操作,从所述第二图像中确定第一用户;响应于用户对所述第一图像的第二输入,从所述第一图像中选取所述第一区域,所述第一区域与所述第一用户的身份相对应;a selection module, configured to determine the first user from the second image in response to the user's second operation on the second image in the album; in response to the user's second input to the first image, determine the first user from the second image in the album; Select the first area in the first image, where the first area corresponds to the identity of the first user;
    所述显示模块,用于在所述用户的身份为所述第一用户的情况下,显示所述第一区域中的图像。The display module is configured to display the image in the first area when the identity of the user is the first user.
  11. 根据权利要求7所述的图像显示装置,其中,所述未加密区域包括第二区域,所述图像显示装置还包括:The image display device according to claim 7, wherein the unencrypted area includes a second area, the image display device further comprising:
    选取模块,用于接收用户在设置页面中对目标控件的第三操作;响应于所述第三操作,确定第二用户;响应于用户对所述第一图像的第三输入,从所述第一图像中选取所述第二区域,所述第二区域与所述第二用户的身份相对应; A selection module configured to receive the user's third operation on the target control in the settings page; in response to the third operation, determine the second user; in response to the user's third input to the first image, select the target control from the third operation. Select the second area in an image, where the second area corresponds to the identity of the second user;
    所述显示模块,用于在所述用户的身份为所述第二用户的情况下,显示所述第二区域中的图像。The display module is configured to display the image in the second area when the identity of the user is the second user.
  12. 根据权利要求9所述的图像显示装置,其中,所述显示模块,还用于显示指示对所述加密区域继续加密的第一控件,和指示对所述加密区域取消加密的第二控件;在接收到用户对所述第一控件的第四操作的情况下,控制所述加密区域继续处于加密状态,在接收到用户对所述第二控件的第五操作的情况下,取消对所述加密区域的加密。The image display device according to claim 9, wherein the display module is further configured to display a first control indicating continued encryption of the encrypted area, and a second control indicating cancellation of encryption of the encrypted area; in When the user's fourth operation on the first control is received, the encryption area is controlled to continue to be in an encrypted state; when the user's fifth operation on the second control is received, the encryption is cancelled. Encryption of the area.
  13. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-6任一项所述的图像显示方法的步骤。An electronic device, including a processor, a memory and a program or instructions stored on the memory and executable on the processor. When the program or instructions are executed by the processor, the implementation of claims 1-6 is achieved. The steps of the image display method described in any one of the above.
  14. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-6任一项所述的图像显示方法的步骤。A readable storage medium on which a program or instructions are stored. When the program or instructions are executed by a processor, the steps of the image display method according to any one of claims 1 to 6 are implemented.
  15. 一种芯片,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-6任一项所述的图像显示方法的步骤。A chip including a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the steps of the image display method according to any one of claims 1 to 6. .
  16. 一种计算机程序产品,所述程序产品被存储在非瞬态存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1-6任一项所述的图像显示方法的步骤。A computer program product, the program product is stored in a non-transitory storage medium, and the program product is executed by at least one processor to implement the steps of the image display method according to any one of claims 1-6.
  17. 一种图像显示设备,包括所述设备被配置成用于执行如权利要求1-6任一项所述的图像显示方法的步骤。 An image display device, comprising the steps of the device being configured to perform the image display method according to any one of claims 1-6.
PCT/CN2023/085083 2022-03-31 2023-03-30 Image display method and apparatus, and electronic device WO2023186011A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210334876.4 2022-03-31
CN202210334876.4A CN114679518A (en) 2022-03-31 2022-03-31 Image display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2023186011A1 true WO2023186011A1 (en) 2023-10-05

Family

ID=82075711

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/085083 WO2023186011A1 (en) 2022-03-31 2023-03-30 Image display method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN114679518A (en)
WO (1) WO2023186011A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679518A (en) * 2022-03-31 2022-06-28 维沃移动通信有限公司 Image display method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130251143A1 (en) * 2010-09-30 2013-09-26 Fujitsu Limited Image encryption system and image decryption system
CN104102883A (en) * 2013-04-09 2014-10-15 中兴通讯股份有限公司 Display method and device
CN104731471A (en) * 2013-12-18 2015-06-24 Lg电子株式会社 Mobile terminal and method for controlling the same
CN107784232A (en) * 2017-10-18 2018-03-09 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN107911563A (en) * 2017-12-28 2018-04-13 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN109918882A (en) * 2019-02-01 2019-06-21 维沃移动通信有限公司 A kind of image encryption method and mobile terminal
CN114679518A (en) * 2022-03-31 2022-06-28 维沃移动通信有限公司 Image display method and device and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003330804A (en) * 2002-05-13 2003-11-21 Matsushita Electric Ind Co Ltd Image storage display device and image storage display method
US20120131471A1 (en) * 2010-11-18 2012-05-24 Nokia Corporation Methods and apparatuses for protecting privacy of content
CN106971114A (en) * 2017-03-31 2017-07-21 联想(北京)有限公司 A kind of method and device of image security
CN107133993A (en) * 2017-04-19 2017-09-05 珠海市魅族科技有限公司 A kind of image processing method and device
CN107770443A (en) * 2017-10-26 2018-03-06 努比亚技术有限公司 A kind of image processing method, mobile terminal and computer-readable recording medium
CN109886000B (en) * 2019-02-01 2024-03-01 维沃移动通信有限公司 Image encryption method and mobile terminal
CN110865745A (en) * 2019-10-28 2020-03-06 维沃移动通信有限公司 Screen capturing method and terminal equipment
CN112533072A (en) * 2020-11-25 2021-03-19 维沃移动通信有限公司 Image sending method and device and electronic equipment
CN112804445B (en) * 2020-12-30 2022-08-26 维沃移动通信有限公司 Display method and device and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130251143A1 (en) * 2010-09-30 2013-09-26 Fujitsu Limited Image encryption system and image decryption system
CN104102883A (en) * 2013-04-09 2014-10-15 中兴通讯股份有限公司 Display method and device
CN104731471A (en) * 2013-12-18 2015-06-24 Lg电子株式会社 Mobile terminal and method for controlling the same
CN107784232A (en) * 2017-10-18 2018-03-09 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN107911563A (en) * 2017-12-28 2018-04-13 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN109918882A (en) * 2019-02-01 2019-06-21 维沃移动通信有限公司 A kind of image encryption method and mobile terminal
CN114679518A (en) * 2022-03-31 2022-06-28 维沃移动通信有限公司 Image display method and device and electronic equipment

Also Published As

Publication number Publication date
CN114679518A (en) 2022-06-28

Similar Documents

Publication Publication Date Title
CN111107222B (en) Interface sharing method and electronic equipment
US8502780B1 (en) Head mount display and method for controlling the same
WO2020134813A1 (en) Operation control method and terminal
US9692868B2 (en) Mobile terminal and control method for the mobile terminal
US10395233B2 (en) Mobile terminal and method for controlling the same
WO2020011074A1 (en) Screen lock method and electronic device
CN108038393B (en) Application privacy protection method and mobile terminal
JP2017504922A (en) Notification information display method, apparatus, program, and recording medium
CN103699825A (en) Display apparatus and method for operating the same
US20180253717A1 (en) Terminal apparatus and control method for terminal apparatus
WO2020199987A1 (en) Message display method and mobile terminal
WO2019206039A1 (en) Unread message processing method and terminal
WO2020233218A1 (en) Information encryption method, information decryption method, and terminal
CN108459788B (en) Picture display method and terminal
CN108710806B (en) Terminal unlocking method and mobile terminal
WO2023186011A1 (en) Image display method and apparatus, and electronic device
WO2020173316A1 (en) Image display method, terminal, and mobile terminal
WO2019114712A1 (en) Method and apparatus for encrypting or decrypting data, and terminal device
CN108153460B (en) Icon hiding method and terminal
US20220215680A1 (en) Note information display method, note information sending method, and electronic device
WO2022161406A1 (en) Encryption method and apparatus, electronic device, and medium
CN111027107A (en) Object display control method and electronic equipment
CN109740312A (en) A kind of application control method and terminal device
WO2022247865A1 (en) Display control method and apparatus, electronic device, and medium
WO2020011071A1 (en) Locking method and unlocking method for application program, and terminal device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23778376

Country of ref document: EP

Kind code of ref document: A1