Human-computer interaction method, device and electronic equipment

By displaying identifiers for videos and associated photos in the gallery application, a method for synchronously deleting videos and photos was implemented, addressing the issue of poor user experience and improving the accuracy and consistency of operations.

CN116701684BActive Publication Date: 2026-05-15HONOR DEVICE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HONOR DEVICE CO LTD
Filing Date
2022-02-28
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

In existing technologies, the processing methods are not optimized enough when users expect to extract photos from videos, especially when simultaneously deleting videos and their associated photos, resulting in a poor user experience and potential for misunderstanding.

Method used

A human-computer interaction method is provided that displays identifiers for videos and associated photos in a gallery application, responds to user actions, and enables the synchronous deletion of videos and photos, including confirmation prompts and selections for deletion in both local and device storage.

Benefits of technology

It improves the accuracy and user experience when simultaneously deleting videos and photos, avoids accidental deletion, and enhances the controllability and consistency of the operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116701684B_ABST
    Figure CN116701684B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a kind of human-computer interaction method, device and electronic equipment, in the method, in gallery application, in response to the first operation of the thumbnail of the video shown in first album or photo tab, first interface is displayed, the display area of first interface displays the picture of video, first interface further includes: association area and operation area, association area includes the identification of video and the identification of at least one photo associated with video, at least one photo is generated based on video, and the deletion control is included in operation area;In response to the user operation deletion control, delete option is displayed;In response to the user operation delete option, video and at least one photo are deleted.The embodiment of the present application can realize that video and the photo associated with video are synchronously deleted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to human-computer interaction technology, and more particularly to a human-computer interaction method, apparatus, and electronic device. Background Technology

[0002] Users can record their lives by taking photos or recording videos. Compared to photos, videos can capture more wonderful moments, which photos sometimes struggle to capture. Therefore, when users use videos to record their lives, the videos can contain a wealth of content.

[0003] In some shooting scenarios, users expect to extract photos from the captured original video. Currently, the methods for further processing of the original video and photos need improvement. Summary of the Invention

[0004] This application provides a human-computer interaction method, device, and electronic device that can simultaneously delete videos and associated photos.

[0005] In a first aspect, embodiments of this application provide a human-computer interaction method, wherein the executing entity of the human-computer interaction method can be a terminal or a chip in the terminal.

[0006] In a gallery application, in response to a user's first action on a thumbnail of a video displayed in a first album or photo tab, a first interface is displayed. The display area of ​​the first interface shows the video footage. The first interface further includes an association area and an operation area. The association area includes an identifier for the video and an identifier for at least one photo associated with the video, the at least one photo being generated based on the video. The operation area includes a delete control. In response to the user's operation of the delete control, a delete option is displayed. In response to the user's operation of the delete option, the video and the at least one photo are deleted.

[0007] In one possible implementation, displaying the deletion option includes: displaying a deletion menu, the deletion menu including the deletion option, the deletion option being a third deletion option, the third deletion option indicating the deletion of the video and the at least one photo, the deletion menu further including: a first deletion option and a second deletion option, the first deletion option indicating the deletion of the video, and the second deletion option indicating the deletion of the at least one photo.

[0008] In one possible implementation, the method further includes: displaying a first prompt message in response to the user's operation of the first delete option, the first prompt message being used to prompt the user to confirm whether to delete the locally stored video; and deleting the locally stored video in response to the user's confirmation of deleting the locally stored video.

[0009] In one possible implementation, displaying the first prompt information includes: displaying the first prompt information and a second prompt information, wherein the second prompt information is used to prompt the user to confirm whether to delete the video from the device that synchronously stores the video.

[0010] The step of deleting the locally stored video in response to the user's confirmation to delete the locally stored video includes: deleting the locally stored video in response to the user's confirmation to delete the locally stored video, and deleting the locally stored video in response to the user's confirmation not to delete the video stored in the device.

[0011] In one possible implementation, the method further includes: in response to the user's confirmation to delete the video stored locally and the video stored on the device, deleting the video stored locally and on the device.

[0012] In one possible implementation, displaying a second prompt message includes: displaying a selection control, wherein a selected state indicates that the video stored in the device is being deleted synchronously, and an unselected state indicates that the video stored in the device is not being deleted synchronously.

[0013] In one possible implementation, the selection control is in a selected state; or,

[0014] The selection box is in an unselected state; or...

[0015] The status of the selection control is displayed based on whether the video and / or at least one photo is synchronized to the device; or...

[0016] When the video and / or at least one photo is synchronized to the device, the second prompt message and the selection box are displayed, and the selection box is selected. When the video and / or at least one photo is not synchronized to the device, the second prompt message and the selection box are not displayed.

[0017] In one possible implementation, when the selection control is unselected, the operation of confirming the deletion of the video stored in the device includes: detecting that the user operates the selection control, and the selection control is selected after the user's operation, then determining that the user has performed the operation of confirming the deletion of the video stored in the device.

[0018] In one possible implementation, after deleting the locally stored video, the method further includes: displaying a preview image of the locally stored video and the deletion control; displaying the deletion menu in response to the user's operation of the deletion control; displaying a third prompt message in response to the user's operation of the first deletion option, the third prompt message indicating to the user that the preview image is a preview image of the locally stored video and prompting the user whether to delete the video on the device; and deleting the video stored on the device in response to the user's confirmation of deleting the video stored on the device.

[0019] In one possible implementation, displaying a preview of the locally stored video and the deletion control includes: displaying a preview of the locally stored video, the deletion control, and a fourth prompt message indicating that the locally stored video has been deleted; and displaying the preview of the video and the deletion control in response to a second operation by the user, the second operation indicating that the user has confirmed the fourth prompt message.

[0020] In one possible implementation, after deleting the video stored in the device, the method further includes: displaying content arranged after the video in the first album or the photo tab.

[0021] In one possible implementation, after deleting the video stored locally and on the device, the method further includes: displaying content arranged after the video in the first album or the photo tab.

[0022] In one possible implementation, the content arranged after the video in the first album or the photo tab includes: displaying the content arranged after the video in the first album or the photo tab, and displaying a fifth prompt message indicating the storage location of the at least one photo associated with the video stored locally.

[0023] In one possible implementation, the method further includes: displaying a sixth prompt message in response to the user's operation of the second delete option, the sixth prompt message being used to prompt the user to confirm whether to delete the at least one photo; and deleting the at least one photo locally and on a device in response to the user's confirmation of deleting the at least one photo, the device being a device that synchronously stores the at least one photo.

[0024] In one possible implementation, the method further includes: in response to the user's operation of the third delete option, displaying a seventh prompt message and an eighth prompt message, the seventh prompt message prompting the user to confirm whether to delete the locally stored video and the at least one photo, the eighth prompt message prompting the user to confirm whether to delete the video and the at least one photo stored on the device, the device being a device that synchronously stores the video and the at least one photo; in response to the user's operation of confirming the deletion of the locally stored video and the at least one photo, and confirming the deletion of the video and the at least one photo stored on the device, deleting the video and the at least one photo stored locally and on the device.

[0025] In one possible implementation, the device is contained in the cloud.

[0026] Secondly, embodiments of this application provide a human-computer interaction device, which can be the terminal or a chip in the terminal mentioned in the first aspect. The human-computer interaction device includes:

[0027] The display module is used for:

[0028] In a gallery application, in response to a user's first action on a thumbnail of a video displayed in a first album or photo tab, a first interface is displayed. The first interface displays the video frame in its display area. The first interface further includes an association area and an operation area. The association area includes an identifier for the video and an identifier for at least one photo associated with the video, the at least one photo being generated based on the video. The operation area includes a delete control.

[0029] In response to the user's action on the delete control, delete options are displayed.

[0030] A processing module is configured to delete the video and the at least one photo in response to the user's action of selecting the delete option.

[0031] In one possible implementation, the display module is specifically used to display a delete menu, which includes the delete option, the delete option being a third delete option, the third delete option indicating the deletion of the video and the at least one photo. The delete menu also includes: a first delete option and a second delete option, the first delete option indicating the deletion of the video and the second delete option indicating the deletion of the at least one photo.

[0032] In one possible implementation, the display module is further configured to display a first prompt message in response to the user's operation of the first delete option, the first prompt message being used to prompt the user to confirm whether to delete the locally stored video;

[0033] The processing module is also configured to delete the video stored locally in response to the user's confirmation to delete the video stored locally.

