Image display method and apparatus

By displaying images in the album by year and showing high-quality images taken on the same date after the user selects them, the problem of inefficient image searching in the album is solved, enabling fast and accurate image retrieval.

CN117312595BActive Publication Date: 2026-03-10VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-13
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

With a large number of pictures in the album, users find it difficult to quickly and accurately find the pictures they need, and the existing picture display methods are inefficient.

Method used

By receiving user input, the system displays M first images in units of years. In response to the first input, it displays N second images. Each second image is an image from the M first images taken on the same date that meets preset quality conditions. After the user selects a first target image, the system displays a third image corresponding to that first shooting date.

Benefits of technology

By reducing the number of images displayed and increasing the image area, the efficiency and accuracy of users finding images are improved, enabling users to quickly find the images they need.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117312595B_ABST
    Figure CN117312595B_ABST
Patent Text Reader

Abstract

This application discloses an image display method and apparatus, belonging to the field of communication technology. The method is applied to an electronic device and includes: receiving a first input from a user to a first interface, the first interface including M first images displayed in years; responding to the first input, displaying a second interface, wherein the second interface includes N second images, each second image being one of P first images whose image quality meets preset conditions, and the P first images being images belonging to the same shooting date from the M first images; receiving a second input from the user to a first target image, wherein the first target image is any one of the N second images, and M, P, and N are all positive integers; responding to the second input, displaying a third image, the third image being an image corresponding to the first target image on the first shooting date.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technology, specifically relating to an image display method and apparatus. Background Technology

[0002] With the rapid development of electronic device technology, users are storing more and more pictures in their electronic device albums. How to find the pictures that users need in albums with a large number of pictures is a hot research topic.

[0003] Currently, the photo album displays each image as a single element. When there are many images in the album, the display size of each image is relatively small, making it difficult for users to quickly and accurately find the photos they need. If a user wants to find a specific image, they need to view each image individually, or if the user only remembers the approximate time of the image they are looking for, they need to view every image within that time period. Therefore, the current image display method in the photo album makes finding the desired image slow. Summary of the Invention

[0004] The purpose of this application is to provide an image display method and apparatus that can quickly find the desired image in a photo album.

[0005] In a first aspect, embodiments of this application provide an image display method, which is applied to an electronic device, and the method includes:

[0006] Receive the user's first input to the first interface, which includes M first images displayed in units of years;

[0007] In response to the first input, a second interface is displayed, wherein the second interface includes N second images, each of which is an image whose quality meets a preset condition from among P first images, and the P first images are images from M first images that belong to the same shooting date;

[0008] Receive a second input from the user for a first target image, wherein the first target image is any one of the N second images, and M, P and N are all positive integers;

[0009] In response to the second input, a third image is displayed, which is an image taken on the first shooting date corresponding to the first target image.

[0010] Secondly, embodiments of this application provide an image display device, which is applied to an electronic device, and the device includes:

[0011] A receiving module is used to receive the user's first input to the first interface; the first interface includes M first images displayed in units of years;

[0012] The display module is used to respond to the first input and display a second interface, wherein the second interface includes N second images, each of which is an image whose quality meets a preset condition from P first images, and the P first images are images from M first images that belong to the same shooting date;

[0013] The receiving module is further configured to receive a second input from the user for the first target image, wherein the first target image is any one of the N second images, and M, P and N are all positive integers;

[0014] The display module is further configured to display a third image in response to the second input, wherein the third image is an image taken on the first shooting date corresponding to the first target image.

[0015] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0016] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0017] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.

[0018] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.

[0019] In this embodiment, in response to a user's first input on a first interface displaying M first images in years, N second images are displayed. Since each second image is one of P first images from the same shooting date among the M first images that meets preset quality conditions, the number of second images is much smaller than the number of first images. The display area of ​​the second images is also larger than that of the first images. Therefore, it is more convenient for the user to search for the desired image among the N second images than to search directly among the M first images. Then, when the user searches for a specific image, in response to the user's second input for the first target image, a third image corresponding to the first shooting date of the first target image can be displayed. Since the displayed third image is taken on the first shooting date, the number of third images is even smaller, the display area is larger, and the display of the third images is clearer and more intuitive. In this way, the user can quickly find the image they are looking for, improving the efficiency of the user's image search. Attached Figure Description

[0020] Figure 1 This is a flowchart illustrating some embodiments of the image display method provided in this application;

[0021] Figure 2 This is a schematic diagram of the first interface provided in some embodiments of this application;

[0022] Figure 3 This is a schematic diagram of a second interface provided in some embodiments of this application;

[0023] Figure 4 These are schematic diagrams of the second and third interfaces provided in some embodiments of this application;

