A display method and an electronic device

By displaying the comparison interface of multiple media contents on an electronic device, the problem of the inability to effectively compare multiple media contents in the prior art is solved, and more efficient media content display and comparison are achieved.

CN119127039BActive Publication Date: 2025-06-20HUAWEI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311103287.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-29
Publication Date
2025-06-20
Estimated Expiration
2043-08-29

AI Technical Summary

Technical Problem

Existing electronic devices cannot effectively realize the comparison display of multiple media content, resulting in low efficiency for users when viewing and comparing media content.

Method used

A display method is provided, by displaying a first interface on an electronic device, the interface includes a first area and a second area. A plurality of media contents are displayed in the first area for comparison, and a plurality of candidate media contents are displayed in the second area for comparison, and the user can select and compare media contents between these two areas.

Benefits of technology

The comparison display of multiple media contents is realized, which improves the display effect and comparison efficiency of media contents, and users can easily view and compare different media contents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119127039B_ABST
    Figure CN119127039B_ABST
Patent Text Reader

Abstract

The present application provides a display method and an electronic device. The method is applied to the electronic device and includes: determining a plurality of media contents in response to a received first operation; and displaying a first interface in response to a received second operation. The first interface includes a first area and a second area. The first area includes a plurality of first media contents, and the second area includes a plurality of media contents. The plurality of first media contents are included in the plurality of media contents. The first operation is used to select the plurality of media contents, and the second operation is used to indicate comparing the plurality of media contents. Alternatively, the first operation is used to select at least two media contents. The plurality of media contents include at least two media contents, and the media contents other than the at least two media contents in the plurality of media contents are determined based on the at least two media contents. The second operation is used to indicate comparing the at least two media contents. This method can improve the display effect and comparison efficiency of media contents.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of electronic devices, and particularly to a display method and an electronic device. Background Art

[0002] Currently, users can display multiple pictures simultaneously on a personal computer (PC) to compare them. However, the display effect of this method is poor. Users can only view and compare multiple pictures displayed on the PC at the same time, so the efficiency of viewing and comparing pictures is low. In addition, some electronic devices such as mobile phones cannot provide users with the function of comparing and displaying multiple pictures, and users can only view and compare pictures one by one. Most current electronic devices also cannot achieve the comparative display of other types of media content (such as videos, etc.). Therefore, the display effect of current electronic devices for media content is poor. Summary of the Invention

[0003] This application provides a display method and an electronic device to achieve the comparative display of media content, thereby improving the display effect and comparison efficiency of media content.

[0004] In a first aspect, this application provides a display method applied to an electronic device. The method includes: determining multiple media contents in response to a received first operation; and displaying a first interface in response to a received second operation. The first interface includes a first area and a second area. The first area includes multiple first media contents, and the second area includes the multiple media contents. The multiple first media contents are included in the multiple media contents. The first operation is used to select the multiple media contents, and the second operation is used to indicate comparing the multiple media contents. Alternatively, the first operation is used to select at least two media contents, the multiple media contents include the at least two media contents, and the media contents other than the at least two media contents in the multiple media contents are determined according to the at least two media contents. The second operation is used to indicate comparing the at least two media contents.

[0005] In this method, the electronic device can contrastively display multiple media contents in the first area of the first interface. Therefore, the contrastive display of media contents can be achieved, thereby improving the display effect and contrast efficiency of media contents. In addition, while the electronic device contrastively displays multiple media contents in the first area of the first interface, it can also display the multiple media contents being contrasted and at least one other media content in the second area of the first interface. Therefore, more media contents can be displayed in the media content contrast interface, further improving the display effect of media contents. The at least one other media content can be a candidate media content to participate in the contrast, that is, a media content to be participated in the contrast, which can facilitate the user to adjust the media contents participating in the contrast, thereby improving the contrast efficiency. In this method, the media contents in the first area can be the media contents participating in the contrast. When the first operation is used to select multiple media contents, the media contents in the second area other than the multiple media contents participating in the contrast can be the media contents selected by the user; when the first operation is used to select at least two media contents, the media contents in the second area other than the media contents participating in the contrast can be the media contents selected by the user or the media contents automatically determined by the electronic device. By displaying these media contents in the second area, more candidate media contents can be provided for the user in addition to the media contents participating in the contrast, so as to more conveniently and efficiently perform the contrast and display of media contents, thereby further improving the display effect and contrast efficiency of media contents.

[0006] In a possible design, the media content is at least one of the following types of content: picture, animated picture, video, audio.

[0007] In this method, the media content can be various different types of media content, with high flexibility and practicability.

[0008] In a possible design, the size of the display area occupied by each of the multiple first media contents in the first area is larger than the size of the display area occupied by it in the second area.

[0009] In this method, the size of the display area occupied by the media content in the first area is larger than the size of the display area occupied by it in the second area, which can ensure that the media content participating in the contrast is displayed in a larger size, thereby intuitively and prominently displaying the media content participating in the contrast and improving the display effect of media contents and the user's viewing experience.

[0010] In a possible design, for any media content among the multiple media contents other than the at least two media contents, the similarity between it and any one of the at least two media contents is greater than or equal to a set similarity threshold. Among them, the media content other than the at least two media contents among the multiple media contents can be media content automatically selected by the electronic device, and the at least two media contents can be content selected by the user. By setting the similarity between any media content among the multiple media contents other than the at least two media contents and any one of the at least two media contents to be greater than or equal to the set similarity threshold, media content similar to the media content selected by the user can be displayed in the second area, which is more convenient for comparing similar media contents.

[0011] In a possible design, the multiple first media contents in the second area have a first mark, and the first mark is used to indicate: being displayed in both the first area and the second area simultaneously.

[0012] In this method, the media content participating in the comparison can be intuitively marked through the first mark, which is convenient for the user to view and has high practicality.

[0013] In a possible design, the media content other than the at least two media contents in the second area has a second mark, and the second mark is used to mark the media content automatically selected by the electronic device.

[0014] In this method, based on the second mark, the media content selected by the user and the media content automatically selected by the electronic device can be intuitively distinguished, which is convenient for the user to view and distinguish different types of media contents and has high practicality.

[0015] In a possible design, after displaying the first interface in response to the received second operation, the method further includes: in response to the received third operation, updating the second media content in the first area to the third media content; where the second media content is one of the multiple first media contents, and the third media content is one of the multiple media contents other than the multiple first media contents. Optionally, the third operation is used to indicate replacing the second media content with the third media content.

[0016] In this method, the electronic device can replace the media content in the first area with the media content in the second area. Based on this method, the electronic device can provide a more rich and practical media content comparison function.

[0017] In a possible design, after displaying the first interface in response to the received second operation, the method further includes: in response to the received fourth operation, increasing the display of a fourth media content in the first region; wherein the fourth media content is one media content other than the plurality of first media contents among the plurality of media contents. The fourth operation is used to indicate increasing the display of the fourth media content in the first region.

[0018] In this method, after the electronic device displays the media content participating in the comparison, that is, the media content in the first region, it can also increase the display of the media content that is participating in the comparison, so that a more rich and practical media content comparison function can be provided.

[0019] In a possible design, after displaying the first interface in response to the received second operation, the method further includes: in response to the received fifth operation, enlarging the display of a fifth media content; or, in response to the received sixth operation, reducing the display of the fifth media content; wherein the fifth media content is any one of the plurality of first media contents. Optionally, the fifth operation is used to indicate enlarging the display of the fifth media content, and the sixth operation is used to indicate reducing the display of the sixth media content.

[0020] In this method, after the electronic device displays the media content participating in the comparison, that is, the media content in the first region, it can also separately enlarge or reduce the display of the media content that is participating in the comparison, with high flexibility and practicality.

[0021] In a possible design, after displaying the first interface in response to the received second operation, the method further includes: in response to the received seventh operation, enlarging the display of the plurality of first media contents; wherein the magnification ratios of the plurality of first media contents are the same; or, in response to the received eighth operation, reducing the display of the plurality of first media contents; wherein the reduction ratios of the plurality of first media contents are the same.

[0022] In this method, after the electronic device displays the media content participating in the comparison, that is, the media content in the first region, it can also link and enlarge or reduce the display of the media content that is participating in the comparison, with high practicality.

[0023] In a possible design, after displaying the first interface in response to the received second operation, the method further includes: in response to the received ninth operation, adjusting the display position of a sixth media content; or, in response to the received tenth operation, swapping the display positions of the sixth media content and the seventh media content; wherein the sixth media content is one of the plurality of first media contents, and the seventh media content is another one of the plurality of first media contents.

[0024] In this method, after the electronic device displays the media content participating in the comparison, that is, the media content in the first area, it can flexibly adjust the display position of the media content participating in the comparison, which has high practicability.

[0025] In a possible design, after displaying the first interface in response to the received second operation, the method further includes: in response to the received eleventh operation, deleting the eighth media content in the first area; wherein, the eighth media content is one of the multiple first media contents.

[0026] In this method, after the electronic device displays the media content participating in the comparison, that is, the media content in the first area, it can perform a deletion process on the media content participating in the comparison, which has high practicability.

[0027] In a possible design, before determining multiple media contents in response to the received first operation, the method further includes: displaying a second interface, which includes the multiple media contents; after deleting the eighth media content in the first area in response to the received eleventh operation, the method further includes: in response to the received twelfth operation, displaying a third interface; wherein, the third interface includes the media contents other than the eighth media content among the multiple media contents. Optionally, the twelfth operation is used to indicate stopping the comparison and display of media contents.

[0028] In this method, after the electronic device performs a deletion operation on the media content participating in the comparison and exits the comparison, the deletion operation performed by the electronic device on the media content is still effective. The above method allows the user to perform an effective deletion operation on the media content during the comparison of media contents, which has high practicability.

[0029] In a possible design, after displaying the first interface in response to the received second operation, the method further includes: in response to the received thirteenth operation, adding a third mark to the ninth media content in the first area; wherein, the ninth media content is one of the multiple first media contents.

[0030] In this method, after the electronic device displays the media content participating in the comparison, that is, the media content in the first area, it can perform a marking process on the media content participating in the comparison, which has high practicability.

