Display method and electronic device
By displaying media content in a set format on electronic devices and showing subset information based on user actions, the problem of low recommendation efficiency is solved, and a more efficient and interactive media content recommendation experience is achieved.
Patent Information
- Application Number
- CN202411755916.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2026-05-29
AI Technical Summary
Existing electronic devices have low recommendation efficiency and poor exploration and interactivity when recommending media content such as images, resulting in poor recommendation performance.
By displaying media content in a collection format and responding to user actions to show subset information of the collection, including titles and feature tags, personalized media content recommendations are provided. Multi-level viewing and interaction are supported, and the recommendation effect is enhanced by animation effects.
It improves the efficiency and effectiveness of media content recommendation, enhances user exploration and interactivity, and provides a more intuitive and accurate recommendation experience.
Smart Images

Figure CN122111281A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic device technology, and more particularly to a display method and an electronic device. Background Technology
[0002] Currently, electronic devices (such as mobile phones and tablets) can recommend different categories of images to users as different albums (or collections). Users can click on the icon of a specific album displayed on the electronic device to trigger the display of images contained in that album, and then view the albums recommended by the electronic device. This method has low recommendation efficiency and suffers from drawbacks such as low exploratory nature and poor interactivity, resulting in poor recommendation performance. Summary of the Invention
[0003] This application provides a display method and an electronic device for improving the recommendation efficiency and effectiveness of media content such as images.
[0004] In a first aspect, embodiments of this application provide a display method applied to an electronic device, the method comprising: displaying a first interface; wherein the first interface includes icons of a first set, the first set being any one of a plurality of sets, each of the plurality of sets including at least one media content among a plurality of media contents; and displaying a second interface in response to a received first operation; wherein the second interface includes information of a first subset of the first set.
[0005] In this method, media content can be of various types, such as images, GIFs, and videos. The electronic device can display media content as a set and, in response to a received operation, display information from a subset of that set. This subset can serve as a smaller set of media content that the electronic device further recommends to the user based on the set. The information from this subset allows for a quick and easy introduction of recommended media content to the user, providing a clearer, more intuitive, and more accurate recommendation experience, thereby improving recommendation efficiency and overall user experience. Furthermore, based on the above method, recommendations can be further made in smaller sets on top of the overall set display of media content. This facilitates multi-level viewing and exploration of the content recommended by the electronic device, enhancing exploratory and interactive features, and ultimately improving the recommendation effect.
[0006] In one possible design, the information of the first subset includes summary information of the first subset and / or a title of the first subset. The summary information of the first subset includes an icon of the first subset and / or at least one feature label of the first subset; wherein each of the at least one feature label is used to indicate a feature of the media content in the first subset. Optionally, a first feature label of the at least one feature label is used to indicate a first event recorded by the media content in the first subset. Optionally, a second feature label of the at least one feature label is used to indicate a first object in the media content in the first subset.
[0007] In the method described above, the subset title provides a concise and intuitive representation of the recommended subset. The subset summary information concisely and accurately outlines some characteristics of the media content within the subset, such as the objects included and the recorded events. This allows users to quickly and accurately understand the media content within the recommended subset without having to open the subset itself. Furthermore, it helps users quickly determine their interest in the recommended subset and initiate further interaction. Compared to opening a collection to view its media content, this method significantly improves viewing efficiency. Therefore, this approach contributes to improving recommendation efficiency and effectiveness.
[0008] In one possible design, the title of the first subset is used to indicate the topic of the media content included in the first subset. Based on this method, users can quickly understand the topic of the media content recommended by their electronic devices, which helps improve the recommendation effect.
[0009] In one possible design, the second interface also includes the title of a second subset of the first set. Based on this method, electronic devices can recommend multiple subsets simultaneously using multiple titles, and can recommend subsets of different categories or topics to users using different titles, which helps to improve recommendation efficiency and effectiveness.
[0010] In one possible design, the second interface includes a title display area, in which the title of the first subset and the titles of other subsets of the first set are displayed; wherein the display formats of the title of the first subset and the titles of the other subsets are different, and / or, the title of the first subset is displayed at the center of the title display area.
[0011] Based on this method, electronic devices can highlight the title of the first subset, thereby further emphasizing the first subset among multiple recommended subsets and making it easier for users to distinguish, which helps improve the recommendation effect. Furthermore, by combining the highlighted title of the first subset with the aforementioned summary information, the recommendation of the first subset can be prioritized while other subsets are recommended as secondary, which also helps improve the recommendation effect.
[0012] In one possible design, the method further includes: in response to a received second operation, switching the summary information of the first subset displayed in the second interface to the summary information of the second subset; wherein the summary information of the second subset includes an icon of the second subset and / or at least one feature label of the second subset; wherein each feature label of the at least one feature label of the second subset is used to indicate a feature of the media content in the second subset. Optionally, a third feature label of the at least one feature label of the second subset is used to indicate a second event recorded by the media content in the second subset. A fourth feature label of the at least one feature label of the second subset is used to indicate a second object in the media content in the second subset.
[0013] In this method, electronic devices can switch between summary information of different recommended subsets based on user actions. On the one hand, this allows the device to display summary information of subsets of interest to the user, making it easier for them to understand these subsets. On the other hand, it can quickly display richer recommended content. Therefore, this method helps improve recommendation efficiency and effectiveness.
[0014] In one possible design, the method further includes: in response to the second operation, switching the display format of the title of the second subset to be different from the display format of the titles of other subsets of the first set displayed in the second interface, and / or displaying the title of the second subset at the center of the title display area.
[0015] Based on the above method, after switching the summary information of the displayed subset, by switching the title of the highlighted subset, it can be ensured that the highlighted recommended title and summary information correspond to the same subset. On the other hand, the titles of the subsets that users are interested in can also be highlighted, making it easier for users to view and improving the user experience.
[0016] In one possible design, the first interface further includes a first animation effect, which includes an animation effect that sequentially displays multiple media contents in the recommended set; wherein the recommended set automatically switches among the multiple sets, or the recommended set switches among the multiple sets in response to a user operation received by the electronic device.
[0017] In this method, electronic devices can provide users with more content related to the recommended collection by rotating through media content in the recommended collection, while also offering richer visual display effects. Furthermore, switching between recommended collections can also display a wider range of recommended content and visual effects to the user. Therefore, this method helps improve recommendation effectiveness and user experience.
[0018] In one possible design, the first interface also includes icons for at least one collection associated with the recommended collection. Based on this method, collections associated with the recommended collection can also be recommended to the user, making it easier for the user to understand the relationship between the recommended collection and other collections. This also allows for richer recommended content and visual effects, thereby improving the recommendation effect.
[0019] In one possible design, each of the at least one set has a correlation degree with the recommended set that is higher than or equal to a set correlation degree threshold; or, the at least one set includes a first set number of candidate sets from a plurality of candidate sets sorted in descending order of correlation degree with the recommended set; wherein, the plurality of candidate sets includes sets other than the recommended set from the plurality of sets.
[0020] This method allows users to see sets that are highly relevant to the recommended set. It enables filtering when recommending related sets, removing sets with low relevance and showing users the key content. This improves the recommendation effect while avoiding excessive content display.
[0021] In one possible design, the method further includes: in response to a received third operation, switching the information of the first subset displayed in the second interface to the information of a third subset of the second set among the plurality of sets. Optionally, the second interface also includes an icon of the second set, and the third operation is an operation performed on the icon of the second set.
[0022] In this method, the electronic device can switch between recommending subsets of different sets based on user actions. This allows for the rapid recommendation of subsets of sets that the user is interested in, facilitating the user's understanding of sets of interest and thus improving recommendation effectiveness and user experience. Furthermore, this method allows the electronic device to directly switch to an interface recommending a subset of another set based on user actions while recommending a subset of one set, enabling simple and quick switching between recommended sets and contributing to improved recommendation efficiency.
[0023] In one possible design, after displaying the second interface, the method further includes: in response to a received fourth operation, displaying recommended content generated based on at least one piece of media content from the first subset. Optionally, the second interface further includes a first control for triggering the electronic device to generate the recommended content, and the fourth operation is an operation performed on the first control.
[0024] In this method, electronic devices can recommend media content corresponding to a specific subset based on the user's actions within that subset's interface. This allows for more detailed and richer recommendations beyond the subset-based approach, thereby improving recommendation efficiency and effectiveness. Furthermore, this method enables users to easily and quickly explore recommended content hierarchically, thus enhancing the user experience.
[0025] In a second aspect, this application provides an electronic device, the electronic device including a memory and one or more processors; wherein the memory is used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed by the one or more processors, the electronic device causes the electronic device to perform the method described in the first aspect or any possible design of the first aspect.
[0026] Thirdly, this application provides a computer-readable storage medium storing a computer program that, when run on an electronic device, causes the electronic device to perform the method described in the first aspect or any possible design of the first aspect.
[0027] Fourthly, this application provides a computer program product comprising a computer program or instructions that, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect or any possible design of the first aspect.
[0028] Fifthly, this application provides a chip system including a processor and a memory, wherein the memory stores instructions; when the instructions are executed by the processor, they implement the methods described in the first aspect or any possible design of the first aspect. The chip system may be composed of chips or may include chips and other discrete devices.
[0029] The beneficial effects of the second to fifth aspects mentioned above can be found in the beneficial effects of the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0030] Figure 1 A schematic diagram of the hardware architecture of an electronic device provided in an embodiment of this application;
[0031] Figure 2 A schematic diagram of the software architecture of an electronic device provided in an embodiment of this application;
[0032] Figure 3 A schematic diagram of a recommendation interface provided in an embodiment of this application;
[0033] Figure 4 A schematic diagram illustrating an interface for displaying images contained in an image collection, provided as an embodiment of this application;
[0034] Figure 5 A schematic diagram of an image collection atlas provided in an embodiment of this application;
[0035] Figure 6 A schematic diagram of a recommendation interface provided in an embodiment of this application;
[0036] Figure 7 A schematic diagram of a dynamic interface provided in an embodiment of this application;
[0037] Figure 8 A schematic diagram of a dynamic interface provided in an embodiment of this application;
[0038] Figure 9 A schematic diagram of a control interface provided in an embodiment of this application;
[0039] Figure 10 A schematic diagram of a recommendation interface provided in an embodiment of this application;
[0040] Figure 11a A schematic diagram of a recommendation interface provided in an embodiment of this application;
[0041] Figure 11b A schematic diagram of a recommendation interface provided in an embodiment of this application;
[0042] Figure 11c A schematic diagram of a recommendation interface provided in an embodiment of this application;
[0043] Figure 12 A schematic diagram of a dynamic interface provided in an embodiment of this application;
[0044] Figure 13 This is a schematic diagram illustrating an example of image recommendation content provided in an embodiment of this application.
[0045] Figure 14 A schematic diagram of a recommendation interface provided in an embodiment of this application;
[0046] Figure 15 A schematic diagram of a possible system architecture to which the method provided in the embodiments of this application is applicable;
[0047] Figure 16 A schematic diagram illustrating a display method provided in an embodiment of this application;
[0048] Figure 17 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0049] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the embodiments of this application will be further described in detail below with reference to the accompanying drawings.
[0050] In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first" and "second" may explicitly or implicitly include one or more of that feature.
[0051] It should be understood that in the embodiments of this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple.
[0052] To improve the efficiency and effectiveness of recommending media content such as images and videos, this application provides a display method and an electronic device. This method can be applied to electronic devices. In this method, the electronic device can categorize and display media content in a set-like manner, and in response to user interactions with the set, can recommend media content related to different themes within that set to the user in the form of story previews. The story preview for each theme's media content can include a story title indicating the theme and a story clue indicating at least one characteristic of the media content within that theme. This method, through story previews, can easily, quickly, and comprehensively categorize and recommend personalized media content related to the user's selected set to the user, providing a clearer, more intuitive, more accurate, and richer media content display and recommendation experience, thereby improving recommendation efficiency and effectiveness.
[0053] In some embodiments of this application, the electronic device may be a portable device, such as a mobile phone, tablet computer, wearable device with wireless communication capabilities (e.g., smartwatch, smart glasses, etc.), in-vehicle terminal device, augmented reality (AR) / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), smart home device (e.g., smart TV, smart speaker, etc.), smart robot, workshop equipment, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, or wireless terminal in smart home, flying equipment (e.g., smart robot, drone, airplane), etc. Wearable devices are portable devices that users can wear directly on their body or integrate into their clothing or accessories.
[0054] In some embodiments of this application, the electronic device may also be a portable terminal device that includes other functions. Exemplary embodiments of the portable terminal device include, but are not limited to, carrying... Alternatively, it could be a portable terminal device with another operating system. The aforementioned portable terminal device could also be other portable terminal devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of this application, the aforementioned electronic device may not be a portable terminal device, but rather a desktop computer with a touch-sensitive surface (e.g., a touch panel).
[0055] For a description of the performance of electronic devices, please refer to the relevant descriptions below.
[0056] See below. Figure 1 The structure of the electronic device to which the method provided in the embodiments of this application is applicable will be described.
[0057] like Figure 1As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a SIM card interface 195, etc.
[0058] The sensor module 180 may include a gyroscope sensor, an accelerometer, a proximity sensor, a fingerprint sensor, a touch sensor, a temperature sensor, a pressure sensor, a distance sensor, a magnetic sensor, an ambient light sensor, a barometric pressure sensor, a bone conduction sensor, etc.
[0059] Understandable Figure 1 The electronic device 100 shown is merely an example and does not constitute a limitation on the electronic device. The electronic device may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. Figure 1 The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0060] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, memory, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). Different processing units may be independent devices or integrated into one or more processors. The controller may serve as the central nervous system and command center of the electronic device 100. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.
[0061] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0062] The execution of the display method provided in this application embodiment can be controlled by the processor 110 or by calling other components. For example, it can call the processing program of this application embodiment stored in the internal memory 121, or call the processing program of this application embodiment stored in a third-party device through the external memory interface 120 to control the wireless communication module 160 to perform data communication with other devices, thereby improving the intelligence and convenience of the electronic device 100 and enhancing the user experience. The processor 110 may include different devices. For example, when integrating a CPU and a GPU, the CPU and GPU can cooperate to execute the display method provided in this application embodiment. For example, some algorithms in the display method can be executed by the CPU, and other algorithms can be executed by the GPU to achieve faster processing efficiency.
[0063] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays screens 194, where N is a positive integer greater than 1. Display screen 194 can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces (GUIs). For example, display screen 194 can display various interfaces such as the recommendation interface described in the embodiments of this application.
[0064] In this embodiment of the application, the display screen 194 can be a single flexible display screen, or it can be a splicing display screen composed of two rigid screens and a flexible screen located between the two rigid screens.
[0065] Camera 193 (a front-facing camera or a rear-facing camera, or a single camera that can function as both) is used to capture still images or videos. Typically, camera 193 may include a photosensitive element such as a lens assembly and an image sensor. The lens assembly includes multiple lenses (convex or concave lenses) for collecting light signals reflected from the object being photographed and transmitting these signals to the image sensor. The image sensor generates a raw image of the object being photographed based on the light signals.
[0066] The internal memory 121 can be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The program storage area can store the operating system, application program code (such as the functions corresponding to the scheme in this application), etc. The data storage area can store data created during the use of the electronic device 100.
[0067] The internal memory 121 may also store one or more computer programs corresponding to the algorithm of this application. The one or more computer programs are stored in the internal memory 121 and configured to be executed by one or more processors 110. The one or more computer programs include instructions that can be used to perform the various steps in the following embodiments.
[0068] In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0069] Of course, the algorithm code of the embodiment of this application can also be stored in external memory. In this case, the processor 110 can run the algorithm code of the embodiment of this application stored in external memory through the external memory interface 120.
[0070] A touch sensor, also known as a "touch panel," can be located on the display screen 194. The touch sensor and display screen 194 together form a touch display screen, also called a "touch screen." The touch sensor detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor may also be located on the surface of the electronic device 100, in a different position than the display screen 194.
[0071] For example, the display screen 194 of the electronic device 100 can display a main interface, which includes icons for multiple applications (such as a camera application, a fitness and health application, etc.). For instance, a user can tap the camera application icon on the main interface using a touch sensor, triggering the processor 110 to launch the camera application and open the camera 193. The display screen 194 then displays the camera application's interface, such as the viewfinder.
[0072] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0073] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0074] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device. In this embodiment, the mobile communication module 150 can also be used for information interaction with other devices.
[0075] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.
[0076] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (WiFi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2. In this embodiment, the wireless communication module 160 can be used to establish connections with other electronic devices for data interaction. Alternatively, the wireless communication module 160 can be used to access access point devices, send control commands to other electronic devices, or receive data from other electronic devices.
[0077] In addition, the electronic device 100 can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, and an application processor, such as music playback and recording. The electronic device 100 can receive input from buttons 190, generating key signal inputs related to user settings and function control. The electronic device 100 can use a motor 191 to generate vibration alerts (such as vibration alerts for incoming calls). The indicator 192 in the electronic device 100 can be an indicator light, used to indicate charging status, battery level changes, messages, missed calls, notifications, etc. The SIM card interface 195 in the electronic device 100 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
[0078] It should be understood that, in practical applications, electronic device 100 may include more than Figure 1 The number of more or fewer components shown is not limited in the embodiments of this application. The illustrated electronic device 100 is merely an example, and the electronic device 100 may have more or fewer components than shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0079] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. A layered architecture divides the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. For example, ... Figure 2 As shown, the software architecture can be divided into four layers, from top to bottom: the application layer, the application framework layer (framework, FWK), the runtime and system libraries, and the (Linux) kernel layer.
[0080] The application layer is the top layer of the operating system and includes native operating system applications such as camera, gallery, calendar, Bluetooth, music, video, and messaging applications, as well as third-party applications. The applications discussed in this application embodiment are referred to as applications (APPs), which are software programs capable of performing one or more specific functions. Typically, multiple applications can be installed on an electronic device, such as camera applications and email applications. The applications mentioned below can be system applications pre-installed on the electronic device at the factory, or third-party applications downloaded by the user from the network or obtained from other electronic devices during the use of the electronic device.
[0081] Of course, for developers, they can write applications and install them into this layer. In one possible implementation, the application can be developed using the Java language, by calling the application programming interface (API) provided by the application framework layer. Developers can then interact with the underlying operating system (such as the kernel layer) through the application framework to develop their own applications.
[0082] The application framework layer provides the API and programming framework for the application layer. It can include predefined functions. The application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0083] The window manager is used to manage window programs. The window manager can obtain the screen size, determine if a status bar is present, lock the screen (or display), and capture the screen, among other things.
[0084] Content providers are used to store and retrieve data, and make that data accessible to applications. This data may include files (e.g., documents, videos, images, audio), text, and other information.
[0085] A view system includes visual controls, such as controls that display text, images, documents, and other content. View systems can be used to build applications. An interface in a display window can consist of one or more views. For example, a display interface including a text message notification icon could include a view that displays text and a view that displays images.
[0086] The phone manager provides communication functionality for electronic devices. The notification manager allows applications to display notification information in the status bar; it can be used to convey informative messages and can disappear automatically after a short pause without user interaction.
[0087] The runtime includes the core libraries and the virtual machine. The runtime is responsible for system scheduling and management.
[0088] The system's core library consists of two parts: one part contains the functionalities that the Java language needs to call, and the other part is the system's core library. The application layer and application framework layer run in a virtual machine. Taking Java as an example, the virtual machine executes the Java files in the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0089] The system library can include multiple functional modules. Examples include: a surface manager, a media library, a 3D graphics processing library (e.g., OpenGL ES), a 2D graphics engine (e.g., SGL), and an image processing library. The surface manager manages the display subsystem and provides fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.564, MP3, AAC, AMR, JPG, and PNG. The 3D graphics processing library implements 3D graphics drawing, image rendering, compositing, and layer processing. The 2D graphics engine is the drawing engine for 2D graphics.
[0090] The kernel layer provides core system services for the operating system, such as security, memory management, process management, network protocol stack, and driver models, all of which are implemented based on the kernel layer. The kernel layer also serves as an abstraction layer between the hardware and software stacks. This layer contains many drivers related to electronic devices, including: display drivers; keyboard drivers as input devices; Flash drivers for memory-based devices; camera drivers; audio drivers; Bluetooth drivers; and WiFi drivers.
[0091] It is important to understand that the functional services described above are just an example. In practical applications, electronic devices may be divided into more or fewer functional services based on other factors, or the functions of each service may be divided in other ways, or they may not be divided into functional services but work as a whole.
[0092] The solution provided in this application will be described in detail below with reference to the accompanying drawings.
[0093] In the solution provided in this application embodiment, the electronic device can display different categories of media content in a set manner, and can recommend and display related content based on user operations. The electronic device can also combine animation effects to display sets corresponding to different categories of media content and their associated sets, and can recommend and display related content based on user operations. The media content can be various media types such as images, GIFs, and videos. The following embodiments use images as an example to describe the solution provided in this application embodiment in detail. When the media content is other types of content, the corresponding methods can be implemented with reference to the methods described below, and will not be described in detail in this application embodiment.
[0094] I. Image Collection Division and Personalized Display
[0095] In one possible solution provided in this application embodiment, the electronic device can respond to a received first user operation by displaying icons for multiple image sets and / or display animations for multiple target image sets within the multiple image sets. Each image set's icon indicates that image set, and each image set may include images of a category, or each image set may include images of a category and images associated with (or related to) that category, wherein different image sets correspond to different categories. The display animations for multiple target image sets are used to highlight the multiple target image sets to create a specific emotional environment and atmosphere, thereby enhancing the user's viewing experience. In this application embodiment, the display animations for multiple target image sets can be pre-set. Optionally, the first user operation can be used to trigger the electronic device to recommend images. For ease of description, in this application embodiment, the icon for the image set can also be simply referred to as an icon, and the icon for multiple image sets can also be simply referred to as multiple icons.
[0096] 1. Image collection division and display
[0097] The following section will first provide a detailed explanation of the methods used by electronic devices to determine the aforementioned multiple image sets and to display the icons for those multiple image sets.
[0098] In the above scheme, each image set may include images belonging to the same category selected from multiple candidate images (e.g., images stored in an electronic device), or each image set may include images belonging to the same category selected from multiple candidate images (e.g., images stored in an electronic device) as well as images associated with images of that category. The same candidate image may belong to one or more image sets.
[0099] Example 1: In one example, taking a mobile phone as the electronic device, multiple image sets can include image sets 1-6. The icons for image sets 1-6 displayed on the electronic device can be respectively... Figure 3 The icons 1-6 are shown in the image set. Each image set in the image set 1-6 can include multiple images, and the images included in different image sets can be completely different or partially different.
[0100] In some embodiments of this application, the icon of an image set may include information indicating the category corresponding to that image set. This information may be presented in image form, text form, a combination of image and text, or other forms, and no specific limitations are imposed in these embodiments. For example, in the scenario described in Example 1, different image sets may correspond to different people, and each image set may include images containing the same person as well as other images associated with that person. In this scenario, different image sets correspond to different people, and the category corresponding to each image set is the category of images containing the person corresponding to that image set. In this scenario, Figure 3 The image set 1 corresponding to icon 1 shown can be a collection of images containing person 1 and their associated images. Icon 1 can include images of person 1 (such as avatars) to indicate the category of image set 1 corresponding to image 1.
[0101] Optionally, the display format (e.g., size, shape, color, etc.) of icons for different image sets in multiple image sets can be different, and no specific restrictions are imposed in this embodiment.
[0102] In the above scheme, the process of dividing multiple image sets may include either stage 1 as described below or stage 1 and stage 2 as described below:
[0103] Phase 1: Classification of Images of the Same Type
[0104] In this stage, the electronic device can identify the feature information of multiple candidate images and, based on the feature information, identify the category of each candidate image, grouping candidate images belonging to the same category into the same image set. Specifically, the division of a candidate image into an image set as described in this embodiment can be understood as treating that image set as a set to which the candidate image belongs (but not necessarily meaning that the candidate image belongs only to that image set), or as associating the candidate image with that image set. The above division process (e.g., feature recognition, category recognition, etc.) can be implemented using one or more large models.
[0105] In some embodiments of this application, the feature information of the candidate image may include at least one feature from at least one of the following aspects:
[0106] 1. Visual characteristics
[0107] Visual features can be used to characterize display-related attributes of an image, such as content, structure, and texture. For example, visual features may include semantic features, color features, texture features, and edge (or contour) features, and may also include other related features, which will not be listed in detail in this embodiment. Semantic features describe information about the image, such as the scene depicted, objects within the image, actions of objects, and relationships between objects. Color features indicate color-related characteristics in the image, such as hue and the colors contained within. Texture features reflect homogeneous phenomena in an image, representing the slowly changing or periodically altered surface structure of objects. Edge features indicate the characteristics of curves (i.e., contour lines or edge lines) with consecutive points of the same color or grayscale value in an image.
[0108] 2. Contextual Features
[0109] Contextual features can be used to characterize the overall attributes of an image, as well as its relationship with other images. For example, contextual features may include the image's source, time (e.g., generation time or acquisition time), location (e.g., generation location or acquisition location), and of course, other related features, which will not be listed one by one in this embodiment.
[0110] 3. Other characteristics
[0111] Optionally, other features may include atmospheric features, objects in the image, and features of the objects in the image. For example, objects in the image may be people, animals, things, or other types of objects; no specific limitations are imposed in this embodiment. Features of objects in the image may include posture (or pose) features, identity features (e.g., when the object in the image is a person, identity features may include the person's facial features), the degree of intimacy between objects (which may be called closeness), or other features; no specific limitations are imposed in this embodiment.
[0112] The methods involved in Phase 1 will be illustrated below with examples 2 to 4.
[0113] Example 2: In one example, the electronic device can divide image sets based on the people contained in candidate images. Specifically, the electronic device can group candidate images containing the same person into the same image set. For example, in Example 1 above, the electronic device can group images containing person 1 into image set 1, images containing person 2 into image set 2, and so on, resulting in multiple image sets. When a candidate image contains both person 1 and person 2, that candidate image belongs to both image set 1 and image set 2.
[0114] Example 3: In one example, the electronic device can group images into a set based on the animals contained in the candidate images. Optionally, the electronic device can group candidate images containing animals of the same species, animals of the same species and breed, or the same animal into the same image set. For example, multiple candidate images containing cats can be grouped into one image set, and multiple candidate images containing dogs can be grouped into another image set.
[0115] Example 4: In one example, an electronic device can group images into sets based on the things (or objects) contained in the candidate images. Specifically, the electronic device can group candidate images containing the same thing (or object) into the same image set. For example, multiple candidate images containing the sky can be grouped into one image set, and multiple candidate images containing food can be grouped into another image set.
[0116] Examples 2-4 above illustrate the method of partitioning an image set based on a single feature. The method of partitioning an image set based on multiple features is similar to the method of partitioning an image set based on a single feature, and will not be described in detail here.
[0117] Phase 2: Association Image Division Phase
[0118] In this stage, the electronic device can perform the following processing on each image set obtained based on the method described in stage 1 above: based on the features of multiple candidate images, select candidate images associated with images in the image set from among the candidate images outside the image set, and assign the selected candidate images to the image set. During the selection process, when the electronic device determines that a candidate image and an image in the image set belong to the same category, and that the same category is different from the category corresponding to the image set, the two images can be determined to be associated. The above segmentation process (e.g., associated image selection) can be implemented using one or more large models.
[0119] The following example, Example 5, illustrates the methods involved in Phase 2.
[0120] Example 5: In one example, when the category corresponding to the image set is "containing the same person," the aforementioned "same category" can include at least one of the following: the same shooting time, the same shooting location, the same person's pose, or the same event. For example, in the scenario described in Example 2 above, taking an image of person 1 contained in image set 1 as an example... Figure 4 Taking the scene in image 1 as an example, the electronic device can select an image from outside image set 1 that has the same pose as the person in image 1. Figure 4 The electronic device shows image 2, and adds image 2 as an image associated with image 1 to image set 1. Image set 1 then includes image 1 and image 2 associated with image 1. Similarly, the electronic device can perform similar processing on other images in image set 1 obtained in Example 2, thereby obtaining... Figure 4 The images shown are from image set 1. Similarly, for other image sets obtained in Example 2, the electronic device can perform similar processing as for image set 2.
[0121] In another example, when the category corresponding to the image collection is "containing the same thing", the above-mentioned "same category" can include at least one of the following: the same shooting time, the same shooting location, the same color, the same color scheme, or the same event.
[0122] Electronic devices can divide images into multiple sets based on the above method, and then display icons for the multiple image sets.
[0123] In some embodiments of this application, as an alternative implementation, the electronic device may display icons for multiple image sets in response to a first user operation by displaying icons for a portion of the multiple image sets, and then, in response to a received second user operation (e.g., sliding the area containing the icons of a portion of the image sets displayed by the electronic device, or clicking a control to trigger the expansion and display of icons for all image sets), displaying icons for another portion of the multiple image sets. For example, the view of multiple image sets obtained by the electronic device according to the above method can be referred to... Figure 5 Each node can represent a set of images, and the lines connecting the nodes can be used to mark the relationships between the nodes (i.e., the degree of association as described below). Figure 3 The icons 1-6 shown in the first recommendation interface can be... Figure 5 The icons represent a portion of the image collection shown. When the user swipes... Figure 3 When icons 1-6 are shown in the area, the electronic device can switch the icons of the displayed image set based on the user's swipe direction. For example, it can switch to... Figure 6 The interface shown includes Figure 3The icons 4-6 shown and the icon 7-9 in the image set 7-9 are examples. Image set 7-9 may be determined by the electronic device as not being displayed. Figure 3 The interface shown contains a collection of images. It should be understood that whether the image collection is displayed... Figure 3 Does the icon for the image collection appear in the interface shown? Figure 3 The interface shown.
[0124] In some embodiments, as an optional implementation, the electronic device can analyze, based on the feature information of the images, whether there is a correlation between the images in different image sets divided by the above method, and the degree of correlation when such a correlation exists. Based on this, it can determine whether there is a correlation between the different image sets divided by the above method, and the degree of correlation when such a correlation exists. The correlation degree between the different image sets divided by the electronic device using the above method is used to indicate the degree of correlation between the different image sets divided by the electronic device using the above method. As another optional implementation, the electronic device can analyze, based on the feature information of the images, the subject object corresponding to each image set divided by the above method, and the proximity between different subject objects (i.e., the degree of proximity between different subject objects), and use the proximity between different subject objects as the correlation degree between the image sets corresponding to different subject objects. The subject object corresponding to an image set can be an object contained in all images belonging to the corresponding category of the image set, or it can be an object corresponding to the category of the image set. For example, in the scenario described in Example 2 above, if the image in image set 1 contains an image of person 1, then the subject object corresponding to image set 1 is person 1. If the image in image set 2 contains an image of person 2, then the subject object corresponding to image set 2 is person 2. The correlation degree can be used to indicate the degree of correlation. In this approach, the intimacy between different subject objects is equivalent to the correlation between the image sets corresponding to different subject objects. Therefore, the correlation between different image sets in this scenario can also be understood as the intimacy between different image sets, and the degree of correlation between different image sets can also be understood as the degree of intimacy between different image sets.
[0125] 2. Personalized display of image collections
[0126] The following provides a detailed explanation of the methods used by electronic devices to determine the aforementioned multiple target image sets and to display the animation effects of those multiple target image sets.
[0127] In one possible method, the multiple target image sets may include a first target image set among multiple image sets and at least one second target image set associated with the first target image set. The display animation of the multiple target image sets may include a first animation corresponding to the first target image set and a second animation corresponding to each second target image set. Optionally, the display position of the second animation can be outside the display position of the first animation, that is, the animation corresponding to at least one second target image set can be displayed around the animation corresponding to the first target image set. In some embodiments of this application, as an optional implementation, the first animation can be an animation of rotating at least one image in the first target image set, that is, an animation of displaying at least one image sequentially. The number of at least one image can be a set value. As another optional implementation, the first animation can be an animation of rotating at least one image in the first target image set within a set duration. In some embodiments of this application, the second animation can be an animation of displaying the icon of the image set in a partially visible manner.
[0128] Example 6: In one example, based on the scenario of Example 1 above, taking the first target image set as image set 1 and at least one second target image set including image sets 2-5 as an example, such as... Figure 3 As shown, the electronic device can display the first animation effect of image set 1 in area 1, and the second animation effect of image sets 2-5 in areas 2-5 respectively, thereby presenting display animation effects for multiple target image sets. Specifically, as... Figure 7 As shown, the first animation effect of image set 1 can include a process of switching from image 1 in animation interface 1 to image 2 in animation interface 2, and then switching from image 2 in animation interface 2 to image 3 in animation interface 3. The second animation effect of image set 2 can include a process of switching from icon 21 in animation interface 1 to icon 22 in animation interface 2, and then switching from icon 22 in animation interface 2 to icon 23 in animation interface 3. The second animation effects of image sets 3-5 are similar to the second animation effect of image set 2, and will not be described in detail here. It should be noted that... Figure 7 The animated interfaces 1-3 shown are only examples of some interfaces displayed at certain moments during the animation display process, and not all animated interfaces. Therefore, they do not limit the interfaces displayed by electronic devices during the animation display process.
[0129] In the above method, initially, the first target image set can be a default image set among multiple image sets, or it can be an image set selected from multiple image sets according to set rules, or it can be any image set among multiple image sets. In subsequent processes, the first target image set can be determined based on at least one of the following methods:
[0130] Method 1: The first target image set can be switched among multiple image sets divided by the electronic device.
[0131] Optionally, the switching can be periodic or non-periodic. For example, when the first animation effect is a carousel of at least one image in the first target image set, the duration of the carousel of at least one image in the first target image set can be one cycle. When the first animation effect is a carousel of at least one image in the first target image set within a set duration, the set duration is one cycle.
[0132] Example 7: In one example, based on the scenario described in Example 1 above, the image set obtained by segmenting the data using electronic devices includes... Figure 3 The image set shown is 1-6 and Figure 3 Taking the image sets 7-9 (not shown) as an example, initially the first target image set can be image set 1. After one cycle, the first target image set can be switched to image set 2, and after another cycle, the first target image set can be switched to image set 3, and so on. The first target image set can be periodically switched between image sets 1-9, that is, image sets 1-9 can be used as the first target set in turn.
[0133] Wherein, when the first target image set is image set 1, at least one second image set may include one or more image sets associated with image set 1, for example... Figure 3 The image set 2-5 shown illustrates the process of electronic devices displaying animations in this scenario. Figure 7 .
[0134] When the first target image set becomes image set 2, at least one second image set may include one or more image sets associated with image set 2, for example... Figure 3 The image set 3 shown and Figure 3 The image set 7-9, not shown in the image, describes the scenario in which electronic devices can... Figure 3 The first animation for image set 2 is displayed in area 1, and the second animations for image set 3 and image sets 7-9 are displayed in areas 2-5 respectively. Specifically, as shown... Figure 8 As shown, the first animation effect of image set 2 can include a process of switching from image 4 in animation interface 4 to image 5 in animation interface 5, and then switching from image 5 in animation interface 5 to image 6 in animation interface 6. The second animation effect of image set 3 can include a process of switching from icon 31 in animation interface 4 to icon 32 in animation interface 5, and then switching from icon 32 in animation interface 5 to icon 33 in animation interface 6. The second animation effects of image sets 7-9 are similar to the second animation effect of image set 3, and will not be described in detail here. It should be noted that... Figure 8The animated interfaces 4-6 shown are only examples of some interfaces displayed at certain moments during the animation display process, and not all animated interfaces. Therefore, they do not impose any restrictions on the interfaces displayed by electronic devices during the animation display process.
[0135] In the above method, when the first target image set changes from image set 1 to image set 2, the electronic device can switch from display... Figure 7 The animation shown has switched to display. Figure 8 The animation effects are shown. Similarly, the electronic device can automatically switch between the first target image set and the corresponding display animation effects. Based on method 1, when the first target image set periodically switches between multiple image sets (image sets 1-9), the electronic device can refer to the animation switching method when the first target image set changes from image set 1 to image set 2 to switch the display animation effects of multiple target image sets, thereby achieving the effect of image set carousel. Based on the above method, the image sets divided by the electronic device and their related image sets can be recommended to the user in a vivid and intuitive way. The user can preview different image sets without additional operation and can view the relationships between some image sets. Therefore, this method can simultaneously improve the recommendation effect and recommendation efficiency.
[0136] Method 2: The first target image set can be switched based on user actions.
[0137] In this method, the first target image set after switching can be either a set of images selected by the user from multiple image sets divided by the electronic device, or a set of images selected by the user from multiple target image sets. When the user selects an image set from the multiple image sets divided by the electronic device or selects an image set from multiple target image sets by performing a third-user operation, the electronic device can respond to the third-user operation by using the image set selected by the user as the first target image set after switching, and switch the display animation of the multiple target image sets once.
[0138] Example 8: In one example, based on the scenario described in Example 1 above, the image set obtained by segmenting the data using electronic devices includes... Figure 3 The image set shown is 1-6 and Figure 3 Taking image sets 7-9 (not shown) as an example, initially the first target image set can be image set 1, and at least one second image set can include one or more image sets associated with image set 1, for example... Figure 3 The image set 2-5 shown illustrates the process of electronic devices displaying animations in this scenario. Figure 7 Specifically, when the electronic device receives an operation from the user selecting image set 2 (e.g., the user clicks or swipes), Figure 7When an operation involving icon 21, icon 22, or icon 23 is performed, or when a user double-clicks an icon in image set 2, the electronic device can switch the first target image set from image set 1 to image set 2. Therefore, it can switch from the display... Figure 7 The animation shown has switched to display. Figure 8 The animation shown is an example of this. The user's selection of image set 2 is the third user action described above.
[0139] In the above method, when the user switches the first target image set from image set 1 to image set 2, that is, when a third user operation is detected, the electronic device can switch from the display... Figure 7 The animation shown has switched to display. Figure 8 The animation effects shown are illustrated below. Similarly, electronic devices can switch between the first target image set and the corresponding display animation effects under user control, thus enabling image carousels to run under user control. Based on this method, image sets and related image sets that the user is interested in can be quickly displayed to the user in a vivid and intuitive way, thereby improving recommendation effectiveness and efficiency.
[0140] In some embodiments of this application, the electronic device can switch the first target image set by combining method 1 and method 2 described above. For example, without user intervention, the electronic device can switch the first target image set and the corresponding display animation effects according to method 1 described above; when the user intervenes, the electronic device can switch the first target image set and the corresponding display animation effects according to method 1 described above.
[0141] In the above method, at least one second target image set may include a set of images from multiple image sets that have the highest correlation with the first target image set, or it may include a set of images from multiple image sets whose correlation with the first target image set is higher than or equal to a set correlation threshold.
[0142] In the above method, during the display animation of multiple target image sets on an electronic device, apart from the switching of the multiple target image sets according to the rules described in the above method, the switching effects of the multiple target image sets and the switching effects of the images within the first target image set are not specifically limited in this embodiment. For example, the electronic device can achieve the switching of multiple target image sets and the switching of images within the first target image set as described in the above method through various switching methods (such as carousel switching, zoom switching, melt-in switching, etc.).
[0143] In some embodiments of this application, the first user operation described in the above method may be an operation performed by the user on a control interface or control displayed on the electronic device to trigger the electronic device to recommend images (e.g., clicking the control interface or control). In one example, the content displayed in the control interface may include the display animation of multiple target image sets displayed by the electronic device according to the method described in the above embodiments.
[0144] For example, electronic devices can Figure 9 In the control interface shown, according to Figure 7 , Figure 8 The animation display process shown depicts the presentation of multiple target image sets and responds to user clicks. Figure 9 The operation of the control interface shown is from the display Figure 9 The interface shown has switched to display. Figure 3 The interface shown.
[0145] Based on the above method, electronic devices can recommend extracted images of different categories and their associated images to users in a discrete set manner, making it easier for users to understand the distribution of images on the electronic device. Electronic devices can also vividly and intuitively recommend and display different image sets and the relationships between them through various animations, facilitating efficient viewing for users and creating a specific atmosphere, thereby enhancing the user experience.
[0146] II. Story trailers and story generation based on image collections
[0147] In one possible solution provided in this application embodiment, after the electronic device displays icons of multiple image sets and / or display animations of multiple target image sets based on the method described in the first part above (the method for dividing and personalized display of image sets), it can recommend content related to different themes of any image set to the user based on the user's operation on the icon or display animation of any image set. A detailed description is provided below with specific examples.
[0148] 1. Display of story trailers
[0149] In one possible implementation, the electronic device can respond to a fourth user operation performed by the user on the icon of the first image set or the display animation corresponding to the first image set, switching from displaying icons of multiple image sets and / or display animations of multiple target image sets to displaying a first recommendation interface. The first image set can be any one of multiple image sets. The first recommendation interface may include a story title for at least one subset of images from the first image set, an icon for the first image subset within the at least one image subset, and at least one story clue corresponding to the first image subset. Each image subset within the at least one image subset belongs to a subset of the first image set, and different image subsets correspond to different themes. The story title for each image subset can be used to indicate the theme corresponding to that image subset. The first image subset can be any one of the at least one image subset. The at least one story clue corresponding to the first image subset is used to indicate the feature information of the first image subset and / or the feature information of the images within the first image subset. The display format of the story title and story clue can be text, image, a combination of text and images, or other formats, etc., and is not specifically limited in this embodiment.
[0150] Optionally, the icon for the first image subset can be generated based on at least one image in the first image subset, or it can be an image or a portion of an image in the first image subset. For example, the icon for the first image subset can be an animated icon that carousels multiple images in the first image subset. As another example, the icon for the first image subset can be an image in the first image subset, a thumbnail of that image, or a cropped portion of that image (e.g., an avatar in the image).
[0151] In this method, electronic devices can easily and efficiently present the themes related to the images in an image collection by displaying the story titles of at least one subset of images, providing users with a more convenient and efficient way to understand the content of the image collection. In this method, the story titles, icons, and story clues of the image subset can form a story preview for the image subset. By displaying the story previews of the image subset, the electronic device can recommend relevant information about image themes that the user may be interested in.
[0152] Example 9: In one example, based on the above method, in the scenario described in Example 1 above, taking the first target image set as image set 1 and at least one second target image set including sets 2-5 as an example, the interface for the electronic device to display icons of multiple image sets and display animations of multiple target image sets can be referred to... Figure 3 In this scenario, the electronic device can respond to the user clicking the icon in image set 1 (i.e., Figure 3The operation of icon 1 shown, or the response to the user clicking the first animation of image set 1 (i.e., Figure 3 The operation of area 1) shown in the figure, from the display Figure 3 The interface shown has switched to display. Figure 10 The first recommended interface is shown below. Figure 10 As shown, the interface may include titles 1-5, icon 11, and icons 12-13. Titles 1-5 are story titles and respectively indicate the themes of image subsets 1-5 within image set 1. Icon 11 is the icon for image subset 1, and icons 12-13 are story clues and respectively indicate some key features of image subset 1. Since the story clues displayed on the electronic device correspond to image subset 1, the story title of image subset 1, i.e., title 1, can be highlighted.
[0153] In this example, image subsets 1-5 are all subsets of image set 1. Taking image subset 1 as an example, title 1 is the story marker for image subset 1, and the phrase "a spring outing in the park" in title 1 is the theme of the story recorded by the images included in image subset 1, i.e., the theme of image subset 1. Through title 1, users can clearly and intuitively understand what types of images are mainly included in image subset 1 without opening image subset 1. Similarly, based on titles 1-5, the electronic device can preview the images in image set 1 in a thematic (i.e., categorized) manner, allowing users to quickly and clearly understand which categories of images are mainly included in image set 1 without opening image set 1. Taking image subset 1 as an example, icon 12 can be the headshot of the main object in the images included in image subset 1, and icon 13 can be used to indicate the activity recorded by the images in image subset 1. Through icons 12-13, users can quickly understand some characteristics of the images in image subset 1 without opening image subset 1. Based on the above method, the electronic device can display Figure 10 The interface shown quickly and intuitively recommends personalized content related to the user's selected image collection 1, making it easier for the user to understand image collection 1 and thus improving the user's viewing efficiency and experience.
[0154] In the above scenario, the user's action of clicking the icon of image set 1 or the user's action of clicking the first animation of image set 1 is the fourth user action mentioned above. Image subsets 1-5 are at least one of the above image subsets. Titles 1-5 are the story titles of at least one of the above image subsets. Image subset 1 is the first image subset mentioned above. Icon 11 is the image of the first image subset mentioned above. Icons 12-13 are at least one story clue of the first image subset mentioned above.
[0155] It should be understood that the above scenario uses the example of the story title of each image subset being the text content that summarizes the story theme recorded by the images in that image subset, and the story clues being images, text, etc., but does not impose any restrictions on the display format or number of story titles and story clues. The method provided in this application embodiment can also be applied to other situations in terms of the format and number of story titles and story clues.
[0156] In the above method, within at least one subset of images, the display format (e.g., color, size, resolution, etc.) of the story titles for different subsets of images can be different. For example, as Figure 10 As shown, the sizes of headings 1-5 can be different.
[0157] In the above method, within at least one subset of images, the story title of the first subset can differ from the story titles of other subsets, thereby highlighting the first subset. For example, as... Figure 10 As shown, the story title of image subset 1, i.e. title 1, can be centered among titles 1-5, and the size of title 1 is larger than the size of the other titles.
[0158] In the above method, the display format of different story threads can be different in at least one story thread.
[0159] In the above method, the icon of the first image subset may include information indicating any or all features of the first image subset. For example, the icon of the first image subset may include content indicating the first image subset displayed in text, image, combined text and image, or other forms. As another example, the icon of the first image subset may include one image from the first image subset. In some embodiments of this application, the electronic device may display the icon of the first image subset according to a set animation effect. For example, the electronic device may add a set animation effect to the icon of the first image subset, or the electronic device may display the icon of the first image subset in a set effect format.
[0160] In the above method, in one possible case, at least one image subset may include all image subsets of the first image set. Optionally, when the area in the first recommendation interface used to display the story titles of the image subsets is sufficient to display the story titles of all image subsets of the first image set, the electronic device may display the story titles of all image subsets of the first image set in the first recommendation interface. For example, in the scenario described in Example 9 above, image subsets 1-5 may be all image subsets of image subset 1, and the electronic device may... Figure 10The interface shown displays the story titles of image subsets 1-5, that is, it displays the story titles of all image subsets of image set 1. In another possible case, at least one of the above image subsets may include a portion of the image subsets of the first image set. Optionally, when the area in the first recommendation interface used to display the story titles of image subsets is insufficient to display the story titles of all image subsets of the first image set, the electronic device may display the story titles of a portion of the image subsets of the first image set in the first recommendation interface, and may display icons for the image subsets of the first image set based on user actions. For example, in the scenario described in Example 9 above, the image subsets of image set 1 may include image subsets 6-10 in addition to image subsets 1-5. The electronic device may... Figure 10 The interface shown displays the story titles of image subsets 1-5, which is to say, it displays the story titles of a subset of images in image set 1.
[0161] In one possible implementation, after displaying a first recommendation interface, the electronic device can switch to displaying a second recommendation interface in response to a received fifth user action. The second recommendation interface may include story titles for at least one subset of images from the first image set (which may be partially or entirely identical to the story titles of at least one subset of images in the first recommendation interface), an icon for a second subset of images within the first subset, and at least one story clue corresponding to the second subset. The fifth user action can be used to select the second subset of images. For example, the fifth user action could be clicking on the story title of the second subset of images displayed in the first recommendation interface. This method allows for switching between displaying story previews of different subsets of the same image set, recommending relevant information about image topics of interest to the user.
[0162] Example 10: In one example, based on the above method, in the scenario described in Example 9 above, where image subsets 1-5 are all image subsets of image subset 1, the electronic device displays... Figure 10 After the first recommended screen shown, it can switch to displaying [something] in response to the user clicking on title 2 (or the user sliding title 2 to a specific position via the swipe interface). Figure 11a or Figure 11b The second recommended interface is shown below. Figure 11a or Figure 11bAs shown, the interface may include titles 1-5, icon 14, and icons 15-17. Titles 1-5 are story titles and respectively indicate the themes of image subsets 1-5; icon 14 is the icon for image subset 2; and icons 15-17 are story clues and respectively indicate some key features of image subset 2. Since the story clues displayed on the electronic device correspond to image subset 2, the story title of image subset 2, i.e., title 2, can be highlighted (e.g., as shown). Figure 11a Or as shown in 11b, displayed in the middle of the area below).
[0163] Among them, from Figure 10 The first recommended interface shown has switched to Figure 11b In the scenario shown in the second recommendation interface, Figure 10 The positions of titles 1-5 in the first recommended interface can be understood as being distributed on a sphere, where the relative position of any title with respect to the others can be fixed. In this scenario, the electronic device can move the display position of title 2 in response to the user clicking icon 2. The positions of the other titles, namely title 1 and titles 3-5, will then move in the same way as title 2. Since the positions of titles 1-5 can be understood as being distributed on a sphere, title 5 will move to the upper left of title 2, and the other titles will move in the same way.
[0164] Example 11: In one example, based on the above method, in the scenario described in Example 9 above, if the image subset of image set 1 includes not only image subsets 1-5 but also image subsets 6-10, the electronic device displays... Figure 10 After the first recommended screen shown, it can switch to displaying [something] in response to the user clicking on title 2 (or the user sliding title 2 to a specific position via the swipe interface). Figure 11c The second recommended interface is shown below. Figure 11c As shown, the interface may include titles 1-3, titles 6-8, icon 14, and icons 15-17. Titles 1-3 are story titles and respectively indicate the themes of image subsets 1-3; titles 6-8 are story titles and respectively indicate the themes of image subsets 6-8; icon 14 is the icon for image subset 2; and icons 15-17 are story clues and respectively indicate some key features of image subset 2. Since the story clues displayed on the electronic device correspond to image set 2, the story title of image set 2, i.e., title 2, can be highlighted.
[0165] Based on the above method, electronic devices can switch recommended image subsets under user control, and then recommend relevant content of the image subset desired by the user to the user.
[0166] In some embodiments of this application, during the process of switching story trailers for subsets of images, the position of the story title of each subset of images in the first set relative to other story titles can be variable. For example, in Example 10, from Figure 10 The first recommended interface shown has switched to Figure 11a In the scenario of the second recommendation interface shown, the position of the story titles of image subsets 1-2 in the first image set relative to the story titles of other image subsets changes. Alternatively, during the switching of story previews for image subsets, the position of the story title of each image subset in the first image set relative to other story titles can be fixed. In this scenario, the other story titles displayed around the story title of each image subset are fixed. During the switching of story previews for image subsets by the electronic device, in addition to the change in the display position of the highlighted story title, the display positions of the other story titles around that story title also change accordingly. For example, in the story preview switching scenario described in Example 11, after the display position of story title 2 moves, the positions of the other story titles will move accordingly.
[0167] As an optional implementation, the subset of images corresponding to the story titles displayed in the second recommendation interface can be exactly the same as the subset of images corresponding to the story titles displayed in the first recommendation interface. Compared with the first recommendation interface, the display positions of the first and second image subsets can be interchanged, and the display formats of the first and second image subsets can be interchanged, thereby switching to the effect of highlighting the story titles of the second image subset. Optionally, this method can be applied to scenarios where all image subsets of the first image set are displayed in both the first and second recommendation interfaces, such as the scenario described in Example 10 above.
[0168] As another optional implementation, when the story titles of a subset of images from the first image set are displayed in the first recommendation interface, the image subset corresponding to the story title displayed in the second recommendation interface may be partially the same as the image subset corresponding to the story title displayed in the first recommendation interface, and / or the relative positions of the story titles of different image subsets of the first image set during display may be fixed. For example, in the scenario described in Example 11 above, Figure 11c The second recommendation interface shown includes image subsets corresponding to story titles (i.e., image subsets 1-3 and 6-7), which can be compared with... Figure 10 The first recommended interface shown includes the same subset of images corresponding to the story titles (i.e., image subsets 1-5), and... Figure 10 The first recommended interface shown and Figure 11cIn the second recommendation interface shown, the relative positions of the story titles of different image subsets (e.g., title 1 is below title 2 and title 3, title 2 and title 3 are adjacent, etc.) are fixed.
[0169] 2. Story script generation and story presentation
[0170] In one possible implementation, after displaying the first recommendation interface, the electronic device can respond to a received sixth user operation by displaying recommended content. This recommended content includes media content showcasing multiple recommended images selected from a first subset of images. Optionally, the multiple recommended images may be selected by the electronic device using a large model based on the story titles and story clues of the first subset of images. The media content may be a video generated by the electronic device using a large model based on the multiple recommended images, or multiple interfaces or other forms of content played according to set rules. The presentation format of this media content is not limited in this embodiment.
[0171] In the above method, the sixth user operation can be used to instruct image recommendations based on the first subset of images. In some embodiments of this application, the first recommendation interface may include a recommendation control for triggering the electronic device to recommend images based on the first subset of images, and the sixth user operation may be an operation performed on the recommendation control.
[0172] In some embodiments of this application, after receiving a sixth user operation, the electronic device may display a generation animation indicating that recommended content is being generated during the process of generating recommended content, before displaying the recommended content, and then display the recommended content after it is generated. That is, the electronic device may, in response to the received sixth user operation, first display the aforementioned generation animation and then display the aforementioned recommended content. For example, the generation animation may include an animation of the electronic device rotating the images in the first image subset and the storyline of the first image subset.
[0173] In some embodiments of this application, after displaying the generated animation effect and before displaying the recommended content, the electronic device may also display a cover screen corresponding to the recommended content, and display the recommended content in response to a seventh user operation performed on the cover screen. That is, the electronic device may, in response to a received sixth user operation, first display the aforementioned generated animation effect, then display the aforementioned cover screen, and in response to a received seventh user operation, display the aforementioned recommended content. The cover screen may include information indicating the recommended content, such as the title of the recommended content (which may be used to indicate the theme of the recommended content), images included in the recommended content, etc. For example, the seventh user operation may be a click on the cover screen, or an operation performed on a control included in the cover screen to trigger the display of the recommended content.
[0174] Example 12: In one example, based on the above method, in the scenario described in Example 10, as follows... Figure 11a or Figure 11b The second recommendation interface shown may include a recommendation control. The electronic device can switch to displaying this control in response to a user clicking it. Figure 12 The generation interface is shown below. The electronic device can display generation animations within this interface. These animations could include a carousel of images from image subset 2 in area 1 of the interface, and animations displaying story clues from image subset 2 around area 1. The electronic device in... Figure 12 After the generation animation is displayed in the generation interface shown, you can switch to displaying... Figure 12 The cover screen shown contains information used to indicate recommended content. The electronic device can respond to user clicks. Figure 12 The operation of the cover interface shown is displayed. Figure 13 The third recommendation interface shown can include some recommended images from the recommended content. The electronic device displays... Figure 13 After the third recommendation screen shown, the remaining recommended content can continue to be displayed automatically, or the recommended content can be switched in response to user actions. For example, when the electronic device displays... Figure 13 After the third recommendation interface shown, it can automatically switch to Figure 13 The fourth recommendation interface shown may switch to display in response to an operation performed on the third recommendation interface (such as a swipe). Figure 13 The fourth recommendation interface shown here. The images in the fourth recommendation interface may include some of the recommended images from the recommended content.
[0175] 3. Switching between story trailers
[0176] In some embodiments of this application, the first recommendation interface described in the foregoing method may further include icons for multiple image sets as described in the above embodiments. The electronic device may switch from displaying the first recommendation interface to displaying the fifth recommendation interface in response to an eighth user operation (e.g., a click operation) performed by the user on the icons of the second image set. The second image set may be any image set other than the first image set among multiple image sets. The second recommendation interface may include a story title for at least one subset of images in the second image set, an icon for a third subset of images in the at least one image subset, and at least one story clue corresponding to the third image subset. Each image subset in the at least one image subset belongs to a subset of the second image set, different image subsets correspond to different themes, and the story title of each image subset can be used to indicate the theme corresponding to that image subset. The third image subset may be any image subset within at least one image subset of the second image set. The at least one story clue corresponding to the third image subset is used to indicate the feature information of the third image subset and / or the feature information of the images in the third image subset. The method for the electronic device to display the second recommendation interface can be the same as the method for the electronic device to display the first recommendation interface described above, and will not be detailed here.
[0177] Example 13: In one example, based on the above method, in the scenario described in Example 9, such as... Figure 10 The first recommendation interface shown may include icons for image sets 1-6. Figure 10 Icons 1-6 are shown in the image. Electronic devices can respond to user clicks. Figure 10 The operation of icon 2 shown is to switch to display. Figure 14 The fifth recommended interface is shown below. Figure 14 As shown, this interface may include titles for multiple image subsets of image set 2, an icon for one of the image subsets of image set 2, and a storyline for that image subset. The fifth recommendation interface is similar to the first recommendation interface; the method for displaying the fifth recommendation interface on an electronic device is the same as that for displaying... Figure 10 The method used in the first recommendation interface shown is similar and will not be described in detail here.
[0178] 4. Image presentation of image subsets
[0179] In some embodiments of this application, after displaying the first recommendation interface, the electronic device can switch from displaying the first recommendation interface to displaying the images included in the first image subset in response to the received ninth user operation, so that the user can view the images in the first image subset in detail.
[0180] For example, the ninth user operation may be a setting operation on the story title or icon of the first subset of images displayed in the first recommendation interface, or the ninth user operation may be an operation on the setting control displayed in the recommendation interface. This application embodiment does not limit this.
[0181] Based on the method provided in the above embodiments, electronic devices can preview stories based on image sets in image recommendation scenarios. The story previews can display the titles of the stories corresponding to the images in the image set, as well as event clues, helping users efficiently and intuitively understand the overview of the images in the image set (e.g., distribution, image type). The electronic device can also generate and display recommended content on specific themes based on the story previews, thereby achieving personalized image recommendations and improving user experience. In summary, the method provided in the above embodiments can improve the recommendation efficiency and effectiveness of image recommendations by electronic devices.
[0182] Figure 15 This is a schematic diagram of a possible display system architecture to which the methods provided in the above embodiments of this application are applicable. This display system can be deployed in an electronic device. Figure 15 As shown, the display system may include gallery applications, image processing services, and intelligent image analysis services.
[0183] The gallery application can be used to display images; for example, it can display the various interfaces described in the above embodiments. In some embodiments of this application, such as... Figure 15 As shown, the image library application may include images (such as the multiple candidate images described in the preceding embodiments), a display module, and an interaction module. Specifically, in the image library application, the display module is used for interface display, and the interaction module is used for receiving user commands and reporting these commands to the image intelligent analysis service.
[0184] Image processing services can be used to perform preliminary processing and management of images in gallery applications. In some embodiments of this application, such as... Figure 15As shown, the image processing service may include a semantic extraction module, a feature extraction module, a vectorization module, an image segmentation module, and a basic information acquisition module. The semantic extraction module extracts semantic features from the image. The feature extraction module extracts other features of the image (e.g., features of people or objects in the image, event features corresponding to the image, etc.) and generates corresponding feature labels. The vectorization module vectorizes the image features to obtain the corresponding feature vectors. The image segmentation module segments the main objects in the image. The segmented main objects can be used as the main objects in an image set. The basic information acquisition module obtains basic information about the image, such as time, location, size, and pixel content. All information generated or acquired by each module in the image processing service can be transmitted to the image intelligent analysis service for subsequent processing.
[0185] Image intelligent analysis services can be used to perform image set segmentation, story preview generation, and recommended content generation based on information provided by image processing services. The processing results are then provided to image library applications so that these applications can display content accordingly. For example... Figure 15As shown, the image intelligent analysis service may include a clustering module, a profile building module, a story preview generation module, a content recommendation module, and an interactive control module. The clustering module can perform clustering based on image features extracted by the image processing service, thereby dividing the image set into image sets and image subsets. For example, the clustering module can cluster the feature vectors of each image obtained by the vector extraction module to identify images belonging to the same category. The clustering module can divide the image set or image subset based on the recognition results, and can also extract story clues and identify images belonging to the same story clue based on the recognition results. The profile building module can be used to build profiles of the main objects corresponding to the image set based on the image features extracted by the image processing service (e.g., building character profiles for people in the images), so that the content recommendation module can refer to the profiles to generate recommended content. The profile building module can also be used to calculate the affinity between different main objects based on the information provided by the above modules, and use the affinity between different main objects as the correlation between the image sets corresponding to different main objects. The story preview generation module is used to generate story previews corresponding to image subsets based on the information provided by the above modules. The content recommendation module is used to generate recommended content based on the information provided by the above modules. Each of the above modules can be processed using a pre-trained large model, which will not be detailed here. The interactive control module can be used to identify user commands reported by the image library application to determine the user's intent. Based on the user's intent, it controls other modules in the image intelligent analysis service to generate content to respond to the user's command and instructs the display module in the image library application to display the content in response to the user's command.
[0186] In some embodiments of this application, the display system described above may further include a database module, which can be used to store data, such as the feature vector of an image, basic information of the image, the relationship between image sets and images, and the correlation between different image sets in multiple image sets.
[0187] In some embodiments of this application, when the electronic device adopts Figure 2 When the structure shown is implemented, the above-mentioned gallery application can be deployed on... Figure 2 The application layer shown above, including the image processing service and image intelligent analysis service, can be deployed on... Figure 2 The application framework layer shown.
[0188] It should be understood that the display system architecture described above is merely an example. In practical applications, modules can be added or removed, or modules can be split or merged. This application does not impose specific limitations. The division of functional modules in the display system architecture described above is illustrative and only represents a logical functional division. In actual implementation, there may be other division methods, and the specific functions performed by each functional module may also be divided in other ways. For example, electronic devices may be divided into more or fewer functional services according to other factors, or the functions of each service may be divided in other ways, or they may not be divided into functional services but work as a whole. The names of the functional modules described above are merely examples, and the names of the functional modules in the embodiments of this application are not limited.
[0189] It should be noted that the application scenarios provided in the above embodiments are merely illustrative examples of the applicable scenarios of the embodiments of this application, and do not limit the applicable scenarios of the solutions of this application. Some methods or the same technical concepts provided in any of the above embodiments can also be applied in other embodiments or other scenarios, or can be combined with the methods provided in other embodiments. Specifically, they can be applied in combination with specific embodiments or specific scenarios, and will not be listed and described one by one in this application.
[0190] Based on the above embodiments and the same technical concept, this application also provides a display method, such as... Figure 16 As shown, the method may include:
[0191] S1601: The electronic device displays a first interface; wherein the first interface includes an icon of a first set, the first set being any one of a plurality of sets, and each of the plurality of sets including at least one of a plurality of media contents.
[0192] In some embodiments of this application, the media content can be images, GIFs, videos, or similar types of content. The first interface may also include icons for at least one set other than the first set from a plurality of sets. For example, taking a scenario where the media content is an image as an example, the first interface could be... Figure 3 The interface shown can have the following icons for the first set: Figure 3 The icon shown is one of icons 1-6. Optionally, for multiple sets, refer to the multiple image sets described in the first part above, and for the method of determining multiple sets, refer to the method of obtaining multiple image sets described in the first part above.
[0193] In some embodiments of this application, the first interface may further include a first animation effect, which may include an animation effect displaying one media content item in the recommended set or an animation effect sequentially displaying multiple media content items in the recommended set; wherein, the recommended set automatically switches among multiple sets, or the recommended set switches among multiple sets in response to a user operation received by the electronic device. Optionally, the automatic switching of the recommended set among multiple sets may be periodic or non-periodic. Optionally, the user operation may be a swiping operation on the first interface. In some embodiments of this application, the first interface may further include icons or animation effects of at least one set associated with the recommended set. Wherein, the degree of association between each set in the at least one set and the recommended set is higher than or equal to a set association degree threshold; or, the at least one set includes the first set number of candidate sets from multiple candidate sets sorted in descending order of association degree with the recommended set; wherein, the multiple candidate sets include sets other than the recommended set from multiple sets.
[0194] The method for automatically switching between multiple recommendation sets can be referred to Method 1 described in Part 1 above, and will not be elaborated here. The method for switching between multiple recommendation sets in response to user actions received by the electronic device can be referred to Method 2 described in Part 1 above, and will not be elaborated here.
[0195] Regarding the aforementioned recommendation set and its corresponding display method, please refer to the first target image set and its corresponding display method described in the first part above. Regarding the at least one set associated with the aforementioned recommendation set and its display method, please refer to the at least one second target image set and its display method described in the first part above, and will not be repeated here. Regarding the specific implementation of the above method, please refer to the relevant description in the "Personalized Display of Image Sets" method described in the first part above, and will not be repeated here.
[0196] In some embodiments of this application, the electronic device may display a first interface in response to a received user operation. Regarding this user operation, please refer to the first user operation described in the foregoing first part; it will not be detailed here.
[0197] S1602: In response to the received first operation, the electronic device displays a second interface; wherein the second interface includes information of a first subset of the first set.
[0198] In some embodiments of this application, the information regarding the first operation, the second interface, the first set, the first subset, and the first subset can be referred to the fourth user operation, the first recommendation interface, the first image set, the first image subset, and the story preview of the first image subset described in the aforementioned second part. The method described in step S1602 can be implemented with reference to the method described in the aforementioned second part, and will not be described in detail here.
[0199] In some embodiments of this application, the information of the first subset may include summary information of the first subset and / or the title of the first subset. The summary information of the first subset may include an icon of the first subset and / or at least one feature label of the first subset; wherein each feature label is used to indicate a feature of the media content in the first subset. For example, a first feature label in the at least one feature label may be used to indicate a first event recorded by the media content in the first subset. An event can also be understood as an activity, such as flying a kite or boating. As another example, a second feature label in the at least one feature label may be used to indicate a first object in the media content of the first subset. The feature labels may be displayed as text information and / or images. The title of the first subset may be used to indicate the theme of the media content included in the first subset. Optionally, the second interface may also include the titles of other subsets of the first set; for example, the second interface may also include the title of a second subset of the first set.
[0200] In some embodiments of this application, the title and feature tags of a subset can refer to the story title and story clues described in the aforementioned second part. The story title and story clues of any subset constitute the summary information of that subset. For example, taking the above method applied to the scenario described in Example 9, the first operation can be a user clicking... Figure 3 The operation of icon 1 shown can be performed on the second interface. Figure 10 The interface shown can have the first set as described in Example 9, the first subset as described in Example 1, and the title of the first subset as described in Example 1. Figure 10 The icon for the first subset, included in the summary information of the first subset as shown in Title 1, can be... Figure 10 As shown in icon 11, at least one feature label of the first subset included in the summary information of the first subset can be... Figure 10 Icons 12-13 are shown in the image. The method for displaying information about the first subset on an electronic device can be implemented by referring to the method for displaying the story title and story clues of the first image subset described in Part Two above; it will not be detailed here.
[0201] In some embodiments of this application, the second interface may include a title display area, where the titles of the first subset and other subsets of the first set can be displayed. The titles of the first subset and other subsets may have different display formats, and / or the title of the first subset may be displayed in the center of the title display area. The display format may include color, size, thickness, clarity, etc. The titles displayed in the title display area may include all or part of the titles of the first subset, and may be switched in response to user operation. The method for an electronic device to display titles in the title display area can be implemented using the method for displaying the story titles of at least one subset of the first image set described in the aforementioned second part, and will not be detailed here. In one example, taking the method applied to the scenario described in Example 9, the title display area may be... Figure 10 The display area shown contains headings 1-5; headings for other subsets may include... Figure 10 Titles 2-5 are shown.
[0202] In one possible implementation, after displaying the second interface, the electronic device, in response to a received second operation, can switch the summary information of the first subset displayed on the second interface to the summary information of the second subset; wherein the summary information of the second subset includes an icon of the second subset and / or at least one feature label of the second subset; wherein each feature label of the at least one feature label of the second subset is used to indicate a feature of the media content in the second subset. For example, a third feature label of the at least one feature label of the second subset can be used to indicate a second event recorded by the media content in the second subset. As another example, a fourth feature label of the at least one feature label of the second subset can be used to indicate a second object in the media content in the second subset. The second electronic device can also, in response to the second operation, switch the display format of the title of the second subset to be different from the display format of the titles of other subsets of the first set displayed on the second interface, and / or display the title of the second subset at the center of the title display area. In this method, the second operation, the interface obtained after switching the content in the second interface, the second subset, and the summary information of the second subset can be referred to the fifth user operation, the second recommendation interface, and the second image subset described in the aforementioned second part, respectively, and will not be elaborated here. Regarding the method for the electronic device to respond to the second operation, refer to the method for the electronic device to respond to the fifth user operation described in the aforementioned second part, and will not be elaborated here.
[0203] In one example, taking the above method applied to the scenario described in Example 10, the second operation could be a user click. Figure 10 The operation shown in heading 2 can be updated to the second interface. Figure 11a or Figure 11bThe interface shown can have the following structure: the first set can be the first image set described in Example 9; the first subset can be image subset 1 described in Example 1; and the title of the second subset can be... Figure 11a or Figure 11b The icon for the second subset included in the summary information of the second subset, as shown in heading 2, can be... Figure 11a or Figure 11b As shown in icon 14, at least one feature label of the second subset included in the summary information of the second subset can be Figure 11a or Figure 11b Icons 15-17 are shown in the image.
[0204] In another possible solution, after displaying the second interface, the electronic device can, in response to a received third operation, switch the information of the first subset displayed on the second interface to the information of the third subset of the second set among multiple sets. The information of the third subset can be referenced to the information of the first subset mentioned above, and the method by which the electronic device displays the information of the third subset can be referenced to the method by which the electronic device displays the information of the first subset mentioned above; these details will not be elaborated here. Alternatively, the second set, the third subset, the information of the third subset, the updated second interface, and the related display methods can be referenced to the second image set, the third subset of the second image set, the story previews and story clues of the third subset, the fifth recommendation interface, and the related display methods described in the aforementioned second part; these details will not be elaborated here.
[0205] Optionally, the second interface also includes icons for the second set, and the third operation is an operation applied to the icons of the second set. Regarding the third operation, refer to the eighth user operation described in the aforementioned Part Two; it will not be elaborated upon here.
[0206] In another possible implementation, after displaying the second interface, the electronic device can respond to the received fourth operation by displaying recommended content generated based on at least one media content item from the first subset. Optionally, the second interface also includes a first control, which triggers the electronic device to generate recommended content, and the fourth operation is an operation performed on the first control. In this method, the fourth operation, recommended content, first control, and related display methods can be referred to the sixth user operation, recommended content, recommended control, and related display methods described in the aforementioned second part, and will not be detailed here.
[0207] The specific steps performed by the electronic device in the above method can be found in the description of the first part (image set division and personalized display) or the second part (story preview and story generation based on image set) in the foregoing embodiments, and will not be elaborated further here.
[0208] Based on the above embodiments and the same technical concept, this application also provides an electronic device for implementing the display method provided in this application. Figure 17 As shown, electronic device 1700 may include: memory 1701, one or more processors 1702, and one or more computer programs (not shown). These devices may be coupled via one or more communication buses 1703. Optionally, electronic device 1700 may also include a display screen 1704.
[0209] The memory 1701 stores one or more computer programs (code), and the one or more computer programs include computer instructions; one or more processors 1702 call the computer instructions stored in the memory 1701, causing the electronic device 1700 to execute the display method provided in the above-described embodiments of this application.
[0210] In a specific implementation, memory 1701 may include high-speed random access memory, and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. Memory 1701 may store an operating system (hereinafter referred to as the system), such as embedded operating systems like Android, iOS, Windows, or Linux. Memory 1701 can be used to store implementation programs of the embodiments of this application. Memory 1701 may also store network communication programs, which can be used to communicate with one or more additional devices, one or more user devices, or one or more network devices.
[0211] One or more processors 1702 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs according to the present application.
[0212] Display screen 1704 is used to display application interfaces and other related user interfaces.
[0213] It should be noted that, Figure 17 This is merely one implementation of the electronic device 1700 provided in this application embodiment. In practical applications, the electronic device 1700 may include more or fewer components, as detailed in the following references. Figure 1 The specific structure and description shown are not limited here.
[0214] Based on the above embodiments and the same technical concept, this application also provides a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to perform the method provided in the above embodiments.
[0215] Based on the above embodiments and the same technical concept, this application also provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are run on a computer, the computer performs the method provided in the above embodiments.
[0216] Based on the above embodiments and the same technical concept, this application also provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are run on a computer, the computer performs the method provided in the above embodiments.
[0217] The methods provided in this application can be implemented, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, they can be implemented, in whole or in part, in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of the present invention is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable device. Computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. A computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that integrates one or more available media. Available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., digital video discs (DVDs), or semiconductor media (e.g., SSDs), etc.
[0218] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A display method applied to an electronic device, characterized in that, The method includes: Display a first interface; wherein the first interface includes an icon for a first set, the first set being any one of a plurality of sets, and each of the plurality of sets including at least one type of media content; In response to the received first operation, a second interface is displayed; wherein the second interface includes information of a first subset of the first set.
2. The method as described in claim 1, characterized in that, The information of the first subset includes summary information of the first subset, which includes an icon of the first subset and / or at least one feature tag of the first subset; wherein each feature tag in the at least one feature tag is used to indicate a feature of the media content in the first subset.
3. The method as described in claim 2, characterized in that, The first feature tag in the at least one feature tag is used to indicate the first event recorded by the media content in the first subset.
4. The method as described in claim 2 or 3, characterized in that, The second feature tag in the at least one feature tag is used to indicate the first object in the media content of the first subset.
5. The method as described in claim 4, characterized in that, The information for the first subset also includes the title of the first subset.
6. The method as described in claim 5, characterized in that, The title of the first subset is used to indicate the subject of the media content included in the first subset.
7. The method as described in claim 5 or 6, characterized in that, The second interface also includes the title of the second subset of the first set.
8. The method as described in claim 7, characterized in that, The second interface includes a title display area, in which the title of the first subset and the titles of other subsets of the first set are displayed; wherein the display formats of the title of the first subset and the titles of the other subsets are different, and / or the title of the first subset is displayed in the center of the title display area.
9. The method as described in claim 7 or 8, characterized in that, The method further includes: In response to the received second operation, the summary information of the first subset displayed in the second interface is switched to the summary information of the second subset; wherein the summary information of the second subset includes the icon of the second subset and / or at least one feature label of the second subset; wherein each feature label of the at least one feature label of the second subset is used to indicate a feature of the media content in the second subset.
10. The method according to any one of claims 1 to 9, characterized in that, The first interface also includes a first animation effect, which includes an animation effect that sequentially displays multiple media contents in the recommended set; wherein the recommended set automatically switches among the multiple sets, or the recommended set switches among the multiple sets in response to user operations received by the electronic device.
11. The method as described in claim 10, characterized in that, The first interface also includes icons for at least one set associated with the recommended set.
12. The method as described in claim 11, characterized in that, The correlation between each of the at least one set and the recommended set is higher than or equal to a set correlation threshold; or The at least one set includes a predetermined number of candidate sets from a plurality of candidate sets ordered in descending order of their relevance to the recommended set; wherein the plurality of candidate sets include sets other than the recommended set.
13. The method according to any one of claims 1 to 8, characterized in that, The method further includes: In response to the received third operation, the information of the first subset displayed in the second interface is switched to the information of the third subset of the second set among the plurality of sets.
14. The method as described in claim 13, characterized in that, The second interface also includes icons for the second set, and the third operation is an operation performed on the icons of the second set.
15. The method according to any one of claims 1 to 8, characterized in that, After displaying the second interface, the method further includes: In response to the received fourth operation, recommended content generated based on at least one piece of media content in the first subset is displayed.
16. The method as described in claim 15, characterized in that, The second interface also includes a first control, which is used to trigger the electronic device to generate the recommended content, and the fourth operation is an operation performed on the first control.
17. An electronic device, characterized in that, The electronic device includes a memory and one or more processors; The memory is used to store computer program code, which includes computer instructions; when the computer instructions are executed by the one or more processors, the electronic device performs the method as described in any one of claims 1 to 16.
18. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on an electronic device, causes the electronic device to perform the method as described in any one of claims 1 to 16.
19. A computer program product, characterized in that, The computer program product includes a computer program or instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1 to 16.