[0034] In one possible implementation, the display module is specifically used to display the first prompt information and the second prompt information, wherein the second prompt information is used to prompt the user to confirm whether to delete the video from the device that synchronously stores the video.

[0035] The processing module is specifically configured to delete the locally stored video in response to the user's confirmation to delete the video stored locally, and the user's confirmation not to delete the video stored on the device.

[0036] In one possible implementation, the processing module is further configured to delete the video stored locally and the video stored on the device in response to the user's confirmation to delete the video stored locally and the video stored on the device.

[0037] In one possible implementation, the display module is specifically used to display a selection control, wherein the selection control represents a selected state: synchronously deleting the video stored in the device, and the selection control represents an unselected state: asynchronously deleting the video stored in the device.

[0038] In one possible implementation, the selection control is in a selected state; or,

[0039] The selection box is in an unselected state; or...

[0040] The status of the selection control is displayed based on whether the video and / or at least one photo is synchronized to the device; or...

[0041] When the video and / or at least one photo is synchronized to the device, the second display information and the selection box are displayed, and the selection box is selected. When the video and / or at least one photo is not synchronized to the device, the second display information and the selection box are not displayed.

[0042] In one possible implementation, when the selection control is in an unselected state, the processing module is specifically used to detect that the user operates the selection control and the selection control is in a selected state after the user's operation, and then determine that the user has performed the operation of confirming the deletion of the video stored in the device.

[0043] In one possible implementation, the display module is further configured to display a preview image of the locally stored video and the delete control; in response to the user's operation of the delete control, display the delete menu; and in response to the user's operation of the first delete option, display a third prompt message, the third prompt message being used to prompt the user that the preview image is a preview image of the locally stored video and to prompt the user whether to delete the video from the device.

[0044] The processing module is further configured to delete the video stored in the device in response to the user's confirmation to delete the video stored in the device.

[0045] In one possible implementation, a display module is specifically used to display a preview image of the locally stored video, the delete control, and a fourth prompt message indicating that the locally stored video has been deleted.

[0046] The processing module is also configured to respond to the user's second operation by displaying a preview of the video and a delete control, the second operation indicating that the user has confirmed the fourth prompt message.

[0047] In one possible implementation, the display module is further configured to display content arranged after the video in the first album or the photo tab after the video after the video is deleted from the device.

[0048] In one possible implementation, the display module is further configured to display content arranged after the video in the first album or the photo tab after the video after the video is deleted from local storage and the device.

[0049] In one possible implementation, the display module is further configured to display content arranged after the video in the first album or the photo tab, and to display a fifth prompt message indicating the storage location of the at least one photo associated with the video stored locally.

[0050] In one possible implementation, the display module is further configured to display a sixth prompt message in response to the user's operation of the second delete option, the sixth prompt message being used to prompt the user to confirm whether to delete the at least one photo.

[0051] The processing module is further configured to, in response to the user's confirmation of deleting the at least one photo, delete the at least one photo locally and on the device, wherein the device is a device that synchronously stores the at least one photo.

[0052] In one possible implementation, the display module is further configured to display a seventh prompt message and an eighth prompt message in response to the user's operation of the third delete option. The seventh prompt message prompts the user to confirm whether to delete the locally stored video and the at least one photo, and the eighth prompt message prompts the user to confirm whether to delete the video and the at least one photo stored on the device, wherein the device is a device that synchronously stores the video and the at least one photo.

[0053] The processing module is further configured to, in response to the user's confirmation to delete the locally stored video and the at least one photo, and the confirmation to delete the video and the at least one photo stored in the device, delete the locally stored video and the at least one photo stored in the device.

[0054] The processing module is also configured to respond to the user's selection of a thumbnail of the video and a thumbnail of another gallery data, wherein the identifier disappears.

[0055] In one possible implementation, the device is contained in the cloud.

[0056] Thirdly, embodiments of this application provide an electronic device that may include a processor and a memory. The memory stores computer-executable program code, which includes instructions; when the processor executes the instructions, the instructions cause the electronic device to perform the method described in the first aspect.

[0057] Fourthly, embodiments of this application provide a computer program product containing instructions that, when run on a computer, cause the computer to perform the method described in the first aspect above.

[0058] Fifthly, embodiments of this application provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the method described in the first aspect.

[0059] The beneficial effects of the various possible implementations of the second to fifth aspects described above can be found in the first aspect and the specific embodiments described above, and will not be repeated here. Attached Figure Description

[0060] Figure 1 A schematic diagram of the interface for the "one record, multiple results" function provided in the embodiments of this application;

[0061] Figure 2 A schematic diagram of an interface using the one-record-multiple-captures-one-shot function provided in an embodiment of this application;

[0062] Figure 3A A schematic diagram of the interface of a terminal provided in an embodiment of this application;

[0063] Figure 3B Another schematic diagram of the terminal interface provided in this application embodiment;

[0064] Figure 4A A schematic diagram of the settings interface of a gallery application in the prior art;

[0065] Figure 4B A schematic diagram of an interface for deleting gallery data using existing technology;

[0066] Figure 5A This is a schematic diagram of an interface for deleting gallery data provided in an embodiment of this application;

[0067] Figure 5B This is another schematic diagram of the interface for deleting gallery data provided in an embodiment of this application;

[0068] Figure 5C This is another schematic diagram of the interface for deleting gallery data provided in an embodiment of this application;

[0069] Figure 5D This is another schematic diagram of the interface for deleting gallery data provided in an embodiment of this application;

[0070] Figure 5E This is another schematic diagram of the interface for deleting gallery data provided in an embodiment of this application;

[0071] Figure 5F This is another schematic diagram of the interface for deleting gallery data provided in an embodiment of this application;

[0072] Figure 6 A flowchart illustrating a human-computer interaction method provided in an embodiment of this application;

[0073] Figure 7 A schematic diagram of the structure of a human-computer interaction device provided in an embodiment of this application;

[0074] Figure 8 This is a schematic diagram of a terminal provided in an embodiment of this application. Detailed Implementation

[0075] The human-computer interaction method disclosed in this application is applied to a terminal, including but not limited to mobile phones, tablets, desktops, laptops, ultra-mobile personal computers (UMPCs), handheld computers, netbooks, personal digital assistants (PDAs), wearable electronic devices, smartwatches, and other electronic devices with cameras. This application does not limit the form of the terminal.

[0076] Before introducing the embodiments of this application, some terms or concepts involved in the embodiments of this application will be explained first. It should be understood that this application does not specifically limit the naming of the following terms. The following terms may have other names. The renamed terms still satisfy the following related terminology interpretations.

[0077] Definitions of terms in this application:

[0078] Original video: Video captured by the user through their device.

[0079] A magic moment (MM) refers to a memorable instant during video recording (or filming). For example, MM could be the best moment of movement, the best expression, or the best pose. It is understood that this application does not limit the term MM; MM can also be called a beautiful moment, a magical moment, a brilliant instant, a decisive moment, a brilliant keyframe, or the best shot (BS), etc. In different scenarios, a magic moment can be of different types. For example, when recording a football match video, a magic moment could be the instant a player's foot contacts the ball during a shot or pass, or it could be the instant the ball flies into the goal. When recording a video of a person jumping from the ground, a magic moment could be the instant the person reaches their highest point in the air, or it could be the instant the person's movement is most fluid and graceful while in the air.

[0080] MM tags are time tags used to indicate the location of highlight moments in a recorded video. For example, a video can correspond to one or more MM tags, which can indicate the location of the highlight moment at the 10th second, 1 minute and 20 seconds, etc.

[0081] Artificial intelligence (AI) photos: Video frames corresponding to highlights in the original video. In one embodiment, an AI photo may be called a highlight photo. For example, an AI photo may be a video frame from the original video that contains a user laughing, or a video frame that contains the user jumping the highest point, or a video frame that contains the user looking back.

[0082] In one embodiment, AI photos can be acquired and saved while a user is shooting a video using a terminal.

[0083] One Record, Multiple Gains (Function): This can be understood as the ability for users to obtain the original video, one or more photos of the highlights, and an AI profile by pressing the "Shoot" control once when shooting video using the camera application on their device.