[0031] In a possible design, before determining multiple media contents in response to a received first operation, the method further includes: displaying a second interface, where the second interface includes the multiple media contents; after adding a third mark to the ninth media content in the first region in response to a received thirteenth operation, the method further includes: in response to a received fourteenth operation, displaying a fourth interface; where the fourth interface includes the multiple media contents, and the ninth media content among the multiple media contents has the third mark.

[0032] In this method, after the electronic device performs a marking operation on the media content participating in the comparison and exits the comparison, the marking operation performed by the electronic device on the media content is still valid. The above method allows the user to perform an effective marking operation on the media content during the process of comparing media contents, and has relatively high practicability.

[0033] In a possible design, after displaying a first interface in response to a received second operation, the method further includes: in response to a received fifteenth operation, updating the tenth media content in the first region; where the tenth media content is one of the multiple first media contents.

[0034] In this method, after the electronic device displays the media content participating in the comparison, that is, the media content in the first region, it can perform processing such as editing and updating on the media content participating in the comparison, and has relatively high practicability.

[0035] In a possible design, before determining multiple media contents in response to a received first operation, the method further includes: displaying a second interface, where the second interface includes the multiple media contents; after updating the tenth media content in the first region in response to a received fifteenth operation, the method further includes: in response to a received sixteenth operation, displaying a fifth interface; where the fifth interface includes: the media contents other than the tenth media content among the multiple media contents, and the updated tenth media content.

[0036] In this method, after the electronic device performs an update process on the media content participating in the comparison and exits the comparison, the update process performed by the electronic device on the media content is still valid. The above method allows the user to perform an effective update process on the media content during the process of comparing media contents, and has relatively high practicability.

[0037] In a possible design, the media content is video or audio. After displaying the first interface in response to the received second operation, the method further includes: playing the eleventh media content starting from the first position of the eleventh media content, and playing the twelfth media content starting from the second position of the twelfth media content; wherein, the eleventh media content is one of the plurality of first media contents, the twelfth media content is another one of the plurality of first media contents, and the similarity between the media content at the first position in the eleventh media content and the media content at the second position in the twelfth media content is greater than or equal to a set threshold.

[0038] In this method, when the electronic device compares and displays video or audio, it can start playing from the similar positions of multiple videos or audios participating in the comparison, which is convenient for users to view and compare, and has high practicability.

[0039] In a second aspect, an embodiment of the present application provides an electronic device, which includes a display screen, a memory, and one or more processors; wherein, the memory is used to store computer program code, and the computer program code includes computer instructions; when the computer instructions are executed by the one or more processors, the electronic device is caused to execute the method described in the first aspect or any possible design of the first aspect.

[0040] In a third aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on an electronic device, the electronic device is caused to execute the method described in the first aspect or any possible design of the first aspect.

[0041] In a fourth aspect, the present application provides a computer program product, which includes a computer program or instructions. When the computer program or instructions run on an electronic device, the electronic device is caused to execute the method described in the first aspect or any possible design of the first aspect.

[0042] In a fifth aspect, the present application provides a chip system, which includes a processor and a memory, and instructions are stored in the memory; when the instructions are executed by the processor, the method described in the first aspect or any possible design of the first aspect is implemented. The chip system can be composed of chips, or can include chips and other discrete devices.

[0043] For the beneficial effects of the second aspect to the fifth aspect above, please refer to the description of the beneficial effects of the relevant content of the first aspect above, and details will not be repeated here. Description of the Drawings

[0044] Figure 1 Schematic diagram of the hardware architecture of an electronic device provided by an embodiment of the present application;

[0045] Figure 2 Schematic diagram of the software architecture of an electronic device provided by an embodiment of the present application;

[0046] Figure 3 Schematic diagram of a display method provided by an embodiment of the present application;

[0047] Figure 4 Schematic diagram of a gallery interface provided by an embodiment of the present application;

[0048] Figure 5 Schematic diagram of a picture selection interface provided by an embodiment of the present application;

[0049] Figure 6 Schematic diagram of a picture comparison interface provided by an embodiment of the present application;

[0050] Figure 7 Schematic diagram of a picture selection interface provided by an embodiment of the present application;

[0051] Figure 8 Schematic diagram of a picture comparison interface provided by an embodiment of the present application;

[0052] Figure 9 Schematic diagram of a picture comparison interface provided by an embodiment of the present application;

[0053] Figure 10 Schematic diagram of a picture comparison interface provided by an embodiment of the present application;

[0054] Figure 11 Schematic diagram of a picture comparison interface provided by an embodiment of the present application;

[0055] Figure 12 Schematic diagram of a picture comparison interface provided by an embodiment of the present application;

[0056] Figure 13 Schematic diagram of a picture comparison interface provided by an embodiment of the present application;

[0057] Figure 14 Schematic diagram of a picture comparison interface provided by an embodiment of the present application;

[0058] Figure 15a Schematic diagram of a picture comparison interface provided by an embodiment of the present application;

[0059] Figure 15b Schematic diagram of a picture comparison interface provided by an embodiment of the present application;

[0060] Figure 16A schematic diagram of a picture comparison interface provided by an embodiment of the present application;

[0061] Figure 17 A schematic diagram of a picture comparison interface provided by an embodiment of the present application;

[0062] Figure 18 A schematic diagram of a picture comparison interface provided by an embodiment of the present application;

[0063] Figure 19 A schematic diagram of a picture selection interface provided by an embodiment of the present application;

[0064] Figure 20 A schematic diagram of a picture library interface provided by an embodiment of the present application;

[0065] Figure 21a A schematic diagram of a video comparison interface provided by an embodiment of the present application;

[0066] Figure 21b A schematic diagram of a video comparison interface provided by an embodiment of the present application;

[0067] Figure 22 A schematic diagram of a display method provided by an embodiment of the present application;

[0068] Figure 23 A schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0069] In order to make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0070] Among them, in the description of the embodiments of the present application, hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features.

[0071] For ease of understanding, illustrative descriptions of concepts related to the present application are given for reference.

[0072] An electronic device can be a device with a display function. In some embodiments of the present application, the electronic device can be a portable device, such as a mobile phone, a tablet computer, a wearable device with a display function, a vehicle-mounted terminal device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a smart home device (e.g., a smart TV, etc.), a smart robot, a workshop device, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, or a wireless terminal in a smart home, a flying device (e.g., a smart robot, a drone, an aircraft), etc.

[0073] In some embodiments of the present application, the electronic device can also be a portable terminal device that further includes other functions such as an audio-video playback function. Exemplary embodiments of the portable terminal device include, but are not limited to, those equipped with or other operating systems. The above portable terminal device can also be other portable terminal devices, such as a laptop with a touch-sensitive surface (e.g., a touch panel), etc. It should also be understood that in some other embodiments of the present application, the above electronic device may not be a portable terminal device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0074] It should be understood that in the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (item) of the following" or its similar expression refers to any combination of these items, including any combination of a single item (one) or multiple items (ones). For example, at least one (item) 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.

[0075] To improve the display effect and comparison efficiency of media content, an embodiment of the present application provides a display method and an electronic device. This solution can achieve the comparative display of media content, facilitating the user to conveniently and quickly view and compare different media contents, and improving the display effect and comparison efficiency of media content.

[0076] Refer to Figure 1 below to introduce the structure of the electronic device to which the method provided by the embodiment of the present application is applicable.

[0077] As Figure 1 shown in

[0078] 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, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a SIM card interface 195, etc.

[0079] It can be understood that Figure 1 the electronic device 100 shown is only an example, which does not constitute a limitation on the electronic device, and 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 in

[0080] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors. Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.

[0081] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory may save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0082] The execution of the display method provided by the embodiments of the present application may be controlled by the processor 110 or other components may be called to complete it. For example, the processing program of the embodiments of the present application stored in the internal memory 121 is called, or the processing program of the embodiments of the present application stored in a third-party device is called through the external memory interface 120 to control the wireless communication module 160 to perform data communication with other devices, 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 the CPU and GPU are integrated, the CPU and GPU may cooperate to execute the display method provided by the embodiments of the present application. For example, some algorithms in the display method are executed by the CPU and another part of the algorithms are executed by the GPU to obtain a faster processing efficiency.

[0083] The display screen 194 can be used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can adopt 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, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1. The 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, the display screen 194 can display media content such as photos, videos, etc.

[0084] In the embodiments of the present application, the display screen 194 can be an integrated flexible display screen, or a spliced display screen composed of two rigid screens and a flexible screen located between the two rigid screens.

[0085] The camera 193 (front camera or rear camera, or a camera can be used as both the front camera and the rear camera) is used to capture static images or videos. Generally, the camera 193 may include a photosensitive element such as a lens group and an image sensor. Among them, the lens group includes a plurality of lenses (convex lenses or concave lenses) for collecting the optical signals reflected by the object to be photographed and transmitting the collected optical signals to the image sensor. The image sensor generates the original image of the object to be photographed according to the optical signals.

[0086] The internal memory 121 can be used to store computer-executable program codes, and the executable program codes include 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 can include a program storage area and a data storage area. Among them, the program storage area can store the operating system, the codes of application programs (such as the functions corresponding to the solutions of the present application), etc. The data storage area can store the data created during the use of the electronic device 100.

[0087] The internal memory 121 may also store one or more computer programs corresponding to the algorithms of the solution 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, and the above instructions can be used to execute the respective steps in the following embodiments.

[0088] In addition, the internal memory 121 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0089] Of course, the code of the algorithm of the solution of this application embodiment may also be stored in an external memory. In this case, the processor 110 may run the code of the algorithm of the solution of this application stored in the external memory through the external memory interface 120.

[0090] The sensor module 180 may include a gyroscope sensor, an acceleration sensor, a proximity light sensor, a fingerprint sensor, a touch sensor, etc.

[0091] The touch sensor is also called a "touch panel". The touch sensor may be disposed on the display screen 194, and the touch sensor and the display screen 194 form a touch display screen, also called a "touch screen". The touch sensor is used to detect a touch operation acting thereon or nearby. The touch sensor may transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation may be provided through the display screen 194. In some other embodiments, the touch sensor may also be disposed on the surface of the electronic device 100, at a different position from the display screen 194.

