Display method and electronic device

By displaying the first interface on the electronic device, including a comparison display area and a to-select area, the problem of inability to effectively compare and display multiple media contents in the prior art is solved, and efficient media content comparison and display effect are achieved.

WO2025045038A1PCT designated stage expired Publication Date: 2025-03-06HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/114875
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-08-29
Filing Date
2024-08-27
Publication Date
2025-03-06

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, including a first area and a second area. The first area is used to display multiple media contents in a comparison, and the second area displays the comparison media content and other media contents. The user can switch and manage media contents between the two areas through operations.

Benefits of technology

The comparison display of media content is realized, and the display effect and comparison efficiency of media content are improved. Users can easily view and compare multiple media content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024114875_06032025_PF_FP_ABST
    Figure CN2024114875_06032025_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a display method and an electronic device, the method being applied to an electronic device. The method comprises: in response to a received first operation, determining multiple pieces of media content; and in response to a received second operation, displaying a first interface, the first interface comprising a first region and a second region, the first region comprising multiple pieces of first media content, the second region comprising the multiple pieces of media content, and the multiple pieces of first media content being included in the multiple pieces of media content; the first operation is used to select the multiple pieces of media content, and the second operation is used to indicate comparison of the multiple pieces of media content; or the first operation is used to select at least two pieces of media content, the multiple pieces of media content including the at least two pieces of media content, the media content other than the at least two pieces of media content among the multiple pieces of media content being determined on the basis of the at least two pieces of media content, and the second operation being used to indicate comparison of the at least two pieces of media content. The present method can improve the display effect and comparison efficiency of media content.
Need to check novelty before this filing date? Find Prior Art

Description

Display method and electronic device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of the People's Republic of China on August 29, 2023, with application number 202311103287.6 and application name "A Display Method and Electronic Device", the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the technical field of electronic devices, and in particular to a display method and electronic device. Background Art

[0004] Currently, users can compare multiple images by displaying multiple images simultaneously on a personal computer (PC). However, this method has poor display quality, as users can only view and compare multiple images displayed on the PC at the same time. Therefore, the efficiency of image viewing and comparison is low. In addition, some electronic devices, such as mobile phones, cannot provide users with the function of comparing and displaying multiple images, and users can only view and compare images one by one. Most current electronic devices are also unable to implement comparative display of other types of media content (such as videos). Therefore, the effect of current electronic devices in displaying media content is poor.

[0005] Summary of the Invention

[0006] The present application provides a display method and an electronic device for realizing comparative display of media content, thereby improving the display effect and comparison efficiency of the media content.

[0007] In a first aspect, the present application provides a display method, applied to an electronic device, the method comprising: determining multiple media contents in response to a received first operation; displaying a first interface in response to a received second operation; wherein the first interface comprises a first area and a second area, the first area comprises multiple first media contents, the second area comprises the multiple media contents, and the multiple first media contents are included in the multiple media contents; wherein the first operation is used to select the multiple media contents, and the second operation is used to indicate a comparison of the multiple media contents; or, the first operation is used to select at least two media contents, the multiple media contents include the at least two media contents, the media contents in the multiple media contents other than the at least two media contents are determined based on the at least two media contents, and the second operation is used to indicate a comparison of the at least two media contents.

[0008] In this method, an electronic device can display multiple media contents for comparison in a first area of ​​a first interface, thereby enabling comparative display of media contents and improving the display quality and comparison efficiency of the media contents. Furthermore, while the electronic device displays multiple media contents for comparison in the first area of ​​the first interface, it can also display the multiple media contents being compared and at least one other media content in a second area of ​​the first interface. This allows for displaying more media content in the media content comparison interface, further improving the display quality of the media contents. The at least one other media content can serve as candidate media content for comparison, i.e., media content to be compared, facilitating user adjustment of the media content for comparison, thereby improving comparison efficiency. In this method, the media content in the first area can be the media content being compared. When the first operation is used to select multiple media contents, the media content in the second area, excluding the multiple media contents being compared, can be user-selected media content. When the first operation is used to select at least two media contents, the media content in the second area, excluding the media contents being compared, can be user-selected media content or automatically determined by the electronic device. By displaying these media contents in the second area, more media contents to be selected can be provided to the user in addition to the media contents involved in the comparison, so as to compare and display the media contents more conveniently and efficiently, thereby further improving the display effect and comparison efficiency of the media contents.

[0009] In one possible design, the media content is at least one of the following types of content: pictures, animated pictures, videos, and audio.

[0010] In this method, the media content can be a variety of different types of media content, which has high flexibility and practicality.

[0011] In a possible design, the size of the display area occupied by each first media content in the plurality of first media content in the first area is larger than the size of the display area occupied by each first media content in the second area.

[0012] 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 the media content in the second area, which can ensure that the media content being compared is displayed in a larger size, thereby intuitively and prominently displaying the media content being compared, thereby improving the media content display effect and the user viewing experience.

[0013] In one possible design, the similarity between any media content in the multiple media contents other than the at least two media contents and any media content in the at least two media contents is greater than or equal to a set similarity threshold. The media content in the multiple media contents other than the at least two media contents may be media content automatically selected by the electronic device, and the at least two media contents may be content selected by the user. By setting the similarity between any media content in the multiple media contents other than the at least two media contents and any media content in the at least two media contents to be greater than or equal to a set similarity threshold, media content similar to the media content selected by the user can be displayed in the second area, making it easier to compare similar media content.

[0014] In a possible design, the plurality of first media contents in the second area have a first mark, and the first mark is used to indicate that they are displayed in the first area and the second area at the same time.

[0015] In this method, the media content being compared can be intuitively marked by the first mark, which is convenient for users to view and has high practicality.

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

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

[0018] In one possible design, after displaying the first interface in response to a received second operation, the method further includes: updating the second media content in the first area with third media content in response to a received third operation; 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. Optionally, the third operation is used to instruct the third media content to replace the second media content.

[0019] 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 richer and more practical media content comparison function.

[0020] In one possible design, after displaying the first interface in response to the received second operation, the method further includes: adding and displaying fourth media content in the first area in response to the received fourth operation; wherein the fourth media content is a piece of media content among the multiple media contents other than the multiple first media contents. The fourth operation is used to instruct the addition of the fourth media content to the first area.

[0021] In this method, after displaying the media content participating in the comparison, ie, the media content in the first area, the electronic device may also display the media content currently participating in the comparison, thereby providing a richer and more practical media content comparison function.

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

[0023] In this method, after displaying the media content participating in the comparison, ie, the media content in the first area, the electronic device can also separately zoom in or out to display the media content participating in the comparison, which is highly flexible and practical.

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

[0025] In this method, after displaying the media content participating in the comparison, ie, the media content in the first area, the electronic device can also zoom in or out to display the media content participating in the comparison, which is highly practical.

[0026] In one possible design, after displaying the first interface in response to the received second operation, the method further includes: adjusting the display position of the sixth media content in response to the received ninth operation; or, changing the display positions of the sixth media content and the seventh media content in response to the received tenth operation; 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.

[0027] In this method, after displaying the media content participating in the comparison, ie, the media content in the first area, the electronic device can flexibly adjust the display position of the media content participating in the comparison, which is highly practical.

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

[0029] In this method, after displaying the media content participating in the comparison, ie, the media content in the first area, the electronic device can delete the media content participating in the comparison, which is highly practical.

[0030] In one possible design, before determining a plurality of media contents in response to a received first operation, the method further includes: displaying a second interface, wherein the second interface includes the plurality of media contents; after deleting the eighth media content in the first area in response to a received eleventh operation, the method further includes: displaying a third interface in response to a received twelfth operation; wherein the third interface includes media contents of the plurality of media contents other than the eighth media content. Optionally, the twelfth operation is used to instruct to stop comparing and displaying media contents.