[0084] The AI ​​configuration file is obtained based on the original video. In one embodiment, the AI ​​configuration file records information such as the scene and keyframes of the user-captured video. For example, the AI ​​configuration file may include: identifiers of at least one scene in the original video, and identifiers of keyframes (such as identifiers of AI photos). For instance, the original video includes scene 1 "Aquarium" and scene 2 "Amusement Park," and identifier 1 for a keyframe in scene 1 "Aquarium," and identifier 2 for a keyframe in scene 2 "Aquarium." Alternatively, the information recorded in the AI ​​configuration file may specifically include MM tags, overall video scene tags, segmented scene tags, shot tags, and tags for high-quality video frames. In one embodiment, tags can be understood as identifiers.

[0085] The overall video scene tag, also known as the overall video summary tag, is mainly used to indicate the overall shooting scene of the video. This application does not limit the terminology used for the overall video scene tag. For example, the overall video scene tag can be a food tag, a night scene tag, etc.

[0086] The process of achieving multiple benefits from a single recording can be as follows: During video recording, the system automatically identifies and captures photos of the subject, and after recording, it recommends these photos along with short videos (also known as featured short videos, highlight videos, or AI videos) to the user when reviewing the video. It's important to understand that the duration of these short videos is shorter than the entire video. For example, a 1-minute video might yield 4 photos of the key moments and a 15-second short video. This feature can also be called "one-click multiple captures," "one-click multiple shots," "one-click output," "one-click blockbuster," or "AI one-click blockbuster."

[0087] AI Video: Generated based on an AI profile. For example, the AI ​​video could be a 5-second video containing a keyframe before and after identifier 1, and a 5-second video containing a keyframe before and after identifier 2, resulting in a 10-second AI video. Alternatively, for example, the AI ​​video could be a 5-second video containing scene 1, "Aquarium," and a 5-second video containing scene 2, "Amusement Park."

[0088] In one embodiment, after recording multiple videos simultaneously, instead of generating an AI video, an AI video configuration file can be generated and saved, saving storage space when the user does not view the AI ​​video. In another embodiment, the user can trigger the terminal to generate an AI video from the original video playback interface. For example, the user can operate... Figure 3B The "one-click blockbuster" control 351 displayed on the 'c' in the image triggers the terminal to generate AI videos. (See reference...) Figure 3B The relevant description in the document.

[0089] This application does not elaborate on the process of generating AI photos and AI configuration files from the original video, or generating AI videos from the AI ​​configuration files.

[0090] In this embodiment, the user's operation methods on controls, icons, and other objects in the graphical user interface (GUI) include, but are not limited to, touching specific controls on the mobile phone screen, pressing specific physical buttons or button combinations, inputting voice, and using air gestures. The following embodiments use user operation on controls in the GUI as an example for illustration.

[0091] For example, refer to Figure 1 Taking a mobile phone as an example, the process of recording video using the "one-record-multiple-views" mode (or function) in this application embodiment includes:

[0092] like Figure 1 As shown in Figure a, the phone screen displays the main interface, which shows application icons for multiple applications (Apps). Users can tap the "Camera" application icon 101 on the phone's home screen to activate the camera application (hereinafter referred to as the camera). The phone displays as shown below. Figure 1 The shooting interface shown in b is shown in the image.

[0093] like Figure 1 As shown in b, the camera's shooting interface generally includes multiple controls such as a viewfinder 102, a photo control, a video recording control, and settings controls 103 (e.g., portrait mode controls, night mode controls, or other controls). Users can start recording mode by clicking the video recording control, and the phone can display... Figure 1 The recording interface is shown as shown in 'c'. Users can access the camera's settings interface by clicking the "Settings" control 103; the phone displays the following... Figure 1 The interface shown in d is shown in the figure.

[0094] Figure 1 The interface shown as 'd' displays option 104, which enables the "One Record, Multiple Results" function. This means that when the user enables "One Record, Multiple Results," the phone will record the original video, an AI photo, and an AI profile file. Of course, the user can also disable the "One Record, Multiple Results" function through option 104.

[0095] In one embodiment, Figure 1The settings interface shown as 'd' can also include a minimum time limit control. This minimum time setting control limits the minimum recording duration required to enable the "one-record-multiple-photos" feature. If the video recording duration is less than this minimum, the "one-record-multiple-photos" feature will not be triggered. For example, the minimum time limit can be set to 15 seconds; if the user's recording time is less than 15 seconds, the "one-record-multiple-photos" feature will not be triggered.

[0096] Understandable. Figure 1 The settings interface shown as 'd' can also include other controls related to recording settings, such as controls for setting video resolution and video frame rate. Figure 1 The control shown as d in the diagram is merely an illustrative example.

[0097] After enabling the "One Record, Multiple Results" feature, the user clicks... Figure 1 The 'd' indicator shows the return control 105, which allows the phone to return to its previous state. Figure 1 The interface shown in 'c' allows users to click the recording control 106 to record video. In other embodiments, the option to record multiple videos simultaneously is enabled by default, and users do not need to click it. Figure 1 Instead of clicking the settings control 103 shown in 'c', click directly. Figure 1 The recording control 106 shown in 'c' allows for recording in the one-record-multiple-records mode.

[0098] Figure 2 This is a schematic diagram of the interface taken using the one-record-multiple-captures-one-takes-multiple-captures-one-shots-features-in-an-implements-of-this-application ... Figure 2 The image shown in Figure 'a' is a frame during the recording process of the terminal using the one-record-multiple-views function (e.g., the frame at the 11th second). Figure 2 The interface shown in Figure 'a' includes a recording stop control 107, a recording pause control 108, and a photo capture button 109. During recording, the user can manually capture a photo by clicking the photo capture button 109. Figure 2 After clicking the recording stop control 107 in the middle, the recording process ends, and the phone screen displays as follows. Figure 2 The interface shown in b is... Figure 2 The interface shown in b is the preview interface after recording is completed. A pop-up bubble window 110 can appear in the interface, displaying the message: "A photo of many wonderful moments has been generated in one recording," to prompt the user to view the AI ​​photo.

[0099] in, Figure 2 Preview image 111 in section b is a thumbnail of the recorded original video. If the user clicks on preview image 111, they can enter the gallery application (or gallery, gallery application) to view the recorded original video, as well as AI photos, etc. The playback and display of the original video and the display of AI photos can be referred to the relevant descriptions in the following embodiments.

[0100] It should be understood that the original video captured by the terminal can be stored in the terminal's gallery application, and AI photos and AI videos can also be stored in the gallery application. In one embodiment, the videos and photos stored in the gallery application can be referred to as gallery data. In one embodiment, gallery data can be displayed in the form of albums, photo tabs, etc. For example, Figure 3A In the above, 'a' refers to the interface in the gallery application provided in this application embodiment that displays gallery data in the form of an album. This interface may include an album control 31, a photo control 32, and at least one album 33.

[0101] Among them, reference Figure 3A The gallery application includes at least one album, such as a camera album, an all-photos album, a video album, a screenshot / screen recording album, a favorites album, and other albums added by the user. In one embodiment, the albums in the gallery can be divided into physical albums and virtual albums. The camera album, the screenshot / screen recording album, and other albums added by the user are physical albums, while the all-photos album and the video album are virtual albums. It should be understood that a physical album can be understood as a real, existing path used to store gallery data. A virtual album can be understood as an album that aggregates videos and photos based on their characteristics. For example, since videos, compared to photos, contain multiple video frames and have dynamic characteristics, videos captured by the terminal can be aggregated into a "video" album, which is a virtual album.

[0102] In one embodiment, the AI ​​photos generated from the original video can be stored separately in a physical album, such as an "AI Photos" album. Figure 3A As shown in a, this application embodiment does not limit the name of the album storing AI photos, such as it can also be called the "One Record, Multiple Results" album.

[0103] Reference Figure 3A In step 'a', when the user clicks photo control 32, the terminal can display an interface showing gallery data in the form of photo tabs. (See reference...) Figure 3A In embodiment b, the interface displaying gallery data in the form of a photo tab may include an album control 31, a photo control 32, and photos displayed in chronological order. In one embodiment, the photo tab interface may display photos and videos from the camera album, as well as photos from the screenshot / screen recording album.

[0104] In one embodiment, to distinguish between original videos with generated AI photos and ordinary videos (without generated AI photos), when displaying the cover of the original video in the camera album, video album, or other user-defined albums, an identifier can be added to the cover of the original video. This identifier indicates that the original video has generated an AI photo. For example, Figure 3B a in Figure 3A Similar to 'a', when the user clicks on the camera album 33, the terminal can display thumbnails of the photos included in the camera album, as well as video covers. For example, the cover of video 1 can display the identifier "AI" 34 to indicate that video 1 is the original video for which AI photos have been generated. Figure 3B As shown in b in the figure.