[0092] The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.

[0093] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas may also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 may be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antenna may be used in combination with a tuning switch.

[0094] The mobile communication module 150 may provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc., 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 may receive an electromagnetic wave through the antenna 1, perform processing such as filtering and amplifying on the received electromagnetic wave, and transmit it to the modulation and demodulation processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modulation and demodulation processor and convert it into an electromagnetic wave through the antenna 1 for radiation. In some embodiments, at least some functional modules of the mobile communication module 150 may be provided 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 provided in the same device. In the embodiments of the present application, the mobile communication module 150 may also be used for information interaction with other devices.

[0095] The modulation and demodulation processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modulation and demodulation processor may be an independent device. In other embodiments, the modulation and demodulation processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.

[0096] The wireless communication module 160 may provide solutions for wireless communications applied to the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (WiFi) networks), Bluetooth (BT), global navigation satellite systems (GNSSs), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive signals to be sent from the processor 110, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through the antenna 2 for radiation. In the embodiments of the present application, the wireless communication module 160 is used to establish a connection with other electronic devices and perform data interaction. Or the wireless communication module 160 may be used to access an access point device, send control instructions to other electronic devices, or receive data sent from other electronic devices.

[0097] In addition, the electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor, etc. For example, music playback, recording, etc. The electronic device 100 may receive inputs from the keys 190 and generate key signal inputs related to the user settings and function controls of the electronic device 100. The electronic device 100 may use the motor 191 to generate vibration prompts (such as incoming call vibration prompts). The indicator 192 in the electronic device 100 may be an indicator light, which can be used to indicate the charging state, the change in battery level, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 195 in the electronic device 100 is used to connect to the SIM card. The SIM card can be in contact with and separated from the electronic device 100 by being inserted into or removed from the SIM card interface 195.

[0098] It should be understood that in practical applications, the electronic device 100 may include more than Figure 1More or fewer components shown are not limited in the embodiments of the present application. The illustrated electronic device 100 is merely an example, and the electronic device 100 may have more or fewer components than those 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.

[0099] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers is through software interfaces. Exemplarily, as Figure 2 shown, the software architecture may be divided into four layers, from top to bottom are the application layer, the application framework layer (framework, FWK), the runtime and system libraries, and the (Linux) kernel layer.

[0100] The application layer is the top layer of the operating system, including the native applications of the operating system, such as the camera, gallery, calendar, Bluetooth, music, video, information, etc., and may also include third-party applications. The application involved in the embodiments of the present application is abbreviated as application (APP), which is a software program capable of implementing one or more specific functions. Generally, multiple applications may be installed in the electronic device, such as a camera application, a gallery application, etc. The application mentioned hereinafter may be a system application pre-installed when the electronic device leaves the factory, or a third-party application downloaded from the network or obtained from other electronic devices by the user during the use of the electronic device.

[0101] Of course, for developers, developers can write application programs and install them into this layer. In a possible implementation, the application program may be developed using the Java language and completed by calling the application programming interface (API) provided by the application framework layer. Developers can interact with the underlying layer of the operating system (such as the kernel layer, etc.) through the application framework to develop their own application programs.

[0102] The application framework layer is the API and programming framework for the application layer. The application framework layer may include some predefined functions. The application framework layer may include a window manager, a content provider, a view system, a telephone manager, a resource manager, a notification manager, etc.

[0103] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the display screen (or screen), capture the display screen, etc.

[0104] The content provider is used to store and obtain data, and make this data accessible to the application. The data may include information such as files (e.g., documents, videos, images, audio), text, etc.

[0105] The view system includes visual controls, such as controls for displaying content like text, pictures, documents, etc. The view system can be used to build applications. The interface in the display window can be composed of one or more views. For example, a display interface including a short message notification icon may include a view for displaying text and a view for displaying pictures.

[0106] The telephone manager is used to provide the communication function of the electronic device. The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction.

[0107] The runtime includes a core library and a virtual machine. The runtime is responsible for the scheduling and management of the system.

[0108] The core library of the system contains two parts: one part is the functional functions that the Java language needs to call, and the other part is the core library of the system. The application layer and the application framework layer run in the virtual machine. Taking Java as an example, the virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as the management of the object life cycle, stack management, thread management, security and exception management, and garbage collection.

[0109] The system library can include multiple functional modules. For example: the surface manager, the media library, the 3D graphics processing library (e.g., OpenGL ES), the 2D graphics engine (e.g., SGL), the image processing library, etc. The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications. The media library supports the playback and recording of multiple common audio and video formats, as well as static image files, etc. The media library can support multiple audio and video coding formats, such as: MPEG4, H.564, MP3, AAC, AMR, JPG, PNG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc. The 2D graphics engine is the drawing engine for 2D drawing.

[0110] The kernel layer provides the core system services of the operating system. Services such as security, memory management, process management, network protocol stack, and driver model are all implemented based on the kernel layer. The kernel layer also serves as an abstraction layer between the hardware and software stacks. There are many driver programs related to electronic devices in this layer, and the main drivers include: display driver; keyboard driver as an input device; Flash driver based on memory technology devices; camera driver; audio driver; Bluetooth driver; WiFi driver, etc.

[0111] It should be understood that the functional services described above are only examples. In actual applications, electronic devices can also be divided into more or fewer functional services according to other factors, or the functions of each service can be divided in other ways, or the functional services can be not divided at all, but work as a whole.

[0112] The solution provided by this application will be described in detail below with reference to the accompanying drawings.

[0113] In the solution provided by the embodiments of this application, an electronic device can display and compare multiple media contents, and can easily and quickly operate on the compared media contents (such as adding, deleting, modifying, zooming, marking, editing, etc.). Among them, the media content can be various types of content such as pictures, videos, and audios. In the following embodiments, taking the media content as pictures in the gallery as an example, the solution provided by the embodiments of this application will be described in detail. When the media content is other types of content, the corresponding method can be implemented by referring to the method described below, and will not be elaborated one by one in the embodiments of this application.

[0114] Refer to Figure 3 , a display method provided by the embodiments of this application may include:

[0115] S301: The electronic device receives a first operation; wherein, the first operation is used to indicate comparing multiple candidate pictures.

[0116] In some embodiments of this application, the multiple candidate pictures may be multiple pictures selected by the user from the pictures included in the gallery (or album).

[0117] Optionally, before step S301, the electronic device may further perform the following steps: The electronic device determines multiple candidate pictures in response to a received second operation. Wherein, the second operation is used to select multiple candidate pictures.

[0118] In some embodiments of this application, the first operation may be an operation in which the user clicks a comparison control displayed on the electronic device, and the comparison control can be used to control the execution of the picture comparison function or trigger the display of the picture comparison interface.

[0119] Exemplarily, Figure 4 is a gallery interface, which includes multiple pictures. When the user selects from Figure 4After selecting multiple candidate images from the images included in the shown image gallery, the electronic device can display as Figure 5 the interface shown in. The interface includes multiple images selected by the user, other images included in the image gallery that have not been selected by the user, and comparison controls. Among them, the markings of the multiple selected images and the unselected images are different. The multiple selected images are the multiple candidate images. When the user clicks on Figure 5 the comparison control shown in, the electronic device receives a first operation.

[0120] S302: The electronic device displays an image comparison interface; among them, the image comparison interface includes a first area and a second area. The first area includes multiple comparison images, and the second area includes multiple candidate images. The multiple comparison images are included in the multiple candidate images.

[0121] Among them, the size of the same image in the first area is larger than the size of the image in the second area.

[0122] In some embodiments of the present application, the number of multiple comparison images can be a set value, such as integer values such as 2, 4, etc. The multiple comparison images can be some or all of the multiple candidate images. In a possible solution, when the number of multiple candidate images is greater than the set value, the multiple comparison images include some images (i.e., a set number of images among the multiple candidate images) among the multiple candidate images. When the number of multiple candidate images is less than the set value, the multiple comparison images include all of the multiple candidate images.

[0123] Embodiment 1. In an example, assume that the set value is 4. When the multiple candidate images selected by the user include Figure 5 the 5 selected images shown in, the image comparison interface displayed by the electronic device can be Figure 6 the interface shown in. The first area in this interface can include 4 images among the 5 candidate images, and the second area in this interface can include all of the 5 candidate images.

[0124] Embodiment 2. In an example, assume that the set value is 4. When the multiple candidate images selected by the user include Figure 7 the 3 selected images (i.e., Images 1 to 3) shown in, the image comparison interface displayed by the electronic device can be Figure 8 the interface shown in. The first area in this interface can include all of the 3 candidate images, and the second area in this interface can include all of the 3 candidate images.

[0125] In some embodiments of the present application, the arrangement order of multiple comparison pictures in the first region and the arrangement order of multiple candidate pictures in the second region can be determined in the following order: random order, or the order selected by the user, or the order arranged in the picture gallery. Optionally, the multiple comparison pictures can be evenly distributed in the first region, and the sizes of the display regions occupied by different comparison pictures can be the same.

[0126] In some embodiments of the present application, the multiple comparison pictures can be selected from multiple candidate pictures according to a set rule, and the set rule can be any one of the following:

[0127] 1) Random selection.

[0128] 2) Select a set number of pictures from the multiple candidate pictures as the multiple comparison pictures according to the order in which the multiple candidate pictures are selected by the user.

[0129] 3) Select a set number of pictures from the multiple candidate pictures as the multiple comparison pictures according to the order of arrangement of the multiple candidate pictures in the picture gallery.

[0130] In some embodiments of the present application, the electronic device can perform comparison marking on the comparison pictures included in the second region, so as to facilitate the user to distinguish the pictures displayed in the first region from the pictures not displayed in the first region among the multiple candidate pictures. For example, as Figure 6 shown, the electronic device can add a comparison mark such as a "√" mark on the candidate picture corresponding to the comparison picture in the second region, and the comparison mark can be used to mark that the corresponding picture is being compared and displayed (i.e., displayed in the first region).

