Display method and electronic equipment
By designing a comparison interface on an electronic device, using multiple regional layouts and automatically selecting similarity thresholds, the problem of inefficient comparison and display of multiple media content in the prior art is solved, and efficient media content comparison and display effect are achieved.
Patent Information
- Application Number
- CN202311103287.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-29
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2043-08-29
AI Technical Summary
Existing electronic devices cannot effectively compare and display multiple media content, resulting in low display effect and comparison efficiency, especially on portable devices such as mobile phones and other portable devices.
Provide a display method, by displaying a comparison interface of multiple media content on an electronic device, utilizing the layout of the first and second regions, allowing the user to select and compare multiple media contents, and determine other by automatically selecting a similarity threshold. Media content to improve comparison efficiency and display effect.
It realizes efficient comparison of multiple media content display on electronic devices, improves user viewing and comparison experience, and enhances the display effect and comparison efficiency of media content.
Smart Images

Figure CN119127039A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to a display method and electronic equipment. Background Art
[0002] Currently, users can compare multiple pictures by displaying multiple pictures simultaneously on a personal computer (PC). However, the display effect of this method is poor, and users can only view and compare multiple pictures displayed by the PC at the same time, so the efficiency of viewing and comparing pictures is low. In addition, some electronic devices such as mobile phones cannot provide users with the function of comparing and displaying multiple pictures, and users can only view and compare pictures one by one. Most current electronic devices are also unable to achieve comparative display of other types of media content (such as videos, etc.). Therefore, the effect of current electronic devices displaying media content is poor. Summary of the invention
[0003] 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.
[0004] 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.
[0005] In this method, the electronic device can display multiple media contents in a first area of the first interface, thereby realizing the display of the media contents in a comparative manner, thereby improving the display effect and comparison efficiency of the media contents. In addition, while the electronic device displays multiple media contents in a first area of the first interface, it can also display multiple media contents being compared and at least one other media content in a second area of the first interface, thereby being able to display more media contents in the media content comparison interface, thereby further improving the display effect of the media contents. The other at least one media content can be used as a candidate for the media content to be compared, that is, the media content to be compared, which can facilitate the user to adjust the media content to be compared, thereby improving the 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 other than the multiple media contents being compared can be the media content selected by the user; when the first operation is used to select at least two media contents, the media content in the second area other than the media contents being compared can be the media content selected by the user or the media content 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.
[0006] In one possible design, the media content is at least one of the following types of content: pictures, animated pictures, videos, and audios.
[0007] In this method, the media content can be a variety of different types of media content, which has high flexibility and practicality.
[0008] In a possible design, the size of the display area occupied by each first media content among the multiple 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.
[0009] In this method, the size of the display area occupied by the media content in the first area is larger than the size of the display area occupied by the media content in the second area, which can ensure that the media content participating in the comparison is displayed in a larger size, thereby intuitively and prominently displaying the media content participating in the comparison, thereby improving the media content display effect and the user viewing experience.
[0010] In one possible design, 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. Among them, the media content among the multiple media contents except 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 among the multiple media contents except the at least two media contents and any media content among 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.
[0011] In a possible design, the plurality of first media contents in the second area have a first mark, where the first mark is used to indicate that they are displayed in the first area and the second area at the same time.
[0012] 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.
[0013] In a possible design, the media content in the second area other than the at least two media content has a second mark, and the second mark is used to mark the media content automatically selected by the electronic device.
[0014] In this method, 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 is convenient for the user to view and distinguish different categories of media content, and has high practicality.
[0015] In a possible design, after displaying the first interface in response to the received second operation, the method further includes: in response to the received third operation, updating the second media content in the first area to the third media content; 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 indicate replacing the second media content with the third media content.
[0016] In this method, the electronic device can replace the media content in the first area with the media content in the second area. Based on this method, the electronic device can provide a richer and more practical media content comparison function.
[0017] In one possible design, after displaying the first interface in response to the received second operation, the method further includes: in response to the received fourth operation, adding and displaying fourth media content in the first area; wherein the fourth media content is a media content among the multiple media contents other than the multiple first media contents. The fourth operation is used to indicate adding the fourth media content in the first area.
[0018] 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 participating in the comparison, thereby providing a richer and more practical media content comparison function.
[0019] In a possible design, after displaying the first interface in response to the received second operation, the method further includes: in response to the received fifth operation, zooming in and displaying the fifth media content; or, in response to the received sixth operation, zooming in and displaying the fifth media content; wherein the fifth media content is any one of the plurality of first media contents. Optionally, the fifth operation is used to instruct to zoom in and display the fifth media content, and the sixth operation is used to instruct to zoom out and display the sixth media content.
[0020] In this method, after displaying the media content participating in the comparison, that is, 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 has high flexibility and practicality.
[0021] 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.
[0022] In this method, after displaying the media content participating in the comparison, that is, 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.
[0023] In one possible design, after displaying the first interface in response to a received second operation, the method further includes: adjusting the display position of the sixth media content in response to a received ninth operation; or, changing the display positions of the sixth media content and the seventh media content in response to a received tenth operation; wherein the sixth media content is one of the multiple first media content, and the seventh media content is another one of the multiple first media content.
[0024] 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.
[0025] In one possible design, after displaying the first interface in response to a received second operation, the method further includes: deleting 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.
[0026] In this method, after displaying the media content participating in the comparison, that is, the media content in the first area, the electronic device can delete the media content participating in the comparison, which is highly practical.
[0027] 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 among the plurality of media contents except the eighth media content. Optionally, the twelfth operation is used to instruct to stop comparing and displaying media contents.
[0028] 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 is still valid. The above method allows the user to effectively delete the media content during the comparison process, and is highly practical.
[0029] 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.
[0030] In this method, after displaying the media content participating in the comparison, that is, the media content in the first area, the electronic device can mark the media content participating in the comparison, which is highly practical.
[0031] In one possible design, before determining multiple media contents in response to a received first operation, the method also includes: displaying a second interface, wherein the second interface 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 also 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.
[0032] In this method, after the electronic device performs a marking operation on the media content being compared and exits the comparison, the marking operation performed by the electronic device on the media content is still valid. The above method allows the user to perform an effective marking operation on the media content during the process of comparing the media content, and has high practicality.
[0033] In one possible design, after displaying the first interface in response to a received second operation, the method further includes: updating the tenth media content in the first area in response to a received fifteenth operation; wherein the tenth media content is one of the multiple first media contents.
[0034] 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.
[0035] In one possible design, before determining multiple media contents in response to a received first operation, the method also 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 also 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.
[0036] 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 is still valid. The above method allows the user to effectively update the media content during the comparison process, and is highly practical.
[0037] In one possible design, the media content is video or audio, and after displaying the first interface in response to a received second operation, the method also 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; 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.
[0038] In this method, when the electronic device displays videos or audios for comparison, it 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.
[0039] 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.
[0040] In a third aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on an electronic device, the electronic device executes the method described in the first aspect or any possible design of the first aspect.
[0041] In a fourth aspect, the present application provides a computer program product, which includes a computer program or instructions. When the computer program or instructions 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.
[0042] In a fifth aspect, the present application provides a chip system, which includes a processor and a memory, wherein instructions are stored in the memory; when the instructions are executed by the processor, the method described in the first aspect or any possible design of the first aspect is implemented. The chip system can be composed of a chip, or it can include a chip and other discrete devices.
[0043] For the beneficial effects of the second to fifth aspects mentioned above, please refer to the description of the beneficial effects of the relevant contents of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A schematic diagram of the hardware architecture of an electronic device provided in an embodiment of the present application;
[0045] Figure 2 A schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application;
[0046] Figure 3 A schematic diagram of a display method provided in an embodiment of the present application;
[0047] Figure 4 A schematic diagram of a gallery interface provided in an embodiment of the present application;
[0048] Figure 5 A schematic diagram of a picture selection interface provided in an embodiment of the present application;
[0049] Figure 6 A schematic diagram of a picture comparison interface provided in an embodiment of the present application;
[0050] Figure 7 A schematic diagram of a picture selection interface provided in an embodiment of the present application;
[0051] Figure 8 A schematic diagram of a picture comparison interface provided in an embodiment of the present application;
[0052] Fig. 9 A schematic diagram of a picture comparison interface provided in an embodiment of the present application;
[0053] Fig.10 A schematic diagram of a picture comparison interface provided in an embodiment of the present application;
[0054] Fig.11 A schematic diagram of a picture comparison interface provided in an embodiment of the present application;
[0055] Fig.12 A schematic diagram of a picture comparison interface provided in an embodiment of the present application;
[0056] Fig.13 A schematic diagram of a picture comparison interface provided in an embodiment of the present application;
[0057] Fig.14 A schematic diagram of a picture comparison interface provided in an embodiment of the present application;
[0058] Fig.15a A schematic diagram of a picture comparison interface provided in an embodiment of the present application;
[0059] Fig.15b A schematic diagram of a picture comparison interface provided in an embodiment of the present application;
[0060] Fig.16A schematic diagram of a picture comparison interface provided in an embodiment of the present application;
[0061] Fig.17 A schematic diagram of a picture comparison interface provided in an embodiment of the present application;
[0062] Fig.18 A schematic diagram of a picture comparison interface provided in an embodiment of the present application;
[0063] Fig.19 A schematic diagram of a picture selection interface provided in an embodiment of the present application;
[0064] Fig. 20 A schematic diagram of a gallery interface provided in an embodiment of the present application;
[0065] Fig.21a A schematic diagram of a video comparison interface provided in an embodiment of the present application;
[0066] Figure 21b A schematic diagram of a video comparison interface provided in an embodiment of the present application;
[0067] Fig. 22 A schematic diagram of a display method provided in an embodiment of the present application;
[0068] Fig.23 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0069] 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.
[0070] In the description of the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.
[0071] To facilitate understanding, exemplary descriptions of concepts related to the present application are provided for reference.
[0072] 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), smart home devices (e.g., smart TVs, etc.), smart robots, workshop equipment, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, or wireless terminals in smart homes, flight equipment (e.g., smart robots, drones, airplanes), etc.
[0073] In some embodiments of the present application, the electronic device may also be a portable terminal device that also 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).
[0074] It should be understood that in the embodiments of the present application, "at least one" refers to one or more, and "plurality" 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: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after 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.
[0075] In order to improve the display effect and comparison efficiency of media content, an embodiment of the present application provides a display method and an electronic device, which can realize 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.
[0076] See below Figure 1 , the structure of the electronic device to which the method provided in the embodiments of the present application is applicable is introduced.
[0077] like Figure 1 As shown in , 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.
[0078] 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.
[0079] Understandably, Figure 1 The electronic device 100 shown is merely an example and does not constitute a limitation on the electronic device, and the electronic device may have more or fewer components than those shown in the figure, may combine two or more components, or may have a different component configuration. Figure 1 The various components shown in the EMBODIMENTS 2000 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.
[0080] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in 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 according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions.
[0081] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0082] 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, improve the intelligence and convenience of the electronic device 100, and enhance the user experience. The processor 110 may include different devices, such as when the CPU and GPU are integrated, the CPU and GPU can cooperate to execute the display method provided in the embodiment of the present application, such as part of the algorithm in the display method is executed by the CPU, and the other part of the algorithm is executed by the GPU, so as to obtain faster processing efficiency.
[0083] The display screen 194 can be used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can 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), Miniled, MicroLed, Micro-oLed, a quantum dot light emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 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 a user or information provided to a user and various graphical user interfaces (GUIs). For example, the display screen 194 can display photos, videos, and other media content.
[0084] In the embodiment of the present application, the display screen 194 may 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.
[0085] The camera 193 (a front camera or a rear camera, or one camera can be used as both a front camera and a rear camera) is used to capture still images or videos. Generally, the camera 193 may include a photosensitive element such as a lens group and an image sensor, wherein the lens group includes a plurality of lenses (convex lenses or concave lenses) for collecting light signals reflected by the object to be photographed and transmitting the collected light signals to the image sensor. The image sensor generates an original image of the object to be photographed based on the light signal.
[0086] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 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 present application scheme, etc.). The data storage area can store data created during the use of the electronic device 100, etc.
[0087] The internal memory 121 may also store one or more computer programs corresponding to the algorithm of the present application. The one or more computer programs are stored in the internal memory 121 and configured to be executed by one or more processors 110. The one or more computer programs include instructions, which may be used to execute the various steps in the following embodiments.
[0088] In addition, the internal memory 121 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0089] Of course, the code of the algorithm of the 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.
[0090] 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.
[0091] The touch sensor is also called a "touch panel". The touch sensor can be arranged on the display screen 194, and the touch sensor and the display screen 194 form a touch display screen, also called a "touch screen". The touch sensor is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor can also be arranged on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0092] 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.
[0093] 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 the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0094] 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 interact with other devices for information.
[0095] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent 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 the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a 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.
[0096] The wireless communication module 160 can provide wireless communication solutions 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 (IR) and the like applied to the electronic device 100. 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, modulates the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, 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 for data exchange. Or the wireless communication module 160 can be used to access the access point device, send control instructions to other electronic devices, or receive data sent from other electronic devices.
[0097] In addition, the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 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.
[0098] It should be understood that in practical applications, the electronic device 100 may include Figure 1The embodiments of the present application are not limited to the more or fewer components shown. The illustrated electronic device 100 is only an example, and the electronic device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.
[0099] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a 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, Figure 2 As shown, the software architecture can be divided into four layers, from top to bottom, namely the application layer, the application framework layer (framework, FWK), the runtime and system library, and the (Linux) kernel layer.
[0100] 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 implement 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 application mentioned below may be a system application installed when the electronic device leaves the factory, or it may be a third-party application downloaded from the Internet or obtained from other electronic devices by the user while using the electronic device.
[0101] Of course, for developers, developers can write applications and install them in this layer. In a 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 interact with the bottom layer of the operating system (such as the kernel layer) through the application framework to develop their own applications.
[0102] The application framework layer is the API and programming framework of the application layer. The application framework layer may include some predefined functions. The application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc.
[0103] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the display screen (or screen), capture the display screen, etc.
[0104] Content providers are used to store and retrieve data and make these data accessible to applications. The data may include files (such as documents, videos, images, audio), text and other information.
[0105] The view system includes visual controls, such as controls for displaying text, images, documents, etc. The view system can be used to build applications. The interface in the display window can be composed of one or more views. For example, the display interface including the SMS notification icon can include a view for displaying text and a view for displaying images.
[0106] The phone manager is used to provide communication functions for electronic devices. The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction.
[0107] The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the system.
[0108] The core library of the system consists of two parts: one is the function that the Java language needs to call, and the other is the core library of the system. The application layer and the application framework layer run in the virtual machine. Taking Java as an example, the virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0109] 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 provide the fusion of 2D and 3D layers for multiple applications. The media library supports a variety of commonly used audio and video format playback and recording, 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.
[0110] The kernel layer provides the core system services of the operating system, such as security, memory management, process management, network protocol stack and driver model, which are all implemented based on the kernel layer. The kernel layer also serves as an abstraction layer between the hardware and software stacks. This layer has many drivers related to electronic devices, the main drivers are: display driver; keyboard driver as input device; Flash driver based on memory technology device; camera driver; audio driver; Bluetooth driver; WiFi driver, etc.
[0111] It should be understood that the functional services described above are only examples, and in actual applications, electronic devices may also be divided into more or fewer functional services according to other factors, or the functions of each service may be divided in other ways, or the functional services may not be divided but work as a whole.
[0112] The solution provided in this application is described in detail below with reference to the accompanying drawings.
[0113] In the solution provided in the embodiment of the present application, the electronic device can compare and display multiple media contents, and can easily and quickly operate (such as adding, deleting, modifying, scaling, marking, editing, etc.) the media contents to be compared. 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 embodiment of the present application is described in detail by taking the pictures in the gallery as the media content. 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 one by one in the embodiment of the present application.
[0114] Reference Figure 3 , a display method provided by an embodiment of the present application may include:
[0115] S301: The electronic device receives a first operation; wherein the first operation is used to instruct comparison of multiple candidate images.
[0116] In some embodiments of the present application, the multiple candidate pictures may be multiple pictures selected by the user from pictures contained in a gallery (or album).
[0117] 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 a plurality of candidate images.
[0118] 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.
[0119] For example, Figure 4 This is a gallery interface that includes multiple pictures. Figure 4After selecting multiple candidate images from the images in the gallery shown, the electronic device can display the following Figure 5 The interface shown in the figure includes multiple pictures selected by the user and other pictures in the gallery that are not selected by the user, as well as a comparison control. The selected pictures and the unselected pictures have different marks. The selected pictures are multiple candidate pictures. When the user clicks Figure 5 When the comparison control shown in , the electronic device receives a first operation.
[0120] 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.
[0121] The size of the same picture in the first area is larger than the size of the same picture in the second area.
[0122] In some embodiments of the present application, the number of multiple comparison pictures may be a set value, for example, an integer value such as 2 or 4. The multiple comparison pictures may be some or all of the pictures in the multiple candidate pictures. In one possible solution, when the number of multiple candidate pictures is greater than the set value, the multiple comparison pictures include some of the pictures in the multiple candidate pictures (i.e., a set number of pictures in the multiple candidate pictures), and when the number of multiple candidate pictures is less than the set value, the multiple comparison pictures include all of the pictures in the multiple candidate pictures.
[0123] Embodiment 1: In one example, assuming that the setting value is 4, when the multiple candidate images selected by the user include Figure 5 When the 5 selected pictures are shown in , the picture comparison interface displayed by the electronic device can be Figure 6 The interface shown in . The first area in the interface may include 4 pictures among the 5 candidate pictures, and the second area in the interface may include all pictures among the 5 candidate pictures.
[0124] Embodiment 2: In one example, assuming that the setting value is 4, when the multiple candidate images selected by the user include Figure 7 When the three selected pictures (i.e., pictures 1 to 3) are shown in FIG. , the picture comparison interface displayed by the electronic device may be: Figure 8 The interface shown in . The first area in the interface may include all the pictures in the three candidate pictures, and the second area in the interface may include all the pictures in the three candidate pictures.
[0125] In some embodiments of the present application, the arrangement order of the multiple comparison pictures in the first area and the arrangement order of the multiple candidate pictures in the second area can be determined in the following order: random order, or order selected by the user, or order arranged in the gallery. Optionally, the multiple comparison pictures can be evenly distributed in the first area, and the sizes of the display areas occupied by different comparison pictures can be the same.
[0126] In some embodiments of the present application, the multiple comparison pictures may be selected from multiple candidate pictures according to a set rule, and the set rule may be any of the following:
[0127] 1) Random selection.
[0128] 2) According to the order in which the multiple candidate images are selected by the user, a set number of images are selected from the multiple candidate images as multiple comparison images.
[0129] 3) According to the order in which the multiple candidate images are arranged in the gallery, a set number of images are selected from the multiple candidate images as multiple comparison images.
[0130] In some embodiments of the present application, the electronic device may mark the comparison pictures contained in the second area for comparison, so as to facilitate the user to distinguish between pictures displayed in the first area and pictures not displayed in the first area among the multiple candidate pictures. Figure 6 As shown in , the electronic device can add a comparison mark such as a "√" mark on the candidate picture corresponding to the comparison picture in the second area. The comparison mark can be used to mark that the corresponding picture is being displayed in comparison (ie, displayed in the first area).
[0131] In some embodiments of the present application, when the number of multiple candidate pictures displayed in the second area is large, for example, when the number of multiple candidate pictures is greater than or equal to a set number, the electronic device may display some of the multiple candidate pictures in the second area, and switch the candidate pictures displayed in the second area according to the user operation. As an optional implementation, the second area may include at least one of the multiple candidate pictures and an expansion control. When receiving an operation of clicking the expansion control, the electronic device may further display an interface including multiple candidate pictures so that the user can view the multiple candidate pictures more clearly. As another optional implementation, the second area may include at least one of the multiple candidate pictures, and the user may control the electronic device to switch to display other candidate pictures in the second area by sliding in the second area. As another optional implementation, multiple candidate pictures may be displayed in batches in the second area. The second area may include at least one of the multiple candidate pictures and a switching control. When receiving an operation of clicking the switching control, the electronic device may switch at least one candidate picture in the current second area to at least one candidate picture other than the at least one candidate picture.
[0132] In some embodiments of the present application, after the user selects multiple candidate pictures, the electronic device can create a temporary folder and cache the copied multiple candidate pictures in the temporary folder. The pictures (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 the pictures in the picture comparison interface, the electronic device can perform the operation on the corresponding pictures stored in the temporary folder. Later, 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 according to 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. Later, when the electronic device stops displaying the picture comparison interface, since the picture is deleted in the temporary folder, the electronic device can also delete the picture in the gallery.
[0133] In some embodiments of the present application, in addition to the above-mentioned multiple candidate images, the second area may also include at least one reference image automatically selected by the electronic device from the gallery. Each of the at least one reference image may be: an image selected by the electronic device from the gallery, the similarity of which is greater than a set threshold with any of the multiple candidate images.
[0134] Specifically, after the user selects multiple candidate images, for each candidate image, the electronic device can search the gallery to see if there is an image with a similarity greater than a set threshold with the candidate image, and if so, the found image can be used as a reference image. Optionally, the electronic device can determine the similarity between different images using an artificial intelligence (AI) model set for image similarity analysis.
[0135] Based on the above method, the multiple comparison pictures in the first area can be part or all of the pictures in the multiple candidate pictures and 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 the set threshold, the electronic device can use all the multiple candidate pictures as comparison pictures, and continue to select pictures as comparison pictures from at least one reference picture until the number of comparison pictures selected reaches the set threshold, or until it is determined that all reference pictures are used as comparison pictures. For example, assuming that 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 4 candidate pictures as comparison pictures, and select 2 pictures from the 4 reference pictures as comparison pictures. For another example, assuming that 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 4 candidate pictures and 1 reference picture as comparison pictures.
[0136] Embodiment 3: In one example, assuming that the threshold is set to 4, when the multiple candidate images selected by the user include Figure 7 As shown in Figures 1 to 3, assuming that the electron is determined Figure 7 The similarity between picture 4 and picture 1 shown in is greater than the set threshold, and Figure 7 When the similarity between the picture 5 shown in FIG. 1 and the picture 2 is greater than a set threshold, the electronic device can determine the picture 4 and the picture 5 as reference pictures. Figure 7 When the comparison control shown in , the electronic device can respond to the operation by displaying Fig. 9 In the interface, the second area includes pictures 1 to 5, and the first area includes pictures 1 to 4 of pictures 1 to 5, a total of 4 pictures.
[0137] In some embodiments of the present application, when the electronic device displays at least one reference picture in the second area, the electronic device may mark the at least one reference picture so that the user can distinguish between the candidate picture selected by the user and the reference picture automatically selected by the electronic device. Fig. 9 As shown in , the electronic device can add “×” marks on pictures 4 and 5 to mark pictures 4 and 5 as pictures automatically selected by the electronic device.
[0138] 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 aforementioned embodiment, which will not be described in detail here.
[0139] It should be understood that in the above embodiment, the pictures in the first area and the second area are derived from the picture library as an example, but the picture source of the first area and the picture source of the second area are not limited to the above picture library, and may also include other picture sources, such as the cloud, web pages, etc. It can also be understood that the pictures in the first area can be derived from different locations, and the pictures in the second area can be derived from different locations. Exemplarily, the pictures in the second area may include at least one of the following: pictures selected from the picture library, pictures downloaded from the cloud, and pictures copied from a web page.
[0140] In some embodiments of the present application, the electronic device can add a comparison image in the first area in response to the received operation, or replace, delete, scale (i.e., enlarge or reduce), mark, edit, etc. the comparison image in the first area, which are described in detail below.
[0141] 1) Increase
[0142] In some embodiments of the present application, the electronic device may add a displayed picture in the first area in response to a received operation, wherein the operation may be an operation in which the user selects and drags a picture, or may be other set operations, etc., which are not specifically limited in the embodiments of the present application. For example, when a user selects and drags any picture from the second area to the first area and releases it, the electronic device may respond to the operation and add the display of the picture in the first area. Optionally, the electronic device may also add a comparison mark to the picture in the second area. The picture is different from the comparison picture displayed in the first area.
[0143] Embodiment 4: In one example, based on the scenario described in the above embodiment 1, as Figure 6 As shown in , 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 into the first area and then releases it, the electronic device can respond to the operation and switch to display Fig.10 The interface shown in Figure 6 Compared with the interface shown, the fifth picture in the second area is added to the first area, and a comparison mark such as “√” is added to the fifth picture in the second area for marking the picture. Optionally, the operation performed by the user in the above example may also be other selection operations.
[0144] 2) Replacement
[0145] In some embodiments of the present application, the electronic device may replace the picture displayed in the first area in response to the received operation. The operation may be an operation in which the user selects and drags 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.
[0146] Embodiment 5: In one example, based on the scenario described in the above embodiment 1, as Figure 6 As shown in , 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 Fig.11 The interface shown in Figure 6 Compared with the interface shown, the first picture in the first area is replaced by the fifth picture in the second area, the comparison mark "√" of the first picture in the second area is no longer displayed, and the fifth picture in the second area has a comparison mark "√". Optionally, the operation performed by the user in the above example can also be other selection operations.
[0147] 3) Delete
[0148] In some embodiments of the present application, when a user performs a deletion operation on any comparison picture in the first area (for example, after long pressing to select a comparison picture, clicking a control for controlling the deletion of the picture in the pop-up operation selection interface), the electronic device can delete the comparison picture displayed in the first area in response to the operation. Optionally, the electronic device can delete the comparison picture displayed in the second area, or can delete the comparison mark of the comparison picture displayed in the second area. Optionally, when there is only one picture in the first area and the picture is deleted, the electronic device can exit the picture comparison interface and can switch to displaying the gallery interface.
[0149] Embodiment 6: In one example, based on the scenario described in the above embodiment 1, as Figure 6 As shown in , the first area includes 4 pictures and the second area includes 5 pictures. When the user clicks to delete the first picture in the first area, the electronic device can respond to the operation and switch to display Fig.12 The interface shown in Figure 6Compared with the interface shown, the original first picture is deleted in both the first area and the second area. Optionally, the operation performed by the user in the above example may also be other operations for controlling the deletion of pictures.
[0150] 4) Scaling
[0151] In a first possible solution, the electronic device can zoom in / out a single picture in the first area in response to the received operation. For example, the user can control the electronic device to zoom in or out the comparison picture by zooming in or out of the picture in the area where any comparison picture is located in the first area. The electronic device can zoom in or out the comparison picture in response to the user's operation of zooming in or out of the picture performed on the comparison picture, and display the comparison picture in the area where the comparison picture is located. Among them, the operation performed by the user to zoom in or out of the picture can also be other operations, which are not specifically limited in the embodiment of the present application. Further, after zooming in / out and displaying the picture, the electronic device can also perform translation display of the picture in the display area where the picture is located in response to the user selecting the picture and dragging the picture. Among them, the operation performed by the user to translate the picture can also be other operations, which are not specifically limited in the embodiment of the present application. Based on the above method, the electronic device can zoom in / out, translate, and other operations on a single picture in the first area, thereby facilitating the user to view the details of the picture.
[0152] Embodiment 7: In one example, based on the scenario described in the above embodiment 1, as Figure 6 As shown in FIG. 1 , the first area includes 4 pictures and the second area includes 5 pictures. When the user performs an operation of zooming in on the first picture in the first area, the electronic device can switch to displaying the first picture in response to the operation. Fig.13 The interface shown in Figure 6 Compared with the interface shown, the first picture in the first area is enlarged and displayed.
[0153] In a second possible solution, the electronic device can perform a linked zoom-in / zoom-out operation on all pictures in the first area in response to the received operation. For example, the user can control the electronic device to synchronously zoom in or out all comparison pictures in the first area by performing an operation of zooming in or out of the picture in the first area. The electronic device can respond to the operation of zooming in or out of the picture performed by the user in the first area, and respectively zoom in or out the comparison picture in the area where each comparison picture is located. Among them, the operation performed by the user for zooming in or out of the picture can also be other operations, which are not specifically limited in the embodiment of the present application. Based on the above method, the electronic device can perform a linked zoom-in / zoom-out operation on the pictures in the first area, thereby facilitating the user to view the details of the picture and compare the pictures. Further, after the comparison pictures in the first area are linked to zoom in / out, the electronic device can also respond to the operation of the user selecting any comparison picture and dragging it, and perform a linked translation display on the comparison pictures in the first area. Among them, the operation performed by the user for translation of the picture can also be other operations, which are not specifically limited in the embodiment of the present application.
[0154] 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.
[0155] Embodiment 8: In one example, based on the scenario described in the above embodiment 1, as Figure 6 As shown in FIG. 1 , the first area includes 4 pictures and the second area includes 5 pictures. When the user performs an operation of reducing the pictures in the first area, the electronic device can switch to displaying Fig.14 The interface shown in Figure 6 Compared with the interface shown, each comparison picture in the first area is displayed in a reduced size.
[0156] In some embodiments of the present application, the electronic device may 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, the electronic device may 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, the electronic device may process according to the second possible solution described above. Based on this method, the electronic device may flexibly switch between different control modes, making it convenient for users to process images in different modes.
[0157] 5) Translation
[0158] In a first possible solution, the electronic device may translate a single picture in the first area in response to a received operation.
[0159] As an optional implementation, the user can control the electronic device to translate any comparison picture to the area where another comparison picture is located by selecting any comparison picture in the first area and dragging it to the area where another comparison picture is located and then releasing it. The electronic device can translate any comparison picture to the area where another comparison picture is located in response to the operation. Optionally, the electronic device can translate another comparison picture to the area where any comparison picture is located at the same time. Based on this method, the electronic device can exchange the display areas of any two pictures in the first area. Among them, the operation performed by the user for translating the picture can also be other operations, which are not specifically limited in the embodiments of the present application.
[0160] As another optional implementation, the user can control the electronic device to move any comparison picture to the front or back of another comparison picture by selecting any comparison picture in the first area and dragging it to the front or back of another comparison picture. In response to the operation, the electronic device can move the comparison picture to the front or back of another comparison picture for display, thereby realizing the translation of the comparison picture.
[0161] Embodiment 9, in the first example, based on the scenario described in the above embodiment 1, as Figure 6 As shown in , the first area includes 4 pictures and the second area includes 5 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 respond to the operation by displaying Figure 6 The interface shown switches to display Fig.15a The interface shown in Figure 6 Compared with the interface shown, the original first picture in the first area moves rightward to become the third picture, and the original second and third pictures in the first area move leftward to become the first and second pictures respectively.
[0162] In the second example, based on the scenario described in the above embodiment 1, as Figure 6 As shown in , the first area includes 4 pictures and the second area includes 5 pictures. When the user selects the second picture and drags it to the front of the first picture and releases the drag, the electronic device can respond to the operation by displaying Figure 6 The interface shown switches to display Fig.15b The interface shown in Figure 6 Compared with the interface shown, the original second picture in the first area moves left to become the first picture, and the original first picture in the first area moves right to become the second picture.
[0163] In some embodiments of the present application, after the electronic device zooms in / out on a single picture, it can respond to the received operation and translate and display the picture in 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 zooms in / out on multiple pictures in a linked manner, it can respond to the received operation and translate the multiple pictures in a linked manner (e.g., left, right, up, down, etc.), wherein the translation operation for each picture is performed in the display area where each picture is located. For example, when the electronic device displays Fig.14 After the interface shown, the received operation for instructing to move the picture to the left in a linked manner may be displayed. Fig.14 The interface shown switches to display Fig.16 The interface shown in Fig.14 Compared with the interface shown in FIG. 1 , each comparison image is translated to the left by a certain distance in its respective display area.
[0164] Optionally, in the above method, the arrangement order of the pictures in the second area may change with the change of the arrangement order of the pictures in the first area. 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.
[0165] 6) Marking
[0166] In some embodiments of the present application, the marking operation performed by the user on the comparison picture may be a collection, etc. When displaying each comparison picture, the electronic device may simultaneously display the marking icon corresponding to the comparison picture, and may switch the display format (e.g., color, shape, size, etc.) of the marking icon in response to the user's operation on the marking icon (e.g., clicking the marking icon), thereby indicating the marking status (including being marked or not marked) of the corresponding comparison picture through different display formats of the marking icon.
[0167] Embodiment 10: In one example, taking the marking operation as a favorite operation as an example, Fig.17 As shown in , the first area includes 3 pictures, each of which has a corresponding collection icon, wherein a collection icon in white indicates that the corresponding comparison picture is not collected, and a collection icon in black indicates that the corresponding comparison picture is collected. The second area includes 5 pictures. When the user clicks the collection icon corresponding to the first picture in the first area, the electronic device can respond to the operation and switch to display Fig.18 The interface shown in Fig.17Compared with the interface shown in FIG. 1 , the collection icon corresponding to the first picture in the first area changes from white to black. When the user clicks the collection icon corresponding to the first picture in the first area again, the electronic device can respond to the operation by switching the collection icon from black to white. Optionally, the operation performed by the user in the above example can also be other marking operations.
[0168] It should be noted that the user operation method described in the above embodiments for adding comparison images in the first area, or replacing, deleting, marking, scaling, etc., the comparison images in the first area is only an example. In actual applications, other user operation methods can also be used to control the above-mentioned image operation effects. The embodiments of the present application do not impose specific restrictions on the user operation method.
[0169] 7) Edit
[0170] In some embodiments of the present application, the user can edit the comparison picture in the first area. The electronic device can update the picture displayed in the first area and the second area in response to the user's editing operation on the comparison picture. The editing operation can be a picture processing operation such as trimming the picture size, adding a filter, and modifying the picture name, which is not specifically limited in the embodiments of the present application.
[0171] 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 the set strategy, and switch to displaying the selected at least one comparison picture in the first area. Alternatively, after displaying the picture comparison interface, the electronic device may respond to the received automatic filtering operation by selecting at least one comparison picture from the multiple comparison pictures in the first area according to the set strategy, and switch to displaying the selected at least one 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 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 a user on a control displayed by the electronic device for controlling the automatic filtering picture function.
[0172] In some embodiments of the present application, after the user performs one or more of the above 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. Wherein, the user operation can be the operation of clicking the exit control in the picture comparison interface. Wherein, when the electronic device deletes, marks or edits the comparison picture in the picture comparison interface in response to the user operation during the display of the picture comparison interface, after exiting the display of the picture comparison interface, the electronic device can perform the same deletion, marking or editing operation on the comparison picture in the 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 electronic device performs the same deletion, marking or editing operation on the comparison picture in the gallery and 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.
[0173] Embodiment 11: In one example, in the scenario described in the above embodiment 6, the electronic device displays Fig.12 After the interface shown, the electronic device can switch to displaying Fig.19 The gallery interface shown in the figure. Since the first comparison image is deleted during the display of the image comparison interface, the gallery interface before the display of the image comparison interface is Figure 4 Compared to the gallery interface shown in Fig.19 In the gallery interface shown, the first picture has been deleted, and now there are 4 selected pictures.
[0174] In the above example, the electronic device displays the following after exiting the image comparison interface: Fig.19 The pictures in the gallery interface shown in the figure are all in a selected state (i.e., a state that can be selected or deselected, or a state in which the picture and the control for selecting / deselecting the picture are displayed at the same time), which is different from the state before the picture comparison interface is displayed (i.e., Figure 5 In some embodiments of the present application, after the electronic device exits the display image comparison interface, the image in the gallery interface displayed may also be in a display state (i.e., only the image is displayed), for example Fig.19 The interface shown can be replaced by Fig. 20 The interface shown.
[0175] In some embodiments of the present application, the electronic device may add a picture in the second area, or delete a picture in the second area in response to a received operation, as described in detail below.
[0176] In some embodiments of the present application, the electronic device may add a displayed picture in the second area in response to a received operation. The operation may be a setting operation, etc., which is not specifically limited in the embodiments of the present application. For example, the second area may include a control for controlling the addition of pictures. When the user clicks the control, the electronic device may respond to the operation and display a picture selection interface, which includes at least one picture that is not displayed in the second area. The user may select a picture to be added to the second area in the picture selection interface. After the user selects the picture to be added to the second area, the electronic device may add the picture to the second area. Optionally, the at least one picture may be marked as an unselected picture. Optionally, the picture selection interface may also include candidate pictures in the second area, and the candidate pictures may be marked as selected pictures; wherein the picture marked as selected may also be understood as a picture that has been selected by the user and displayed in the second area. Alternatively, the picture selection interface may also include candidate pictures and reference pictures in the second area, and the candidate pictures and reference pictures may be marked as selected pictures. wherein the picture marked as selected may also be understood as a picture that has been displayed in the second area.
[0177] 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 deletion operation on any picture in the second area (for example, after long pressing to select a picture, clicking 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.
[0178] 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.
[0179] In some embodiments of the present application, the pictures described in the above embodiments may be replaced by videos, wherein the electronic device may display the video by displaying a cover image of the video, or by displaying the video being played, and the like.
[0180] 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 multiple comparison videos according to a set strategy, and further determine similar frames of each video from multiple similar videos, and start playing the video from the position of the similar frame of each video. Among them, the setting 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 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 setting conditions may be: the picture similarity between similar frames of different videos in multiple videos is greater than or equal to the set picture similarity threshold; or similar frames of different videos in multiple videos include the same target object, etc. Optionally, the electronic device may use a set AI model to implement the above method of selecting similar audio or determining similar frames in similar audio.
[0181] Embodiment 12. In one example, when the picture described in the above embodiment is replaced with a video, the picture comparison interface described in the above embodiment can be understood as a video comparison interface. The video comparison interface may include a first area and a second area. The first area may include multiple comparison videos, the second area may include multiple candidate videos, or may include multiple candidate videos and at least one reference video. For comparison videos, refer to the description of comparison pictures in the above embodiment, for candidate videos, refer to the description of candidate pictures in the above embodiment, and for reference videos, refer to the description of reference pictures in the above embodiment, which will not be described in detail here. For example, Fig.21a As shown in , the first area in the video comparison interface may include 4 videos, the second area may include 5 videos, and the 4 videos in the first area are included in the 5 videos in the second area. As an optional implementation, when the electronic device detects that there are similar clips in video 1, video 3, and video 4, video 1, video 3, and video 4 may be considered to be similar videos, and similar frames may be further determined from video 1, video 3, and video 4. For example, when it is determined that the video frame at the 10th second in video 1, the video frame at the 12th second in video 3, and the video frame at the 15th second in video 4 all include the same target object, the electronic device may consider the video frame at the 10th second in video 1, the video frame at the 12th second in video 3, and the video frame at the 15th second in video 4 to be similar frames. Then Figure 21b As shown in , the electronic device can 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, so as to facilitate the user to view videos with similar contents at the same time.
[0182] Based on the method provided in the above embodiment, the electronic device can select multiple pictures to form a temporary comparison library and display it, so that the user can quickly and intuitively view and compare multiple pictures without viewing and comparing pictures one by one. Therefore, the efficiency of picture comparison display in the above method is relatively high. In addition, when the electronic device displays multiple pictures for comparison, it can support users to perform various operations such as replacement, deletion, scaling, marking, and editing on the comparison pictures in the picture comparison interface, which is highly practical and convenient.
[0183] In some embodiments of the present application, the pictures described in the above embodiments can be replaced by audio, wherein the electronic device displays the audio by displaying an icon of the audio file, etc., which is not specifically limited in the embodiments of the present application.
[0184] 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 by referring to the way in which the above-mentioned electronic device determines multiple similar videos and determines similar frames in similar videos, which will not be described in detail here.
[0185] Based on the method provided in the above embodiment, the electronic device can compare and display multiple media contents with high display efficiency, which is convenient for users to view and compare different media contents, thereby improving the user experience.
[0186] It should be noted that the specific implementation processes provided in the above embodiments are only examples of the applicable method processes of the embodiments of the present application, wherein 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 refer to the relevant introduction in the previous embodiments, and will not be described in detail here.
[0187] Based on the above embodiments and the same technical concept, the present application also provides a display method, such as Fig. 22 As shown in , the method may include:
[0188] S2201: The electronic device determines a plurality of media contents in response to a received first operation.
[0189] In the embodiment of the present application, the media content may be at least one of the following types of content: pictures, animated pictures, videos, and audios. The source of the media content may refer to the description in the above embodiment, and will not be described in detail here.
[0190] 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 foregoing embodiment.
[0191] 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 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 comparison of the at least two media contents.
[0192] In one example, taking the media content as a picture, in a possible solution, when the first operation is used to select multiple media contents, the first operation may be the first operation described in the aforementioned embodiment, and the multiple media contents may be the multiple candidate pictures described in the aforementioned embodiment. Exemplarily, based on the method, the first operation may include the user selecting Figure 4 The operation of selecting multiple candidate images in the gallery interface shown in the figure and the user clicking Figure 5 The first interface can be Figure 6 In another possible solution, when the first operation is used to select at least two media contents, the first operation may be the first operation described in the aforementioned embodiment, the at least two media contents may be the multiple candidate images described in the aforementioned embodiment, and the media contents other than the at least two media contents in the multiple media contents may be the at least one reference image described in the aforementioned embodiment. Exemplarily, based on the method, the first operation may include the user selecting Figure 4 The operation of selecting multiple candidate images in the gallery interface shown in the figure and the user clicking Figure 5 The first interface can be Fig. 9 The picture comparison interface shown in . In the above method, the media content other than at least two media contents in the multiple media contents can be the media content automatically selected or determined by the electronic device. Optionally, the similarity between any media content other than at least two media contents in the multiple 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 to say, the similarity between any reference picture in the at least one reference picture and any candidate picture in the multiple candidate pictures is greater than or equal to the set similarity threshold.
[0193] In some embodiments of the present application, a method of selecting multiple first media contents from multiple media contents may be implemented by referring to the method of selecting multiple comparison pictures from multiple candidate pictures described in the aforementioned embodiments, or may be implemented by referring to the method of selecting multiple comparison pictures from multiple candidate pictures and at least one reference picture described in the aforementioned embodiments, which will not be described in detail here.
[0194] In some embodiments of the present application, 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. Fig. 9 Taking the picture comparison interface shown in as an example, the first mark can be Fig. 9 The “√” mark shown in .
[0195] 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. Fig. 9 Taking the picture comparison interface shown in as an example, the second mark can be Fig. 9 The “×” mark shown in the figure.
[0196] In some embodiments of the present application, 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 in the second area. Fig. 9 Taking the picture comparison interface shown in 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.
[0197] In some embodiments of the present application, after the electronic device displays the first interface in response to the received second operation, it may further perform at least one of the following processes:
[0198] 1) In response to 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 plurality of first media content, and the third media content is one of the plurality of first media content except the plurality of first media content.
[0199] 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.
[0200] Based on the method, the electronic device can update the media content in the first area with the media content in the second area.
[0201] In one example, the first interface is Figure 6 Taking the picture comparison interface shown in as an example, the second media content may be the first picture in the first area, the third media content may be the fifth picture in the second area, and the third operation may be an operation in which the user selects the fifth picture in the second area and drags it to the area where the first picture in the first area is located and then releases it. In this scenario, the processing and the effects obtained according to the above processing method may refer to the contents described in the above embodiment 5, and will not be repeated here.
[0202] 2) In response to the received fourth operation, add and display fourth media content 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.
[0203] 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.
[0204] Based on the method, the electronic device can add the media content in the second area to the first area.
[0205] In one example, the first interface is Figure 6 For example, the fourth media content may be the fifth picture in the second area, and the fourth operation may be an operation in which the user selects the fifth picture in the second area and drags it into the first area and then releases it. 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 4, and will not be repeated here.
[0206] 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 multiple first media content.
[0207] Based on the method, the electronic device can zoom in or out to display a single media content in the first area.
[0208] In one example, the first interface is Figure 6 For example, the fifth media content may be the first picture in the first area, and the fifth operation may be an operation of the user enlarging the picture on the first picture in the first area. In this scenario, the processing and the effect obtained according to the above processing method may refer to the content described in the above embodiment 7, and will not be repeated here.
[0209] 4) In response to the seventh operation received, multiple first media contents are displayed in an enlarged manner; wherein the enlargement ratios of the multiple first media contents are the same; or, in response to the eighth operation received, multiple first media contents are displayed in a reduced manner; wherein the reduction ratios of the multiple first media contents are the same.
[0210] Based on this method, the electronic device can jointly zoom in or out to display multiple media contents in the first area.
[0211] In one example, the first interface is Figure 6 Taking the picture comparison interface shown in as an example, the seventh operation may be an operation of reducing the picture performed by the user in the first area. In this scenario, the processing and the effect obtained according to the above processing method may refer to the content described in the above embodiment 8, and will not be repeated here.
[0212] 5) In response to the received ninth operation, adjust the display position of the sixth media content; or, in response to the received tenth operation, change the display positions of the sixth media content and the seventh media content; wherein the sixth media content is one of the multiple first media content, and the seventh media content is another of the multiple first media content.
[0213] The display position may also be understood as the display order of the media content in the area where it is located (ie, the order of the media content in the area where it is located).
[0214] Optionally, after changing the display positions of the sixth media content and the seventh media content, the electronic device may correspondingly change the display positions of the sixth media content and the seventh media content in the second area.
[0215] Based on the method, the electronic device can adjust the display position or display order of at least one media content in the first area.
[0216] In one example, the first interface is Figure 6 For example, the sixth media content may be the first picture in the first area, and the ninth operation may be an operation in which the user selects the first picture in the first area and drags it to before the fourth picture and releases the drag. In this scenario, the processing and the effect obtained according to the above processing method may refer to the content described in the first example of the above embodiment 9, and will not be repeated here.
[0217] In another example, the first interface is Figure 6For example, the sixth media content may be the second image in the first area, the seventh media content may be the first image in the first area, and the ninth operation may be an operation in which the user selects the second image and drags it before the first image and releases the drag. In this scenario, the processing and the effect obtained according to the above processing method may refer to the content described in the second example of the above-mentioned embodiment 9, and will not be repeated here.
[0218] 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.
[0219] 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 simultaneously.
[0220] In some embodiments of the present application, before the electronic device determines the multiple media contents in response to the received first operation, it can display a second interface, wherein the second interface includes multiple media contents. After the electronic device deletes the eighth media content in the first area in response to the received eleventh operation, the electronic device can display a third interface in response to the received twelfth operation; wherein the third interface includes media contents other than the eighth media content in the multiple media contents. Based on this method, the process of deleting the picture performed by the electronic device in response to the user operation during the comparative display of the pictures is still valid after exiting the comparative display of the pictures mode.
[0221] In one example, the first interface is Figure 6 Taking the picture comparison interface shown in as an example, the eighth media content may be the first picture in the first area, and the eleventh operation may be the operation of the user clicking on the first picture in the first area to delete. The second interface may be Figure 5 In the interface shown in the figure, the twelfth operation can be performed by the user clicking Fig.12 The operation of the exit control in the picture comparison interface shown in the figure, the third interface can be Fig.19 In this scenario, the processing and the effect obtained according to the above processing method can refer to the contents described in the above-mentioned embodiment 6 and embodiment 11, and will not be repeated here.
[0222] 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.
[0223] In one example, the first interface is Figure 6Taking the picture comparison interface shown in as an example, the ninth media content may be the first picture in the first area, and the thirteenth operation may be an operation in which the user clicks on the collection icon corresponding to the first picture in the first area. Adding the third mark may be changing the collection icon of the first picture from white to black. In this scenario, the processing and the effect obtained according to the above processing method may refer to the content described in the above embodiment 10, and will not be repeated here.
[0224] 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.
[0225] In some embodiments of the present application, before the electronic device determines a plurality of media contents in response to a received first operation, it may display a second interface, wherein the second interface includes a plurality of media contents. After the electronic device adds a third mark to the ninth media content in the first area in response to a received thirteenth operation, it may display a fourth interface in response to a received fourteenth operation; wherein the fourth interface includes a plurality of media contents, and the ninth media content among the plurality of media contents has a third mark. Based on this method, the processing of marking images performed by the electronic device in response to a user operation during the comparative display of images remains valid after exiting the comparative display of images mode.
[0226] 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.
[0227] 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.
[0228] 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 among the multiple media contents except the tenth media content, and the updated tenth media content.
[0229] In some embodiments of the present application, when the media content is video or audio, after the electronic device displays the first interface in response to the received second operation, it can also start playing the eleventh media content from the first position of the eleventh media content, and start playing the twelfth media content from the second position of the twelfth media content; wherein the eleventh media content is one 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 audios, the electronic device can start playing videos or audios from similar positions of multiple videos or audios at the same time to facilitate user comparison.
[0230] In one example, the first interface is Fig.21a Taking the video comparison interface shown as an example, 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, which will not be repeated here.
[0231] 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.
[0232] Based on the above embodiments and the same technical concept, the embodiments of the present application also provide an electronic device, which can be used to implement the display method provided in the embodiments of the present application. Fig.23 As shown in FIG. 2 , the electronic device 2300 may include: a display screen 2301 , a memory 2302 , one or more processors 2303 , and one or more computer programs (not shown in the figure). The above components may be coupled via one or more communication buses 2304 .
[0233] Among them, the display screen 2301 is used to display relevant user interfaces such as application interface.
[0234] 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.
[0235] In a specific implementation, the memory 2302 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 2302 may store an operating system (hereinafter referred to as the system), such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX. The memory 2302 may be used to store an implementation program of an 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.
[0236] The one or more processors 2303 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0237] It should be noted that Fig.23 This is only one implementation of the electronic device 2300 provided in the embodiment of the present application. In actual applications, the electronic device 2300 may also include more or fewer components, which is not limited here.
[0238] Based on the above embodiments and the same technical concept, the embodiments of the present application also provide a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the computer executes the method provided in the above embodiments.
[0239] Based on the above embodiments and the same technical concept, the embodiments of the present application also provide a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed on a computer, the computer executes the method provided in the above embodiments.
[0240] The method provided in the embodiment of the present application can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable 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 wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. Computer-readable storage media 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 integrated. Available media can be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., digital video discs (DVDs), or semiconductor media (e.g., SSDs), etc.
[0241] Obviously, those skilled in the art can 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 also intended to include these modifications and variations.
Claims
1. A display method, applied to an electronic device, characterized in that: The method comprises: In response to the received first operation, determining a plurality of media contents; In response to the received second operation, display a first interface; wherein the first interface includes a first area and a second area, the first area includes a plurality of first media contents, the second area includes the plurality of media contents, and the plurality of first media contents are included in the plurality of media contents; in, The first operation is used to select the plurality of media contents, and the second operation is used to instruct to compare the plurality of media contents; or The first operation is used to select at least two media contents, the 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 media content among the multiple first media content, and the seventh media content is another media content among the multiple 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.
Citation Information
Patent Citations
Integrated reduced graph implementing method based on single screen
CN101315633A
Method for photo editing and mobile terminal using this method
CN102332172A
Method and device for displaying pictures
CN103677502A
Picture processing method and mobile terminal
CN108153900A
Multi-image display method and device, equipment and storage medium
CN114168052A
Cited By
Display method and electronic device
EP4742020A1