[0105] In one embodiment, when the original video does not include any highlights (i.e., no AI photos are generated), if the original video generates an AI profile, the cover of video 1 can display the identifier "AI" 34. It should be understood that this application embodiment involves a scenario where "the original video has already generated AI photos."

[0106] Because the AI ​​photos generated from the original video are related to the original video, or in other words, the original video and the AI ​​photos generated from the original video are related, in this embodiment of the application, when a user views the original video, they can view the AI ​​photos associated with the original video on the playback interface of the original video.

[0107] In one embodiment, AI photos can be displayed on the playback interface of the original video in the camera album, but not on the playback interface of the original video in all virtual albums such as photos and videos, as well as in My Favorites, Recycle Bin, Smart Album, Map Album, Search Results, Hidden Album, and Shared Album.

[0108] In one embodiment, AI photos can be displayed in association with the playback interface of the original video in the camera album, all photo album, video album, my favorites, smart album, map album, and search results, but not in association with the playback interface of the original video in the recycle bin, hidden album, or shared album.

[0109] In one embodiment, albums that are to be displayed together and albums that are not to be displayed together can be pre-set.

[0110] In one embodiment, the terminal can play the original video when the user clicks on the original video's cover image. For example, see [link to example]. Figure 3B In step b, when the user clicks on the cover image (thumbnail, which could be the first frame of the video), the terminal can play video 1 (or the terminal can display video 1 and a pause control, and the user's action on the pause control can trigger the terminal to play video 1). In one embodiment, as... Figure 3BAs shown in c, the interface for playing video 1 may include: a playback area 35, an associated area 36, ​​and an operation area 37. In one embodiment, the user clicking the cover of video 1 can be referred to as the first operation. In one embodiment, Figure 3B The interface shown as c in Figure 3 can be referred to as the first interface. It should be understood that in the embodiments of this application, c in Figure 3 takes the example of video 1 having been played for a period of time.

[0111] The playback area 35 can display the frame of video 1. In one embodiment, in response to a user clicking the cover of the original video, the terminal can directly display the frame of video 1 in the playback area 35. Alternatively, in one embodiment, in response to a user clicking the cover of the original video, the terminal can display the first frame of video 1 and a pause control in the playback area 35. The terminal can begin displaying the frame of video 1 in the playback area 35 in response to a user clicking the pause control. This application does not limit the playback format of video 1. In one embodiment, the playback area 35 can be referred to as the display area.

[0112] In one embodiment, an icon 351, such as a "One-Click Blockbuster" icon, may be displayed on the playback area 35. Clicking the "One-Click Blockbuster" icon triggers the terminal to generate an AI video based on the AI ​​configuration file. This process will not be described in detail in this embodiment. This embodiment does not involve the "One-Click Blockbuster" function; therefore, the "One-Click Blockbuster" icon is not shown in the following figures.

[0113] In one embodiment, a playback progress bar 352 of video 1 may also be displayed on the playback area 35 so that the user can adjust the playback progress of video 1. It should be understood that the following embodiments do not involve adjusting the playback progress of video 1, and therefore the playback progress bar 352 of video 1 is not shown.

[0114] The associated area 36 may include: a thumbnail of the cover of the original video (Video 1), and a thumbnail of the AI ​​photo associated with the original video. Figure 3B In the text c, video 1 and the AI ​​photos associated with video 1 are represented by text. For example, the AI ​​photos associated with video 1 may include AI photo 1, AI photo 2, and AI photo 3. It should be understood that, in one embodiment, a thumbnail can be understood as a reduced version of the original image. When a user clicks on different thumbnails, it can trigger the terminal to switch the content displayed in playback area 35. It should be understood that... Figure 3B Due to page size limitations, AI Photo 3 was not fully displayed in the c section.

[0115] In one embodiment, the thumbnail of the cover of video 1 displayed in the associated area 36 can be referred to as the identifier of video 1, and the thumbnail of the AI ​​photo associated with the original video can be referred to as the identifier of the photo. In this embodiment, thumbnails are used to represent the identifier of video 1 and the identifier of the photo. Of course, text or other forms can also be used to represent the identifier of video 1 and the identifier of the photo. This embodiment does not limit this.

[0116] For example, Figure 3B In the example, playback area 35 (c) is currently playing video 1. If the user clicks on AI photo 1, the terminal can display AI photo 1 in playback area 35. Figure 3B As shown in d. Specifically, when the user clicks on the thumbnail of video 1 again, the terminal can continue playing video 1 in playback area 35, meaning it can continue playing... Figure 3B The playback progress of video 1 in c is resumed.

[0117] The operation area 37 may include, but is not limited to, a share control 371, a delete control 372, and more controls 373. This application embodiment does not limit the controls included in the operation area 37. Figure 3B The accompanying drawings illustrate the controls used in the embodiments of this application, as well as other controls, which can be referred to as the drawings. The following embodiments describe the process by which a user's operation of the delete control 372 triggers the terminal to perform a corresponding operation.

[0118] It should be understood that, in one embodiment, when the Photos tab includes Video 1, the user can also play Video 1 within the Photos tab to display [the content]. Figure 3B The same interface as c in the example below, and the operations performed on this interface can be referred to the relevant descriptions in the following embodiments.

[0119] Before introducing the process of the user's operation of the delete control 372 triggering the terminal to perform the corresponding operation in the embodiments of this application, the "synchronize to cloud (cloud)" function in the terminal and the process of deleting gallery data are explained first:

[0120] Figure 4A This is a schematic diagram of the settings interface of a gallery application in the prior art. (See reference...) Figure 4A The gallery application's settings interface may include a gallery data synchronization control 41. Users can use this control to synchronize gallery application data to the cloud or other electronic devices linked to the terminal. The following explanation uses cloud synchronization as an example. It should be understood that when a user opens the gallery data synchronization control 41, the terminal's "synchronize to cloud" function is enabled, and the terminal can synchronize and store gallery data to the cloud. When a user closes the gallery data synchronization control 41, the terminal's "synchronize to cloud" function is disabled, and the terminal will not synchronize and store gallery data to the cloud.

[0121] In one embodiment, the cloud can be understood as the server corresponding to the gallery application, or a server cluster, etc., and this application embodiment does not limit this.

[0122] Figure 4B This is a diagram illustrating the deletion of gallery data using existing technology. Figure 4B Let's take the example of a user deleting photos from their gallery to illustrate this. Figure 4B In the diagram, 'a' represents the interface for displaying photo 1. This interface may include a photo display area 42 and an operation area 37. The photo display area 42 is used to display photo 1.

[0123] When the "Sync to Cloud" function is enabled on the terminal, photo 1 is stored locally on the terminal, and photo 1 is also stored in the cloud. The user can activate the delete control 372 in the operation area 37 to delete photo 1 from the photo library, and a preview of photo 1 stored in the cloud will be displayed in the photo display area 42. Figure 4B As shown in b in the diagram. It should be understood that... Figure 4B The interface shown in b includes a download control 43 for representing a preview image of photo 1 stored in the cloud.

[0124] Reference Figure 4B If the user does not observe the download control 43, they often do not know that the photo is a preview of photo 1 stored in the cloud. Therefore, after the user performs the operation to delete photo 1, photo 1 can still be seen in the display area 42. The user will think that photo 1 has not been deleted, and the deletion operation has failed, which misleads the user and results in a poor user experience.

[0125] The following describes the process by which a user's operation on the delete control 372 triggers the terminal to perform a corresponding operation in an embodiment of this application:

[0126] Figure 5A This is a schematic diagram of an interface for deleting gallery data provided in an embodiment of this application. Figure 5A a and b in the text are respectively with Figure 3B b and c are the same, such as Figure 5A As shown in b, because video 1 has associated AI photos, when video 1 is playing in playback area 35, clicking the delete control 372 in operation area 37 can trigger the terminal to display the delete menu 51. Figure 5A As shown in c, the delete menu 51 includes: delete video only option 511, delete photos only option 512, and delete all option 513. It should be understood that when the terminal displays the delete menu 51, video 1 can be paused in the playback area 35. In one embodiment, the playback area 35 may be referred to as the display area.