[0131] In some embodiments of the present application, when the number of multiple candidate pictures displayed in the second area is large, for example, when the number of multiple candidate pictures is greater than or equal to a set number, the electronic device can display some of the multiple candidate pictures in the second area and switch the candidate pictures displayed in the second area according to user operations. As an alternative implementation manner, the second area may include at least one candidate picture among the multiple candidate pictures and an expansion control. When an operation of clicking the expansion control is received, the electronic device can further display an interface including multiple candidate pictures so that the user can view the multiple candidate pictures more clearly. As another alternative implementation manner, the second area may include at least one candidate picture among the multiple candidate pictures, and the user can control the electronic device to switch and display other candidate pictures in the second area by performing a sliding operation in the second area. As yet another alternative implementation manner, the multiple candidate pictures can be displayed in batches in the second area. The second area may include at least one candidate picture among the multiple candidate pictures and a switching control. When an operation of clicking the switching control is received, the electronic device can switch at least one candidate picture in the current second area to at least one candidate picture other than the at least one candidate picture.

[0132] In some embodiments of the present application, after the user selects multiple candidate pictures, the electronic device can create a temporary folder and cache the copied multiple candidate pictures in the temporary folder. The pictures displayed in the picture comparison interface (including the comparison pictures and the candidate pictures) can be the pictures obtained by the electronic device from the temporary folder. When the user operates on the pictures in the picture comparison interface, the electronic device can perform the operation on the corresponding pictures stored in the temporary folder. Subsequently, when the electronic device stops displaying the picture comparison interface, the electronic device can perform the same operation on the corresponding pictures in the picture library according to the operations performed on the pictures in the temporary folder. For example, when the user deletes a certain picture in the picture comparison interface, the electronic device can delete the picture in the temporary folder. Subsequently, when the electronic device stops displaying the picture comparison interface, since the picture has been deleted in the temporary folder, the electronic device can also delete the picture in the picture library.

[0133] In some embodiments of the present application, in addition to the multiple candidate pictures described above, the second area may further include at least one reference picture automatically selected by the electronic device from the picture library. Among them, each reference picture in the at least one reference picture can be a picture selected by the electronic device from the picture library with a similarity greater than a set threshold to any one of the multiple candidate pictures.

[0134] Specifically, after the user selects multiple candidate images, for each candidate image, the electronic device can search the image library to find out if there is an image with a similarity greater than a set threshold to the candidate image. If there is, the found image can be used as a reference image. Optionally, the electronic device can use a set artificial intelligence (AI) model for image similarity analysis to determine the similarity between different images.

[0135] Based on the above method, the multiple comparison images in the first region can be some or all of the multiple candidate images and at least one reference image. Optionally, the electronic device can preferentially select multiple comparison images from the multiple candidate images. When the number of multiple candidate images is less than the set threshold, the electronic device can use all the multiple candidate images as comparison images and continue to select images as comparison images from at least one reference image until the number of selected comparison images reaches the set threshold, or until it is determined that all reference images are used as comparison images. For example, assume that the set threshold is 6, the number of multiple candidate images is 4, and the number of at least one reference image is 4. Then the electronic device can use all 4 candidate images as comparison images and select 2 images from the 4 reference images as comparison images. Another example, assume that the set threshold is 6, the number of multiple candidate images is 4, and the number of at least one reference image is 1. Then the electronic device can use 4 candidate images and 1 reference image as comparison images.

[0136] Embodiment 3. In an example, assume that the set threshold is 4. When the multiple candidate images selected by the user include Figure 7 the images 1-3 shown in Figure 7 and assume that the electronic device determines that Figure 7 the similarity between the image 4 shown in Figure 7 and the image 1 is greater than the set threshold, and Figure 9 the similarity between the image 5 shown in

[0137] and the image 2 is greater than the set threshold, the electronic device can determine the image 4 and the image 5 as reference images. When receiving the user's click on Figure 9 the comparison control shown in Figure 7 the electronic device can respond to this operation and display Figure 9 the interface shown in

[0137] In this interface, the second region includes images 1-5, and the first region includes 4 images, namely images 1-4 among images 1-5.

[0137] In some embodiments of the present application, when the electronic device displays at least one reference image in the second region, it can mark at least one reference image so that the user can distinguish the candidate images selected by the user from the reference images automatically selected by the electronic device. For example, as Figure 9 shown in the electronic device can add an "×" mark on the image 4 and the image 5 to mark that the image 4 and the image 5 belong to the images automatically selected by the electronic device.

[0138] In addition to the above special processing methods for at least one reference picture, the processing method for the pictures in the second region can be implemented with reference to the processing method for multiple candidate pictures in the second region described in the foregoing embodiments, which will not be elaborated here.

[0139] It should be understood that in the above embodiments, the pictures in the first region and the second region are taken from the picture library as an example for illustration. However, the picture sources in the first region and the second region are not limited to the above picture library, and may also include other picture sources, such as the cloud, the web, etc. It can also be understood that the pictures in the first region can be from different locations, and the pictures in the second region can be from different locations. Exemplarily, the pictures in the second region may include at least one of the following: pictures selected from the picture library, pictures downloaded from the cloud, and pictures copied from the web.

[0140] In some embodiments of the present application, the electronic device can, in response to the received operation, add a comparison picture in the first region, or perform operations such as replacing, deleting, scaling (i.e., enlarging or reducing), marking, and editing the comparison picture in the first region, which will be introduced in detail below.

[0141] 1) Adding

[0142] In some embodiments of the present application, the electronic device can, in response to the received operation, add a displayed picture in the first region, where the operation can be an operation of the user selecting and dragging a picture, or other set operations, etc., which are not specifically limited in the embodiments of the present application. For example, when the user selects and drags any picture from the second region to the first region and releases it, the electronic device can, in response to this operation, add and display this picture in the first region. Optionally, the electronic device can also add a comparison mark to this picture in the second region. Among them, this picture is different from the comparison picture displayed in the first region.

[0143] Embodiment 4. In an example, based on the scenario described in Embodiment 1 above, as Figure 6 shown, there are 4 pictures in the first region and 5 pictures in the second region. When the user selects the 5th picture in the second region and drags it into the range of the first region and then releases it, the electronic device can, in response to this operation, switch to display Figure 10 the interface shown in Figure 6 . Compared with the interface shown in

[0144] 2) Replacing

[0145] In some embodiments of the present application, the electronic device may replace the picture displayed in the first area in response to the received operation. The operation may be an operation in which the user selects and drags a picture, or may be other set operations, etc., which are not specifically limited in the embodiments of the present application. For example, when the user drags any candidate picture (or reference picture) from the second area to the area where any comparison picture is located in the first area and releases it, the electronic device may, in response to this operation, replace the comparison picture with the candidate picture. Optionally, the electronic device may also delete the comparison mark of the comparison picture in the second area and add a comparison mark to the candidate picture in the second area. The candidate picture is different from the comparison picture.

[0146] Embodiment 5. In one example, based on the scenario described in Embodiment 1 above, as Figure 6 shown, the first area includes 4 pictures, and the second area includes 5 pictures. When the user selects the 5th picture in the second area and drags it to the area range where the 1st picture in the first area is located and then releases it, the electronic device may, in response to this operation, switch to display Figure 11 the interface shown in Figure 6 Compared with the interface shown in

[0147] 3) Delete

[0148] In some embodiments of the present application, when the user performs a delete operation on any comparison picture in the first area (for example, after long-pressing to select the comparison picture and then clicking on the control for controlling picture deletion in the popped-up operation selection interface), the electronic device may, in response to this operation, delete the comparison picture displayed in the first area. Optionally, the electronic device may delete the comparison picture displayed in the second area, or may delete the comparison mark of the comparison picture displayed in the second area. Optionally, when there is only one picture in the first area and the picture is deleted, the electronic device may exit the picture comparison interface and may switch to display the gallery interface.

[0149] Embodiment 6. In one example, based on the scenario described in Embodiment 1 above, as Figure 6 shown, the first area includes 4 pictures, and the second area includes 5 pictures. When the user clicks to select delete on the 1st picture in the first area, the electronic device may, in response to this operation, switch to display Figure 12 the interface shown in Figure 6Compared with the interface shown, the original first picture has been deleted from both the first area and the second area. Optionally, the operation performed by the user in the above example can also be other operations for controlling the deletion of pictures.

[0150] 4) Zoom in / out

[0151] In the first possible solution, the electronic device can, in response to the received operation, zoom in on or out of a single picture in the first area. For example, the user can perform an operation to zoom in on or out of a picture within the area range where any comparison picture is located in the first area to control the electronic device to zoom in on or out of the comparison picture. The electronic device can, in response to the operation of zooming in on or out of the picture performed by the user on the comparison picture, zoom in or out and display the comparison picture within the area range where the comparison picture is located. Among them, the operation performed by the user for zooming in on or out of the picture can also be other operations, which are not specifically limited in the embodiments of the present application. Further, after zooming in on or out of and displaying the picture, the electronic device can, in response to the operation of the user selecting and dragging the picture, perform a translation display of the picture in the display area where the picture is located. Among them, the operation performed by the user for translating the picture can also be other operations, which are not specifically limited in the embodiments of the present application. Based on the above method, the electronic device can perform operations such as zooming in on or out of and translating a single picture in the first area, thereby facilitating the user to view the details of the picture.

[0152] Embodiment 7. In an example, based on the scenario described in Embodiment 1 above, as Figure 6 shown, the first area includes 4 pictures, and the second area includes 5 pictures. When the user performs an operation to zoom in on the first picture in the first area, the electronic device can, in response to this operation, switch to display the interface shown in Figure 13 Compared with the interface shown in Figure 6 the first picture in the first area is enlarged and displayed.

[0153] In a second possible solution, the electronic device can, in response to the received operation, perform a linked zoom-in / zoom-out on all the pictures in the first area. For example, the user can control the electronic device to synchronously zoom in or out all the comparison pictures in the first area by performing an operation of zooming in or out on the pictures in the first area. The electronic device can, in response to the operation of zooming in or out on the pictures performed by the user in the first area, zoom in or out and display the comparison picture within the area range where each comparison picture is located. Among them, the operation performed by the user for zooming in or out on the pictures can also be other operations, which are not specifically limited in the embodiments of the present application. Based on the above method, the electronic device can perform a linked zoom-in / zoom-out operation on the pictures in the first area, thereby facilitating the user to view picture details and perform picture comparison. Further, after linked zooming in or out and displaying the comparison pictures in the first area, the electronic device can, in response to the operation of the user selecting any comparison picture and dragging it, perform a linked pan display on the comparison pictures in the first area. Among them, the operation performed by the user for panning the pictures can also be other operations, which are not specifically limited in the embodiments of the present application.