[0031] In this method, after the electronic device deletes the media content being compared and exits the comparison, the deletion operation performed by the electronic device on the media content remains valid. The above method allows the user to effectively delete the media content during the comparison process, which is highly practical.

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

[0033] In this method, after displaying the media content participating in the comparison, ie, the media content in the first area, the electronic device can mark the media content participating in the comparison, which is highly practical.

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

[0035] In this method, after the electronic device marks the media content being compared and exits the comparison, the marking operation performed by the electronic device on the media content remains valid. The above method allows users to effectively mark media content during the comparison process, and is highly practical.

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

[0037] In this method, after displaying the media content participating in the comparison, ie, the media content in the first area, the electronic device can edit and update the media content participating in the comparison, which is highly practical.

[0038] In one possible design, before determining multiple media contents in response to a received first operation, the method further includes: displaying a second interface, which includes the multiple media contents; after updating the tenth media content in the first area in response to a received fifteenth operation, the method further includes: displaying a fifth interface in response to a received sixteenth operation; wherein the fifth interface includes: media content among the multiple media contents except the tenth media content, and the updated tenth media content.

[0039] In this method, after the electronic device updates the media content being compared and exits the comparison, the update process performed by the electronic device on the media content remains valid. The above method allows the user to effectively update the media content during the comparison process, and is highly practical.

[0040] In one possible design, the media content is video or audio. After displaying the first interface in response to the received second operation, the method also includes: playing the eleventh media content from the first position of the eleventh media content, and playing the twelfth media content from the second position of the twelfth media content; wherein the eleventh media content is one of the multiple first media content, the twelfth media content is another media content among the multiple first media content, 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.

[0041] In this method, when displaying videos or audios for comparison, the electronic device can start playing from similar positions of multiple videos or audios involved in the comparison, which is convenient for users to view and compare and has high practicality.

[0042] In a second aspect, an embodiment of the present application provides an electronic device, comprising 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 comprises computer instructions; when the computer instructions are executed by the one or more processors, the electronic device executes the method described in the above-mentioned first aspect or any possible design of the first aspect.

[0043] In a third aspect, the present application provides a computer-readable storage medium storing a computer program. When the computer program runs on an electronic device, the electronic device executes the method described in the first aspect or any possible design of the first aspect.

[0044] 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 are run on an electronic device, the electronic device executes the method described in the first aspect or any possible design of the first aspect.

[0045] In a fifth aspect, the present application provides a chip system comprising a processor and a memory, wherein the memory stores instructions; 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 may be composed of a chip alone, or may include a chip and other discrete components.

[0046] For the beneficial effects of the second to fifth aspects mentioned above, please refer to the description of the beneficial effects of the relevant content of the first aspect mentioned above, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] FIG1 is a schematic diagram of the hardware architecture of an electronic device provided in an embodiment of the present application;

[0048] FIG2 is a schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application;

[0049] FIG3 is a schematic diagram of a display method provided in an embodiment of the present application;

[0050] FIG4 is a schematic diagram of a gallery interface provided in an embodiment of the present application;

[0051] FIG5 is a schematic diagram of an image selection interface provided in an embodiment of the present application;

[0052] FIG6 is a schematic diagram of an image comparison interface provided in an embodiment of the present application;

[0053] FIG7 is a schematic diagram of an image selection interface provided in an embodiment of the present application;

[0054] FIG8 is a schematic diagram of an image comparison interface provided in an embodiment of the present application;

[0055] FIG9 is a schematic diagram of an image comparison interface provided in an embodiment of the present application;

[0056] FIG10 is a schematic diagram of an image comparison interface provided in an embodiment of the present application;

[0057] FIG11 is a schematic diagram of a picture comparison interface provided in an embodiment of the present application;

[0058] FIG12 is a schematic diagram of an image comparison interface provided in an embodiment of the present application;

[0059] FIG13 is a schematic diagram of an image comparison interface provided in an embodiment of the present application;

[0060] FIG14 is a schematic diagram of a picture comparison interface provided in an embodiment of the present application;

[0061] FIG15a is a schematic diagram of a picture comparison interface provided in an embodiment of the present application;

[0062] FIG15 b is a schematic diagram of an image comparison interface provided in an embodiment of the present application;

[0063] FIG16 is a schematic diagram of a picture comparison interface provided in an embodiment of the present application;

[0064] FIG17 is a schematic diagram of an image comparison interface provided in an embodiment of the present application;

[0065] FIG18 is a schematic diagram of a picture comparison interface provided in an embodiment of the present application;

[0066] FIG19 is a schematic diagram of an image selection interface provided in an embodiment of the present application;

[0067] FIG20 is a schematic diagram of a gallery interface provided in an embodiment of the present application;

[0068] FIG21a is a schematic diagram of a video comparison interface provided in an embodiment of the present application;

[0069] FIG21 b is a schematic diagram of a video comparison interface provided in an embodiment of the present application;

[0070] FIG22 is a schematic diagram of a display method provided in an embodiment of the present application;

[0071] FIG23 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0072] In order to make the purpose, 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.

[0073] In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of technical features indicated. Therefore, features specified as "first" or "second" may explicitly or implicitly include one or more of the features.

[0074] To facilitate understanding, exemplary descriptions of concepts related to this application are provided for reference.

[0075] The electronic device may be a device with a display function. In some embodiments of the present application, the electronic device may 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.), an intelligent 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, a wireless terminal in a smart home, an aerial device (e.g., an intelligent robot, a drone, an airplane), etc.

[0076] In some embodiments of the present application, the electronic device may also be a portable terminal device that includes other functions such as audio and video playback functions. Or a portable terminal device with other operating systems. The portable terminal device may also be other portable terminal devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present application, the electronic device may not be a portable terminal device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0077] It should be understood that in the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple.

[0078] In order to improve the display effect and comparison efficiency of media content, an embodiment of the present application provides a display method and electronic device, which can realize the comparative display of media content, facilitate users to conveniently and quickly view and compare different media content, and can improve the display effect and comparison efficiency of media content.

[0079] 1 , the structure of an electronic device to which the method provided in an embodiment of the present application is applicable is introduced.

[0080] As shown in Figure 1, 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, an earphone interface 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.

[0081] The sensor module 180 may include a gyroscope sensor, an acceleration sensor, a proximity light sensor, a fingerprint sensor, a touch sensor, a temperature sensor, a pressure sensor, a distance sensor, a magnetic sensor, an ambient light sensor, an air pressure sensor, a bone conduction sensor, and the like.

[0082] It should be understood that the electronic device 100 shown in FIG1 is merely an example and does not limit the electronic device, and the electronic device may have more or fewer components than shown in the figure, may combine two or more components, or may have a different component configuration. The various components shown in FIG1 may be implemented in hardware, including one or more signal processing and / or application-specific integrated circuits, software, or a combination of hardware and software.

[0083] 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 can be independent devices or integrated into one or more processors. Among them, the controller can be the nerve center and command center of the electronic device 100. The controller can generate an operation control signal based on the instruction opcode and the timing signal to complete the control of instruction fetching and execution.

[0084] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0085] The execution of the display method provided in the embodiment of the present application can be controlled by the processor 110 or completed by calling other components, such as calling the processing program of the embodiment of the present application stored in the internal memory 121, or calling the processing program of the embodiment of the present application stored in a third-party device through the external memory interface 120, to control the wireless communication module 160 to communicate data with other devices, thereby improving the intelligence and convenience of the electronic device 100 and enhancing the user experience. The processor 110 can include different devices. For example, when a CPU and a GPU are integrated, the CPU and the GPU can cooperate to execute the display method provided in the embodiment of the present application. For example, part of the algorithm in the display method is executed by the CPU, and another part of the algorithm is executed by the GPU to obtain faster processing efficiency.

