This application claims priority to Chinese Patent Application No. 202210191802.X, filed with the China National Intellectual Property Administration on Feb. 28, 2022 and entitled “METHOD FOR BROWSING MULTIMEDIA CONTENT AND APPARATUS”, which is incorporated herein by reference in its entirety.
This application relates to the field of multimedia technologies, and in particular, to a method for browsing multimedia content and an apparatus.
With the popularization of intelligent terminals and the rapid development of camera technologies for the intelligent terminals, photographing and video recording functions become essential functions of the intelligent terminals. Furthermore, the user's requirements and experience for photographing and video recording are continuously increasing. For example, in some scenarios, a user desires to capture highlight instant photos during video recording, but current camera technologies for intelligent terminals cannot meet this requirement.
In view of this, this application provides a method for browsing multimedia content and an apparatus, to solve the above-mentioned technical problem. The disclosed technical solutions are as follows:
According to a first aspect, this application provides a method for browsing multimedia content. The method includes: displaying a first interface in response to an operation of a user for opening a gallery application, where the first interface includes a thumbnail of a first video; displaying a play interface of the first video in response to an operation that is input by the user for the first thumbnail of the first video, where the play interface includes a first region and a second region, the second region displays the first video, the first region includes a thumbnail list. and the thumbnail list includes a thumbnail of at least one magic moment photo associated with the first video: and in response to an operation of the user selecting a second thumbnail in the thumbnail list, displaying a first magic moment photo corresponding to the second thumbnail in the second region, and skipping displaying the first video. It can be learned that, according to this solution, when a video associated with a magic moment photo is displayed in the first region of the play interface, the thumbnail list including the magic moment photo can be displayed in the first region of the play interface. the user can select a thumbnail from the thumbnail list, and the first region of the play interface is refreshed from displaying the first video (that is, an original video) to displaying the magic moment photo associated with the video. Convenience for a user to view a magic moment photo is improved, and user experience is improved.
In a possible implementation, the magic moment photo is automatically shot during recording of the first video; or the magic moment photo is shot, during recording of the first video, in response to a touch operation of the user on a photo key.
In another possible implementation, the thumbnail list further includes a third thumbnail of the first video. In this way, the user can easily view the original video after viewing the magic moment photo, thereby further improving user experience.
In another possible implementation, the third thumbnail of the first video further includes a play control when the second region displays the first magic moment photo corresponding to the second thumbnail. In this way. it is convenient for the user to visually identify the thumbnail of the original video from the thumbnail list. thereby further improving user experience.
In another possible implementation. the first region further includes a selector, and the method further includes: moving the thumbnail list in the first region in response to a sliding operation of the user on the thumbnail list, where a thumbnail remaining in an area in which the selector is located is the first thumbnail selected by the user. In this way, the user can directly slide the thumbnail list to select a magic moment photo or original video to be viewed, and the operation of searching first and then tapping is not required, so that a selection operation of the user is simplified, and user experience is improved.
In another possible implementation, the moving the thumbnail list in the first region in response to a sliding operation of the user on the thumbnail list includes: determining sliding parameters of the sliding operation after detecting the sliding operation of the user on the thumbnail list, where the sliding parameters include a sliding speed and a sliding direction: triggering the thumbnail list to move in the sliding direction and to move at a moving speed that matches the sliding speed: determining a sliding off-hand speed after detecting a sliding off-hand operation: and if the sliding off-hand speed is 0, triggering the thumbnail list to stop moving, or if the sliding off-hand speed is greater than 0, triggering the thumbnail list to continue moving at the sliding off-hand speed until the moving speed drops to 0.
In another possible implementation, the method further includes: determining a moving displacement of the thumbnail list after the thumbnail list stops moving: obtaining a ratio of the moving displacement to a width of the thumbnail. and performing a rounding operation on the ratio to obtain a first value: and if the first value is equal to 0, determining that the thumbnail remaining in the area in which the selector is located is an original thumbnail, where the original thumbnail is a thumbnail in the area in which the selector is located before the sliding operation is received: or if the first value is greater than 0. determining that a thumbnail that is in a target direction of the original thumbnail in the thumbnail list and that is spaced apart from the original thumbnail by the first value is the thumbnail remaining in the area in which the selector is located, where the target direction is a direction opposite to the sliding direction of the sliding operation.
In another possible implementation, the method further includes: in a process of moving the thumbnail list to the right in response to a rightward sliding operation of the user, if the 1st thumbnail in the thumbnail list is in the area in which the selector is located, and it is detected that a sliding off-hand speed of the rightward sliding operation is greater than 0, triggering the thumbnail list to move leftward by a first preset displacement to return to a position at which the 1$ thumbnail is located in the area in which the selector is located; and in a process of moving the thumbnail list to the left in response to a leftward sliding operation of the user, if the last thumbnail in the thumbnail list is in the area in which the selector is located, and it is detected that a sliding off-hand speed of the leftward sliding operation is greater than 0, triggering the thumbnail list to move rightward by a second preset displacement to return to a position at which the last thumbnail is located in the area in which the selector is located. A dynamic effect of rebounding against the boundary of the thumbnail list is presented through the above process.
In another possible implementation. the method further includes: in response to a tapping operation of the user on the thumbnail list, determining a tapped thumbnail as the first thumbnail selected by the user.
In another possible implementation, the method further includes: displaying the first video in the second region in response to an operation that is input by the user for the third thumbnail of the first video, where a display status and a play progress of the first video are the same as those of the first video when the first video was last exited, and the display status includes a playing state and a playing pause state. It can be learned that after switching from displaying the magic moment photo to displaying the original video, the original state is kept to continue playback, that is, the play progress corresponding to the last time when the original video exits is automatically located, thereby improving user experience.
In another possible implementation. the thumbnail list further includes a thumbnail of another photo or video other than the first video in the gallery application. In this way, the user can directly operate the thumbnail list to view other photos or videos in the gallery, and does not need to exit the original video to enter the gallery again to view other photos or videos, thereby reducing user operations and improving user experience.
In another possible implementation, the method further includes: in response to a sliding operation of the user in the second region, displaying, in the second region, content corresponding to a fourth thumbnail adjacent to the first thumbnail of the first video in the gallery application.
In another possible implementation, when the first video or the magic moment photo associated with the first video is displayed in the second region. thumbnails of the first video and the magic moment photo are displayed in the thumbnail list in an expanded manner. In this way, it is convenient for the user to view the magic moment photo associated with the first video.
In another possible implementation, when content of the another photo or video is displayed in the second region. the thumbnail list displays the third thumbnail of the first video and hides the thumbnail of the magic moment photo associated with the first video. In this way, it is avoided that the thumbnail of the magic moment photo occupies too much display space, so that more thumbnails that may be viewed by the user are displayed in the first region, and utilization of the display space is improved. In addition, it is avoided that the user needs to repeatedly operate the thumbnail list to locate the thumbnail the user really wants to see, thereby reducing operations of the user.
In another possible implementation. the method further includes: when content corresponding to the fourth thumbnail is displayed in the second region, playing the first video in the second region from the 0th second in response to a sliding operation of the user on the second region, and skipping displaying the content corresponding to the fourth thumbnail in the second region. In this way. when the user returns to view the first video after viewing other photos or videos in the gallery, it is considered that the user may need to view the video from the beginning to prevent the user from adjusting the play progress bar to play from the beginning, thereby reducing operations of the user and improving user experience.
In another possible implementation, the method further includes: when content of the first video is displayed in the second region, the first region further includes a play progress bar, and the play progress bar includes a playing pause control, a mute control, and a play progress control: the playing pause control is located at a first boundary of the first region, and the mute control is located at a second boundary of the first region; and the play progress control is located on the third thumbnail of the first video, and a width of the third thumbnail is larger than a width of another thumbnail in the thumbnail list. In this way, by displaying the play progress bar directly in the first region, it is possible to avoid that the play progress bar displayed in the second region affects an image displayed in the second region, thereby improving utilization of the first region and the second region.
In another possible implementation, the method further includes: displaying an image frame sequence of the first video in an expanded manner in the thumbnail list in response to an operation that is input by the user for the third thumbnail; and displaying. in the second region in response to an operation that is input by the user for the play progress control, an image frame located by the play progress control. In this way, the user can adjust the play progress visually according to the image in the image frame sequence, thereby improving accuracy of adjusting the play progress.
In another possible implementation, the method further includes: when the second region displays a magic moment photo associated with the first video, displaying the third thumbnail of the first video in the thumbnail list and hiding the image frame sequence of the first video. In this way, the image frame sequence of the original video can be prevented from occupying too much space of the thumbnail list, the length of the thumbnail list is shortened, and operations of the user for locating another thumbnail is reduced.
In another possible implementation. the method further includes: displaying a second interface in response to a sliding operation of the user on the second region. where the second interface displays the content of the fourth thumbnail adjacent to the first thumbnail of the first video in the gallery application, and does not display the thumbnail list.
In another possible implementation. an aspect ratio of each thumbnail in the thumbnail list is 1.1: or an aspect ratio of the first thumbnail is an actual aspect ratio of a video or photo corresponding to the first thumbnail, and an aspect ratio of another thumbnail in the thumbnail list is 1:1. In this solution. the thumbnail of the currently displayed item is displayed according to the actual aspect ratio of the photo or video, so that the user can quickly identify the thumbnail of the currently displayed item. thereby improving user experience.
In another possible implementation, a height of the first thumbnail is greater than a height of another thumbnail in the thumbnail list. In this way, the thumbnail corresponding to the currently displayed item can be more quickly identified by the user, and user experience is further improved.
In another possible implementation, the thumbnail of the first video includes a first identifier, and the first identifier is used to indicate that the first video is associated with at least one magic moment photo. In this way, it is convenient for the user to visually identify a video associated with magic moment content, thereby improving an identification degree of such video.
In another possible implementation, the first region is located below the second region, and an area of the second region is larger than an area of the first region.
According to a second aspect, this application further provides an electronic device. The electronic device includes one or more processors, a memory, and a touchscreen. The memory is configured to store program code. The processor is configured to run the program code, to enable the electronic device to implement the method for browsing multimedia content according to any one of the first aspect or the implementations of the first aspect.
According to a third aspect. this application further provides a computer-readable storage medium storing instructions, where when the instructions are run on an electronic device, the electronic device is enabled to perform the method for browsing multimedia content according to any one of the first aspect or the implementations of the first aspect.
It should be understood that descriptions of technical features, technical solutions, beneficial effects, or similar expressions in this application do not imply that all features and advantages can be achieved in any single embodiment. On the contrary, it may be understood that descriptions of features or beneficial effects mean that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore. descriptions of technical features, technical solutions, or beneficial effects in this specification do not necessarily refer to a same embodiment. Further, the technical features, technical solutions, and beneficial effects described in the embodiments may be combined in any appropriate manner. A person skilled in the art should understand that an embodiment may be implemented without one or more specific technical features, technical solutions, or beneficial effects in a specific embodiment. In other embodiments, additional technical features and beneficial effects may be identified in a specific embodiment that does not reflect all embodiments.
To describe the technical solutions in embodiments of the present invention or the conventional technology more clearly, the following briefly describes the accompanying drawings for describing the embodiments or the conventional technology. It is clear that, the accompanying drawings in the following description show some embodiments of the present invention, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
The terms “first”, “second”, “third”, and the like in the specification, claims, and accompanying drawings of this application are used to distinguish between different objects, but are not used to limit a specific sequence.
In embodiments of this application, words such as “example” or “for example” are used to represent giving examples, illustrations, or descriptions. Any embodiment or design solution described as “example” or “for example” in embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the words such as “example” or “for example” are used to present related concepts in a specific manner.
For clarity and brevity of the following embodiments, a brief description of a related technology is first provided.
Magic moment (magicmoment, MM) refers to moments of some wonderful pictures in a video recording process. For example, the MM may be an optimal motion instant. an optimal expression moment, or an optimal check-in action. It may be understood that, the term MM is not limited in this application. and MM may also be referred to as a beautiful moment, a splendid moment, a wonderful instant, a decisive instant, a best shot (bestshot, BS), or the like. In different scenes, the magic moment may be a different type of picture instant. For example. when a video of a football match is recorded, the magic moment may be an instant at which an athlete's foot comes into contact with a football during a shot or a pass, or the magic moment may be an instant at which the football flies into the goal: when a video of a person jumping from the ground is recorded, the magic moment may be an instant at which the person is at the highest point in the air, or may be an instant at which a motion of the person in the air is most stretching.
Magic Take may be understood as follows: When a user uses a camera application to shoot a video, one or more photos of magic moments and one or more selected videos can be obtained by pressing a “shoot” icon once.
An implementation process of “Magic Take” may be as follows: An electronic device automatically identifies a magic moment and triggers capture during video recording to obtain a magic moment photo (that is. an MM photo): after the recording ends, the MM photo and a wonderful short video (also referred to as a selected short video, a wonderful video, or a selected video) may be recommended to a user when the user views the recorded video. For example, a complete recorded video is one minute, and a plurality of (for example, five) magic moment photos and a wonderful short video with duration of first preset duration (for example, 15 seconds) may be obtained. It may be further understood that, “Magic Take” may alternatively have other names, for example, “magic obtain”. “magic shoot”. “instant film”. “instant movie”, or “Al instant movie”.
It should be further noted that, when the user shoots a video in the Magic Take mode of the mobile phone. in addition to obtaining the shot video and one or more highlight images in the video, the mobile phone may further generate a configuration file. The configuration file may include tags (TAG) of the video. Alternatively, the mobile phone may obtain tag data. The tag data includes tags (TAG) of the video. In addition, the tag data may be added to the video, and is usually located in a video header.
Manual capture: During video recording, manual photographing can be performed to obtain a picture that is expected to be shot.
To meet the need of a user to capture a brilliant instant picture in a video recording process, this application introduces a “Magic Take” function, that is, to obtain magic moment content. such as a magic moment photo or a brilliant short video, during video recording. In addition, when the video recording is completed. the magic moment photo can be viewed in the gallery. According to the solution, the magic moment photo can be obtained in the process of shooting the video, to meet the requirements of the user, and the user can view the shot video and the magic moment photo in the gallery, thereby improving convenience of viewing by the user and improving user experience. In addition, compared with randomly obtaining a photo in a recorded video, quality of the magic moment image obtained in this solution is higher, and user experience is better.
The method for browsing multimedia content provided in the embodiments of this application is applicable to various electronic devices. The electronic devices may be, for example, a mobile phone, a smart screen, a tablet computer, a wearable electronic device. a vehicle-mounted electronic device, an augmented reality (augmented reality. AR) device, a virtual reality (virtual reality, VR) device, a notebook computer, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook. a personal digital assistant (personal digital assistant
PDA), a projector, or the like.
For example, that the electronic device is a mobile phone is used as an example. FIG. I is a schematic diagram of a structure of an electronic device according to an embodiment of this application.
The electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, 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 telephone receiver 170B. a microphone 170C, a headset jack 170D. a sensor module 180, a key 190, a motor 191, an indicator 192. a camera 193, a display screen 194, a subscriber identification module (subscriber identification module, SIM) card interface 195. and the like.
The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B. a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, an optical proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be noted that a structure shown in FIG. I does not constitute a specific limitation on the electronic device. In some other embodiments of this application, the electronic device may include more or fewer components than the components shown in
The processor 110 may include one or more processing units. For example, the processor 110 may include at least one of the following processing units: an application processor (application processor, AP), a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec. and a digital signal processor (digital signal processor, DSP). Different processing units may be independent devices. or may be an integrated device.
The controller may generate an operation control signal based on an instruction
operation code and a time sequence signal, to control instruction fetching and instruction execution.
The electronic device may implement a display function by using the GPU. the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is configured to perform mathematical and geometric calculation for graphics rendering. The processor 110 may include one or more GPUs, and the GPU executes a program instruction to generate or change display information.
The display screen 194 may be configured to display an image or a video. The display screen 194 includes a display panel. In some embodiments. the electronic device may include one or N display screens 194, where N is a positive integer greater than 1. In a possible implementation, the display screen 194 may be used to display magic moment photos, recorded short videos, and the like.
The electronic device may implement a shooting function by using the ISP. the camera 193. the video codec, the GPU. the display screen 194, the application processor, and the like. The ISP is configured to process data fed back by the camera 193. For example, at the
time of photographing, a shutter is opened, and light is transmitted to a photosensitive element of the camera by using a lens. An optical signal is converted into an electrical signal. The photosensitive element of the camera transmits the electrical signal to the ISP for processing, to convert the electrical signal into an image visible to naked eyes. The ISP may perform algorithm optimization on noise, brightness, and a color of an image, and the ISP may further optimize parameters such as exposure and a color temperature of a shooting scene. In some embodiments, the ISP may be arranged in the camera 193.
The camera 193 is configured to capture a still image or a video. In some embodiments, the electronic device may include 1 or N cameras 193, where N is a positive integer greater than 1. In this embodiment of this application, the processor 110 may determine, based on a video stream recorded by the camera 193, a magic moment MM in the video stream, and when the MM is determined, call the camera 193 to automatically trigger photographing. The ISP and the DSP may process an image signal of the magic moment MM to obtain an image of the magic moment.
The digital signal processor is configured to process a digital signal. In addition to processing the digital image signal, the digital signal processor can further process another digital signal.
The video codec is configured to compress or decompress a digital video.
The internal memory 121 may be configured to store computer executable program code, and the executable program code includes instructions. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system, and an application required by at least one function (for example, a sound playing function and an image playing function). The data storage area may store data (for example, audio data and an address book) created during use of the electronic device. The processor 110 performs various processing methods of the electronic device by running the instructions stored in the internal memory 121 and/or the instructions stored in the memory disposed in the processor.
The method for browsing multimedia content provided in this application is described in detail by using an example in which the electronic device is a mobile phone and a camera application is installed in the mobile phone.
In some embodiments of this application, the user can manually enable or disable the “Magic Take” function provided in embodiments of this application. Certainly, in other embodiments, the system enables the “Magic Take” function by default, and the user may manually disable the function.
The following describes a portal of the “Magic Take” function with reference to FIG. 2˜
For example, the user can indicate the mobile phone to start the camera application by touching a specific control on a screen of the mobile phone, pressing a specific physical key or key combination, or inputting a voice, a mid-air gesture, or the like. In response to an indication of the user for starting the camera, the mobile phone starts the camera application and displays a shooting interface.
In an example embodiment, for example, as shown in
In other example embodiments. when the mobile phone is in a screen locked state or runs another application, the user may alternatively control the mobile phone to start the camera application in another manner, so that the mobile phone displays the shooting interface shown in
As shown in
As shown in
In addition, the camera system may enable the control 104 by default, that is, enable the “Magic Take” function by default, and the user may manually tap the control 104 to disable the “Magic Take” function if the user does not need to use the “Magic Take” function.
After the user enables the “Magic Take” function, when the camera application is in the video mode, the camera application automatically and intelligently identifies a magic moment during video recording, and after content of the magic moment is identified, the camera application automatically generates a magic moment photo. The recorded video may be referred to as an original video. In addition, when the original video is larger than second preset duration (for example, 15 s), and the magic moment content is identified, a short video may be automatically generated based on the magic moment content and the original video, and the generated short video may be referred to as a short highlight video (or a selected short video, or a highlight video. or a selected video).
It may be understood that, the camera setting interface shown in
The control for setting video resolution shown in
In addition. the camera setting interface shown in
The user taps a Video key shown in
During the video recording, the user can tap the Photo key 107 to manually capture a photo. During the video recording, the user can tap the Pause key 105 to pause the recording process. The user can tap the Stop key 106 to end the recording process and obtain the shot video.
A manner of triggering the mobile phone to enable the “Magic Take” function is described above. and this application is not limited to enabling “Magic Take” in the video mode. In other example embodiments of this application, the user may enable the “Magic Take” function in another manner. For example, “Magic Take” serves as a newly added mode. and the user may choose to enter the “Magic Take” mode in the camera application. For another example, the user may set a video mode of the mobile phone to the “Magic Take” mode in a setting menu.
After the “Magic Take” function is enabled by the user, an original video recorded by the user and “Magic Take” content (for example, magic moment photos or short videos) related to the original video can be viewed in the gallery:
The following describes the portal for the user to enter the gallery to view the original video and the associated “Magic Take” content with reference to
In an example embodiment, as shown in
In other example embodiments, the user can alternatively control the mobile phone to start the gallery application by touching a specific control on a screen of the mobile phone, pressing a specific physical key or key combination, or inputting a voice, a mid-air gesture, or the like. The gallery application may also be referred to as an album, a photo, or the like.
The “Photo” tab interface shown in
To help the user distinguish between a common video and a video associated with “Magic Take” content, a specific identifier may be displayed on a thumbnail corresponding to the video associated with “Magic Take” content displayed in the gallery.
In an example embodiment, as shown in
It may be understood that the AI identifier 203 shown in
The “Photo” tab interface shown in
The thumbnail of the video 202 and thumbnails of a common photo and a common video shown in
In addition, the “Photo” tab interface shown in
When the user views the video associated with the “Magic Take” content. the mobile phone enters a video playback interface if the user taps the thumbnail of the video 202 in
where the area of the region B is the largest and the areas of the regions A, C, and D are smaller. Further, the region A may overlap a portion of the region B, and details are not described herein.
The region A is located at the top of the entire interface and includes a status bar and a title bar. The status bar is located at the top of the region A, and the status bar is used to display a current status of the mobile phone, for example, information such as a cellular network signal quality identifier, a wireless network signal quality identifier, and a real time. The title bar may display content of the shot video such as a time, a place, a detail control 212, and a control 213 for returning to the previous level.
The status bar is a status display bar common to different applications in the mobile phone. For example. display interfaces of different applications in the mobile phone may each include the status bar and the displayed content remains unchanged. In addition, the status bar is an optional display item. and a display interface of an application may not include the status bar, but generally includes a title bar. The status bar and the title bar may be hidden, for example, the status bar and the title bar may be hidden after the user taps any position in the region B.
The region B is a large-picture region showing a video/photo, for example, the region B may play the video 202 tapped by the user according to an original shooting ratio or shooting pixels of the video 202.
The region C is used to display at least some thumbnails in the thumbnail list. The thumbnail list may include a thumbnail of the recorded original video and thumbnails of a plurality of (for example, five) obtained magic moment photos. or the thumbnail list may include only the thumbnails of the plurality of magic moment photos, excluding the thumbnail of the original video.
The embodiments of this application do not limit a quantity of the obtained magic moment photos. For example, longer duration of the recorded original video, or a larger quantity of scenes of magic moments appearing in the original video may indicate a larger quantity of obtained magic moment photos. Shorter duration of the recorded original video, or a smaller quantity of scenes of magic moments appearing in the original video may indicate a smaller quantity of obtained magic moment photos.
In a possible implementation, the thumbnails in the thumbnail list are arranged in order from left to right. As shown in
The embodiments of this application do not limit a quantity of magic moment photos, for example, there may be one or more (for example, five) magic moment photos. Because the display area of the region C is limited, a quantity of displayed thumbnails is limited, and in the example shown in
In a possible implementation, the thumbnails corresponding to the plurality of magic moment photos shown in the region C are arranged from left to right in order of the shooting time from early to late. For example, as shown in
In addition, the video or photo currently displayed in the region B may be referred to as a currently displayed item, and the periphery of the thumbnail corresponding to the currently displayed item in the region C further includes a positioning box 205 slightly larger than the size of the thumbnail. In other words, the positioning box 205 is used to indicate that the photo or video corresponding to the thumbnail is the currently displayed item of the region B. The positioning box 205 may also be referred to as a selector.
Using the positioning box 205 to indicate the currently displayed item is only an example provided in an embodiment of this application. In other embodiments, the currently displayed item may be otherwise indicated, for example. a triangular selector is displayed above or below the thumbnail of the currently displayed item, and one corner of the triangular selector points to the thumbnail of the currently displayed item. This application does not limit a specific manner of indicating the currently displayed item.
The region D is located at the bottom of the entire interface and may display operational controls for the currently displayed item, such as a Share control, a Favorite control, an Edit control, a Delete control, and a “More” control. In addition, the content displayed in the region D may be hidden, for example. the content displayed in the region D may be hidden after the user taps any position in the region B.
In an example embodiment, if the user views a video associated with “Magic Take” content for the first time, to guide and remind the user that the video includes “Magic Take” content, a guide box 204 (or referred to as a bubble prompt box) may be displayed above the region C, and the prompt content may be: “Magic Take” can intelligently capture multiple magic moments for you. In other words, the guide box 204 is used to inform the user that the region C includes “Magic Take” content.
In another example embodiment, to better guide and remind the user that the video includes “Magic Take” content, the regions A, B, and D may be covered with a mask layer (or a mask) with specific transparency, such as a gray mask. The transparency of the mask may be set according to actual requirements, for example. 20% ˜80%. The transparency of the mask is not limited in this application. The region C is not covered with a mask, so that the guide box 204 and the region C are highlighted.
The prompt manner of the bubble prompt box or the mask shown in
It may be understood that, to avoid disturbing the normal use of the user with a large quantity of reminders, if the user is not viewing the video associated with the “Magic Take” content for the first time, the user is no longer guided and reminded, for example, the guide box 204 or the mask shown in
It may be understood that in the state in which the guide box 204 and the mask are displayed, the video displayed in the region B is not automatically played. The video displayed in the region B may be automatically played after the guide box 204 and the mask disappear. For example, after the user taps any position in the interface shown in
The foregoing describes a manner in which a video associated with “Magic Take” content and the “Magic Take” content are viewed from the “Photo” tab of the Gallery application. In addition, the user may alternatively view the original video and associated “Magic Take” content from an “Album” tab of the Gallery application.
For example, the user can tap the “Album” tab in the interface shown in
As shown in
If the user taps the “Camera” album 301 shown in
As shown in
As shown in
In other example embodiments. if the user taps the “All photos” album 302 in the interface shown in
Similarly, if the user uses the camera application to shoot a video associated with “Magic Take” content, this type of video is also displayed in the “Video” album 303 in the interface shown in
Further, if the user moves a video associated with “Magic Take” content to another album, the user can view the video from the another album, and details are not described herein.
It should be noted that the interfaces shown in
In another example embodiment, a portal of the gallery application is provided in the shooting interface, and a thumbnail of the last shot video or photo can be displayed at the portal. As shown in
If the user ends the current recording after enabling the “Magic Take” function. the mobile phone can obtain a video associated with “Magic Take” content. At this time, the mobile phone may display a thumbnail of the recorded original video in the preview 401 shown in
Further, as shown in
In another example. when the mobile phone is in the portrait display mode, an aspect ratio of a thumbnail of the currently displayed item in the region C may alternatively be an actual aspect ratio of the video/photo, and an aspect ratio of another thumbnail is 1:1. In addition, to further highlight the thumbnail of the currently displayed item in the thumbnail list, the size of the thumbnail of the currently displayed item may be slightly larger than that of other thumbnails, that is, the thumbnail of the currently displayed item presents a magnifying effect.
In another scenario, the mobile phone is in a landscape display mode, as shown in
For example, as shown in
The foregoing describes a process in which the user is guided and reminded to view “Magic Take” content when viewing a video associated with “Magic Take” content for the first time. A process in which the user views the original video and the “Magic Take” content is described below with reference to
In an example embodiment. after the user taps any region covered by the mask in the video playback interface, the bubble guide box and the mask disappear and the video is automatically played.
For example, as shown in
In another example embodiment, after the mask and the guide box 204 disappear, the video in the region B may be in a playing pause state by default, that is, a play control is displayed on the video displayed in the region B, and the video is played only after the user manually taps the play control.
As shown in
As shown in
In a possible implementation, considering that an environment in which the user is currently located may not be suitable for playing the video, to avoid interference of the video playing sound to the user. the video may be automatically played silently by default, and the user needs to tap the volume controller 4021 to resume the video playing sound. The volume controller 4021 may also be referred to as a mute key or a mute control.
Further, if the user taps the control shown in the region D in
In another example embodiment, the mobile phone responds to the operation of the user on the thumbnail in the region C after the guide box and the mask disappear.
If the user taps a thumbnail in the region C directly. the tapped thumbnail is the currently displayed item, and the region B directly displays a photo corresponding to the currently displayed item. If the user slides the thumbnail list in the region C leftward or rightward, the thumbnails move leftward or rightward accordingly. The mobile phone can compare a size relationship between a moving distance of the finger on the screen and a corresponding threshold to determine the currently displayed item.
For example, the user first taps any position in the interface shown in
In another example embodiment, in a status in which the guide box and the mask are displayed. if the user directly taps or slides the thumbnail list in the region C, the guide box and the mask disappear, and a photo or video that is tapped or slidably positioned by the user is directly displayed in the video or photo display region (that is. the region B).
As shown in
In an example, for example, if the sliding displacement is greater than a first threshold (such as half the side length of the thumbnail), it is determined that the currently displayed item is switched from the video or photo corresponding to the thumbnail 206 to a photo corresponding to the next thumbnail (that is, the thumbnail 207). and the positioning box 205 is positioned in the thumbnail 207, and the region B displays the photo corresponding to the thumbnail 207, that is, the mobile phone displays the interface shown in
In another example, for example. after a sliding off-hand operation is detected and the thumbnail list stops moving, a moving displacement of the thumbnail list is determined. The moving displacement of the thumbnail list may be determined based on the sliding displacement of the sliding operation. Then, a ratio of the moving displacement to the width of the thumbnail is calculated, and the ratio is rounded to obtain a first value.
If the first value is equal to 0. a thumbnail remaining in the area in which the selector is located is determined as an original thumbnail. The original thumbnail is a thumbnail in the area in which the selector is located before the sliding operation is received. For example. the selector is positioned at the position of the thumbnail 206 before the current sliding operation is received.
that is. the thumbnail 206 is the original thumbnail.
If the first value is greater than 0. it is determined that a thumbnail that is in a target direction of the original thumbnail in the thumbnail list and that is spaced apart from the original thumbnail by the first value is a new thumbnail. The target direction is a direction opposite to the sliding direction of the sliding operation. For example, if the ratio of the moving displacement to the width of the thumbnail is 1.5, the rounded first value is 2. The original thumbnail is the thumbnail 206, the sliding operation is a leftward sliding operation, and the new thumbnail is the thumbnail 209 on the right side of the thumbnail 206 and is spaced apart from the thumbnail 206 by two thumbnail widths.
In a possible implementation. the position of the positioning box 205 in the region C is relatively fixed, and the position of the thumbnail list is moved by a sliding operation. so that the positioning box 205 is positioned at a different thumbnail.
In an example. as shown in
In another possible implementation. the position of the positioning box 205 in the region C is not fixed, that is. positions of both the thumbnail and the positioning box 205 can be moved. In this implementation, the thumbnails displayed in the region C may be sequentially arranged starting from the leftmost side of the region C. When the user slides the thumbnail list leftward or rightward, the currently displayed item is determined based on a sliding displacement of the finger on the screen and a thumbnail positioned by the positioning box 205 before the user performs the sliding operation.
In a scenario, a thumbnail of a currently displayed new item has been displayed in the region C. In such a scenario, the thumbnail list does not need to be moved in the sliding direction, and the positioning box 205 only needs to be moved to the currently displayed new item.
For example. when the positioning box 205 is positioned in the 1st thumbnail in the thumbnail list (the thumbnail 206 in
In another scenario in which the thumbnail of the currently displayed new item is not displayed in the region C, the thumbnail list needs to be moved in the sliding direction, so that the currently displayed new item is displayed in the region C. Further, whether it is necessary to move the positioning box 205 is determined according to the sliding displacement.
If the positioning box 205 is located exactly at the position of the currently displayed new item after the thumbnail list is moved. it is not necessary to move the positioning box 205. If the positioning box 205 is not located at the position of the currently displayed new item after the thumbnail list is moved, the positioning box 205 is moved to the position corresponding to the currently displayed new item.
The user directly switches the object displayed in the region B by sliding or tapping the thumbnail list in the region C. If the user taps the thumbnail 206 (that is, the thumbnail of the original video) in the thumbnail list when the region B displays “Magic Take” content, the region B is switched to an interface for playing the original video. For example, the user switches from the interface shown in
As described previously, in the scene in which the user slides the thumbnail list in the region C, and the thumbnail list follows the movement, different sliding speeds of the user indicate different displacements of the thumbnail list following the movement.
A process in which different users slide the thumbnail list at different speeds and the thumbnail list follows the movement is described below with reference to
If the user's finger slides the thumbnail list in the region C (for example, slides the thumbnail list in the region C to the left), the mobile phone can detect a speed when the finger leaves the screen (that is, a sliding off-hand speed). If the sliding off-hand speed is 0, it indicates that the current sliding operation is a low-speed sliding operation (or referred to as a slow sliding operation), the mobile phone may determine whether the thumbnail list is reset or positioned to a new thumbnail based on the sliding displacement of the finger on the screen. If the sliding off-hand speed is greater than 0, it indicates that the current sliding operation is a high-speed sliding operation (or referred to as a fast sliding operation), and the thumbnail list inherits the sliding off-hand speed and continues to slide, until the sliding speed of the thumbnail list drops to 0, or the last thumbnail in the thumbnail list is at the position of the positioning box.
In an example, as the user slides the thumbnail list leftward or rightward, the thumbnails in the positioning box 205 are constantly switched, and accordingly, the photo displayed in the region B is also refreshed in real time to the thumbnail in the positioning box 205.
For example, as shown in
In another example, as shown in
In addition, in an example, when the positioning box 205 is at the left boundary of the thumbnail list (that is, the 1st thumbnail in the thumbnail list, such as the thumbnail 206 in
In another example, in a scenario in which a magic moment photo is displayed in a large-picture region (that is, the region B), to help a user visually identify a thumbnail corresponding to an original video and to retrieve the original video, a play control may be added to the thumbnail of the original video. For example, as shown in
In another example embodiment, the thumbnail of the currently displayed item when the mobile phone is in the landscape display mode is displayed by using an actual aspect ratio of the photo or video, while aspect ratios of the other thumbnails are displayed by using an aspect ratio of 1:1.
As shown in
The user slides the thumbnail list shown in
Further, during the sliding. the large-picture region 501 is refreshed in real time to a photo corresponding to a thumbnail (the thumbnail 207 shown in
In addition, in the landscape display mode. operable controls such as “Share”. “Favorite”, “Edit”, “Delete”. “More”, and “Details” can be located in the upper right corner of the screen, as shown in
Here, a moving effect of the thumbnail list in a sliding process in the landscape display mode is the same as that in the portrait display mode, and details are not described herein.
The foregoing describes the display effect of the user sliding the thumbnail list. In addition, the user may perform a sliding operation on the large-picture region (that is, the region B) in which the video or photo is displayed. For example, when the mobile phone displays an interface of a magic moment photo associated with a video, if the user slides the large-picture region (that is, the region B) to the left, the mobile phone switches to displaying the next photo (or video) adjacent to the video in the gallery application.
A change of the display interface when the user slides the large-picture region is described below with reference to
The following uses a photo tab in the gallery application as an example. As shown in
If the user slides to the left in the region B of
If the user slides to the right in the region B shown in
In other embodiments of this application, if there is a previous photo of the video 202, after the user slides to the right in the region B of
In addition.
In the foregoing example, as shown in
As shown in
If the user taps the video 202 in
As shown in
If the user performs a leftward sliding operation in the region B of the interface shown in
In an example, if the currently displayed item is a video associated with “Magic Take” content or “Magic Take” content corresponding to the video, thumbnails of the video associated with “Magic Take” content and the “Magic Take” content corresponding to the video are displayed in a thumbnail region (that is, the region C) in an expanded manner. For example, as shown in
If the currently displayed item is a common photo or a common video (for example. the photo 305 displayed in the region B in
In this way, in a scenario in which no “Magic Take” content is displayed, the thumbnails of the “Magic Take” content are prevented from occupying too much display space, so that more thumbnails that the user may view are displayed in a limited display region, thereby improving user experience. In addition, it can be ensured that a sequence of the thumbnails displayed in the region C is consistent with that of the thumbnails in the gallery application.
In addition. the operation of the user on the thumbnail list in the region C and the switching effect of the display interface described above in the embodiment of this application are also applicable to the embodiment shown in
In another example, when playing the original video associated with the “Magic Take” content. the region B does not display a play progress bar. as shown in
As shown in
In this scenario, to clearly display a video play progress, as shown in
If the user taps the thumbnail 206 in
It may be understood that
When the magic moment photo is displayed in the region B, for example, the user taps a thumbnail (such as the thumbnail 207) of the magic moment photo in
In addition, the user slides the large-picture region (that is, the region B) leftward or rightward, and a display effect corresponding to the region B is the same as that in
In an example, when the region B displays a common photo or video in the gallery application (such as the photo 305 displayed in the region B in
In addition, the play progress bar shown in
Through the description of the foregoing implementations, a person skilled in the art may clearly understand that. for the purpose of convenient and brief description. only division of the foregoing functional modules is used as an example for description. In an actual application, the functions may be allocated to and completed by different functional modules as required. That is, an internal structure of the apparatus is divided into different functional modules, to complete all or some of the functions described above. For a specific working process of the system, apparatus, and unit described above. refer to a corresponding process in the foregoing method embodiments. Details are not described herein again.
In the several embodiments provided in this embodiment. it should be understood that the disclosed system, apparatus, and method may be implemented in another manner. For example, the described apparatus embodiment is merely an example. For example, the module or unit division is merely logical function division and may be another division in actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented by using some interfaces. The indirect couplings or communication connections between the apparatuses or units may be implemented in electronic, mechanical, or other forms.
The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected based on an actual requirement, to achieve the objectives of the solutions in embodiments.
In addition, functional units in the embodiments may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in a form of hardware, or may be implemented in a form of a software functional unit.
When the integrated unit is implemented in the form of the software functional unit and sold or used as an independent product, the integrated unit may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of the embodiments essentially, or the part contributing to the conventional technology, or all or some of the technical solutions may be implemented in a form of a software product. The computer software product is stored in a storage medium and includes several instructions for instructing a computer device (which may be a personal computer, a server, or a network device) or a processor to perform all or some of the steps of the methods described in the embodiments. The foregoing storage medium includes any medium that can store program code, for example, a flash memory, a removable hard disk, a read-only memory, a random access memory, a magnetic disk, or an optical disc.
The foregoing descriptions are merely specific implementations of this application. However, the protection scope of this application is not limited thereto. Any change or replacement within the technical scope disclosed in this application shall fall within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.
| Number | Date | Country | Kind |
|---|---|---|---|
| 202210191802.X | Feb 2022 | CN | national |
| Filing Document | Filing Date | Country | Kind |
|---|---|---|---|
| PCT/CN2022/139077 | 12/14/2022 | WO |