[0127] In one embodiment, the option to delete only videos 511 is the first deletion option, the option to delete only photos 512 is the second deletion option, and the option to delete all photos 513 is the third deletion option.

[0128] Among them, when the playback area 35 displays the screen of video 1, the user operation deletes only video option 511, which is used to trigger the terminal to delete video 1 (the original video), the user operation deletes only photos option 512, which is used to trigger the terminal to delete all AI photos associated with video 1, and the user operation deletes all options 513, which is used to trigger the terminal to delete video 1 and all AI photos associated with video 1.

[0129] 1. User operation: only delete video option 511.

[0130] Reference Figure 5A In option 'c', if the user clicks the "Delete Video Only" option (511), the terminal will display the first prompt message. (See reference...) Figure 5A As shown in d, the terminal can display a first prompt box 52, which includes a first prompt message. The first prompt message is used to remind the user to confirm whether to delete video 1. For example, the first prompt message could be "Delete this video?".

[0131] In one embodiment, the first prompt box 52 may include a "Cancel" control 521 and a "Delete" control 522. The user can click the "Cancel" control 521 to trigger a terminal return. Figure 5A The interface shown in b continues playing video 1. Users can click the "Delete" control 522 to trigger the deletion of video 1 from the terminal.

[0132] In one embodiment, to avoid the problem of users mistakenly believing that photo 1 has not been deleted when they delete video 1 from the gallery data even though video 1 has been synchronized to the cloud, this embodiment of the application, such as Figure 5A As shown in d, the first prompt box 52 may also include a second prompt message and a selection control 523. The second prompt message is used to prompt the user to confirm whether to delete the video synchronously from the cloud and other devices that store the video synchronously. Other devices include electronic devices bound to the terminal, such as tablet computers. In the following embodiments and accompanying drawings, the example of "the second prompt message being used to prompt the user to confirm whether to delete the video synchronously from the cloud" is used for illustration. In one embodiment, the device that synchronously stores data in the gallery application can be called a synchronization device. In the following embodiments, the cloud is used to represent the synchronization device (i.e., the synchronization device is contained in the cloud).

[0133] For example, the second prompt message could be "Delete from the cloud simultaneously". When the selection control 523 is selected, the second prompt message prompts the user to confirm simultaneous deletion from the cloud; conversely, when the selection control 523 is unselected, the second prompt message prompts the user to confirm not to delete from the cloud.

[0134] In one embodiment, the selection control 523 is selected by default, regardless of whether video 1 is synchronized to the cloud. Alternatively, in one embodiment, the selection control 523 is unselected by default, regardless of whether video 1 is synchronized to the cloud. Alternatively, in one embodiment, the terminal can determine the state of the selection control 523 based on whether video 1 is synchronized to the cloud. For example, if video 1 has been synchronized to the cloud, the selection control 523 is selected; if video 1 has not been synchronized to the cloud, the selection control 523 is unselected.

[0135] In one embodiment, when video 1 has been synchronized to the cloud, the terminal can display a second prompt message and a selection box 523, with the selection box 523 in a selected state. When video 1 has not been synchronized to the cloud, the terminal may not display the second prompt message or the selection box 523.

[0136] In this embodiment, reference is made to Figure 5A In the context of option d, when the selection control 523 is selected (or when the selection control 523 is unselected but the user manually selects it), clicking the "Cancel" control 521 can trigger a terminal return. Figure 5A The interface shown in b continues playing video 1. When the user clicks the "Delete" control 522, it triggers the deletion of video 1 from both local storage and cloud storage. Correspondingly, the terminal can switch to displaying the next content (video or photo) of video 1 in the gallery. Figure 5A The following example, using a photograph, will be used to illustrate the concept. It should be understood that if video 1 is not stored in the cloud, the cloud may not perform the operation to delete video 1. For example, in the accompanying drawings of this application embodiment, a checkmark indicates that the selection control 523 is selected, and the absence of a checkmark indicates that the selection control 523 is unselected.

[0137] Because the original video was deleted from the device, the associated AI photos were not deleted. However, since the original video was deleted, the association between the original video and the AI ​​photos was also deleted. To allow users to continue viewing the AI ​​photos associated with the original video, they can... Figure 5A The interface of 'e' displays a third prompt message, which prompts the user to view the AI ​​photo associated with the deleted original video in the AI ​​photo album. In one embodiment, the "third" in the third prompt message can be referred to as the "fifth".

[0138] In one embodiment, the terminal can Figure 5A The interface of device 'e' displays a second prompt box 53, which includes a third prompt message, such as "The video has been deleted. You can go to the 'AI Photos' album to view more great photos." In one embodiment, the second prompt box 53 may further include: a "Don't show again" option 531 and an "OK" control 532. When the user clicks the "OK" control 532, the terminal can display the next content, such as... Figure 5A As shown in f in the figure.

[0139] In one embodiment, reference is made to... Figure 5B In the context of option d, when the selection control 523 is unselected, clicking the "Cancel" control 521 can trigger a terminal return. Figure 5A The interface shown in b continues playing video 1. When the user clicks the "Delete" control 522, it triggers the terminal to display a preview image of video 1 stored in the cloud (such as a preview image of the first frame of video 1) in the playback area 35. Figure 5B As shown in 'e'. It should be understood that... Figure 5B The ac in the text can be referenced. Figure 5A As shown in ac.