[0086] The display screen 194 can be used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or 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 photos, videos, and other media content.

[0087] In the embodiment of the present application, the display screen 194 can be an integrated flexible display screen, or a spliced ​​display screen consisting of two rigid screens and a flexible screen located between the two rigid screens.

[0088] Camera 193 (either a front-facing camera or a rear-facing camera, or one camera serving as both) is used to capture still images or videos. Typically, camera 193 includes a photosensitive element, such as a lens assembly and an image sensor. The lens assembly includes multiple lenses (convex or concave) that capture light signals reflected from the object to be photographed and transmit the captured light signals to the image sensor. The image sensor generates an original image of the object to be photographed based on the light signals.

[0089] The internal memory 121 can be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store the code of the operating system, application program (such as the function corresponding to the solution of the present application, etc.). The data storage area can store data created during the use of the electronic device 100, etc.

[0090] The internal memory 121 may also store one or more computer programs corresponding to the algorithms of the present application. The one or more computer programs are stored in the internal memory 121 and configured to be executed by the one or more processors 110. The one or more computer programs include instructions that can be used to perform the various steps in the following embodiments.

[0091] 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.

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

[0093] The sensor module 180 may include a gyro sensor, an acceleration sensor, a proximity light sensor, a fingerprint sensor, a touch sensor, and the like.

[0094] A touch sensor, also known as a "touch panel," can be provided on the display screen 194. The touch sensor and the display screen 194 form a touch display screen, also known as a "touch screen." The touch sensor is used to detect touch operations applied to or near the touch sensor. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor can also be provided on the surface of the electronic device 100, at a location different from that of the display screen 194.

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

[0096] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0097] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110. In an embodiment of the present application, the mobile communication module 150 can also be used to exchange information with other devices.

[0098] The modem processor may include a modulator and a demodulator. 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. The demodulator then 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 passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0099] The wireless communication module 160 can provide wireless communication solutions applied to the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (WiFi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2. In the embodiment of the present application, the wireless communication module 160 is used to establish a connection with other electronic devices and exchange data. Alternatively, the wireless communication module 160 can be used to access an access point device, send control instructions to other electronic devices, or receive data sent from other electronic devices.

[0100] In addition, the electronic device 100 can 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. For example, music playback, recording, etc. The electronic device 100 can receive input from the key 190 and generate key signal input related to the user settings and function control of the electronic device 100. The electronic device 100 can use the motor 191 to generate a vibration prompt (such as an incoming call vibration prompt). The indicator 192 in the electronic device 100 can be an indicator light, which can be used to indicate the charging status, power changes, 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 the SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.

[0101] It should be understood that in actual applications, the electronic device 100 may include more or fewer components than those shown in FIG1 , and the embodiments of the present application are not limited thereto. 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.

[0102] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. For example, as shown in Figure 2, the software architecture can be divided into four layers, from top to bottom: the application layer, the application framework layer (framework, FWK), the runtime and system library, and the (Linux) kernel layer.

[0103] The application layer is the top layer of the operating system, including native applications of the operating system, such as camera, gallery, calendar, Bluetooth, music, video, information, etc., and may also include third-party applications. The application involved in the embodiment of the present application is referred to as application (APP), which is a software program that can realize one or more specific functions. Typically, multiple applications can be installed in an electronic device, such as a camera application, a gallery application, etc. The applications mentioned below may be system applications that are installed on the electronic device when it leaves the factory, or they may be third-party applications that the user downloads from the Internet or obtains from other electronic devices while using the electronic device.

[0104] Of course, developers can write applications and install them into this layer. In one possible implementation, applications can be developed using the Java language by calling the application programming interface (API) provided by the application framework layer. Developers can use the application framework to interact with the underlying layer of the operating system (such as the kernel layer) and develop their own applications.

[0105] The application framework layer provides the application API and programming framework. It includes predefined functions and can include a window manager, content provider, view system, telephony manager, resource manager, and notification manager.

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

[0107] Content providers are used to store and retrieve data and make it accessible to applications. The data may include files (such as documents, videos, images, audio), text, and other information.

[0108] The view system includes visual controls, such as those that display text, images, and documents. The view system is used to build applications. The interface within a display window can be composed of one or more views. For example, the interface for a text notification icon might include a view that displays text and a view that displays an image.

[0109] The phone manager provides communication functionality for electronic devices. The notification manager enables applications to display notifications in the status bar, which can be used to convey informational messages and automatically disappear after a short period of time without user interaction.

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

[0111] The system's core library consists of two parts: one containing the Java language's callable functions and the other the system's core library. The application layer and application framework layer run within a virtual machine. For example, in Java, the virtual machine executes Java files from the application and framework layers as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.

[0112] The system library can include multiple functional modules. For example: surface manager, media library, 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), 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 playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding 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 a drawing engine for 2D drawing.

[0113] The kernel layer provides the operating system's core system services, such as security, memory management, process management, the network protocol stack, and the driver model. These services are all implemented at the kernel layer. The kernel layer also serves as an abstraction layer between the hardware and software stacks. This layer contains many drivers related to electronic devices, including the display driver, the keyboard driver for input devices, the Flash driver for memory-based devices, the camera driver, the audio driver, the Bluetooth driver, and the Wi-Fi driver.

[0114] 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 but work as a whole.

[0115] The solution provided in this application is described in detail below with reference to the accompanying drawings.

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

[0117] 3 , a display method provided by an embodiment of the present application may include:

[0118] S301: The electronic device receives a first operation; wherein the first operation is used to instruct comparison of multiple candidate images.

[0119] In some embodiments of the present application, the multiple candidate images may be multiple images selected by the user from images contained in a gallery (or album).

[0120] Optionally, before step S301, the electronic device may further perform the following steps: the electronic device determines a plurality of candidate images in response to the received second operation, wherein the second operation is used to select the plurality of candidate images.

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

[0122] For example, FIG4 shows a gallery interface including multiple images. After a user selects multiple candidate images from the gallery shown in FIG4 , the electronic device may display an interface as shown in FIG5 , which includes the multiple images selected by the user, other images in the gallery not selected by the user, and a comparison control. The selected images and the unselected images are labeled differently. The selected images are the multiple candidate images. When the user clicks the comparison control shown in FIG5 , the electronic device receives a first operation.

[0123] S302: The electronic device displays a picture comparison interface; wherein the picture comparison interface includes a first area and a second area, the first area includes a plurality of comparison pictures, the second area includes a plurality of candidate pictures, and the plurality of comparison pictures are included in the plurality of candidate pictures.

[0124] The size of the same picture in the first area is larger than the size of the same picture in the second area.

[0125] In some embodiments of the present application, the number of the multiple comparison pictures can be a set value, for example, an integer value such as 2 or 4. The multiple comparison pictures can be part or all of the pictures in the multiple candidate pictures. In one possible solution, when the number of the multiple candidate pictures is greater than the set value, the multiple comparison pictures include part of the pictures in the multiple candidate pictures (that is, the set number of pictures in the multiple candidate pictures); when the number of the multiple candidate pictures is less than the set value, the multiple comparison pictures include all of the pictures in the multiple candidate pictures.

[0126] In one example, assuming a setting value of 4, when the multiple candidate images selected by the user include the five selected images shown in FIG5 , the image comparison interface displayed by the electronic device may be the interface shown in FIG6 . The first area of ​​the interface may include four of the five candidate images, and the second area of ​​the interface may include all of the five candidate images.