[0154] In the above method, when the electronic device zooms in or out and displays a picture, the display area occupied by the picture can remain unchanged or can be enlarged or reduced as the picture is enlarged or reduced.

[0155] Embodiment 8. In an example, based on the scenario described in Embodiment 1 above, as Figure 6 shown, the first area includes 4 pictures and the second area includes 5 pictures. When the user performs an operation of reducing the pictures in the first area, the electronic device can, in response to this operation, switch to display the interface shown in Figure 14 . Compared with the interface shown in Figure 6 , each comparison picture in the first area is reduced and displayed.

[0156] In some embodiments of the present application, the electronic device can, in response to the received operation, switch between a mode of scaling a single picture and a mode of linked scaling of multiple pictures. Among them, after the electronic device switches to the mode of scaling a single picture in response to the received operation, it can be processed according to the first possible solution described above. After the electronic device switches to the mode of linked scaling of multiple pictures in response to the received operation, it can be processed according to the second possible solution described above. Based on this method, the electronic device can flexibly switch different control modes to facilitate the user to perform picture processing in different modes.

[0157] 5) Pan

[0158] In the first possible solution, the electronic device can, in response to the received operation, pan a single picture in the first area.

[0159] As an alternative implementation, when the user selects any comparison picture in the first area and drags it to the area where another comparison picture is located and then releases it, the user can control the electronic device to translate the selected comparison picture to the area where the other comparison picture is located. The electronic device can respond to this operation and translate the selected comparison picture to the area where the other comparison picture is located. Optionally, the electronic device can simultaneously translate the other comparison picture to the area where the selected comparison picture is located. Based on this method, the electronic device can exchange the display areas of any two pictures in the first area. Among them, the operation performed by the user for translating pictures can also be other operations, which are not specifically limited in the embodiments of this application.

[0160] As another alternative implementation, when the user selects any comparison picture in the first area and drags it before or after another comparison picture, the user can control the electronic device to translate the selected picture before or after the other comparison picture. The electronic device can respond to this operation and display the selected comparison picture before or after the other comparison picture, thereby realizing the translation of the comparison pictures.

[0161] Example 9. In the first example, based on the scenario described in Embodiment 1 above, as Figure 6 shown, there are 4 pictures in the first area and 5 pictures in the second area. When the user selects the 1st picture, drags it before the 4th picture, and then releases the drag, the electronic device can respond to this operation and switch from the interface shown Figure 6 to the interface shown Figure 15a Compared with the interface shown Figure 6 , in the first area, the original 1st picture moves to the right to become the 3rd picture, and the original 2nd and 3rd pictures in the first area move to the left to become the 1st and 2nd pictures respectively.

[0162] In the second example, based on the scenario described in Embodiment 1 above, as Figure 6 shown, there are 4 pictures in the first area and 5 pictures in the second area. When the user selects the 2nd picture, drags it before the 1st picture, and then releases the drag, the electronic device can respond to this operation and switch from the interface shown Figure 6 to the interface shown Figure 15b Compared with the interface shown Figure 6 , in the first area, the original 2nd picture moves to the left to become the 1st picture, and the original 1st picture in the first area moves to the right to become the 2nd picture.

[0163] In some embodiments of the present application, after an electronic device magnifies or shrinks a single picture, it can, in response to an operation received, perform panning and display of the picture within the display area where the picture is located. Among them, the operation can be an operation of dragging after selecting the picture, or it can be other operations, which are not specifically limited in the embodiments of the present application. Similarly, after the electronic device performs linked magnification or reduction processing on multiple pictures, it can, in response to an operation received, perform linked panning operations on the multiple pictures (such as panning left, panning right, panning up, panning down, etc.). Among them, the panning operation for each picture is performed within the display area where each picture is located. For example, after the electronic device displays Figure 14 the interface shown, in response to an operation received for instructing linked left panning of the pictures, it can switch from the interface shown in Figure 14 to the interface shown in Figure 16 . Compared with the interface shown in Figure 14 , each comparison picture has been panned left by a certain distance within its respective display area.

[0164] Optionally, in the above method, the arrangement order of the pictures in the second area can change with the change of the arrangement order of the pictures in the first area. Optionally, the sequence order of the pictures arranged in the second area can be the same as the sequence order of the pictures arranged in the first area.

[0165] 6) Mark

[0166] In some embodiments of the present application, the marking operation performed by the user on the comparison pictures can be collection, etc. When the electronic device displays each comparison picture, it can simultaneously display the corresponding marking icon for the comparison picture, and can, in response to an operation performed by the user on the marking icon (such as an operation of clicking the marking icon), switch the display format of the marking icon (such as color, shape, size, etc.), so as to represent the marking status of the corresponding comparison picture (including marked or unmarked) through different display formats of the marking icon.

[0167] Embodiment 10. In an example, taking the marking operation as a collection operation as an example, as shown in Figure 17 , there are 3 pictures in the first area, and there are corresponding collection icons on each picture. Among them, when the collection icon is white, it means that the corresponding comparison picture is not collected, and when the collection icon is black, it means that the corresponding comparison picture is collected. There are 5 pictures in the second area. When the user clicks the collection icon corresponding to the first picture in the first area, the electronic device can, in response to this operation, switch to display the interface shown in Figure 18 . This interface is the same as that shown in Figure 17Compared with the interface shown, the favorite icon corresponding to the first picture in the first area changes from white to black. When the user clicks the favorite icon corresponding to the first picture in the first area again, the electronic device can respond to this operation and switch the favorite icon from black to white. Optionally, the operation performed by the user in the above example can also be other marking operations.

[0168] It should be noted that the user operation methods for adding comparison pictures in the first area, or replacing, deleting, marking, scaling, etc. the comparison pictures in the first area described in the above embodiments are only used as an example. In actual applications, other user operation methods can also be used to control and achieve the above picture operation effects. The embodiments of the present application do not specifically limit the user operation methods.

[0169] 7) Editing

[0170] In some embodiments of the present application, the user can perform an editing operation on the comparison pictures in the first area. The electronic device can respond to the editing operation performed by the user on the comparison pictures and update the pictures displayed in the first area and the second area. Among them, the editing operation can be picture processing operations such as trimming the picture size, adding filters, modifying the picture name, etc., and the embodiments of the present application do not make specific limitations.

[0171] In some embodiments of the present application, after the electronic device displays the picture comparison interface, it can automatically select at least one comparison picture from multiple comparison pictures in the first area according to a set strategy, and switch to display the selected at least one comparison picture in the first area. Alternatively, after the electronic device displays the picture comparison interface, it can respond to the received automatic screening operation, select at least one comparison picture from multiple comparison pictures in the first area according to a set strategy, and switch to display the selected at least one comparison picture in the first area. Optionally, the set strategy can be that the similarity between pictures is higher than or equal to a set picture similarity threshold, or the time difference between picture shooting is less than or equal to a set time threshold, etc., and the embodiments of the present application do not make specific limitations. Optionally, the automatic screening operation can be an operation performed by the user on a control for controlling the automatic screening picture function displayed by the electronic device.

[0172] In some embodiments of the present application, after the user performs one or more of the above operations on the picture in the first area, the electronic device can respond to the user operation and exit the display of the picture comparison interface. Among them, the user operation can be an operation of clicking the exit control in the picture comparison interface. Among them, when, during the display of the picture comparison interface, the electronic device responds to the user operation and performs an operation of deleting, marking, or editing the comparison picture in the picture comparison interface, after exiting the display of the picture comparison interface, the electronic device can perform the same deletion, marking, or editing operation on the comparison picture in the picture library. Optionally, after exiting the display of the picture comparison interface, the electronic device can switch to display an updated picture library interface, where the updated picture library interface can include the picture obtained after the electronic device performs the same deletion, marking, or editing operation on the comparison picture in the picture library and other pictures in the picture library. Based on this method, the user can conveniently update the pictures in the picture library when viewing the picture comparison interface, and the picture comparison efficiency is relatively high.

[0173] Embodiment 11. In one example, in the scenario described in Embodiment 6 above, after the electronic device displays Figure 12 the interface shown, the electronic device can respond to the user's operation of clicking the exit control in this interface and switch to display Figure 19 the picture library interface shown. Among them, since the first comparison picture was deleted during the display of the picture comparison interface, therefore, compared with the picture library interface before the display of the picture comparison interface, that is, Figure 4 the picture library interface shown, Figure 19 the first picture is deleted in the picture library interface shown, and at this time, the number of selected pictures is 4.

[0174] In the above example, the pictures in the picture library interface shown after the electronic device exits the display of the picture comparison interface are all in a selected state (that is, a state where they can be selected or deselected, or it can be understood as a state where the picture and the control for selecting / deselecting the picture are displayed simultaneously), corresponding to the state before the display of the picture comparison interface (that is, Figure 19 the state of the pictures in the interface shown). In some embodiments of the present application, the pictures in the picture library interface displayed after the electronic device exits the display of the picture comparison interface can also be in a display state (that is, a state where only the picture is displayed). For example, Figure 5 the interface shown can be replaced by Figure 19 the interface shown. Figure 20

[0175] In some embodiments of the present application, the electronic device can respond to the received operation and add a picture in the second area, or perform operations such as deleting the picture in the second area. The following will be introduced in detail respectively.

[0176] In some embodiments of the present application, the electronic device may, in response to a received operation, add a displayed picture in the second region. Wherein, the operation may be a setting operation or the like, and no specific limitation is made in the embodiments of the present application. For example, the second region may include a control for controlling the addition of a picture. When the user clicks on the control, the electronic device may, in response to the operation, display a picture selection interface, which at least includes at least one picture not displayed in the second region. The user may select a picture to be added to the second region in the picture selection interface. After the user selects a picture to be added to the second region, the electronic device may add and display the picture in the second region. Optionally, the at least one picture may be marked as an unselected picture. Optionally, the picture selection interface may further include candidate pictures in the second region, and the candidate pictures may be marked as selected pictures; wherein, the pictures marked as selected pictures may also be understood as pictures that have been selected by the user and displayed in the second region. Alternatively, the picture selection interface may further include candidate pictures and reference pictures in the second region, and the candidate pictures and reference pictures may be marked as selected pictures. Wherein, the pictures marked as selected pictures may also be understood as pictures that have been displayed in the second region.