[0140] In order to notify the user that video 1 has been deleted from local storage on the terminal, the current interface ( Figure 5B The interface shown in Figure 'e' displays a preview image of video 1 stored in the cloud. Figure 5B The fourth prompt message is displayed on the interface shown as 'e'. This fourth prompt message indicates that the image displayed on the interface is a preview of locally stored video 1. In one embodiment, the terminal can... Figure 5B The interface of device 'e' displays a third prompt box 54, which includes a fourth prompt message, such as "The video has been deleted from the local machine, but the preview image is still retained in the gallery to manage cloud videos." In one embodiment, the third prompt box 54 may also include: a "Don't show again" option 541 and "Understood control" 542. In one embodiment, the "fourth" in the fourth prompt message may be referred to as "third."

[0141] In one embodiment, a pause control (a black triangle) may be displayed on the preview image of video 1.

[0142] When the user clicks on control 542, the terminal can display a preview image of video 1 stored in the cloud, such as... Figure 5B As shown in f in the diagram. It should be understood that because the local storage contains the associations between Video 1 and the AI ​​photos associated with Video 1, when the terminal displays a preview of Video 1, it can... Figure 5B The interface shown by 'f' can display the associated region 36. Figure 5BOn the interface shown in f, the user can continue to click the delete control 372 to trigger the terminal to display the delete menu 51, such as... Figure 5B As shown in g in the diagram. Users can click the "Delete Video Only" option 511 in the delete menu 51, triggering the terminal to display a fifth prompt message. The fifth prompt message is used to ask the user whether to confirm the deletion of the video 1 stored in the cloud.

[0143] For example, if a user clicks the "Delete Video Only" option 511 in the delete menu 51, the terminal may display a fourth prompt box 55. Figure 5B As shown in h, the fourth prompt box 55 may include a fifth prompt message, such as "This video is stored in the cloud, and the current image is a preview. Do you want to delete this video from the cloud?". In one embodiment, the fourth prompt box 55 may include a cancel control 551 and a delete control 552. When the user clicks the cancel control 551, it can trigger the terminal to display a message such as... Figure 5B The interface shown in Figure 'f' can trigger the terminal to display when the user clicks to delete control 552. Figure 5A The interface of 'e' in the middle.

[0144] In one embodiment, when the terminal deletes video 1 stored locally and in the cloud, the AI ​​profile generated (associated) with video 1 can be deleted.

[0145] In this embodiment, the terminal can respond to the user's operation of deleting only the original video and prompt the user to simultaneously delete the original video stored in the cloud. When the terminal only deletes the original video stored locally, it can prompt the user that the video displayed on the terminal interface is the original video stored in the cloud. This allows the user to confirm that the original video has been successfully deleted and to distinguish the video stored in the cloud, so as to further operate on the video stored in the cloud, thereby improving the user experience.

[0146] 2. User operation: only delete photos option 512.

[0147] like Figure 5C As shown in c in 5C, when a user clicks the "Delete Photos Only" option 512, the terminal can display a sixth prompt message. This sixth prompt message reminds the user to confirm whether to delete all AI photos associated with video 1. For example, if the user clicks the "Delete Photos Only" option 512, the terminal can display a fifth prompt box 56, which includes the sixth prompt message, such as "Delete all great photos?". In one embodiment, the fifth prompt box 56 further includes a cancel control 561 and a delete control 562, as shown in d in 5C. The user can click the "Cancel" control 561 to trigger the terminal to return. Figure 5A The interface shown as 'b' continues playing video 1. It should be understood that... Figure 5C ac in Figure 5B The ac in them is the same.

[0148] In one embodiment, when a user clicks the "Delete" control 562, the terminal can be triggered to delete all AI photos associated with Video 1 both locally and in the cloud, simplifying the deletion process. In this embodiment, when a user clicks the "Delete" control 562, the terminal can delete all AI photos associated with Video 1 both locally and in the cloud, while the terminal can continue to display the playback interface of Video 1, such as... Figure 5C As shown in 'e'. It should be understood that because the user deleted all AI photos associated with Video 1, the associated area 36 is not displayed on the Video 1 playback interface.

[0149] In this embodiment, regardless of whether the AI ​​photos associated with video 1 have been synchronized to the cloud, the terminal does not provide the user with the option to determine whether to delete the AI ​​photos associated with video 1 from the cloud. Instead, it directly deletes the AI ​​photos associated with video 1 stored both locally and in the cloud.

[0150] In one embodiment, when a user deletes a video-associated AI photo for the first time, or during the first few (preset number) deletions of the video-associated AI photo, the above... Figure 5C The interface shown as d in the diagram may also include a seventh prompt message, which informs the user that deleted AI photos can be recovered from the "Recently Deleted" album within a preset time period. For example, the seventh prompt message could be "You can recover or permanently delete photos from Recently Deleted within 30 days."

[0151] In one embodiment, because there are multiple AI photos, to facilitate user deletion, clicking the "Delete" control 562 can trigger the terminal to delete all AI photos associated with Video 1 locally. This means deleting all AI photos associated with Video 1 at once, rather than deleting them one by one, thus improving deletion efficiency. In this embodiment, after the terminal deletes all AI photos associated with Video 1 locally, it can display a preview image of the AI ​​photos associated with Video 1 stored in the cloud, and prompt the user that the terminal is displaying a preview image of the AI ​​photos associated with Video 1 stored in the cloud. The prompting method can refer to the relevant description in the fifth prompt information.

[0152] In this embodiment, the fifth prompt box 56 may further include information prompting the user whether to delete all AI photos associated with video 1 stored in the cloud, as described in the second prompt information and the relevant description of the selection control 523. In one embodiment, the selection control 523 is selected by default regardless of whether the AI ​​photos associated with video 1 are synchronized to the cloud. Alternatively, in one embodiment, the selection control 523 is unselected by default regardless of whether the AI ​​photos associated with video 1 are synchronized to the cloud. Alternatively, in one embodiment, the terminal can determine the state of the selection control 523 based on whether the AI ​​photos associated with video 1 are synchronized to the cloud. For example, if the AI ​​photos associated with video 1 have been synchronized to the cloud, the selection control 523 is selected; if there are photos among the AI ​​photos associated with video 1 that have not been synchronized to the cloud, the selection control 523 is unselected. In this embodiment, "second" in the second prompt information can be referred to as "sixth".

[0153] In this embodiment, the terminal can respond to the user's operation of deleting only photos by prompting the user to simultaneously delete the AI ​​photos stored in the cloud, or directly delete the AI ​​photos stored in the cloud, which can improve the user experience.

[0154] 3. User operation: delete all options 513.

[0155] like Figure 5D As shown in 'c', when a user clicks the "Delete All" option 513, the terminal can display an eighth prompt message. This eighth prompt message prompts the user to confirm whether to delete video 1 and the AI ​​photos associated with video 1. In one embodiment, the terminal can display a sixth prompt box 57, which includes the eighth prompt message, such as "Delete this video and all great photos?". In one embodiment, the sixth prompt box 57 also includes a cancel control 571 and a delete control 572, as shown in 'd' in '5D'. The user can click the "Cancel" control 571 to trigger the terminal to return. Figure 5A The interface shown as b in Figure 5 continues playing video 1. It should be understood that ac in Figure 5 is different from... Figure 5B The ac in them is the same.

[0156] Users can click the "Delete" control 572 to trigger the deletion of local video 1 and all AI photos associated with video 1.

[0157] In one embodiment, the sixth prompt box 57 may further include a second prompt message and a selection control 523. The state of the selection control 523 can be referred to in the above description of the selection control 523 when video 1 is synchronized to the cloud. In this embodiment, "second" in the second prompt message can be referred to as "eighth", and "eighth" in the second prompt message can be referred to as "seventh".

[0158] Among them, reference Figure 5D In the context of option d, when the selection control 523 is selected (or when the selection control 523 is unselected but the user manually selects it), clicking the "Cancel" control 571 can trigger the terminal to return to continue playing video 1. Clicking the "Delete" control 572 can trigger the terminal to delete video 1 stored locally and in the cloud, as well as all AI photos associated with video 1. Correspondingly, the terminal can display the next content of video 1, such as... Figure 5D As shown in e, Figure 5D e in Figure 5A The f in them is the same.

[0159] In one embodiment, reference is made to... Figure 5E In the context of option d, when the selection control 523 is unselected, clicking the "Cancel" control 571 can trigger the terminal to return to continue playing video 1. Clicking the "Delete" control 572 can trigger the terminal to delete video 1 from local storage, as well as all AI photos associated with video 1. Correspondingly, the terminal can display a preview image of video 1 stored in the cloud (e.g., a preview image of the first frame of video 1), such as... Figure 5E As shown in 'e', ​​it should be understood that Figure 5E The ac in the text can be referenced. Figure 5D As shown in ac.

[0160] To notify the user that video 1 and the AI ​​photo associated with video 1 have been deleted from local storage on the terminal, the current interface ( Figure 5E The interface shown in Figure 'e' displays a preview image of video 1 stored in the cloud. Figure 5E The interface shown as 'e' displays the ninth prompt message. This ninth prompt message indicates that the video displayed on the interface is a cloud-stored video 1 and the AI ​​photo associated with video 1.

[0161] In one embodiment, the terminal can Figure 5EThe interface of device 'e' displays a seventh prompt box 58, which includes a ninth prompt message, such as "Videos and featured photos have been deleted from the local machine, but preview images are still retained in the gallery to manage cloud files." In one embodiment, the seventh prompt box 58 may also include a "Don't show again" option 581 and an "Understood" control 582. In one embodiment, when a portion of the video and its associated photos are stored synchronously in the cloud, the ninth prompt message is also used to indicate the number of deleted gallery data and the number of preview images stored in the gallery. For example, if only video 1 is synchronized to the cloud, but the photos associated with video 1 are not synchronized to the cloud, the ninth prompt message may be something like "4 files (video 1 and 3 AI photos) have been deleted from the local machine, but 1 preview image (the preview image of the video) is still retained in the gallery to manage cloud files."

[0162] When the user clicks on control 582, the terminal can display a preview image of video 1 stored in the cloud, such as... Figure 5E As shown in f in the figure. In one embodiment, when video 1 has been synchronized to the cloud and the AI ​​photo associated with video 1 has also been synchronized to the cloud, since video 1 stored in the cloud is associated with the AI ​​photo associated with video 1 stored in the cloud, the associated area 36 can be displayed on the interface. In one embodiment, the user clicking the "I understand" control 582 can be referred to as the user's second operation.

[0163] Among them, Figure 5B On the interface shown in f, the user can continue to click the delete control 372 to trigger the terminal to display the delete menu 51, such as... Figure 5B As shown in g, Figure 5E The images are not shown in the diagram, so dashed arrows are used to represent f to g. The user can click the "Delete All" option 513 in the delete menu 51, triggering the terminal to display the tenth prompt message. The tenth prompt message prompts the user to confirm the deletion of video 1 and the AI ​​photos associated with video 1 stored in the cloud. For example, the terminal can display an eighth prompt box 59, which includes the tenth prompt message: "This video and all the great photos are saved in the cloud. This is a preview image. Do you want to delete them from the cloud?" Figure 5E As shown in g in the figure. In one embodiment, the eighth prompt box 59 may also include a cancel control 591 and a delete control 592. When the user clicks the cancel control 591, it can trigger the terminal to display. Figure 5E As shown in the interface (f), when the user clicks the delete control 592, it triggers the terminal to delete video 1 and the AI ​​photo associated with video 1 from the cloud storage. Correspondingly, the terminal can display the next content of video 1. Figure 5E Not shown in the image.

[0164] exist Figure 5EOn the interface shown as f, the user can click on the thumbnail of any AI photo (such as AI photo 1) in the associated area 36. Correspondingly, the terminal can display AI photo 1 in the display area 35, but this interface is not shown; therefore, dashed arrows represent f to h. When AI photo 1 (any AI photo) is displayed in the display area 35, the user can click on the delete control 372, which triggers the terminal to display an eleventh prompt message on the interface displaying AI photo 1. The eleventh prompt message prompts the user whether to confirm deleting AI photo 1 stored in the cloud. For example, the terminal can display a ninth prompt box 510, which includes the eleventh prompt message, such as "This photo is stored in the cloud; this is currently a preview image. Do you want to delete this photo from the cloud?" Figure 5E As shown in h.

[0165] In one embodiment, the ninth prompt box 510 may include a cancel control 5101 and a delete control 5102. Clicking the cancel control 5101 can trigger a terminal display. Figure 5E In the interface shown in f, when the user clicks the delete control 5102, it can trigger the terminal to delete the AI ​​photo 1 stored in the cloud. Correspondingly, the terminal can display Figure 5E The interface shown in i in the figure does not contain (has been deleted) AI photo 1 associated with video 1 in the associated area 36.

[0166] It should be noted that, in one embodiment, if video 1 has been synchronized to the cloud, but the AI ​​photo associated with video 1 has not been synchronized to the cloud (or only partially synchronized, resulting in an incomplete association), then when the user... Figure 5E Clicking on control 582 in the "e" field allows the terminal to display a preview image of video 1 stored in the cloud. Because the AI ​​photo associated with video 1 is not stored in the cloud, the associated area 36 is not displayed on the preview image of video 1. Figure 5E The text is not shown. When a user clicks the delete control 372 on this interface, it triggers the terminal to display a fifth prompt message, as described in the above embodiments.

[0167] In one embodiment, in a scenario where an AI photo is deleted, whether the AI ​​photo is opened from the AI ​​photo album, or from all photo albums or other albums, the terminal can display the AI ​​photo selected by the user, as well as the operation area 37, such as... Figure 5F As shown in a. The user can click the delete control 371 in the operation area 37 to trigger the terminal to display a second prompt message and a selection control 523, such as Figure 5F As shown in b, the second prompt message and the selection control 523 can be referred to the relevant description in the above embodiments.

[0168] In one embodiment, for the terminal, refer to Figure 6 The human-computer interaction method provided in this application embodiment may include:

[0169] S601, in the gallery application, in response to a user's first operation on a thumbnail of a video displayed in a first album or photo tab, a first interface is displayed. The display area of ​​the first interface displays the video frame. The first interface also includes an association area and an operation area. The association area includes an identifier of the video and an identifier of at least one photo associated with the video. The at least one photo is generated based on the video. The operation area includes a delete control.

[0170] S602, in response to user interaction with the delete control, displays the delete option.

[0171] In one embodiment, the deletion option may be "Delete All" option 513, or referred to as the third deletion option.

[0172] S603, in response to the user's action to delete the deletion option, deletes the video and at least one photo.

[0173] In this embodiment, steps S601-S603 can be referred to the above. Figures 5D-5E The relevant description is provided. Furthermore, in this application embodiment, it is also possible to delete only the video, as described above. Figures 5A-5B The relevant description, and the fact that this application embodiment can also achieve the deletion of only AI photos, can be referred to the above. Figure 5C , 5F Related descriptions.

[0174] Figure 7 This is a schematic diagram of a human-computer interaction device provided in an embodiment of this application. The human-computer interaction device can be a terminal as shown in the above embodiment, or a chip within a terminal. (Refer to...) Figure 7 The human-computer interaction device may include a display module 701 and a processing module 702.

[0175] Display module 701, used for:

[0176] In a gallery application, in response to a user's first action on a thumbnail of a video displayed in a first album or photo tab, a first interface is displayed. The first interface displays the video frame in its display area. The first interface further includes an association area and an operation area. The association area includes an identifier for the video and an identifier for at least one photo associated with the video, the at least one photo being generated based on the video. The operation area includes a delete control.

[0177] In response to the user's action on the delete control, delete options are displayed.

[0178] Processing module 702 is configured to delete the video and the at least one photo in response to the user's operation of the delete option.

[0179] In one possible implementation, the display module 701 is specifically used to display a delete menu, which includes the delete option, the delete option being a third delete option, the third delete option indicating the deletion of the video and the at least one photo. The delete menu also includes a first delete option and a second delete option, the first delete option indicating the deletion of the video and the second delete option indicating the deletion of the at least one photo.

[0180] In one possible implementation, the display module 701 is further configured to display a first prompt message in response to the user's operation of the first delete option, the first prompt message being used to prompt the user to confirm whether to delete the locally stored video;

[0181] The processing module 702 is further configured to delete the video stored locally in response to the user's confirmation to delete the video stored locally.

[0182] In one possible implementation, the display module 701 is specifically used to display the first prompt information and the second prompt information, wherein the second prompt information is used to prompt the user to confirm whether to delete the video in the device that synchronously stores the video.

[0183] The processing module 702 is specifically used to delete the locally stored video in response to the user's confirmation to delete the locally stored video, and the confirmation not to delete the locally stored video.

[0184] In one possible implementation, the processing module 702 is further configured to delete the video stored locally and the video stored on the device in response to the user's confirmation to delete the video stored locally and the video stored on the device.

[0185] In one possible implementation, the display module 701 is specifically used to display a selection control, wherein the selection control represents a selected state: synchronously deleting the video stored in the device, and the selection control represents an unselected state: asynchronously deleting the video stored in the device.

[0186] In one possible implementation, the selection control is in a selected state; or,

[0187] The selection box is in an unselected state; or...

[0188] The status of the selection control is displayed based on whether the video and / or at least one photo is synchronized to the device; or...

[0189] When the video and / or at least one photo is synchronized to the device, the second display information and the selection box are displayed, and the selection box is selected. When the video and / or at least one photo is not synchronized to the device, the second display information and the selection box are not displayed.

[0190] In one possible implementation, when the selection control is in an unselected state, the processing module 702 is specifically used to detect that the user operates the selection control and the selection control is in a selected state after the user's operation, and then determine that the user has performed the operation of confirming the deletion of the video stored in the device.

[0191] In one possible implementation, the display module 701 is further configured to display a preview image of the locally stored video and the delete control; in response to the user's operation of the delete control, display the delete menu; and in response to the user's operation of the first delete option, display a third prompt message, the third prompt message being used to prompt the user that the preview image is a preview image of the locally stored video and to prompt the user whether to delete the video in the device.

[0192] The processing module 702 is further configured to delete the video stored in the device in response to the user's confirmation to delete the video stored in the device.

[0193] In one possible implementation, the display module 701 is specifically used to display a preview image of the locally stored video, the deletion control, and a fourth prompt message indicating that the locally stored video has been deleted.

[0194] The processing module 702 is further configured to respond to the user's second operation by displaying a preview image of the video and a delete control, wherein the second operation indicates that the user has confirmed the fourth prompt message.

[0195] In one possible implementation, the display module 701 is further configured to display content arranged after the video in the first album or the photo tab after the video after the video is deleted from the device.

[0196] In one possible implementation, the display module 701 is further configured to display content arranged after the video in the first album or the photo tab after the video after the video is deleted from the local storage and the device.

[0197] In one possible implementation, the display module 701 is further configured to display content arranged after the video in the first album or the photo tab, and to display a fifth prompt message indicating the storage location of the at least one photo associated with the video stored locally.

[0198] In one possible implementation, the display module 701 is further configured to display a sixth prompt message in response to the user's operation of the second delete option, the sixth prompt message being used to prompt the user to confirm whether to delete the at least one photo.

[0199] The processing module 702 is further configured to, in response to the user's confirmation of deleting the at least one photo, delete the at least one photo locally and on the device, wherein the device is a device that synchronously stores the at least one photo.

[0200] In one possible implementation, the display module 701 is further configured to display a seventh prompt message and an eighth prompt message in response to the user's operation of the third delete option. The seventh prompt message prompts the user to confirm whether to delete the locally stored video and the at least one photo. The eighth prompt message prompts the user to confirm whether to delete the video and the at least one photo stored on the device. The device is a device that synchronously stores the video and the at least one photo.

[0201] The processing module 702 is further configured to, in response to the user's confirmation to delete the video and the at least one photo stored locally, and the confirmation to delete the video and the at least one photo stored in the device, delete the video and the at least one photo stored locally and in the device.

[0202] In one possible implementation, the device is contained in the cloud.

[0203] The human-computer interaction device provided in this application embodiment can be used to implement the human-computer interaction method in the above embodiment, and has the same implementation principle and technical effect as the above embodiment, which will not be repeated here.

[0204] In one embodiment, reference is made to... Figure 8This application also provides an electronic device, which can be the terminal described in the above embodiments. The electronic device may include a processor 801 (e.g., a CPU) and a memory 802. The memory 802 may include high-speed random-access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device. The memory 802 may store various instructions for performing various processing functions and implementing the method steps of this application.

[0205] Optionally, the electronic device involved in this application may further include: a power supply 803, a communication bus 804, a communication port 805, and a display 806. The communication port 805 is used to enable communication between the electronic device and other peripherals. In this embodiment, the memory 802 stores computer-executable program code, which includes instructions. When the processor 801 executes the instructions, the instructions cause the processor 801 of the electronic device to perform the actions described in the above method embodiments. The implementation principle and technical effects are similar and will not be repeated here. In one embodiment, the display 806 may be a screen of the electronic device, used to display the interface of the electronic device.

[0206] It should be noted that the modules or components described in the above embodiments can be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs), etc. Furthermore, when a module is implemented through processing element scheduler code, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processors capable of calling program code, such as a controller. Additionally, these modules can be integrated together to implement a system-on-a-chip (SOC).

[0207] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)).