[0127] Example 2: In one example, assuming a setting value of 4, when the multiple candidate images selected by the user include the three selected images shown in FIG7 (i.e., images 1 to 3), the image comparison interface displayed by the electronic device may be the interface shown in FIG8. The first area of ​​the interface may include all of the three candidate images, and the second area of ​​the interface may include all of the three candidate images.

[0128] In some embodiments of the present application, the order in which the multiple comparison images are arranged in the first area and the order in which the multiple candidate images are arranged in the second area can be determined in the following order: random order, order selected by the user, or order arranged in the image gallery. Optionally, the multiple comparison images can be evenly distributed in the first area, and the display areas occupied by different comparison images can be the same size.

[0129] In some embodiments of the present application, the multiple comparison images may be selected from multiple candidate images according to a set rule, and the set rule may be any of the following:

[0130] 1) Random selection.

[0131] 2) Selecting a set number of pictures from the plurality of candidate pictures as a plurality of comparison pictures in the order in which the plurality of candidate pictures are selected by the user.

[0132] 3) According to the order in which the multiple candidate images are arranged in the image library, a set number of images are selected from the multiple candidate images as multiple comparison images.

[0133] In some embodiments of the present application, the electronic device may add a comparison mark to the comparison image contained in the second area, thereby facilitating the user to distinguish between the images displayed in the first area and the images not displayed in the first area among the multiple candidate images. For example, as shown in FIG6 , the electronic device may add a comparison mark, such as a “√” mark, to the candidate image corresponding to the comparison image in the second area. The comparison mark may be used to indicate that the corresponding image is being displayed for comparison (i.e., displayed in the first area).

[0134] In some embodiments of the present application, when the number of multiple candidate images displayed in the second area is large, for example, when the number of multiple candidate images is greater than or equal to a set number, the electronic device may display some of the multiple candidate images in the second area and switch the candidate images displayed in the second area based on user operations. As an optional embodiment, the second area may include at least one candidate image from the multiple candidate images and an expansion control. When an operation of clicking the expansion control is received, the electronic device may further display an interface including multiple candidate images so that the user can more clearly view the multiple candidate images. As another optional embodiment, the second area may include at least one candidate image from the multiple candidate images, and the user can control the electronic device to switch to displaying other candidate images in the second area by sliding in the second area. As yet another optional embodiment, multiple candidate images may be displayed in batches in the second area. The second area may include at least one candidate image from the multiple candidate images and a switch control. When an operation of clicking the switch control is received, the electronic device may switch the at least one candidate image currently in the second area to at least one candidate image other than the at least one candidate image.

[0135] 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 (including comparison pictures and candidate pictures) displayed in the picture comparison interface can be 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 gallery based on the operation performed on the pictures in the temporary folder. For example, when the user deletes a 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 is deleted from the temporary folder, the electronic device can also delete the picture in the gallery.

[0136] In some embodiments of the present application, in addition to the aforementioned multiple candidate images, the second region may also include at least one reference image automatically selected by the electronic device from an image library. Each of the at least one reference image may be an image selected by the electronic device from the image library whose similarity to any of the multiple candidate images is greater than a set threshold.

[0137] Specifically, after the user selects multiple candidate images, the electronic device can search the image library for each candidate image to see if there is an image with a similarity greater than a set threshold to the candidate image. If so, 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.

[0138] Based on the above method, the multiple comparison pictures in the first area can be part or all of the multiple candidate pictures and the at least one reference picture. Optionally, the electronic device can preferentially select multiple comparison pictures from the multiple candidate pictures. When the number of multiple candidate pictures is less than a set threshold, the electronic device can use all of the multiple candidate pictures as comparison pictures and continue to select pictures as comparison pictures from the at least one reference picture until the number of selected comparison pictures reaches the set threshold, or until it is determined that all reference pictures are used as comparison pictures. For example, assuming the set threshold is 6, the number of multiple candidate pictures is 4, and the number of at least one reference picture is 4, the electronic device can use all four candidate pictures as comparison pictures and select two pictures from the four reference pictures as comparison pictures. For another example, assuming the set threshold is 6, the number of multiple candidate pictures is 4, and the number of at least one reference picture is 1, the electronic device can use all four candidate pictures and one reference picture as comparison pictures.

[0139] Example 3. In one example, assuming that a threshold value is set to 4, when the multiple candidate images selected by the user include images 1 to 3 shown in Figure 7, assuming that the electronic device determines that the similarity between image 4 shown in Figure 7 and image 1 is greater than the set threshold, and the similarity between image 5 shown in Figure 7 and image 2 is greater than the set threshold, the electronic device can determine images 4 and 5 as reference images. When receiving a user click on the comparison control shown in Figure 7, the electronic device can respond to the operation and display the interface shown in Figure 9. In this interface, the second area includes images 1 to 5, and the first area includes images 1 to 4 of images 1 to 5, a total of 4 images.

[0140] In some embodiments of the present application, when the electronic device displays at least one reference image in the second area, it can mark the at least one reference image to facilitate user differentiation between the candidate image selected by the user and the reference image automatically selected by the electronic device. For example, as shown in FIG9 , the electronic device can add an "×" mark to images 4 and 5 to indicate that images 4 and 5 are automatically selected by the electronic device.

[0141] In addition to the above-mentioned special processing method for at least one reference picture, the processing method for the pictures in the second area can be implemented with reference to the processing method for multiple candidate pictures in the second area described in the previous embodiment, which will not be described in detail here.

[0142] It should be understood that in the above embodiments, the images in the first and second areas are derived from a gallery, but the sources of the images in the first and second areas are not limited to the gallery and may also include other image sources, such as the cloud or web pages. It can also be understood that the images in the first area can be derived from different locations, and the images in the second area can be derived from different locations. For example, the images in the second area may include at least one of the following: images selected from a gallery, images downloaded from the cloud, or images copied from a web page.

[0143] In some embodiments of the present application, the electronic device can add a comparison picture in the first area in response to the received operation, or replace, delete, scale (i.e., enlarge or reduce), mark, edit, etc. the comparison picture in the first area, which are described in detail below.

[0144] 1) Increase

[0145] In some embodiments of the present application, the electronic device may, in response to a received operation, display an additional image in the first area, wherein the operation may be an operation in which the user selects and drags an image, or may be other setting operations, etc., which are not specifically limited in the embodiments of the present application. For example, when the user selects and drags any image from the second area to the first area and releases it, the electronic device may, in response to the operation, display the additional image in the first area. Optionally, the electronic device may also add a comparison mark to the image in the second area. The image is different from the comparison image displayed in the first area.

[0146] Embodiment 4. In one example, based on the scenario described in the above embodiment 1, as shown in FIG6 , 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 range of the first area and then releases it, the electronic device can respond to the operation and switch to display the interface shown in FIG10 . Compared with the interface shown in FIG6 , the first area adds the 5th picture in the second area, and the 5th picture in the second area adds a comparison mark for marking the picture, such as “√”. Optionally, the operation performed by the user in the above example can also be other selection operations.

[0147] 2) Replacement

[0148] 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 the picture, or may be other setting 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 respond to the operation and 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.

[0149] Example 5. In one example, based on the scenario described in Example 1 above, as shown in FIG6 , 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 where the 1st picture in the first area is located and then releases it, the electronic device can respond to the operation and switch to display the interface shown in FIG11 . Compared with the interface shown in FIG6 , the first picture in the first area is replaced by the 5th picture in the second area, the comparison mark "√" of the 1st picture in the second area is no longer displayed, and the comparison mark "√" is added to the 5th picture in the second area. Optionally, the operation performed by the user in the above example can also be other selection operations.

[0150] 3) Delete

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