[0177] In some embodiments of the present application, the electronic device may, in response to a received operation, delete a picture in the second region. Wherein, the operation may be a setting operation or the like, and no specific limitation is made in the embodiments of the present application. For example, when the user performs a deletion operation on any picture in the second region (such as long-pressing to select a picture and then clicking on the control for controlling picture deletion in the popped-up operation selection interface), the electronic device may, in response to the operation, delete the picture displayed in the second region. Optionally, when the electronic device deletes the picture displayed in the second region, it may also delete the picture displayed in the first region, or may not delete the picture displayed in the first region. Optionally, when there is only one picture in the second region and the picture is deleted, the electronic device may exit the picture comparison interface and may switch to display the gallery interface.

[0178] In some embodiments of the present application, the solution for the electronic device to perform operation processing on the pictures in the second region may also be implemented with reference to the method for the electronic device to perform operation processing on the pictures in the first region described above, and details are not described herein again.

[0179] In some embodiments of the present application, the pictures described in the above embodiments may be replaced with videos. Wherein, the way for the electronic device to display the video may be to display the cover picture of the video, or may be to display the playing video, etc.

[0180] In some embodiments of the present application, when the pictures described in the above embodiments are replaced with videos, the electronic device may display multiple comparison videos in the first area. Optionally, the electronic device may select multiple similar videos from the multiple comparison videos according to a set strategy, further determine the similar frames of each video from the multiple similar videos, and start playing the video from the position of the similar frames of each video. The set strategy may be that the video similarity is higher than or equal to a set video similarity threshold, etc., which is not specifically limited in the embodiments of the present application. The way for the electronic device to determine the similar frames of each device in the multiple videos may be to select the similar frames of each video according to set conditions, which is not specifically limited in the embodiments of the present application. Exemplarily, the set conditions may be: the picture similarity between the similar frames of different videos in the multiple videos is greater than or equal to a set picture similarity threshold; or the same target object is included in the similar frames of different videos in the multiple videos, etc. Optionally, the electronic device may use a set AI model to implement the above method of selecting similar audio or determining similar frames in similar audio.

[0181] Embodiment 12. In one example, when the pictures described in the above embodiments are replaced with videos, the picture comparison interface described in the above embodiments may be understood as a video comparison interface. The video comparison interface may include a first area and a second area. Among them, the first area may include multiple comparison videos, and the second area may include multiple candidate videos, or may include multiple candidate videos and at least one reference video. Regarding the comparison videos, reference may be made to the description of the comparison pictures in the foregoing embodiments, regarding the candidate videos, reference may be made to the description of the candidate pictures in the foregoing embodiments, and regarding the reference videos, reference may be made to the description of the reference pictures in the foregoing embodiments, which will not be elaborated here. Exemplarily, as Figure 21a shown in, the first area in the video comparison interface may include 4 videos, and the second area may include 5 videos. The 4 videos in the first area are included in the 5 videos in the second area. As an alternative implementation manner, when the electronic device detects that there are similar segments in Video 1, Video 3, and Video 4, it may consider Video 1, Video 3, and Video 4 as similar videos, and may further determine the similar frames from Video 1, Video 3, and Video 4. For example, when it is determined that the video frame at the 10th second in Video 1, the video frame at the 12th second in Video 3, and the video frame at the 15th second in Video 4 all include the same target object, the electronic device may consider the video frame at the 10th second in Video 1, the video frame at the 12th second in Video 3, and the video frame at the 15th second in Video 4 as similar frames. Then as Figure 21b shown in, the electronic device may start video playback from the video frame at the 10th second in Video 1, the video frame at the 12th second in Video 3, and the video frame at the 15th second in Video 4 respectively, so as to facilitate the user to view videos with similar content simultaneously.

[0182] Based on the method provided in the above embodiments, the electronic device can select multiple pictures to form a temporary comparison library and display them, facilitating the user to quickly and intuitively view and compare multiple pictures without having to view and compare pictures one by one. Therefore, the efficiency of picture comparison display in the above method is relatively high. In addition, during the process of the electronic device displaying multiple compared pictures, it can support the user to perform various operations such as replacing, deleting, scaling, marking, and editing the compared pictures in the picture comparison interface, with relatively high practicality and convenience.

[0183] In some embodiments of the present application, the pictures described in the above embodiments can be replaced with audio. Among them, the way for the electronic device to display the audio can be to display the icon of the audio file, etc., and no specific limitation is made in the embodiments of the present application.

[0184] In some embodiments of the present application, when the pictures described in the above embodiments are replaced with audio, the electronic device can display the icons corresponding to multiple compared audios in the first area. Optionally, the electronic device can select multiple similar audios from multiple compared audios, and further determine the starting position of the same voice in the multiple similar audios, and start playing the multiple similar audios from the starting position of the same voice. Among them, regarding the way for the electronic device to determine multiple similar audios and determine the starting position of the same voice in the similar audios, it can be implemented by referring to the way for the electronic device to determine multiple similar videos and determine the similar frames in the similar videos above, and details are not described here again.

[0185] Based on the method provided in the above embodiments, the electronic device can perform comparison display on multiple media contents, with relatively high display efficiency, facilitating the user to view and compare different media contents, thereby improving the user experience.

[0186] It should be noted that the specific implementation processes provided in the above embodiments are only examples of the applicable method processes of the embodiments of the present application. The execution order of each step can be adjusted accordingly according to actual needs, and other steps can also be added or some steps can be reduced. The specific implementation manners of each step can refer to the relevant introductions in the foregoing embodiments, and details are not described here again.

[0187] Based on the above embodiments and the same technical concept, the embodiments of the present application also provide a display method, as Figure 22 shown in, this method may include:

[0188] S2201: The electronic device determines multiple media contents in response to a received first operation.

[0189] In the embodiments of the present application, the media content can be at least one of the following types of content: pictures, animated pictures, videos, audio. Among them, regarding the source of the media content, reference can be made to the description in the foregoing embodiments, and details are not described here again.

[0190] In one example, taking the media content as a picture, the multiple media contents can be the pictures in the picture gallery described in the foregoing embodiments.

[0191] S2202: The electronic device displays a first interface in response to the received second operation; wherein, the first interface includes a first area and a second area, the first area includes multiple first media contents, the second area includes multiple media contents, and the multiple first media contents are included in the multiple media contents; wherein, the first operation is used to select multiple media contents, and the second operation is used to indicate comparing the multiple media contents; or, the first operation is used to select at least two media contents, the multiple media contents include at least two media contents, and the media contents other than the at least two media contents in the multiple media contents are determined according to the at least two media contents, and the second operation is used to indicate comparing the at least two media contents.

[0192] In one example, taking the media content as a picture, in a possible solution, when the first operation is used to select multiple media contents, the first operation can be the first operation described in the foregoing embodiments, and the multiple media contents can be the multiple candidate pictures described in the foregoing embodiments. Exemplarily, based on this method, the first operation can include the user's operation of selecting multiple candidate pictures in the Figure 4 shown picture gallery interface and the user's operation of clicking on the Figure 5 shown comparison control. The first interface can be the Figure 6 shown picture comparison interface. In another possible solution, when the first operation is used to select at least two media contents, the first operation can be the first operation described in the foregoing embodiments, the at least two media contents can be the multiple candidate pictures described in the foregoing embodiments, and the media contents other than the at least two media contents in the multiple media contents can be the at least one reference image described in the foregoing embodiments. Exemplarily, based on this method, the first operation can include the user's operation of selecting multiple candidate pictures in the Figure 4 shown picture gallery interface and the user's operation of clicking on the Figure 5 shown comparison control. The first interface can be the Figure 9 shown picture comparison interface. In the above method, the media contents other than the at least two media contents in the multiple media contents can be media contents automatically selected or determined by the electronic device. Optionally, for any media content other than the at least two media contents in the multiple media contents, the similarity with any media content in the at least two media contents is greater than or equal to a set similarity threshold. Taking the media content as the picture described in the foregoing embodiments as an example, that is, the similarity between any reference picture in the at least one reference picture and any candidate picture in the multiple candidate pictures is greater than or equal to the set similarity threshold.

[0193] In some embodiments of the present application, the manner of selecting multiple first media contents from multiple media contents may be implemented by referring to the method of selecting multiple comparison pictures from multiple candidate pictures described in the foregoing embodiments, or may be implemented by referring to the method of selecting multiple comparison pictures from multiple candidate pictures and at least one reference picture described in the foregoing embodiments, which will not be elaborated herein.

[0194] In some embodiments of the present application, multiple first media contents in the second region have a first mark, and the first mark is used to indicate: being simultaneously displayed in the first region and the second region. For example, taking the picture comparison interface shown in Figure 9 as an example, the first mark may be Figure 9 the "√" mark shown in

[0195] In some embodiments of the present application, media contents other than at least two media contents in the second region have a second mark, and the second mark is used to mark the media contents automatically selected by the electronic device. For example, taking the picture comparison interface shown in Figure 9 as an example, the second mark may be Figure 9 the "×" mark shown in

[0196] In some embodiments of the present application, the size of the display area occupied by each first media content among the multiple first media contents in the first region is larger than the size of the display area occupied by it in the second region. For example, taking the picture comparison interface shown in Figure 9 as an example, the first picture in the first region and the first picture in the second region are the same picture, but the size of the display area occupied by the first picture in the first region is larger than the size of the display area occupied by the first picture in the second region.

[0197] In some embodiments of the present application, after the electronic device displays the first interface in response to the received second operation, it may further perform at least one of the following processes:

[0198] 1) In response to the received third operation, update the second media content in the first region to a third media content; wherein, the second media content is one of the multiple first media contents, and the third media content is one of the multiple media contents other than the multiple first media contents.