[0024] Figure 5 These are schematic diagrams of the second and third interfaces provided in some embodiments of this application;

[0025] Figure 6 These are schematic diagrams of the second and third interfaces provided in some embodiments of this application;

[0026] Figure 7 These are schematic diagrams of the second and third interfaces provided in some embodiments of this application;

[0027] Figure 8 This is a schematic diagram showing the third image on the first shooting day corresponding to the second interface and the first target image provided in some embodiments of this application;

[0028] Figure 9(a) is a flowchart illustrating an image display method in the case of a foldable screen in some embodiments of this application.

[0029] Figure 9(b) is a flowchart illustrating an image display method in the case of a flat screen electronic device, according to some embodiments of this application.

[0030] Figure 10 These are schematic diagrams illustrating the structure of an image processing apparatus according to some embodiments of this application;

[0031] Figure 11 These are schematic diagrams illustrating the structure of an electronic device according to some embodiments of this application;

[0032] Figure 12 These are schematic diagrams illustrating the hardware structure of an electronic device according to some embodiments of this application. Detailed Implementation

[0033] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0034] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0035] As shown in the background section, the existing way of displaying pictures in photo albums is not conducive to finding pictures. To solve the above problems, this application provides a picture display method and apparatus. In response to the user's first input on a first interface displaying M first pictures in units of years, N second pictures are displayed. Since each second picture is a picture whose quality meets preset conditions from P first pictures belonging to the same shooting date among the M first pictures, the number of second pictures is much smaller than the number of first pictures. The display area of ​​the second pictures is larger than that of the first pictures. Therefore, it is more convenient for the user to find the picture they need among the N second pictures than to search directly among the M first pictures. Then, when the user searches for a specific picture, in response to the user's second input for the first target picture, a third picture corresponding to the first shooting date of the first target picture can be displayed. Since the displayed third picture is a picture taken on the first shooting date, the number of third pictures is even smaller, the display area is larger, and the display of the third picture is clearer and more intuitive. In this way, the user can find the picture they want more quickly, improving the efficiency of the user's picture search.

[0036] The technical solution of this application embodiment can be applied to the scenario of searching for pictures in a photo album.

[0037] The image processing method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0038] Figure 1 This is a schematic flowchart illustrating an image display method provided in an embodiment of this application. This image display method can be applied to electronic devices. The electronic device can be, but is not limited to, a personal computer (PC), a smartphone, a tablet computer, or a personal digital assistant (PDA).

[0039] like Figure 1 As shown, the image display method provided in this application embodiment may include steps 110-140.

[0040] Step 110: Receive the user's first input to the first interface, wherein the first interface includes M first images displayed in units of years.

[0041] The first interface can be the interface of a regular year view in a photo album on an electronic device. The first image can be an image included in the first interface.

[0042] In one example, refer to Figure 2 , Figure 2This is a schematic diagram of the first interface, which includes 10 first images, namely Image 1, Image 2, Image 3, Image 4, Image 5, Image 6, Image 7, Image 8, Image 9, and Image 10. These 10 first images are displayed in units of year. For example, if Image 1 and Image 2 were taken by the user in 2020, then Image 1 and Image 2 will be displayed under the year category of 2020. If Image 3 and Image 4 were taken by the user in 2021, then Image 3 and Image 4 will be displayed under the year category of 2021. If Image 5, Image 6, Image 7, Image 8, Image 9, and Image 10 were taken by the user in 2022, then Image 5, Image 6, Image 7, Image 8, Image 9, and Image 10 will be displayed under the year category of 2022.

[0043] The aforementioned first input refers to input to the first interface, which is used to display the second interface. The first input can be a first operation. Exemplarily, the aforementioned first input includes, but is not limited to: touch input from the user to the first interface using a finger or stylus, or voice commands input by the user, or specific gestures input by the user, or other feasible inputs, which can be determined according to actual usage needs. This embodiment of the invention does not limit the specific gestures. Specific gestures in this application embodiment can be any one of a single-click gesture, a swipe gesture, a drag gesture, a pressure-recognition gesture, a long-press gesture, an area-change gesture, a double-press gesture, or a double-tap gesture. Click input in this application embodiment can be a single-click input, a double-tap input, or any number of clicks, and can also be a long-press input or a short-press input. For example, the aforementioned first input can be: user zoom input on the first interface.

[0044] Step 120: In response to the first input, display the second interface, wherein the second interface includes N second images, each of which is an image whose quality meets the preset conditions from among P first images, and the P first images are images from the same shooting date from among M first images.