[0208] The term "multiple" in this document refers to two or more. The term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. Furthermore, the character " / " in this document generally indicates an "or" relationship between the preceding and following related objects; in formulas, " / " indicates a "division" relationship. Additionally, it should be understood that in the description of this application, words such as "first" and "second" are used only for descriptive purposes and should not be construed as indicating or implying relative importance or order.

[0209] It is understood that the various numerical designations used in the embodiments of this application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application.

[0210] It is understood that, in the embodiments of this application, the order of the above-mentioned process numbers does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

Claims

1. A human-computer interaction method, characterized in that, include: In the gallery application, in response to a user's first action on a thumbnail of a video displayed in a first album or photo tab, a first interface is displayed. The display area of ​​the first interface displays the video footage. The first interface also includes an association area and an operation area. The association area includes an identifier of the video and an identifier of at least one photo associated with the video, the at least one photo being generated based on the video. The operation area includes a delete control. In response to the user's action on the delete control, delete options are displayed; In response to the user's action on the delete option, the video and the at least one photo are deleted; The display of delete options includes: displaying a delete menu, the delete menu including the delete option, the delete option being a third delete option, the third delete option indicating the deletion of the video and the at least one photo, the delete menu also including: a first delete option and a second delete option, the first delete option indicating the deletion of the video, and the second delete option indicating the deletion of the at least one photo.