[0152] Example 6. In one example, based on the scenario described in Example 1 above, as shown in FIG6 , the first area includes 4 pictures and the second area includes 5 pictures. When the user clicks to delete on the first picture in the first area, the electronic device can respond to the operation and switch to displaying the interface shown in FIG12 . Compared with the interface shown in FIG6 , the original first picture is 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.

[0153] 4) Scaling

[0154] In a first possible scenario, the electronic device can zoom in or out on a single image in the first area in response to a received operation. For example, a user can control the electronic device to zoom in or out on any comparison image in the first area by zooming in or out on the image within the area where the comparison image is located. In response to the user's zoom in or out operation on the comparison image, the electronic device can zoom in or out on the comparison image within the area where the comparison image is located. The user's zoom in or out operation can also be other operations, which are not specifically limited in the embodiments of the present application. Furthermore, after zooming in or out on the image, the electronic device can also pan the image within the display area where the image is located in response to the user selecting and dragging the image. The user's panning operation 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 zoom in or out, pan, and perform other operations on a single image in the first area, thereby making it easier for the user to view image details.

[0155] Example 7. In one example, based on the scenario described in Example 1 above, as shown in FIG6 , the first area includes four pictures and the second area includes five 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 displaying the interface shown in FIG13 . Compared with the interface shown in FIG6 , this interface displays the first picture in the first area in an enlarged manner.

[0156] In a second possible solution, the electronic device can, in response to a received operation, synchronously zoom in or out on all images in the first area. For example, a user can zoom in or out on an image in the first area to control the electronic device to synchronously zoom in or out on all comparison images in the first area. In response to the user's zoom in or out operation in the first area, the electronic device can zoom in or out on each comparison image within the area where the comparison image resides. The user's zoom in or out operation can also be other operations, which are not specifically limited in the embodiments of this application. Based on the above method, the electronic device can synchronously zoom in or out on the images in the first area, thereby facilitating the user's viewing of image details and image comparison. Furthermore, after synchronously zooming in or out on the comparison images in the first area, the electronic device can also synchronously pan the comparison images in the first area in response to the user selecting and dragging any comparison image. The user's panning operation can also be other operations, which are not specifically limited in the embodiments of this application.

[0157] In the above method, when the electronic device zooms in / out to display a picture, the display area occupied by the picture may remain unchanged, or may be zoomed in / out as the picture is zoomed in / out.

[0158] Example 8. In one example, based on the scenario described in Example 1 above, as shown in FIG6 , the first area includes four pictures and the second area includes five pictures. When the user performs an operation to reduce the size of the pictures in the first area, the electronic device can, in response to this operation, switch to displaying the interface shown in FIG14 . Compared with the interface shown in FIG6 , each comparison picture in the first area is displayed in a reduced size.

[0159] In some embodiments of the present application, the electronic device can switch between a mode for scaling a single image and a mode for scaling multiple images in conjunction with each other in response to a received operation. After the electronic device switches to a mode for scaling a single image in response to a received operation, it can process according to the first possible solution described above. After the electronic device switches to a mode for scaling multiple images in conjunction with each other in response to a received operation, it can process according to the second possible solution described above. Based on this method, the electronic device can flexibly switch between different control modes, making it convenient for users to process images in different modes.

[0160] 5) Translation

[0161] In a first possible solution, the electronic device may translate a single picture in the first area in response to a received operation.

[0162] As an optional implementation, a user can control the electronic device to move any comparison image to the area where the other comparison image is located by selecting and dragging the image to the area where the other comparison image is located, and then releasing the image. In response to this operation, the electronic device can move the comparison image to the area where the other comparison image is located. Optionally, the electronic device can simultaneously move the other comparison image to the area where the comparison image is located. Based on this method, the electronic device can swap the display areas of any two images in the first area. The operation performed by the user to move the images can also be other operations, which are not specifically limited in the embodiments of the present application.

[0163] As another optional implementation, the user can control the electronic device to move any comparison image to the front or back of another comparison image by selecting the comparison image in the first area and dragging it before or after another comparison image. In response to this operation, the electronic device can move the comparison image to the front or back of the other comparison image for display, thereby achieving translation of the comparison images.

[0164] Example 9. In the first example, based on the scenario described in Example 1 above, as shown in FIG6 , the first area includes four pictures and the second area includes five pictures. When the user selects the first picture and drags it to the front of the fourth picture and releases the drag, the electronic device can, in response to this operation, switch from displaying the interface shown in FIG6 to displaying the interface shown in FIG15 a . Compared with the interface shown in FIG6 , the first picture in the first area is shifted to the right to become the third picture, and the second and third pictures in the first area are shifted to the left to become the first and second pictures, respectively.

[0165] In a second example, based on the scenario described in Example 1 above, as shown in FIG6 , the first area includes four pictures and the second area includes five pictures. When the user selects the second picture and drags it in front of the first picture and releases the drag, the electronic device can, in response to this operation, switch from displaying the interface shown in FIG6 to displaying the interface shown in FIG15 b . Compared with the interface shown in FIG6 , the original second picture in the first area is shifted to the left to become the first picture, and the original first picture in the first area is shifted to the right to become the second picture.

[0166] In some embodiments of the present application, after the electronic device performs a zoom-in / zoom-out process on a single picture, it can, in response to a received operation, translate and display the picture within the display area where the picture is located. 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 a linked zoom-in / zoom-out process on multiple pictures, it can, in response to a received operation, perform a linked translation operation (such as left, right, up, down, etc.) on the multiple pictures, wherein the translation operation for each picture is performed within the display area where each picture is located. For example, after displaying the interface shown in FIG14 , the electronic device can, in response to a received operation for indicating a linked left shift of the picture, switch from displaying the interface shown in FIG14 to displaying the interface shown in FIG16 , in which, compared with the interface shown in FIG14 , each comparison picture is translated to the left by a certain distance within its respective display area.

[0167] Optionally, in the above method, the arrangement order of the pictures in the second area may change as the arrangement order of the pictures in the first area changes. Optionally, the arrangement order of the pictures in the second area may be consistent with the arrangement order of the pictures in the first area.

[0168] 6) Marking

[0169] In some embodiments of the present application, the marking operation performed by the user on the comparison picture can be a favorite, etc. When displaying each comparison picture, the electronic device can simultaneously display the marking icon corresponding to the comparison picture, and can respond to the user's operation on the marking icon (such as clicking the marking icon) by switching the display format of the marking icon (such as color, shape, size, etc.), thereby indicating the marking status (including marked or unmarked) of the corresponding comparison picture through different display formats of the marking icon.

[0170] Example 10. In one example, taking the marking operation as a collection operation as an example, as shown in Figure 17, the first area includes 3 pictures, and each picture has a corresponding collection icon, wherein when the collection icon is white, it indicates that the corresponding comparison picture has not been collected, and when the collection icon is black, it indicates that the corresponding comparison picture has been collected. The second area includes 5 pictures. When the user clicks on the collection icon corresponding to the first picture in the first area, the electronic device can respond to the operation and switch to display the interface shown in Figure 18. Compared with the interface shown in Figure 17, the collection icon corresponding to the first picture in the first area changes from white to black. When the user clicks on the collection icon corresponding to the first picture in the first area again, the electronic device can respond to the operation and switch the collection icon from black to white. Optionally, the operation performed by the user in the above example can also be other marking operations.

[0171] It should be noted that the user operation method described in the above embodiments for adding a comparison image to the first area, or replacing, deleting, marking, scaling, etc. the comparison image in the first area is only an example. In actual applications, other user operation methods can also be used to control the realization of the above-mentioned image operation effects. The embodiments of this application do not impose specific restrictions on the user operation method.

[0172] 7) Edit