[0045] The second interface can be a year view interface obtained in response to the first input. This second interface includes N second images, each of which is one of P first images whose image quality meets preset conditions. The P first images are images from M first images that belong to the same shooting date.

[0046] Preset conditions can be pre-defined conditions that the image quality must meet; for example, the preset condition can be the image with the best quality.

[0047] Continuing with the example above, the first interface includes images 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10. Images 1 and 2 were taken by the user in 2020, images 3 and 4 were taken in 2021, and images 5, 6, 7, 8, 9, and 10 were taken by the user in 2022.

[0048] Each second image is the highest quality image among multiple images taken on the same date as that second image. Taking the first input as a zoom input for the first interface as an example, if the user zooms in on the first interface, then the following will be displayed: Figure 3 The second interface, as shown, still displays the second image in years. For example, if both Image 1 and Image 2 were taken by the user on May 6, 2020, then the best photo from Image 1 and Image 2 will be selected as the second image. Figure 3 Under the 2020 year category, that is Figure 3 Image A in the image. If both images 3 and 4 were taken on March 7, 2021, then the best photo from images 3 and 4 will be selected as the second image and displayed. Figure 3 Under the 2021 year category, that is Figure 3 Image B in the image. If images 5 and 6 were taken by the user on August 8, 2022, images 7 and 8 were taken by the user on October 1, 2022, and images 9 and 10 were taken by the user on December 8, 2022, then the best photo from images 5 and 6 will be selected as the second image. Figure 3 Image C is selected from images 7 and 8 as the second image. Figure 3 Image D in the image is selected as the second image from images 9 and 10, choosing the best one. Figure 3 Image E in the image will display images C, D, and E together. Figure 3 The year 2022 is categorized under [the relevant category].

[0049] It should be noted that after the electronic device receives the user's first input, it can select the best-quality image from multiple images taken on the same date as the second image, and then display it on the second interface. The specific method by which the electronic device selects the best-quality image from multiple images taken on the same date is based on a pre-set filtering algorithm. This algorithm could, for example, evaluate the quality of multiple images taken on the same date, such as assessing aspects like color saturation and sharpness, and then select the best-quality image. The specific filtering algorithm is not limited in this embodiment.

[0050] Step 130: Receive the user's second input for the first target image, wherein the first target image is any one of the N second images.

[0051] The second input is an input to the first target image. This second input is used to display a third image corresponding to the first target image taken on the first shooting date. The second input can be a second operation. Exemplarily, the second input includes, but is not limited to: touch input from the user using a finger or stylus to the first target image, a voice command input by the user, a specific gesture input by the user, or other feasible inputs, which can be determined according to actual usage needs. This embodiment of the invention does not limit this. The specific gesture in this application embodiment can be any one of a single-click gesture, a swipe gesture, a drag gesture, a pressure-recognition gesture, a long-press gesture, an area-change gesture, a double-press gesture, or a double-tap gesture. The click input in this application embodiment can be a single-click input, a double-tap input, or any number of clicks, and can also be a long-press input or a short-press input. For example, the second input mentioned above can be: the user's click input on the first target image.

[0052] M, P, and N are all positive integers.

[0053] Step 140: In response to the second input, display the third image, which is the image of the first shooting date corresponding to the first target image.

[0054] The first shooting date can be the date on which the first target image was taken. The third image can be an image taken on the same shooting date as the first target image.

[0055] In some embodiments of this application, a third image that was taken on the same date as the first target image can be displayed in response to a second input to the first target image.

[0056] Continuing with the example above, taking the first target image as... Figure 3Taking image C as an example, image C is the highest quality image between images 5 and 6, for instance, image 5. Figure 4 As shown, if the user clicks on image C, all images taken on the same day as image C will be displayed, namely images 5 and 6.

[0057] In some embodiments of this application, the electronic device may be an electronic device with a foldable screen or an electronic device with a flat screen. Depending on the electronic device, the display of the third image corresponding to the first shooting date of the second interface and the first target image will be different.

[0058] When the electronic device is a foldable screen device, the third image corresponding to the first shooting date and the second interface and the first target image can be displayed in the following manner:

[0059] In some embodiments of this application, the electronic device includes a first screen and a second screen, where the first screen and the second screen can be two sub-screens of a foldable screen of the electronic device, respectively. For example... Figure 5 As shown, Figure 5 This is a schematic diagram of an electronic device with a foldable screen. The first screen can be screen 51, and the second screen can be screen 52.

[0060] When the electronic device includes a first screen and a second screen, step 120 may specifically include:

[0061] In response to the first input, a second interface is displayed on the first screen;

[0062] After step 110, the method described above may further include:

[0063] In response to the first input, a third interface is displayed on the second screen. The third interface includes images that were taken on the same date as the second target image. The second target image is any one of the N second images.