[0199] Optionally, after the electronic device updates the second media content in the first region to the third media content, it may delete the first mark of the second media content in the second region, and may add the first mark to the third media content in the second region.

[0200] Based on this method, the electronic device may update the media content in the first region by using the media content in the second region.

[0201] In one example, taking the first interface as Figure 6 the picture comparison interface shown in, the second media content may be the first picture in the first area, the third media content may be the fifth picture in the second area, and the third operation may be the operation that the user selects the fifth picture in the second area, drags it to the area range where the first picture in the first area is located, and then releases it. In this scenario, the processing and the obtained effects according to the above processing method may refer to the content described in the foregoing Embodiment 5, and will not be elaborated here.

[0202] 2) In response to the received fourth operation, display the fourth media content additionally in the first area; wherein, the fourth media content is one media content other than the multiple first media contents among the multiple media contents.

[0203] Optionally, after the electronic device displays the fourth media content additionally in the first area, it may add a first mark to the fourth media content in the second area.

[0204] Based on this method, the electronic device can add the media content in the second area to the first area.

[0205] In one example, taking the first interface as Figure 6 the picture comparison interface shown in, the fourth media content may be the fifth picture in the second area, and the fourth operation may be the operation that the user selects the fifth picture in the second area, drags it to the range of the first area, and then releases it. In this scenario, the processing and the obtained effects according to the above processing method may refer to the content described in the foregoing Embodiment 4, and will not be elaborated here.

[0206] 3) In response to the received fifth operation, enlarge and display the fifth media content; or, in response to the received sixth operation, reduce and display the fifth media content; wherein, the fifth media content is any one of the multiple first media contents.

[0207] Based on this method, the electronic device can enlarge or reduce the display of a single media content in the first area.

[0208] In one example, taking the first interface as Figure 6 the picture comparison interface shown in, the fifth media content may be the first picture in the first area, and the fifth operation may be the operation of enlarging the picture performed by the user on the first picture in the first area. In this scenario, the processing and the obtained effects according to the above processing method may refer to the content described in the foregoing Embodiment 7, and will not be elaborated here.

[0209] 4) In response to the seventh operation received, multiple first media contents are displayed in an enlarged manner; wherein the enlargement ratios of the multiple first media contents are the same; or, in response to the eighth operation received, multiple first media contents are displayed in a reduced manner; wherein the reduction ratios of the multiple first media contents are the same.

[0210] Based on this method, the electronic device can jointly zoom in or out to display multiple media contents in the first area.

[0211] In one example, the first interface is Figure 6 Taking the picture comparison interface shown in as an example, the seventh operation may be an operation of reducing the picture performed by the user in the first area. In this scenario, the processing and the effect obtained according to the above processing method may refer to the content described in the above embodiment 8, and will not be repeated here.

[0212] 5) In response to the received ninth operation, adjust the display position of the sixth media content; or, in response to the received tenth operation, change the display positions of the sixth media content and the seventh media content; wherein the sixth media content is one of the multiple first media content, and the seventh media content is another of the multiple first media content.

[0213] The display position may also be understood as the display order of the media content in the area where it is located (ie, the order of the media content in the area where it is located).

[0214] Optionally, after changing the display positions of the sixth media content and the seventh media content, the electronic device may correspondingly change the display positions of the sixth media content and the seventh media content in the second area.

[0215] Based on the method, the electronic device can adjust the display position or display order of at least one media content in the first area.

[0216] In one example, the first interface is Figure 6 For example, the sixth media content may be the first picture in the first area, and the ninth operation may be an operation in which the user selects the first picture in the first area and drags it to before the fourth picture and releases the drag. In this scenario, the processing and the effect obtained according to the above processing method may refer to the content described in the first example of the above embodiment 9, and will not be repeated here.

[0217] In another example, the first interface is Figure 6Taking the picture comparison interface shown in as an example, the sixth media content can be the second picture in the first area, the seventh media content can be the first picture in the first area, and the ninth operation can be the operation where the user selects the second picture, drags it before the first picture, and then releases the drag. In this scenario, the processing and the effects obtained according to the above processing method can refer to the content described in the second example of the foregoing Embodiment 9, and will not be elaborated here.

[0218] 6) In response to the received eleventh operation, delete the eighth media content in the first area; where the eighth media content is one of the multiple first media contents.

[0219] Optionally, when the electronic device deletes the eighth media content in the first area, it can also delete the eighth media content in the second area at the same time.

[0220] In some embodiments of the present application, before the electronic device determines multiple media contents in response to the received first operation, it can display a second interface, where the second interface includes multiple media contents. After the electronic device deletes the eighth media content in the first area in response to the received eleventh operation, the electronic device can display a third interface in response to the received twelfth operation; where the third interface includes the media contents other than the eighth media content among the multiple media contents. Based on this method, the processing of deleting pictures by the electronic device in response to user operations during the comparison and display of pictures is still effective after exiting the picture comparison and display mode.

[0221] In one example, taking the first interface as Figure 6 the picture comparison interface shown in as an example, the eighth media content can be the first picture in the first area, and the eleventh operation can be the operation where the user clicks to delete on the first picture in the first area. The second interface can be the Figure 5 interface shown in , and the twelfth operation can be the operation where the user clicks the Figure 12 exit control in the picture comparison interface shown in , and the third interface can be the Figure 19 interface shown in . In this scenario, the processing and the effects obtained according to the above processing method can refer to the content described in the foregoing Embodiments 6 and 11, and will not be elaborated here.

[0222] 7) In response to the received thirteenth operation, add a third mark to the ninth media content in the first area; where the ninth media content is one of the multiple first media contents.

[0223] In one example, taking the first interface as Figure 6Taking the picture comparison interface shown as an example, the ninth media content can be the first picture in the first area, and the thirteenth operation can be the operation of the user clicking on the favorite icon corresponding to the first picture in the first area. Adding the third mark can be changing the favorite icon of the first picture from white to black. In this scenario, the processing and the effects obtained according to the above processing method can refer to the content described in the foregoing Embodiment 10, which will not be elaborated here.

[0224] Optionally, when the electronic device adds the third mark to the ninth media content in the first area, it can also add the third mark to the ninth media content in the second area.

[0225] In some embodiments of the present application, before the electronic device determines multiple media contents in response to the received first operation, it can display a second interface, where the second interface includes multiple media contents. After the electronic device adds the third mark to the ninth media content in the first area in response to the received thirteenth operation, it can display a fourth interface in response to the received fourteenth operation; where the fourth interface includes multiple media contents, and the ninth media content among the multiple media contents has the third mark. Based on this method, the processing of marking pictures performed by the electronic device in response to user operations during the comparison display of pictures remains effective after exiting the picture comparison display mode.

[0226] 8) Update the tenth media content in the first area in response to the received fifteenth operation; where the tenth media content is one of the multiple first media contents.

[0227] Optionally, when the electronic device updates the tenth media content in the first area, it can also perform a corresponding update on the tenth media content in the second area, that is, replace the tenth media content in the second area with the updated tenth media content.

[0228] In some embodiments of the present application, before the electronic device determines multiple media contents in response to the received first operation, it can display a second interface, where the second interface includes multiple media contents. After the electronic device updates the tenth media content in the first area in response to the received fifteenth operation, it can also display a fifth interface in response to the received sixteenth operation; where the fifth interface includes: the media contents other than the tenth media content among the multiple media contents, and the updated tenth media content.

[0229] In some embodiments of the present application, when the media content is video or audio, after the electronic device displays the first interface in response to the received second operation, it can also start playing the eleventh media content from the first position of the eleventh media content, and start playing the twelfth media content from the second position of the twelfth media content; wherein, the eleventh media content is one media content among multiple first media contents, the twelfth media content is another media content among multiple first media contents, and the similarity between the media content at the first position in the eleventh media content and the media content at the second position in the twelfth media content is greater than or equal to a set threshold. Based on this method, when the electronic device compares videos or audios, it can start playing videos or audios simultaneously from similar positions of multiple videos or audios, so as to facilitate the user to make comparisons.

[0230] In one example, taking the first interface as Figure 21a the video comparison interface shown, the eleventh media content can be any one of Video 1, Video 3, and Video 4, and the twelfth media content can be another one of Video 1, Video 3, and Video 4. Suppose the eleventh media content is Video 1 and the twelfth media content is Video 3, then the first position of the eleventh media content can be at the 10th second of Video 1 (or the video frame at the 10th second), and the second position of the twelfth media content can be at the 12th second of Video 3 (or the video frame at the 12th second). Starting to play the eleventh media content from the first position of the eleventh media content, that is, starting to play the video from the video frame at the 10th second of Video 1; starting to play the twelfth media content from the second position of the twelfth media content, that is, starting to play the video from the video frame at the 12th second of Video 3. In this scenario, the processing and the obtained effects according to the above processing method can refer to the content described in the foregoing Embodiment 12, which will not be elaborated here.

[0231] The specific implementation manners corresponding to the above method can refer to the introduction of the relevant methods in the foregoing embodiments, which will not be elaborated here.

[0232] Based on the above embodiments and the same technical concept, an embodiment of the present application further provides an electronic device, which can be used to implement the display method provided by the embodiment of the present application. As Figure 23 shown in, the electronic device 2300 may include: a display screen 2301, a memory 2302, one or more processors 2303, and one or more computer programs (not shown in the figure). The above components can be coupled through one or more communication buses 2304.

[0233] Among them, the display screen 2301 is used to display relevant user interfaces such as application interfaces.

[0234] One or more computer programs (codes) are stored in the memory 2302, and the one or more computer programs include computer instructions; the one or more processors 2303 call the computer instructions stored in the memory 2302, so that the electronic device 2300 executes the display method provided in the embodiments of the present application.

[0235] In a specific implementation, the memory 2302 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 2302 may store an operating system (hereinafter referred to as the system), such as ANDROID, IOS, WINDOWS, or an embedded operating system such as LINUX. The memory 2302 may be used to store the implementation program of the embodiments of the present application. The memory 2302 may also store a network communication program, which may be used to communicate with one or more additional devices, one or more user devices, and one or more network devices.