[0173] In some embodiments of the present application, a user can edit the comparison image in the first area. In response to the user's editing operation on the comparison image, the electronic device can update the image displayed in the first and second areas. The editing operation can include image processing operations such as resizing the image, adding filters, and modifying the image name, which are not specifically limited in the embodiments of the present application.

[0174] In some embodiments of the present application, after displaying the picture comparison interface, the electronic device may automatically select at least one comparison picture from the multiple comparison pictures in the first area according to a set strategy, and switch to displaying the at least one selected comparison picture in the first area. Alternatively, after displaying the picture comparison interface, the electronic device may respond to a received automatic filtering operation by selecting at least one comparison picture from the multiple comparison pictures in the first area according to a set strategy, and switch to displaying the at least one selected comparison picture in the first area. Optionally, the set strategy may be that the similarity between pictures is higher than or equal to a set picture similarity threshold, or that the time difference between the pictures is less than or equal to a set time threshold, etc., which is not specifically limited in the embodiments of the present application. Optionally, the automatic filtering operation may be an operation performed by the user on a control displayed by the electronic device for controlling the automatic filtering of pictures function.

[0175] In some embodiments of the present application, after the user performs one or more of the above-mentioned operations on the pictures in the first area, the electronic device can exit the display of the picture comparison interface in response to the user operation. The user operation can be an operation of clicking the exit control in the picture comparison interface. When the picture comparison interface is displayed, the electronic device deletes, marks or edits the comparison pictures in the picture comparison interface in response to the user operation, after exiting the display of the picture comparison interface, the electronic device can perform the same deletion, marking or editing operation on the comparison pictures in the gallery. Optionally, the electronic device can switch to displaying an updated gallery interface after exiting the display of the picture comparison interface, wherein the updated gallery interface can include the pictures obtained after the above-mentioned electronic device performs the same deletion, marking or editing operation on the comparison pictures in the gallery, as well as other pictures in the gallery. Based on this method, the user can conveniently update the pictures in the gallery when viewing the picture comparison interface, and the picture comparison efficiency is high.

[0176] Example 11. In one example, in the scenario described in Example 6 above, after the electronic device displays the interface shown in FIG12, the electronic device may, in response to the user clicking the exit control in the interface, switch to displaying the gallery interface shown in FIG19. Since the first comparison image was deleted during the display of the image comparison interface, compared with the gallery interface before the display of the image comparison interface, that is, the gallery interface shown in FIG4, the gallery interface shown in FIG19 deletes the first image, and now there are four selected images.

[0177] In the above example, the images in the gallery interface shown in FIG19 displayed after the electronic device exits the display of the image comparison interface are all in a selected state (i.e., a state in which they can be selected or deselected, or a state in which the images and the controls for selecting / deselecting the images are displayed simultaneously), corresponding to the state before the image comparison interface is displayed (i.e., the state of the images in the interface shown in FIG5 ). In some embodiments of the present application, the images in the gallery interface displayed after the electronic device exits the display of the image comparison interface may also be in a display state (i.e., a state in which only images are displayed). For example, the interface shown in FIG19 may be replaced with the interface shown in FIG20 .

[0178] In some embodiments of the present application, the electronic device may add a picture to the second area, or delete the picture in the second area, etc. in response to the received operation, which are described in detail below.

[0179] In some embodiments of the present application, an electronic device can add an image to the second area in response to a received operation. This operation can be, for example, a setting operation, and is not specifically limited in the present embodiments. For example, the second area can include a control for adding an image. When a user clicks this control, the electronic device can, in response to the operation, display an image selection interface. This interface includes at least one image not displayed in the second area. The user can select an image to be added to the second area in the image selection interface. After the user selects an image to be added to the second area, the electronic device can add the image to the second area. Optionally, the at least one image can be marked as unselected. Optionally, the image selection interface can also include candidate images in the second area, which can be marked as selected. Images marked as selected can also be understood as images that have been selected by the user and displayed in the second area. Alternatively, the image selection interface can also include candidate images and reference images in the second area, which can be marked as selected. Images marked as selected can also be understood as images that have been displayed in the second area.

[0180] In some embodiments of the present application, the electronic device may delete the picture in the second area in response to the received operation. The operation may be a setting operation, etc., which is not specifically limited in the embodiments of the present application. For example, when the user performs a delete operation on any picture in the second area (for example, long press to select a picture, and then clicks on the control for controlling the deletion of the picture in the pop-up operation selection interface), the electronic device may delete the picture displayed in the second area in response to the operation. Optionally, when deleting the picture displayed in the second area, the electronic device may delete the picture displayed in the first area at the same time, or may not delete the picture displayed in the first area. Optionally, when there is only one picture in the second area and the picture is deleted, the electronic device may exit the picture comparison interface and may switch to displaying the gallery interface.

[0181] In some embodiments of the present application, the scheme for the electronic device to operate and process the pictures in the second area can also be implemented by referring to the above-mentioned method for the electronic device to operate and process the pictures in the first area, which will not be described in detail here.

[0182] In some embodiments of the present application, the pictures described in the above embodiments can be replaced by videos, wherein the electronic device can display the video by displaying the cover image of the video, or by displaying the video being played, etc.

[0183] In some embodiments of the present application, when the picture described in the above embodiment is replaced by a video, 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, and further determine the similar frames of each video from the multiple similar videos, and start playing the video from the position of the similar frame of each video. Among them, the set strategy may be that the video similarity is higher than or equal to the set video similarity threshold, etc., which is not specifically limited in the embodiments of the present application. The electronic device determines the similar frames of each device in the multiple videos by selecting 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 similar frames of different videos in the multiple videos is greater than or equal to the set picture similarity threshold; or similar frames of different videos in the multiple videos all include the same target object, etc. Optionally, the electronic device may use a set AI model to implement the above-mentioned method of selecting similar audio or determining similar frames in similar audio.

[0184] Example 12. In one example, when the images described in the above embodiments are replaced with videos, the image comparison interface described in the above embodiments can be understood as a video comparison interface. The video comparison interface can include a first area and a second area. The first area can include multiple comparison videos, and the second area can include multiple candidate videos, or it can include multiple candidate videos and at least one reference video. Regarding the comparison videos, reference can be made to the description of the comparison images in the above embodiments, and reference can be made to the description of the reference images in the above embodiments. These details will not be repeated here. For example, as shown in Figure 21a, the first area of ​​the video comparison interface can include four videos, and the second area can include five videos, with the four videos in the first area being included in the five videos in the second area. As an optional embodiment, when the electronic device detects similar segments in videos 1, 3, and 4, it can deem videos 1, 3, and 4 to be similar videos, and can further determine similar frames from videos 1, 3, and 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 contain 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 to be similar frames. As shown in FIG21b , the electronic device may start playing the video 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, thereby facilitating the user to simultaneously view videos with similar content.

[0185] Based on the method provided in the above embodiment, the electronic device can select multiple images to form a temporary comparison library and display it, allowing users to quickly and intuitively view and compare multiple images without having to view and compare images one by one. Therefore, the image comparison display efficiency of the above method is relatively high. In addition, while the electronic device displays multiple images for comparison, it can support users to perform various operations such as replacing, deleting, zooming, marking, and editing the compared images in the image comparison interface, which is highly practical and convenient.

[0186] In some embodiments of the present application, the pictures described in the above embodiments can be replaced by audio, wherein the electronic device can display the audio by displaying an icon of the audio file, etc., which is not specifically limited in the embodiments of the present application.