[0064] The third interface can be the interface displayed on the second screen. This third interface includes images taken on the same date as the second target image. The second target image can be any one of the N second images.

[0065] In some embodiments of this application, in response to a user’s first input, a second interface may be displayed on one screen of the foldable screen, and an image that was taken on the same date as the second target image in the second interface may be displayed on the other screen of the foldable screen.

[0066] Continue referring to the above example, such as Figure 5 As shown, taking the second target image as the first image in the second interface as an example, after the user performs the first input, the above image can be displayed on screen 51. Figure 3 The interface shown displays images taken on the same day as image A on screen 52, such as image 1 and image 2 displayed on screen 52.

[0067] In embodiments of this application, when the electronic device includes a first screen and a second screen, in response to a first input, a second interface can be displayed on the first screen, and an image belonging to the same shooting date as the second target image in the second interface can be displayed on the second screen. In this way, the second interface and the image belonging to the same shooting date as the second target image in the second interface can be displayed simultaneously on an electronic device with a foldable screen, making it convenient for users to directly view the image belonging to the same shooting date as the second target image in the second interface without switching interfaces, thus simplifying user operation.

[0068] In some embodiments of this application, after the electronic device includes a first screen and a second screen, and an image belonging to the same shooting date as the second target image in the second interface is displayed on the second screen, step 140 may specifically include:

[0069] In response to the second input, the content displayed on the second screen is switched to display the third image.

[0070] In some embodiments of this application, after the user performs a first input, the following is displayed: Figure 5 After the interface shown, if a second input from the user regarding the first target image is received, the content displayed on the second screen can be switched to display the third image in response to the second input.

[0071] Continue to refer to the above example, continue to refer to Figure 5 Taking image C as the first target image as an example, image C is the highest quality image among images 5 and 6 in the above example, such as image 5. After the user clicks on image C on screen 51, images 1 and 2 displayed on screen 52 can be switched to image C and images taken on the same date as image C, such as... Figure 6 As shown.

[0072] In embodiments of this application, in response to a second input, the content displayed on the second screen can be switched to display a third image. Thus, when the user selects a first target image, the second screen can display all images taken on the same date as the first target image, so that the user can find the desired image based on the images displayed on the second screen.

[0073] In some embodiments of this application, to further improve the efficiency of users searching for images, after step 140, the method described above may further include:

[0074] Receive third input from the user on the second screen;

[0075] In response to the third input, the content displayed on the second screen is switched to at least one image from the second shooting date.

[0076] The third input refers to input to the second screen, used to switch the displayed content of the second screen to at least one image from the second shooting date. The third input can be a third operation. Exemplarily, the third input includes, but is not limited to: touch input to the second screen by the user using a finger or stylus, voice commands input by the user, specific gestures input by the user, or other feasible inputs, which can be determined according to actual usage needs and are not limited in this embodiment. Specific gestures in this embodiment can be any one of a single-click gesture, a swipe gesture, a drag gesture, a pressure-recognition gesture, a long-press gesture, an area-change gesture, a double-press gesture, or a double-tap gesture; the click input in this embodiment can be a single-click input, a double-tap input, or any number of clicks, and can also be a long-press input or a short-press input. For example, the third input can be: user click input to the second screen.

[0077] The second shooting date can be determined based on the first shooting date and the input feature information of the third input. Here, the input feature information of the third input can be the input method of the third input, such as swiping up or swiping down.

[0078] In one example, when the input feature information of the third input is an upward swipe input on the second screen, the second shooting date is the shooting date after the first shooting date; when the input feature information of the third input is a downward swipe input on the second screen, the second shooting date is the shooting date before the first shooting date.

[0079] In some embodiments of this application, if a user does not find the desired image in the third image of the first shooting date corresponding to the first target image, but the user knows that the desired image is a shooting date adjacent to the first shooting date corresponding to the first target image, then at least one image of the second shooting date can be obtained by performing an up-swipe input or a down-swipe input on the second screen.

[0080] Continue to refer to the above example, continue to refer to Figure 6 The screen 52 displays image C and image 6, which was taken on the same date as image C. If the image the user is looking for is not displayed on the screen 52, the user can slide the screen 52 upwards to input the image. Figure 7 As shown, the images 5 and 6 displayed on screen 52 can be switched to images taken on the date following the date of image C, namely images 7 and 8.

[0081] In another embodiment of this application, if the user does not find the desired image in the third image of the first shooting date corresponding to the first target image, the user may not perform the third input on the second screen, but instead perform a click input on other images on the first screen other than the first target image. Then, all images belonging to the same shooting date as the other images clicked by the user on the first screen other than the first target image are displayed on the second screen. The user can then search for the desired image from all images belonging to the same shooting date as the other images clicked by the user on the first screen other than the first target image displayed on the second screen.