[0236] The one or more processors 2303 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 the program of the solution of the present application.

[0237] It should be noted that Figure 23 This is only one implementation manner of the electronic device 2300 provided in the embodiments of the present application. In practical applications, the electronic device 2300 may further include more or fewer components, which are not limited herein.

[0238] Based on the above embodiments and the same technical concept, the embodiments of the present application further provide a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the computer executes the method provided in the above embodiments.

[0239] Based on the above embodiments and the same technical concept, the embodiments of the present application further provide a computer program product, which includes a computer program or instructions. When the computer program or instructions run on a computer, the computer executes the method provided in the above embodiments.

[0240] In the method provided by the embodiments of the present application, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the embodiments of the present invention are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from a website, a computer, a server, or a data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a digital video disc (DVD)), or a semiconductor medium (such as an SSD), etc.

[0241] Obviously, those skilled in the art can make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims

1. A display method, applied to an electronic device, characterized in that, The method comprises: In response to the received first operation, determining a plurality of media contents; In response to the received second operation, display a first interface; wherein the first interface includes a first area and a second area, the first area includes a plurality of first media contents, the second area includes the plurality of media contents, and the plurality of first media contents are included in the plurality of media contents; in, The first operation is used to select the plurality of media contents, and the second operation is used to instruct to compare the plurality of media contents; or The first operation is used to select at least two media contents, the plurality of media contents include the at least two media contents, the media contents other than the at least two media contents in the plurality of media contents are determined based on the at least two media contents, and the second operation is used to instruct to compare the at least two media contents; The method further comprises: In response to the received third operation, for the plurality of first media contents in the first area, switching from a mode of zooming in and out of a single media content to a mode of zooming in and out of all the media contents in a linked manner; or In response to the received third operation, for the plurality of first media contents in the first area, switching from a mode of performing linked zooming on all media contents to a mode of performing zooming on a single media content; Among them, the mode for scaling a single media content is: a mode of scaling one of the multiple first media contents in response to the received third operation; the mode for linked scaling of all media contents is: a mode of synchronously scaling all of the multiple first media contents in response to the received third operation.

2. The method according to claim 1, characterized in that, The media content is at least one of the following types of content: pictures, animated pictures, videos, and audios.

3. The method according to claim 1 or 2, characterized in that, The size of the display area occupied by each of the plurality of first media contents in the first area is larger than the size of the display area occupied by each of the plurality of first media contents in the second area.

4. The method according to any one of claims 1 to 3, characterized in that, The similarity between any media content among the multiple media contents except the at least two media contents and any media content among the at least two media contents is greater than or equal to a set similarity threshold.

5. The method according to any one of claims 1 to 4, characterized in that, The plurality of first media contents in the second area have a first mark, and the first mark is used to indicate that the plurality of first media contents are displayed in the first area and the second area at the same time.

6. The method according to any one of claims 1 to 5, characterized in that, The media contents other than the at least two media contents in the second area have a second mark, and the second mark is used to mark the media contents automatically selected by the electronic device.

7. The method according to any one of claims 1 to 6, characterized in that, After displaying the first interface in response to the received second operation, the method further includes: In response to the received fourth operation, the second media content in the first area is updated to the third media content; wherein the second media content is one of the multiple first media content, and the third media content is one of the multiple media content except the multiple first media content.

8. The method according to any one of claims 1 to 6, characterized in that, After displaying the first interface in response to the received second operation, the method further includes: In response to the received fifth operation, a fourth media content is added and displayed in the first region; wherein, the fourth media content is one of the multiple media contents other than the multiple first media contents.

9. The method according to any one of claims 1 to 6, characterized in that, After displaying the first interface in response to the received second operation, the method further includes: When in the mode of zooming in on a single media content, in response to the received sixth operation, the fifth media content is enlarged and displayed; or When in the mode of zooming in on a single media content, in response to the received seventh operation, the fifth media content is reduced and displayed; wherein, the fifth media content is any one of the multiple first media contents.

10. The method according to claim 9, characterized in that, After enlarging and displaying the fifth media content or reducing and displaying the fifth media content, the method further includes: In response to the received operation for panning the fifth media content, the fifth media content is panned within the display region where the fifth media content is located.

11. The method according to any one of claims 1 to 6, characterized in that, After displaying the first interface in response to the received second operation, the method further includes: When in the mode of synchronously zooming in on all media contents, in response to the received eighth operation, the multiple first media contents are synchronously enlarged and displayed; wherein, the magnification ratios of the multiple first media contents are the same; or When in the mode of synchronously zooming out on all media contents, in response to the received ninth operation, the multiple first media contents are synchronously reduced and displayed; wherein, the reduction ratios of the multiple first media contents are the same.

12. The method according to claim 11, wherein, After synchronously enlarging and displaying the multiple first media contents or synchronously reducing and displaying the multiple first media contents, the method further includes: In response to the received operation for panning the multiple first media contents, the multiple first media contents are synchronously panned; wherein, the panning of each of the multiple first media contents is performed within the display region where each media content is located.

13. The method according to any one of claims 1 to 6, wherein, After displaying the first interface in response to the received second operation, the method further includes: In response to the received tenth operation, the display position of the sixth media content is adjusted; or In response to the received eleventh operation, the display positions of the sixth media content and the seventh media content are exchanged; wherein, the sixth media content is one of the multiple first media contents, and the seventh media content is another one of the multiple first media contents.

14. The method according to any one of claims 1 to 6, wherein, After displaying the first interface in response to the received second operation, the method further includes: In response to the received twelfth operation, the eighth media content in the first region is deleted, and the eighth media content in the second region is deleted; wherein, the eighth media content is one of the multiple first media contents.

15. The method according to claim 14, wherein, The method further includes: In response to the received twelfth operation, the eighth media content in the saved multiple media contents is deleted, so that the gallery interface displayed after exiting the first interface does not include the eighth media content.

16. The method according to claim 14 or 15, wherein, The second operation is used to indicate comparing the multiple media contents; Before determining a plurality of media contents in response to a received first operation, the method further includes: Displaying a second interface, which includes the plurality of media contents; After deleting the eighth media content in the first area in response to a received twelfth operation, the method further includes: In response to a received thirteenth operation, displaying a third interface; wherein, the thirteenth operation is used to indicate stopping the contrast display of media contents, and the third interface includes the media contents other than the eighth media content among the plurality of media contents.

17. The method according to any one of claims 1 to 6, wherein, After displaying a first interface in response to a received second operation, the method further includes: In response to a received fourteenth operation, adding a third mark to the ninth media content in the first area; wherein, the ninth media content is one of the plurality of first media contents.

18. The method according to claim 17, wherein, The third mark is used to indicate that the ninth media content has been favorited.

19. The method according to claim 17 or 18, wherein, After adding the third mark to the ninth media content in the first area, the method further includes: In response to an operation for indicating canceling the mark of the ninth media content, removing the third mark of the ninth media content.

20. The method according to claim 17 or 18, wherein, After adding the third mark to the ninth media content in the first area, the method further includes: Exiting the first interface and displaying a gallery interface; wherein, the ninth media content in the gallery interface has the third mark.

21. The method according to claim 17, 18 or 20, wherein, The second operation is used to indicate comparing the plurality of media contents; Before determining a plurality of media contents in response to a received first operation, the method further includes: Displaying a second interface, which includes the plurality of media contents; After adding the third mark to the ninth media content in the first area in response to a received fourteenth operation, the method further includes: In response to a received fifteenth operation, displaying a fourth interface; wherein, the fifteenth operation is used to indicate stopping the contrast display of media contents, and the fourth interface includes the plurality of media contents, and the ninth media content among the plurality of media contents has the third mark.

22. The method according to any one of claims 1 to 6, wherein, After displaying a first interface in response to a received second operation, the method further includes: In response to a received sixteenth operation, updating the tenth media content in the first area; wherein, the tenth media content is one of the plurality of first media contents.

23. The method according to claim 22, wherein The second operation is used to indicate comparing the plurality of media contents; Before determining a plurality of media contents in response to a received first operation, the method further includes: Displaying a second interface, which includes the plurality of media contents; After updating the tenth media content in the first area in response to a received sixteenth operation, the method further includes: In response to a received seventeenth operation, displaying a fifth interface; wherein, the seventeenth operation is used to indicate stopping the contrast display of media contents, and the fifth interface includes: the media contents other than the tenth media content among the plurality of media contents, and the updated tenth media content.

24. The method according to claim 1, wherein The media content is video or audio. After displaying a first interface in response to a received second operation, the method further includes: playing the eleventh media content starting from a first position of the eleventh media content, and playing the twelfth media content starting from a second position of the twelfth media content; wherein the eleventh media content is one media content among the plurality of first media contents, the twelfth media content is another media content among the plurality of first media contents, and the similarity between the media content at the first position in the eleventh media content and the media content at the second position in the twelfth media content is greater than or equal to a set threshold.

25. The method according to any one of claims 1 to 24, wherein The number of media contents that can be displayed in the first region is less than or equal to a set number; When the number of the plurality of media contents is greater than the set number, the number of the plurality of first media contents displayed in the first region is the set number, and the plurality of first media contents are a part of the plurality of media contents; When the number of the plurality of media contents is less than the set number, the plurality of first media contents displayed in the first region are all the plurality of media contents.

26. The method according to any one of claims 1 to 25, wherein The arrangement order of the plurality of first media contents in the first region is the order in which the plurality of first media contents are selected by the user.

27. An electronic device, wherein The electronic device includes a display screen, a memory, and one or more processors; wherein the memory is used to store computer program code, and the computer program code includes computer instructions; when the computer instructions are executed by the one or more processors, the electronic device is caused to execute the method according to any one of claims 1 to 26.

28. A computer-readable storage medium, wherein The computer-readable storage medium stores a computer program, and when the computer program runs on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 26.

29. A computer program product, wherein The computer program product includes a computer program or instructions, and when the computer program or instructions run on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 26.

Citation Information

Patent Citations

  • Integrated reduced graph implementing method based on single screen

    CN101315633A

  • Method for photo editing and mobile terminal using this method

    CN102332172A

  • Method and device for displaying pictures

    CN103677502A