[0187] In some embodiments of the present application, when the picture described in the above embodiment is replaced with audio, the electronic device can display multiple icons corresponding to the comparison audio in the first area. Optionally, the electronic device can select multiple similar audios from multiple comparison audios, and further determine the starting position of the same voice in the similar multiple audios, and play multiple similar audios from the starting position of the same voice. Among them, the way in which the electronic device determines multiple similar audios and determines the starting position of the same voice in similar audios can be implemented with reference to the way in which the electronic device determines multiple similar videos and determines similar frames in similar videos, and will not be described in detail here.

[0188] Based on the method provided in the above embodiment, the electronic device can compare and display multiple media contents with high display efficiency, making it easier for users to view and compare different media contents, thereby improving the user experience.

[0189] It should be noted that the specific implementation processes provided in the above embodiments are merely 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 be added or some steps can be reduced. The specific implementation methods of each step can be referred to the relevant descriptions in the above embodiments and will not be described in detail here.

[0190] Based on the above embodiments and the same technical concept, an embodiment of the present application further provides a display method, as shown in FIG22 , which may include:

[0191] S2201: The electronic device determines a plurality of media contents in response to a received first operation.

[0192] In the embodiment of the present application, the media content can be at least one of the following types of content: pictures, animated pictures, videos, and audio. The source of the media content can be referred to the description in the above embodiment and will not be described in detail here.

[0193] In one example, taking the media content as pictures as an example, the multiple media contents may be pictures in the picture gallery described in the above embodiment.

[0194] S2202: The electronic device displays a first interface in response to receiving a 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 a comparison of 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, the media contents other than the at least two media contents in the multiple media contents are determined based on the at least two media contents, and the second operation is used to indicate a comparison of the at least two media contents.

[0195] In one example, taking the media content as images, in one possible solution, when the first operation is used to select multiple media content, the first operation may be the first operation described in the aforementioned embodiment, and the multiple media content may be the multiple candidate images described in the aforementioned embodiment. Exemplarily, based on this method, the first operation may include a user selecting multiple candidate images in the gallery interface shown in FIG. 4 and a user clicking the comparison control shown in FIG. 5 . The first interface may be the image comparison interface shown in FIG. 6 . In another possible solution, when the first operation is used to select at least two media content, the first operation may be the first operation described in the aforementioned embodiment, the at least two media content may be the multiple candidate images described in the aforementioned embodiment, and the media content other than the at least two media content may be the at least one reference image described in the aforementioned embodiment. Exemplarily, based on this method, the first operation may include a user selecting multiple candidate images in the gallery interface shown in FIG. 4 and a user clicking the comparison control shown in FIG. 5 . The first interface may be the image comparison interface shown in FIG. 9 In the aforementioned method, the media content other than the at least two media content may be automatically selected or determined by the electronic device. Optionally, the similarity between any media content in the multiple media contents other than the at least two media contents and 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 aforementioned embodiment 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.

[0196] In some embodiments of the present application, the method of selecting multiple first media contents from multiple media contents can be implemented by referring to the method of selecting multiple comparison pictures from multiple candidate pictures as described in the aforementioned embodiments, or can be implemented by referring to the method of selecting multiple comparison pictures from multiple candidate pictures and at least one reference picture as described in the aforementioned embodiments, which will not be described in detail here.

[0197] In some embodiments of the present application, multiple first media contents in the second area have a first mark, and the first mark is used to indicate that they are displayed simultaneously in the first area and the second area. For example, taking the first interface as the picture comparison interface shown in Figure 9 as an example, the first mark can be the "√" mark shown in Figure 9.

[0198] In some embodiments of the present application, the media content other than the at least two media content 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. For example, taking the first interface as the picture comparison interface shown in Figure 9 as an example, the second mark can be the "×" mark shown in Figure 9.

[0199] In some embodiments of the present application, 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 the first media content in the second area. For example, taking the first interface as the picture comparison interface shown in Figure 9 as an example, the first picture in the first area and the first picture in the second area are the same picture, but the size of the display area occupied by the first picture in the first area in the first area is larger than the size of the display area occupied by the first picture in the second area in the second area.

[0200] 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:

[0201] 1) In response to a received third 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 contents, and the third media content is one of the multiple media contents except the multiple first media contents.

[0202] Optionally, after updating the second media content in the first area to the third media content, the electronic device may delete the first mark of the second media content in the second area, and may add the first mark to the third media content in the second area.

[0203] Based on the method, the electronic device can update the media content in the first area with the media content in the second area.

[0204] In one example, taking the first interface as the image comparison interface shown in Figure 6, the second media content may be the first image in the first area, the third media content may be the fifth image in the second area, and the third operation may be the user selecting the fifth image in the second area, dragging it to the area within the first area where the first image is located, and then releasing it. In this scenario, the processing and results obtained according to the above processing method can be referred to the contents described in the aforementioned Example 5 and will not be repeated here.

[0205] 2) In response to the received fourth operation, add a fourth media content to be displayed in the first area; wherein the fourth media content is a media content among the plurality of media content except the plurality of first media content.

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

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

[0208] In one example, taking the first interface as the image comparison interface shown in Figure 6 , the fourth media content may be the fifth image in the second area, and the fourth operation may be the user selecting the fifth image in the second area, dragging it into the first area, and then releasing it. In this scenario, the processing and results obtained according to the above processing method can be referred to the contents described in Example 4 above and will not be repeated here.

[0209] 3) In response to the received fifth operation, zoom in and display the fifth media content; or, in response to the received sixth operation, zoom out and display the fifth media content; wherein the fifth media content is any one of the plurality of first media content.

[0210] Based on this method, the electronic device can zoom in or out to display a single media content in the first area.

[0211] In one example, taking the first interface as the image comparison interface shown in Figure 6 , the fifth media content may be the first image in the first area, and the fifth operation may be an operation performed by the user on the first image in the first area to zoom in on the image. In this scenario, the processing and effects obtained according to the above processing method can be referenced to those described in Example 7 above and are not further elaborated here.

[0212] 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.

[0213] Based on this method, the electronic device can zoom in or out to display multiple media contents in the first area in a linked manner.

[0214] In one example, taking the first interface as the picture comparison interface shown in FIG6 as an example, the seventh operation can be an operation performed by the user to reduce the size of the picture in the first area. In this scenario, the processing and the effect obtained according to the above processing method can refer to the content described in the above embodiment 8 and will not be repeated here.

[0215] 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.

[0216] 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).

[0217] 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.

[0218] 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.

[0219] In one example, taking the first interface as the picture comparison interface shown in FIG6 , the sixth media content may be the first picture in the first area, and the ninth operation may be the user selecting the first picture in the first area, dragging it to before the fourth picture, and releasing the drag. In this scenario, the processing and effects obtained according to the above processing method can refer to the contents described in the first example of the aforementioned embodiment 9 and will not be repeated here.

[0220] In another example, taking the first interface as the picture comparison interface shown in FIG6 , the sixth media content may be the second picture in the first area, the seventh media content may be the first picture in the first area, and the ninth operation may be the user selecting the second picture, dragging it in front of the first picture, and releasing the drag. In this scenario, the processing and the resulting effects according to the above processing method can refer to the contents described in the second example of the aforementioned embodiment 9 and are not further described here.

[0221] 6) In response to the received eleventh operation, delete the eighth media content in the first area; wherein the eighth media content is one of the plurality of first media content.

[0222] Optionally, when deleting the eighth media content in the first area, the electronic device may also delete the eighth media content in the second area at the same time.

[0223] In some embodiments of the present application, before the electronic device determines the multiple media contents in response to the received first operation, it may display a second interface, wherein the second interface includes the 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 may display a third interface in response to the received twelfth operation; wherein the third interface includes the multiple media contents except the eighth media content. Based on this method, the process of deleting the image performed by the electronic device in response to the user operation during the comparative display of the images remains valid after the comparative display of the images mode is exited.