[0082] In the embodiments of this application, in response to a third input from the user on the second screen, the display content of the second screen can be switched to at least one image from the second shooting date. Thus, if the desired image is not found in the third image of the first shooting date corresponding to the first target image, the user can continue to search for the desired image by making a third input on the second screen without having to return to the first interface and start searching from the beginning, thereby improving the efficiency of image search.

[0083] In some embodiments of this application, after the user performs a third input on the second screen, in order to allow the user to intuitively view all the images on the second screen that meet the preset quality conditions, after step 130, the method described above may further include:

[0084] The first target image is displayed using the preset display style;

[0085] After receiving the user's third input on the second screen, the method described above may further include:

[0086] The first target image, which was displayed in the preset display style, will be updated to display as the third target image.

[0087] The preset display style can be a pre-set display style, such as a highlighted display or other display styles. In this embodiment, it is not limited, as long as it can distinguish the first target image from other images in the second interface.

[0088] The third target image can be an image that meets the preset conditions from the second shooting date.

[0089] In some embodiments of this application, after the user performs a second input on the first target image, the first target image can be displayed in a preset display style. Then, after the user performs a third input on the second screen, the first target image displayed in the preset display style on the first screen can be updated to an image that meets the preset conditions in the second shooting date.

[0090] Continue to refer to Figure 6Taking image C as the first target image as an example, after the first input is performed on image C, image C is highlighted on screen 51. Then, when the user swipes up on screen 52 to switch the images displayed on screen 52 to images 7 and 8, the result is as follows: Figure 7 As shown, the image C highlighted on screen 51 can be replaced with image D.

[0091] In the embodiments of this application, in response to a user's second input on a first target image, the first target image can be displayed in a preset display style. Then, in response to a user's third input on the second screen, the first target image displayed in the preset display style can be updated to a third target image. This allows the user to intuitively view all the images displayed on the second screen that meet the preset quality conditions.

[0092] In the case of electronic devices with a candybar screen, due to the screen size limitation, it is not possible to display the second interface and the third image corresponding to the first target image and the first shooting date in a split-screen manner, as with foldable screens. The display process of the second interface and the third image corresponding to the first target image and the first shooting date is as described above. Figures 2-3 The process will not be elaborated here.

[0093] In some embodiments of this application, when the user does not find the desired image in the third image corresponding to the first shooting date of the displayed first target image, the user can continue to search for the desired image by the following operation: that is, after step 140, the method involved above may further include:

[0094] Receive the user's fourth input on the interface displaying the third image corresponding to the first shooting date of the first target image;

[0095] In response to the fourth input, the third image corresponding to the first shooting date of the first target image will be switched to at least one image of the third shooting date.

[0096] The fourth input is an input to the interface displaying a third image of the first shooting date corresponding to the first target image. This fourth input is used to switch the third image of the first shooting date corresponding to the first target image to at least one image of the third shooting date. The fourth input can be a fourth operation. For example, the fourth input includes, but is not limited to: touch input from the user using a finger or stylus to the interface displaying the third image of the first shooting date corresponding to the first target image; voice commands input by the user; specific gestures input by the user; or other feasible inputs, which can be determined according to actual usage needs. This embodiment of the invention does not limit the specific gestures. Specific gestures in this embodiment can be any one of a single-click gesture, a swipe gesture, a drag gesture, a pressure-recognition gesture, a long-press gesture, an area-change gesture, a double-press gesture, or a double-click gesture. Click input in this embodiment can be a single-click input, a double-click input, or any number of clicks, and can also be a long-press input or a short-press input. For example, the fourth input can be: a click input from the user to the interface displaying the third image of the first shooting date corresponding to the first target image.

[0097] The third shooting date can be determined based on the first shooting date and the input feature information of the fourth input. Here, the input feature information of the fourth input can be the input method of the fourth input, such as swiping up or swiping down.

[0098] In one example, when the fourth input feature information is an upward swipe input on an interface displaying a third image corresponding to the first shooting date of the first target image, the third shooting date is the shooting date after the first shooting date. When the fourth input feature information is a downward swipe input on an interface displaying a third image corresponding to the first shooting date of the first target image, the third shooting date is the shooting date before the first shooting date.

[0099] In some embodiments of this application, if a user does not find the desired image in the third image corresponding to the first shooting date of the first target image, but the user knows that the desired image is a shooting date adjacent to the first shooting date of the first target image, then the user can obtain at least one image of the third shooting date by performing an up-swipe input or a down-swipe input on the interface displaying the third image corresponding to the first shooting date of the first target image.