2. The method according to claim 1, characterized in that, The method further includes: In response to the user's operation of the first delete option, a first prompt message is displayed, which prompts the user to confirm whether to delete the locally stored video; In response to the user's confirmation to delete the video stored locally, the video stored locally is deleted.

3. The method according to claim 2, characterized in that, The display of the first prompt information includes: The first prompt message and the second prompt message are displayed. The second prompt message is used to prompt the user to confirm whether to delete the video from the device that synchronously stores the video. The step of deleting the video from local storage in response to the user's confirmation includes: In response to the user's confirmation to delete the video stored locally, and confirmation not to delete the video stored on the device, the video stored locally is deleted.

4. The method according to claim 3, characterized in that, The method further includes: In response to the user's confirmation to delete the video stored locally and the confirmation to delete the video stored on the device, the video stored locally and on the device is deleted.

5. The method according to claim 3 or 4, characterized in that, The second prompt message is displayed, including: A selection box control is displayed, wherein a selected state indicates that the video stored in the device is deleted synchronously, and an unselected state indicates that the video stored in the device is not deleted synchronously.

6. The method according to claim 5, characterized in that, The selection control is in a selected state; or... The selection box is in an unselected state; or... The status of the selection control is displayed depending on whether the video is synchronized to the device; or... When the video is synchronized to the device, the second prompt message and the selection box are displayed, and the selection box is selected. When the video is not synchronized to the device, the second prompt message and the selection box are not displayed.

7. The method according to claim 5 or 6, characterized in that, When the selection control is unselected, the operation of confirming the deletion of the video stored in the device includes: If the user is detected to have interacted with the selection control and the selection control is now selected, then it is determined that the user has performed an operation to confirm the deletion of the video stored on the device.

8. The method according to claim 3, characterized in that, After deleting the locally stored video, the method further includes: Display a preview of the locally stored video, as well as the delete control; In response to the user's action on the delete control, the delete menu is displayed; In response to the user's operation of the first delete option, a third prompt message is displayed. The third prompt message is used to prompt the user that the preview image is a preview image of the video stored locally, and to prompt the user whether to delete the video in the device. In response to the user's confirmation to delete the video stored in the device, the video stored in the device is deleted.

9. The method according to claim 8, characterized in that, The display of a preview image of the locally stored video and the deletion control include: Displaying a preview of the locally stored video, the delete control, and a fourth prompt message indicating that the locally stored video has been deleted; In response to the user's second action, a preview of the video and a delete control are displayed, the second action indicating that the user has confirmed the fourth prompt message.

10. The method according to claim 8 or 9, characterized in that, After deleting the video stored in the device, the method further includes: Displays the content arranged after the video in the first album or the photo tab.

11. The method according to claim 4, characterized in that, After deleting the video stored locally and on the device, the method further includes: Displays the content arranged after the video in the first album or the photo tab.

12. The method according to claim 10 or 11, characterized in that, The content arranged after the video in the first album or the photo tab includes: Display the content arranged after the video in the first album or the photo tab, and display a fifth prompt message indicating the storage location of the at least one photo associated with the video stored locally.

13. The method according to any one of claims 1-12, characterized in that, The method further includes: In response to the user's action on the second delete option, a sixth prompt message is displayed, which prompts the user to confirm whether to delete the at least one photo; In response to the user's confirmation to delete the at least one photo, the at least one photo is deleted from both the local storage and the device, wherein the device is a device that synchronously stores the at least one photo.

14. The method according to any one of claims 1-12, characterized in that, The method further includes: In response to the user's operation of the third delete option, a seventh prompt message and an eighth prompt message are displayed. The seventh prompt message prompts the user to confirm whether to delete the video and the at least one photo stored locally. The eighth prompt message prompts the user to confirm whether to delete the video and the at least one photo stored on the device. The device is a device that synchronously stores the video and the at least one photo. In response to the user's confirmation to delete the video and the at least one photo stored locally, and the confirmation to delete the video and the at least one photo stored on the device, the video and the at least one photo stored locally and on the device are deleted.

15. The method according to any one of claims 3-12, characterized in that, The device is contained in the cloud.

16. A human-computer interaction device, characterized in that, include: The display module is used for: In a gallery application, in response to a user's first action on a thumbnail of a video displayed in a first album or photo tab, a first interface is displayed. The first interface displays the video frame in its display area. The first interface further includes an association area and an operation area. The association area includes an identifier for the video and an identifier for at least one photo associated with the video, the at least one photo being generated based on the video. The operation area includes a delete control. In response to the user's action on the delete control, delete options are displayed; A processing module is configured to delete the video and the at least one photo in response to the user's action on the delete option; The display module is specifically used to display a delete menu, which includes a delete option, specifically a third delete option, which indicates the deletion of the video and the at least one photo. The delete menu also includes a first delete option and a second delete option, whereby the first delete option indicates the deletion of the video and the second delete option indicates the deletion of the at least one photo.

17. An electronic device, characterized in that, include: Processor and memory; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-15.

18. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program or instructions that, when executed, implement the method as described in any one of claims 1-15.

19. A computer program product, characterized in that, It includes a computer program or instructions that, when executed by a processor, implement the method of any one of claims 1-15.