[0224] In one example, taking the first interface as the picture comparison interface shown in Figure 6, the eighth media content can be the first picture in the first area, and the eleventh operation can be the user clicking on the first picture in the first area to delete it. The second interface can be the interface shown in Figure 5, the twelfth operation can be the user clicking the exit control in the picture comparison interface shown in Figure 12, and the third interface can be the interface shown in Figure 19. In this scenario, the processing and results obtained according to the above processing method can refer to the contents described in Examples 6 and 11 above and will not be repeated here.

[0225] 7) In response to the received thirteenth operation, a third tag is added to the ninth media content in the first area; wherein the ninth media content is one of the plurality of first media content.

[0226] In one example, taking the first interface as the image comparison interface shown in Figure 6, the ninth media content may be the first image in the first area, and the thirteenth operation may be the user clicking the favorites icon corresponding to the first image in the first area. Adding the third mark may be changing the favorites icon for the first image from white to black. In this scenario, the processing and results obtained according to the above processing method can be referred to the contents described in Example 10 above and will not be repeated here.

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

[0228] In some embodiments of the present application, before the electronic device determines multiple media contents in response to the received first operation, it may display a second interface, wherein the second interface includes multiple media contents. After the electronic device adds a third mark to the ninth media content in the first area in response to the received thirteenth operation, it may display a fourth interface in response to the received fourteenth operation; wherein the fourth interface includes multiple media contents, and the ninth media content in the multiple media contents has the third mark. Based on this method, the processing of marking images performed by the electronic device in response to the user operation during the comparative display of images remains valid after the comparative display of images mode is exited.

[0229] 8) In response to the received fifteenth operation, update the tenth media content in the first area; wherein the tenth media content is one of the plurality of first media content.

[0230] Optionally, when the electronic device updates the tenth media content in the first area, it may also correspondingly update 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.

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

[0232] 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 of the multiple first media content, the twelfth media content is another of the multiple first media content, 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 comparing videos or audio, the electronic device can start playing videos or audio from similar positions of multiple videos or audios at the same time to facilitate comparison by the user.

[0233] In one example, taking the video comparison interface shown in Figure 21a as the first interface, the eleventh media content can be any video among video 1, video 3, and video 4, and the twelfth media content can be another video among video 1, video 3, and video 4. Assuming that the eleventh media content is video 1 and the twelfth media content is video 3, the first position of the eleventh media content can be 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 the 12th second of video 3 (or the video frame at the 12th second). The eleventh media content is played from the first position of the eleventh media content, that is, the video is played from the video frame at the 10th second of video 1; the twelfth media content is played from the second position of the twelfth media content, that is, the video is played from the video frame at the 12th second of video 3. In this scenario, the processing performed according to the above processing method and the effect obtained can refer to the content described in the aforementioned embodiment 12, and will not be repeated here.

[0234] The specific implementation methods corresponding to the above methods can refer to the introduction of the relevant methods in the above embodiments, which will not be repeated here.

[0235] Based on the above embodiments and the same technical concept, the embodiments of the present application also provide an electronic device that can be used to implement the display method provided in the embodiments of the present application. As shown in Figure 23, 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-mentioned components can be coupled via one or more communication buses 2304.

[0236] Among them, the display screen 2301 is used to display related user interfaces such as application interface.

[0237] One or more computer programs (codes) are stored in the memory 2302, and the one or more computer programs include computer instructions; 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 embodiment of the present application.

[0238] 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 an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX. The memory 2302 may be used to store the implementation program of the embodiment 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, or one or more network devices.

[0239] The one or more processors 2303 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present application solution.

[0240] It should be noted that FIG23 is only one implementation of the electronic device 2300 provided in an embodiment of the present application. In actual applications, the electronic device 2300 may also include more or fewer components, which is not limited here.

[0241] Based on the above embodiments and the same technical concept, an embodiment of the present application further provides 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.

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

[0243] The methods provided in the embodiments of the present application may be implemented in whole or in part through software, hardware, firmware, or any combination thereof. When implemented using software, they may be implemented in whole or in part in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the embodiments of the present invention are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable device. Computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. A 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 data center that includes one or more available media. Available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., digital video discs (DVDs), or semiconductor media (e.g., SSDs), etc.

[0244] Obviously, those skilled in the art may make various changes and modifications 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 equivalents, the present application is 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 multiple media contents include the at least two media contents, the media contents in the multiple media contents other than the at least two 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.

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 third 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 fourth operation, a fourth media content is additionally displayed in the first area; wherein the fourth media content is a media content among the plurality of media content except the plurality of first media content.

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: In response to the received fifth operation, enlarging and displaying the fifth media content; or In response to the received sixth operation, zoom out and display the fifth media content; The fifth media content is any one of the multiple first media content.

10. 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 seventh operation, the plurality of first media contents are displayed in a magnified manner; wherein the magnification ratios of the plurality of first media contents are the same; or In response to the received eighth operation, the plurality of first media contents are displayed in reduced size; wherein the reduction ratios of the plurality of first media contents are the same.

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: In response to the received ninth operation, adjusting the display position of the sixth media content; or In response to the received tenth operation, changing display positions of the sixth media content and the seventh media content; The sixth media content is one of the plurality of first media content, and the seventh media content is one of the plurality of first media content. Another media content in the first media content.

12. 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 eleventh operation, the eighth media content in the first area is deleted; wherein the eighth media content is one of the plurality of first media content.

13. The method according to claim 12, characterized in that Before determining the plurality of media contents in response to the received first operation, the method further includes: Displaying a second interface, wherein the second interface includes the plurality of 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, a third interface is displayed; wherein the third interface includes media content among the plurality of media content except the eighth media content.

14. 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 thirteenth operation, a third tag is added to ninth media content in the first area; wherein the ninth media content is one of the plurality of first media content.

15. The method according to claim 14, characterized in that Before determining the plurality of media contents in response to the received first operation, the method further includes: Displaying a second interface, wherein the second interface includes the plurality of media contents; After adding a third tag to the ninth media content in the first area in response to the received thirteenth operation, the method further includes: In response to the received fourteenth operation, a fourth interface is displayed; wherein the fourth interface includes the plurality of media contents, and the ninth media content among the plurality of media contents has the third mark.

16. 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 fifteenth operation, the tenth media content in the first area is updated; wherein the tenth media content is one of the plurality of first media content.

17. The method according to claim 16, characterized in that Before determining the plurality of media contents in response to the received first operation, the method further includes: Displaying a second interface, wherein the second interface includes the plurality of media contents; After updating the tenth media content in the first area in response to the received fifteenth operation, the method further includes: In response to the received sixteenth operation, a fifth interface is displayed; wherein the fifth interface includes: media content among the plurality of media content except the tenth media content, and the updated tenth media content.

18. The method of claim 1, wherein: 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 from a first position of the eleventh media content, and playing the twelfth media content from a second position of the twelfth media content; Among them, the eleventh media content is one media content among the multiple first media content, the twelfth media content is another media content among the multiple first media content, 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.

19. An electronic device, characterized in that: The electronic device includes a display screen, a memory and one or more processors; The memory is used to store computer program codes, and the computer program codes include computer instructions; when the computer instructions are executed by the one or more processors, the electronic device executes the method according to any one of claims 1 to 18.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 18.

21. A computer program product, characterized in that The computer program product comprises a computer program or instructions, and when the computer program or instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 18.

Citation Information

Patent Citations

  • Method and system for comparing images in image library

    CN103995652A

  • Image processing device, image processing program, recording medium and image processing method

    CN1517852A

  • Mobile phones with graphical user interface for video tracing and similar video comparison

    CN306629597S

  • Mobile terminal and control method thereof

    WO2017030231A1