[0100] Continue referring to the above example, such as Figure 8 As shown, taking image C as the first target image, after the user clicks on image C, images 5 and 6 can be displayed on the screen. If neither image 5 nor image 6 is the image the user is looking for, the user can... Figure 8Swipe up on the screen displaying images 5 and 6 to input the information, and you can switch the images 5 and 6 displayed on the candybar screen to images 7 and 8.

[0101] In some embodiments of this application, the user may not make a fourth input on the interface displaying the third image corresponding to the first shooting date of the first target image, but instead exit the interface displaying the third image corresponding to the first shooting date of the first target image, return to the second interface, and then reselect the first target image from the second interface to continue searching for the required image.

[0102] In embodiments of this application, when the screen of the electronic device is a candybar screen, in response to a fourth input from the user on the interface displaying a third image on the first shooting date corresponding to the first target image, the third image on the first shooting date corresponding to the first target image can be switched to at least one image on the third shooting date. Thus, if the desired image is not found in the third image on the first shooting date corresponding to the first target image, the user can continue searching for the desired image by making a fourth input on the interface displaying the third image on the first shooting date corresponding to the first target image, without having to return to the first interface and start searching from the beginning, thereby improving the efficiency of image search.

[0103] In some embodiments of this application, in order to better understand the technical solutions of the embodiments of this application, the embodiments of this application describe in detail the image display method provided by the embodiments of this application in a specific scenario. As shown in FIG9(a), when the electronic device is a foldable screen, the image display method includes steps 910-940.

[0104] Step 910: Receive the user's first input on the first interface.

[0105] Step 910 here is the same as step 110 above, and will not be repeated here.

[0106] Step 920: In response to the first input, display the second interface on the first screen, and then display the third interface on the second screen.

[0107] Step 930: In response to the user's second input on the first target image in the second interface, the first target image is displayed on the first screen in a preset display style, and a third image corresponding to the first shooting date is displayed on the second screen.

[0108] Step 940: In response to the user's third input to the second screen, switch the display content of the second screen to at least one image from the second shooting date, and update the first target image displayed in the preset display style to the third target image.

[0109] As shown in Figure 9(b), when the electronic device is a flat screen, the image display method includes steps 950-980.

[0110] Step 950: Receive the user's first input on the first interface.

[0111] Step 950 here is the same as step 110 above, and will not be repeated here.

[0112] Step 960: In response to the first input, display the second interface.

[0113] Step 970: In response to the user's second input on the first target image in the second interface, the displayed second interface is switched to the third image, which is the image of the first shooting date corresponding to the first target image.

[0114] Step 980: In response to the user's fourth input on the interface displaying the third image of the first shooting date corresponding to the first target image, the third image of the first shooting date corresponding to the first target image will be switched to at least one image of the third shooting date.

[0115] The image display method provided in this application can be executed by an image display device. This application uses an image display device executing the image display method as an example to illustrate the image display device provided in this application.

[0116] Figure 10 This is a schematic diagram illustrating the structure of an image display device according to an exemplary embodiment. The image display device is applied to an electronic device.

[0117] like Figure 10 As shown, the image display device 1000 may include:

[0118] The receiving module 1010 is used to receive the user's first input to the first interface, wherein the first interface includes M first images displayed in units of years;

[0119] Display module 1020 is used to respond to the first input and display a second interface, wherein the second interface includes N second images, each of which is an image whose quality meets a preset condition from P first images, and the P first images are images from M first images that belong to the same shooting date;

[0120] The receiving module 1010 is also used to receive a second input from the user for the first target image, wherein the first target image is any one of the N second images, and M, P and N are all positive integers;

[0121] The display module 1020 is also configured to display a third image in response to the second input, wherein the third image is an image taken on the first shooting date corresponding to the first target image.

[0122] In this embodiment, in response to a user's first input on a first interface displaying M first images in years, N second images are displayed. Since each second image is one of P first images from the same shooting date among the M first images that meets preset quality conditions, the number of second images is much smaller than the number of first images. The display area of ​​the second images is also larger than that of the first images. Therefore, it is more convenient for the user to search for the desired image among the N second images than to search directly among the M first images. Then, when the user searches for a specific image, in response to the user's second input for the first target image, a third image corresponding to the first shooting date of the first target image can be displayed. Since the displayed third image is taken on the first shooting date, the number of third images is even smaller, the display area is larger, and the display of the third images is clearer and more intuitive. In this way, the user can quickly find the image they are looking for, improving the efficiency of the user's image search.

[0123] In some embodiments of this application, the electronic device includes a first screen and a second screen, and the display module 1020 can be specifically used for:

[0124] In response to the first input, the second interface is displayed on the first screen;

[0125] The display module 1020 can also be used for:

[0126] In response to the first input, a third interface is displayed on the second screen. The third interface includes images that were taken on the same date as the second target image, and the second target image is any one of the N images of the second image.

[0127] In some embodiments of this application, the display module 1020 may also be used for:

[0128] A switching module is used to switch the display content of the second screen to display a third image in response to the second input.

[0129] In some embodiments of this application, the receiving module 1010 can also be used to receive a third input from the user to the second screen;

[0130] The display module 1020 can also be used to: switch the display content of the second screen to at least one image of the second shooting date in response to the third input, wherein the second shooting date is determined based on the input feature information of the first shooting date and the third input.

[0131] In some embodiments of this application, the display module 1020 can also be used to display the first target image in a preset display style; and update the first target image displayed in the preset display style to a third target image for display, wherein the third target image is an image that meets the preset conditions in the second shooting date.

[0132] The image display device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.

[0133] The image display device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.

[0134] The image display device provided in this application embodiment can achieve... Figure 1 The various processes implemented in the method embodiments of Figures 9(a) and 9(b) will not be described again here to avoid repetition.

[0135] Optionally, such as Figure 11 As shown, this application embodiment also provides an electronic device 1100, including a processor 1101 and a memory 1102. The memory 1102 stores a program or instructions that can run on the processor 1101. When the program or instructions are executed by the processor 1101, they implement the various steps of the above-described image processing method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0136] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0137] Figure 12 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0138] The electronic device 1200 includes, but is not limited to, components such as: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, and processor 1210.

[0139] Those skilled in the art will understand that the electronic device 1200 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1210 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 12 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0140] The user input unit 1207 is used to receive the user's first input to the first interface, wherein the first interface includes M first images displayed in units of years.

[0141] Display unit 1206 is used to display a second interface in response to the first input, wherein the second interface includes N second images, each second image is an image whose image quality meets preset conditions from P first images, and the P first images are images from M first images that belong to the same shooting date;

[0142] The user input unit 1207 is also used to receive a second input from the user for the first target image, wherein the first target image is any one of the N second images, and M, P and N are all positive integers;

[0143] The display unit 1206 is further configured to display a third image in response to the second input, wherein the third image is an image taken on the first shooting date corresponding to the first target image.

[0144] Thus, in response to the user's first input on the first interface displaying M first images in yearly units, N second images are displayed. Since each second image is a picture that meets the preset quality conditions from P first images belonging to the same shooting date among the M first images, the number of second images is much smaller than the number of first images. The display area of ​​the second images is also larger than that of the first images. Therefore, it is more convenient for the user to search for the desired image among the N second images than to search directly among the M first images. Then, in response to the user's second input for the first target image, a third image corresponding to the first shooting date of the first target image can be displayed. Since the displayed third image is taken on the first shooting date, the number of third images is even smaller, and its display area is even larger. The display of the third images is clearer and more intuitive, allowing the user to quickly find the image they are looking for, thus improving the efficiency of the user's image search.

[0145] Optionally, the electronic device includes a first screen and a second screen, and a display unit 1206, which is further configured to display the second interface on the first screen in response to the first input; and to display a third interface on the second screen in response to the first input, the third interface including images that belong to the same shooting date as the second target image, the second target image being any one of the N second images.

[0146] Thus, in the case of an electronic device including a first screen and a second screen, in response to a first input, a second interface can be displayed on the first screen, and an image with the same shooting date as the second target image in the second interface can be displayed on the second screen. This allows the second interface and the image with the same shooting date as the second target image in the second interface to be displayed simultaneously on an electronic device with a foldable screen, making it convenient for users to directly view the image with the same shooting date as the second target image in the second interface without switching interfaces, thus simplifying user operation.

[0147] Optionally, the display unit 1206 is also configured to switch the display content of the second screen to display a third image in response to the second input.

[0148] Thus, in response to the second input, the content displayed on the second screen can be switched to display the third image. When the user selects the first target image, the second screen can display all images taken on the same date as the first target image, so that the user can find the desired image based on the images displayed on the second screen.

[0149] Optionally, the user input unit 1207 is also configured to receive a third input from the user to the second screen;

[0150] The display unit 1206 is further configured to, in response to the third input, switch the display content of the second screen to at least one image of the second shooting date, wherein the second shooting date is determined based on the first shooting date and the input feature information of the third input.

[0151] In this way, by responding to the user's third input on the second screen, the content displayed on the second screen can be switched to at least one picture from the second shooting date. Thus, if the desired picture is not found in the third picture from the first shooting date corresponding to the first target picture, the user can continue to search for the desired picture by making a third input on the second screen without having to return to the first interface and start searching from the beginning, thereby improving the efficiency of picture search.

[0152] Optionally, the display unit 1206 is further configured to display the first target image in a preset display style; and update the first target image displayed in the preset display style to a third target image for display, wherein the third target image is an image that meets the preset conditions in the second shooting date.

[0153] Thus, in response to the user's second input on the first target image, the first target image can be displayed in a preset display style. Then, in response to the user's third input on the second screen, the first target image displayed in the preset display style can be updated to the third target image. This allows the user to intuitively view all the images displayed on the second screen that meet the preset quality conditions.

[0154] It should be understood that, in this embodiment, the input unit 1204 may include a graphics processing unit (GPU) 12041 and a microphone 12042. The GPU 12041 processes image data of still images or videos obtained by an image capture device (such as a color camera) in video capture mode or image capture mode. The display unit 1206 may include a display panel 12061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1207 includes a touch panel 12071 and at least one of other input devices 12072. The touch panel 12071 is also called a touch screen. The touch panel 12071 may include a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0155] The memory 1209 can be used to store software programs and various data. The memory 1209 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1209 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1209 in this embodiment includes, but is not limited to, these and any other suitable types of memory.

[0156] Processor 1210 may include one or more processing units; optionally, processor 1210 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 1210.

[0157] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described image display method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0158] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0159] This application embodiment also provides a chip, which 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 various processes of the above-described image display method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0160] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0161] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described image display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0162] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0163] 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 necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0164] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A picture display method characterized by, The method is applied to an electronic device including a first screen and a second screen, and the method includes: receiving a first input of a user on a first interface, wherein the first interface includes M first pictures displayed in units of years; in response to the first input, displaying a second interface on the first screen and displaying a third interface on the second screen, wherein the second interface includes N second pictures displayed in units of years, each of the second pictures is a picture of which the picture quality meets a preset condition in P first pictures, and the P first pictures are pictures of a same shooting date in the M first pictures, and the third interface includes pictures of a same shooting date as a second target picture, the second target picture being any one of the N second pictures; receiving a second input of the user on a first target picture, wherein the first target picture is any one of the N second pictures, the first target picture is different from the second target picture, and M, P and N are positive integers; in response to the second input, switching the display content of the second screen to display a third picture, the third picture being a picture of a first shooting date corresponding to the first target picture.

2. The method of claim 1, wherein, After the response to the second input, the method further includes: receiving a third input of the user on the second screen; in response to the third input, switching the display content of the second screen to at least one picture of a second shooting date, wherein the second shooting date is determined based on the first shooting date and input feature information of the third input.

3. The method of claim 2, wherein, After the receiving of the second input of the user on the first target picture, the method further includes: displaying the first target picture in a preset display style; After the receiving of the third input of the user on the second screen, the method further includes: updating the first target picture displayed in the preset display style to a third target picture for display, wherein the third target picture is a picture of the second shooting date that meets the preset condition.

4. A picture display device characterized by comprising: The device is applied to an electronic device including a first screen and a second screen, and the device includes: a receiving module configured to receive a first input of a user on a first interface, wherein the first interface includes M first pictures displayed in units of years; a display module configured to, in response to the first input, display a second interface on the first screen and display a third interface on the second screen, wherein the second interface includes N second pictures displayed in units of years, each of the second pictures is a picture of which the picture quality meets a preset condition in P first pictures, and the P first pictures are pictures of a same shooting date in the M first pictures, and the third interface includes pictures of a same shooting date as a second target picture, the second target picture being any one of the N second pictures. The receiving module is further configured to receive a second input of a user on a first target picture, wherein the first target picture is any one of the N second pictures, the first target picture is different from the second target picture, and M, P, and N are positive integers. The display module is further configured to switch the display content of the second screen to display a third picture in response to the second input, the third picture being a picture corresponding to a first shooting date of the first target picture.

5. The apparatus of claim 4, wherein, The receiving module is further configured to receive a third input of a user on the second screen. The display module is further configured to switch the display content of the second screen to display at least one picture of a second shooting date in response to the third input, wherein the second shooting date is determined based on the first shooting date and input feature information of the third input.

6. The apparatus of claim 5, wherein, The display module is further configured to display the first target picture in a preset display style, and update the first target picture displayed in the preset display style to a third target picture for display, wherein the third target picture is a picture that meets the preset condition in the second shooting date.

Citation Information

Patent Citations

  • Photo display method and intelligent terminal

    CN105989182A