[go: up one dir, main page]

CN116701704A - File processing method, electronic device, and computer-readable storage medium - Google Patents

File processing method, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN116701704A
CN116701704A CN202210188602.9A CN202210188602A CN116701704A CN 116701704 A CN116701704 A CN 116701704A CN 202210188602 A CN202210188602 A CN 202210188602A CN 116701704 A CN116701704 A CN 116701704A
Authority
CN
China
Prior art keywords
control
video
interface
user
delete
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210188602.9A
Other languages
Chinese (zh)
Inventor
韩笑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210188602.9A priority Critical patent/CN116701704A/en
Publication of CN116701704A publication Critical patent/CN116701704A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/74Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/71Indexing; Data structures therefor; Storage structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例公开了一种文件处理方法、电子设备以及计算机可读存储介质,涉及电子技术领域,目的在于解决一录多得模式下生成的文件的删除操作过于复杂的问题。具体方案为:显示图库应用的第一界面,第一界面中包括第一视频、删除控件以及第一区域;响应于用户选择删除控件的第一操作,在第一界面上显示第一菜单栏;第一菜单栏包括:第一控件、第二控件以及第三控件;第一控件用于删除第一视频;第二控件用于删除所有第一视频的关联照片;第三控件用于删除第一视频和所有第一视频的关联照片。通过第一菜单栏上的三个控件,提供了三种不同的删除一录多得模式下的文件的方式,满足了用户不同的删除需求。

The embodiment of the present application discloses a file processing method, an electronic device, and a computer-readable storage medium, which relate to the field of electronic technology and aim to solve the problem that the file deletion operation generated in the one-record-multiple-get mode is too complicated. The specific solution is: displaying the first interface of the gallery application, the first interface including the first video, the deletion control and the first area; in response to the user selecting the first operation of deleting the control, displaying the first menu bar on the first interface; The first menu bar includes: a first control, a second control, and a third control; the first control is used to delete the first video; the second control is used to delete all associated photos of the first video; the third control is used to delete the first Video and all associated photos of the first video. Through the three controls on the first menu bar, it provides three different ways to delete files in the one-record-many mode, which meets the different deletion needs of users.

Description

文件处理方法、电子设备以及计算机可读存储介质File processing method, electronic device, and computer-readable storage medium

技术领域technical field

本申请涉及电子技术领域,尤其涉及一种文件处理方法、电子设备以及计算机可读存储介质。The present application relates to the field of electronic technology, and in particular to a file processing method, electronic equipment, and a computer-readable storage medium.

背景技术Background technique

随着智能终端的不断发展,拍照以及视频录制功能成为智能终端的必备功能。用户对录制和拍照的需求与体验也不断增强。在某些录制场景下,用户具有在录制的同时捕捉值得纪念的精彩瞬间照片的需求,以及使用录制好的视频剪辑制作出短视频的需求。With the continuous development of smart terminals, camera and video recording functions have become essential functions of smart terminals. Users' demand and experience for recording and taking pictures are also increasing. In some recording scenarios, users have the need to capture memorable photos of wonderful moments while recording, and to use the recorded video clips to create short videos.

发明内容Contents of the invention

本申请提供了一种文件处理方法、电子设备以及计算机可读存储介质,目的在于简化一录多得模式下录制得到的文件的删除操作。The present application provides a file processing method, an electronic device, and a computer-readable storage medium, with the purpose of simplifying the deletion operation of files recorded in the one-record-multiple-get mode.

为了实现上述目的,本申请提供了以下技术方案:In order to achieve the above object, the application provides the following technical solutions:

第一方面,本申请公开了一种文件处理方法,包括:In a first aspect, the present application discloses a file processing method, including:

检测到用户打开图库应用中第一视频的操作;Detecting that the user opens the first video in the gallery application;

显示图库应用的第一界面(可以是本实例中原视频的第一详情界面),第一界面中包括第一视频(可以是本实施例中的原视频)、删除控件以及第一区域(可以是本实施例中的精彩时刻区);第一区域包括第一视频的缩略图和至少一张关联照片的缩略图;关联照片(可以是本实施例中的精彩时刻照片)为第一视频录制过程中电子设备自动拍摄得到的照片。Display the first interface of the gallery application (which may be the first detailed interface of the original video in this example), and the first interface includes the first video (which may be the original video in this embodiment), the delete control and the first area (which may be Highlights area in this embodiment); the first area includes a thumbnail of the first video and a thumbnail of at least one associated photo; the associated photo (which can be a wonderful moment photo in this embodiment) is the first video recording process Photos taken automatically by electronic devices.

响应于用户选择删除控件的第一操作,在第一界面上显示第一菜单栏(可以是本实施例中的删除菜单栏);第一菜单栏包括:第一控件(可以是本实施例中的仅删除视频控件)、第二控件(可以是本实施例中的仅删除照片控件)以及第三控件(可以是本实施例中的全部删除控件);第一控件用于删除第一视频;第二控件用于删除所有第一视频的关联照片;第三控件用于删除第一视频和所有第一视频的关联照片。In response to the first operation of the user selecting the delete control, the first menu bar (which may be the delete menu bar in this embodiment) is displayed on the first interface; the first menu bar includes: the first control (which may be the delete menu bar in this embodiment) Only delete the video control), the second control (can be only delete photo control in this embodiment) and the third control (can be all delete controls in this embodiment); the first control is used to delete the first video; The second control is used to delete all associated photos of the first video; the third control is used to delete the first video and all associated photos of the first video.

本申请实施例中,在第一界面上展示了第一菜单栏,通过第一菜单栏上的第一控件、第二控件以及第三控件,提供了三种不同的删除方式,便于用户对第一视频、第一视频的关联照片进行删除管理,降低了用户删除操作的复杂性。In the embodiment of the present application, the first menu bar is displayed on the first interface, and three different deletion methods are provided through the first control, the second control, and the third control on the first menu bar, which is convenient for users to The associated photos of the first video and the first video are deleted and managed, which reduces the complexity of the user's deletion operation.

第二方面,本申请公开了一种文件处理方法,包括:In a second aspect, the present application discloses a file processing method, including:

检测到用户打开图库应用中第一视频的操作;Detecting that the user opens the first video in the gallery application;

显示图库应用的第一界面(可以是本实例中原视频的第一详情界面),第一界面中包括第一视频(可以是本实施例中的原视频)、删除控件以及第一区域(可以是本实施例中的精彩时刻区);第一区域包括第一视频的缩略图和至少一张关联照片的缩略图;关联照片(可以是本实施例中的精彩时刻照片)为第一视频录制过程中电子设备自动拍摄得到的照片。Display the first interface of the gallery application (which may be the first detailed interface of the original video in this example), and the first interface includes the first video (which may be the original video in this embodiment), the delete control and the first area (which may be Highlights area in this embodiment); the first area includes a thumbnail of the first video and a thumbnail of at least one associated photo; the associated photo (which can be a wonderful moment photo in this embodiment) is the first video recording process Photos taken automatically by electronic devices.

响应于用户选择删除控件的第一操作,在第一界面上显示第一菜单栏(可以是本实施例中的删除菜单栏);第一菜单栏包括:第一控件(可以是本实施例中的仅删除视频控件)、第二控件(可以是本实施例中的仅删除照片控件)以及第三控件(可以是本实施例中的全部删除控件);第一控件用于删除第一视频;第二控件用于删除所有第一视频的关联照片;第三控件用于删除第一视频和所有第一视频的关联照片。In response to the first operation of the user selecting the delete control, the first menu bar (which may be the delete menu bar in this embodiment) is displayed on the first interface; the first menu bar includes: the first control (which may be the delete menu bar in this embodiment) Only delete the video control), the second control (can be only delete photo control in this embodiment) and the third control (can be all delete controls in this embodiment); the first control is used to delete the first video; The second control is used to delete all associated photos of the first video; the third control is used to delete the first video and all associated photos of the first video.

响应于用户的第二操作,显示第一提示框;第二操作为对第二控件执行的操作;第一提示框包括:第四控件和第五控件;第四控件(可以是本实施例中第一提示框的删除控件)用于确认删除第一视频;第五控件(可以是本实施例中第一提示框的取消控件)用于取消删除第一视频。In response to the second operation of the user, a first prompt box is displayed; the second operation is an operation performed on the second control; the first prompt box includes: a fourth control and a fifth control; the fourth control (which may be the The delete control of the first prompt box) is used to confirm the deletion of the first video; the fifth control (which may be the cancel control of the first prompt box in this embodiment) is used to cancel the deletion of the first video.

在另一种可能的实现方式中,第一提示框还包括:第六控件。第六控件用于确认是否同时从云端和所有同步设备中删除第一视频;第六控件为选中状态。In another possible implementation manner, the first prompt box further includes: a sixth control. The sixth control is used to confirm whether to delete the first video from the cloud and all synchronization devices at the same time; the sixth control is selected.

在显示第一提示框之后,还包括:After displaying the first prompt box, also include:

响应于用户的第三操作,从本地、云端、以及所有同步设备中删除第一视频;第三操作为对第四控件执行的操作。In response to the third operation of the user, the first video is deleted from the local, the cloud, and all synchronization devices; the third operation is an operation performed on the fourth control.

在另一种可能的实现方式中,从本地、云端、以及所有同步设备中删除第一视频之后,还包括:In another possible implementation, after deleting the first video from the local, the cloud, and all synchronous devices, further include:

显示第二界面(可以是本实施例中的下一个图像文件的详情界面);第二界面用于浏览第一图像文件;第一图像文件为图库应用中排列在第一视频之后的图像文件。Display the second interface (which may be the details interface of the next image file in this embodiment); the second interface is used to browse the first image file; the first image file is the image file arranged after the first video in the gallery application.

在另一种可能的实现方式中,第一提示框还包括:第六控件;第六控件用于确认是否同时从云端和所有同步设备中删除第一视频;第六控件为未选中状态;In another possible implementation, the first prompt box further includes: a sixth control; the sixth control is used to confirm whether to delete the first video from the cloud and all synchronization devices at the same time; the sixth control is unselected;

在显示第一提示框之后,还包括:After displaying the first prompt box, also include:

响应于用户的第三操作,从本地删除第一视频;第三操作为对第四控件执行的操作。In response to the third operation of the user, the first video is deleted locally; the third operation is an operation performed on the fourth control.

在另一种可能的实现方式中,若第一视频已同步至云端,则响应于用户的第三操作,从本地删除第一视频之后,还包括:In another possible implementation, if the first video has been synchronized to the cloud, in response to the user's third operation, after deleting the first video locally, further include:

显示第三界面;第三界面(可以是本实施例的原视频的云端详情界面)用于浏览第一视频的云端预览图;第三界面包括第一视频的云端预览图、第七控件(可以是本实施例的云端下载控件)以及第一区域;第七控件用于从云端下载第一视频。Display the third interface; the third interface (can be the cloud details interface of the original video of the present embodiment) is used to browse the cloud preview of the first video; the third interface includes the cloud preview of the first video, the seventh control (can be is the cloud download control of this embodiment) and the first area; the seventh control is used to download the first video from the cloud.

在另一种可能的实现方式中,第三界面还包括:In another possible implementation manner, the third interface further includes:

第三提示框,第三提示框用于提示已删除存储在本地的第一视频、并提示用户可通过第一视频的云端预览图管理存储在云端的第一视频。The third prompt box, the third prompt box is used to prompt that the locally stored first video has been deleted, and to prompt the user to manage the first video stored in the cloud through the cloud preview image of the first video.

在另一种可能的实现方式中,响应于用户的第二操作,显示第一提示框之后,还包括:In another possible implementation manner, after displaying the first prompt box in response to the second operation of the user, the method further includes:

响应于用户的第四操作,不显示第一提示框;第四操作为对第五控件执行的操作。In response to the user's fourth operation, the first prompt box is not displayed; the fourth operation is an operation performed on the fifth control.

第三方面,本申请公开了一种文件处理方法,包括:检测到用户打开图库应用中第一视频的操作;In a third aspect, the present application discloses a file processing method, including: detecting the user's operation of opening the first video in the gallery application;

显示图库应用的第一界面(可以是本实例中原视频的第一详情界面),第一界面中包括第一视频(可以是本实施例中的原视频)、删除控件以及第一区域(可以是本实施例中的精彩时刻区);第一区域包括第一视频的缩略图和至少一张关联照片的缩略图;关联照片(可以是本实施例中的精彩时刻照片)为第一视频录制过程中电子设备自动拍摄得到的照片。Display the first interface of the gallery application (which may be the first detailed interface of the original video in this example), and the first interface includes the first video (which may be the original video in this embodiment), the delete control and the first area (which may be Highlights area in this embodiment); the first area includes a thumbnail of the first video and a thumbnail of at least one associated photo; the associated photo (which can be a wonderful moment photo in this embodiment) is the first video recording process Photos taken automatically by electronic devices.

响应于用户选择删除控件的第一操作,在第一界面上显示第一菜单栏(可以是本实施例中的删除菜单栏);第一菜单栏包括:第一控件(可以是本实施例中的仅删除视频控件)、第二控件(可以是本实施例中的仅删除照片控件)以及第三控件(可以是本实施例中的全部删除控件);第一控件用于删除第一视频;第二控件用于删除所有第一视频的关联照片;第三控件用于删除第一视频和所有第一视频的关联照片。In response to the first operation of the user selecting the delete control, the first menu bar (which may be the delete menu bar in this embodiment) is displayed on the first interface; the first menu bar includes: the first control (which may be the delete menu bar in this embodiment) Only delete the video control), the second control (can be only delete photo control in this embodiment) and the third control (can be all delete controls in this embodiment); the first control is used to delete the first video; The second control is used to delete all associated photos of the first video; the third control is used to delete the first video and all associated photos of the first video.

响应于用户的第五操作,显示第四提示框;第五操作为对第二控件执行的操作;第四提示框用于提示确认是否删除所有第一视频的关联照片;第四提示框包括:第六控件和第七控件;第六控件(可以是第四提示框示出的删除控件)用于确认删除所有第一视频的关联照片;第七控件(可以是第四提示框示出的取消控件)用于取消删除所有第一视频的关联照片;In response to the fifth operation of the user, a fourth prompt box is displayed; the fifth operation is an operation performed on the second control; the fourth prompt box is used to prompt and confirm whether to delete all associated photos of the first video; the fourth prompt box includes: The sixth control and the seventh control; the sixth control (can be the deletion control shown in the fourth prompt box) is used to confirm the deletion of all associated photos of the first video; the seventh control (can be the cancellation shown in the fourth prompt box) control) is used to undelete all associated photos of the first video;

响应于用户的第六操作,从本地、云端、以及所有同步设备中删除所有第一视频的关联照片;第六操作为对第六控件执行的操作。In response to the sixth operation of the user, all associated photos of the first video are deleted from the local, the cloud, and all synchronization devices; the sixth operation is an operation performed on the sixth control.

在另一种可能的实现方式中,响应于用户的第五操作,显示第四提示框之后,还包括:In another possible implementation manner, after displaying the fourth prompt box in response to the fifth operation of the user, the method further includes:

响应于用户的第七操作,不显示第四提示框;第七操作为对第七控件执行的操作。In response to the seventh operation of the user, the fourth prompt box is not displayed; the seventh operation is an operation performed on the seventh control.

在另一种可能的实现方式中,第四提示框还用于提示用户恢复第一视频的关联照片的方式,和/或,提示用户彻底删除第一视频的关联照片的方式。In another possible implementation manner, the fourth prompt box is also used to prompt the user to restore the associated photos of the first video, and/or to prompt the user to completely delete the associated photos of the first video.

在另一种可能的实现方式中,第四提示框还显示有插画。In another possible implementation manner, illustrations are also displayed in the fourth prompt box.

在另一种可能的实现方式中,响应于用户的第六操作,从本地、云端、以及所有同步设备中删除所有第一视频的关联照片之后,还包括:In another possible implementation, in response to the sixth operation of the user, after deleting all associated photos of the first video from the local, the cloud, and all synchronous devices, the method further includes:

显示第四界面(可以是原视频的第二详情界面);第四界面用于播放第一视频,第四界面不包括第一区域。Display a fourth interface (which may be the second detailed interface of the original video); the fourth interface is used to play the first video, and the fourth interface does not include the first area.

在另一种可能的实现方式中,第四界面还包括:第八控件;第八控件用于删除第一视频;显示第四界面之后,还包括:In another possible implementation manner, the fourth interface further includes: an eighth control; the eighth control is used to delete the first video; after the fourth interface is displayed, it further includes:

响应于用户的第八操作,显示第五提示框;第八操作为对第八控件执行的操作;第五提示框用于确认是否删除第一视频。In response to the user's eighth operation, a fifth prompt box is displayed; the eighth operation is performed on the eighth control; the fifth prompt box is used to confirm whether to delete the first video.

第四方面,本申请公开了一种文件处理方法,包括:检测到用户打开图库应用中第一视频的操作;In a fourth aspect, the present application discloses a file processing method, including: detecting the user's operation of opening the first video in the gallery application;

显示图库应用的第一界面(可以是本实例中原视频的第一详情界面),第一界面中包括第一视频(可以是本实施例中的原视频)、删除控件以及第一区域(可以是本实施例中的精彩时刻区);第一区域包括第一视频的缩略图和至少一张关联照片的缩略图;关联照片(可以是本实施例中的精彩时刻照片)为第一视频录制过程中电子设备自动拍摄得到的照片。Display the first interface of the gallery application (which may be the first detailed interface of the original video in this example), and the first interface includes the first video (which may be the original video in this embodiment), the delete control and the first area (which may be Highlights area in this embodiment); the first area includes a thumbnail of the first video and a thumbnail of at least one associated photo; the associated photo (which can be a wonderful moment photo in this embodiment) is the first video recording process Photos taken automatically by electronic devices.

响应于用户选择删除控件的第一操作,在第一界面上显示第一菜单栏(可以是本实施例中的删除菜单栏);第一菜单栏包括:第一控件(可以是本实施例中的仅删除视频控件)、第二控件(可以是本实施例中的仅删除照片控件)以及第三控件(可以是本实施例中的全部删除控件);第一控件用于删除第一视频;第二控件用于删除所有第一视频的关联照片;第三控件用于删除第一视频和所有第一视频的关联照片。In response to the first operation of the user selecting the delete control, the first menu bar (which may be the delete menu bar in this embodiment) is displayed on the first interface; the first menu bar includes: the first control (which may be the delete menu bar in this embodiment) Only delete the video control), the second control (can be only delete photo control in this embodiment) and the third control (can be all delete controls in this embodiment); the first control is used to delete the first video; The second control is used to delete all associated photos of the first video; the third control is used to delete the first video and all associated photos of the first video.

响应于用户的第九操作,显示第五界面;第五界面用于浏览第一关联照片(可以是原视频的第一详情界面上显示精彩时刻的照片的界面);第五界面包括:第一关联照片、第一区域、以及第十二控件;第九操作为对第一区域执行的操作;第一关联照片为第九操作中选中的第一视频的关联照片;第十二控件用于删除第一关联照片;In response to the ninth operation of the user, the fifth interface is displayed; the fifth interface is used to browse the first associated photos (can be an interface showing photos of wonderful moments on the first details interface of the original video); the fifth interface includes: the first The associated photo, the first area, and the twelfth control; the ninth operation is the operation performed on the first area; the first associated photo is the associated photo of the first video selected in the ninth operation; the twelfth control is used to delete the first associated photo;

响应于用户的第十操作,显示第六提示框;第六提示框用于确认是否删除第一关联照片;第六提示框包括:第九控件(可以是第六提示框中的删除控件)和第十控件(可以是第六提示框中的取消控件);第九控件用于确认删除第一关联照片;第十控件用于取消删除第一关联照片。In response to the tenth operation of the user, the sixth prompt box is displayed; the sixth prompt box is used to confirm whether to delete the first associated photo; the sixth prompt box includes: the ninth control (can be the delete control in the sixth prompt box) and The tenth control (can be the cancel control in the sixth prompt box); the ninth control is used to confirm the deletion of the first associated photo; the tenth control is used to cancel the deletion of the first associated photo.

在另一种可能的实现方式中,第六提示框还包括:第十一控件;第十一控件用于确认是否同时从云端和所有同步设备中删除第一关联照片;第十一控件为选中状态;In another possible implementation, the sixth prompt box also includes: an eleventh control; the eleventh control is used to confirm whether to delete the first associated photo from the cloud and all synchronization devices at the same time; the eleventh control is selected state;

在显示第六提示框之后,还包括:After displaying the sixth prompt box, it also includes:

响应于用户的第十一操作,从本地、云端、以及所有同步设备中删除第一关联照片;第十一操作为对第九控件执行的操作。In response to the eleventh operation of the user, the first associated photo is deleted from the local, the cloud, and all synchronization devices; the eleventh operation is an operation performed on the ninth control.

在另一种可能的实现方式中,响应于用户的第十一操作,从本地、云端、以及所有同步设备中删除第一关联照片之后,还包括:In another possible implementation, in response to the user's eleventh operation, after deleting the first associated photo from the local, the cloud, and all synchronous devices, the method further includes:

显示第六界面;第六界面用于浏览第二关联照片;第六界面包括:第二关联照片和第二区域;第二区域包括除第一关联照片之外的每一张关联照片的缩略图;第二关联照片为在第一区域中排列在第一关联照片之后的照片。A sixth interface is displayed; the sixth interface is used to browse the second associated photo; the sixth interface includes: the second associated photo and a second area; the second area includes thumbnails of each associated photo except the first associated photo ; the second associated photo is a photo arranged after the first associated photo in the first area.

在另一种可能的实现方式中,第六提示框还包括:第十一控件;第十一控件用于确认是否同时从云端和所有同步设备中删除第一关联照片;第十一控件为未选中状态;In another possible implementation, the sixth prompt box also includes: an eleventh control; the eleventh control is used to confirm whether to delete the first associated photo from the cloud and all synchronization devices at the same time; selected state;

在显示第六提示框之后,还包括:After displaying the sixth prompt box, it also includes:

响应于用户的第十一操作,从本地删除第一关联照片;第十一操作为对第九控件执行的操作。In response to the eleventh operation of the user, the first associated photo is deleted locally; the eleventh operation is an operation performed on the ninth control.

在另一种可能的实现方式中,响应于用户的第十一操作,从本地删除第一关联照片之后,还包括:In another possible implementation manner, after deleting the first associated photo locally in response to the user's eleventh operation, further include:

显示第七界面;第七界面用于浏览第一关联照片对应的云端预览图;第七界面包括:第一区域、第一关联照片对应的云端预览图、以及第十三控件;第十三控件用于从云端下载第一关联照片。The seventh interface is displayed; the seventh interface is used to browse the cloud preview image corresponding to the first associated photo; the seventh interface includes: the first area, the cloud preview image corresponding to the first associated photo, and the thirteenth control; the thirteenth control Used to download the first associated photo from the cloud.

在另一种可能的实现方式中,响应于用户的第十操作,显示第六提示框之后,还包括:In another possible implementation manner, after displaying the sixth prompt box in response to the tenth operation of the user, the method further includes:

响应于用户的第十二操作,不显示第六提示框;第十二操作为对第十控件执行的操作。In response to the user's twelfth operation, the sixth prompt box is not displayed; the twelfth operation is an operation performed on the tenth control.

第五方面,本申请公开了一种文件处理方法,包括:检测到用户打开图库应用中第一视频的操作;In the fifth aspect, the present application discloses a file processing method, including: detecting that the user opens the first video in the gallery application;

显示图库应用的第一界面(可以是本实例中原视频的第一详情界面),第一界面中包括第一视频(可以是本实施例中的原视频)、删除控件以及第一区域(可以是本实施例中的精彩时刻区);第一区域包括第一视频的缩略图和至少一张关联照片的缩略图;关联照片(可以是本实施例中的精彩时刻照片)为第一视频录制过程中电子设备自动拍摄得到的照片。Display the first interface of the gallery application (which may be the first detailed interface of the original video in this example), and the first interface includes the first video (which may be the original video in this embodiment), the delete control and the first area (which may be Highlights area in this embodiment); the first area includes a thumbnail of the first video and a thumbnail of at least one associated photo; the associated photo (which can be a wonderful moment photo in this embodiment) is the first video recording process Photos taken automatically by electronic devices.

响应于用户选择删除控件的第一操作,在第一界面上显示第一菜单栏(可以是本实施例中的删除菜单栏);第一菜单栏包括:第一控件(可以是本实施例中的仅删除视频控件)、第二控件(可以是本实施例中的仅删除照片控件)以及第三控件(可以是本实施例中的全部删除控件);第一控件用于删除第一视频;第二控件用于删除所有第一视频的关联照片;第三控件用于删除第一视频和所有第一视频的关联照片。In response to the first operation of the user selecting the delete control, the first menu bar (which may be the delete menu bar in this embodiment) is displayed on the first interface; the first menu bar includes: the first control (which may be the delete menu bar in this embodiment) Only delete the video control), the second control (can be only delete photo control in this embodiment) and the third control (can be all delete controls in this embodiment); the first control is used to delete the first video; The second control is used to delete all associated photos of the first video; the third control is used to delete the first video and all associated photos of the first video.

响应于用户的第十三操作,显示第七提示框;第十三操作为对第三控件执行的操作;第七提示框用于确认是否删除第一视频和所有第一视频的关联照片;第七提示框包括第十四控件和第十五控件;第十四控件用于确认删除第一视频和所有第一视频的关联照片;第十五控件用于取消删除第一视频和所有第一视频的关联照片。In response to the user's thirteenth operation, a seventh prompt box is displayed; the thirteenth operation is an operation performed on the third control; the seventh prompt box is used to confirm whether to delete the first video and all associated photos of the first video; The seven prompt box includes the fourteenth control and the fifteenth control; the fourteenth control is used to confirm the deletion of the first video and all associated photos of the first video; the fifteenth control is used to cancel the deletion of the first video and all first videos associated photo for .

在另一种可能的实现方式中,第七提示框还包括:第十六控件;第十六控件用于确认是否同时从云端和所有同步设备中删除第一视频和所有第一视频的关联照片;第十六控件为选中状态;In another possible implementation, the seventh prompt box further includes: a sixteenth control; the sixteenth control is used to confirm whether to delete the first video and all associated photos of the first video from the cloud and all synchronization devices at the same time ;The sixteenth control is selected;

显示第七提示框之后,还包括:After the seventh prompt box is displayed, it also includes:

响应于用户的第十四操作,确认需同时从云端和所有同步设备中删除第一视频和所有第一视频的关联照片;第十四操作为对第十六控件执行的操作。In response to the user's fourteenth operation, it is confirmed that the first video and all associated photos of the first video need to be deleted from the cloud and all synchronization devices at the same time; the fourteenth operation is an operation performed on the sixteenth control.

在另一种可能的实现方式中,第七提示框还包括:第十六控件;第十六控件用于确认是否同时从云端和所有同步设备中删除第一视频和所有第一视频的关联照片;第十六控件为未选中状态;In another possible implementation, the seventh prompt box further includes: a sixteenth control; the sixteenth control is used to confirm whether to delete the first video and all associated photos of the first video from the cloud and all synchronization devices at the same time ;The sixteenth control is unselected;

显示第七提示框之后,还包括:After the seventh prompt box is displayed, it also includes:

响应于用户的第十五操作,从本地删除第一视频和所有第一视频的关联照片;第十五操作为对第十四控件执行的操作。In response to the fifteenth operation of the user, the first video and all associated photos of the first video are deleted locally; the fifteenth operation is an operation performed on the fourteenth control.

在另一种可能的实现方式中,响应于用户的第十三操作,显示第七提示框之后,还包括:In another possible implementation manner, after displaying the seventh prompt box in response to the thirteenth operation of the user, the method further includes:

响应于用户的第十六操作,不显示第七提示框;第十六操作为对第十五控件执行的操作。In response to the sixteenth operation of the user, the seventh prompt box is not displayed; the sixteenth operation is an operation performed on the fifteenth control.

第六方面,本申请公开了一种电子设备,包括处理器和存储器,处理器和存储器耦合,存储器用于存储计算机程序,当计算机程序被处理器执行时,使得电子设备执行上述任一项的方法。In a sixth aspect, the present application discloses an electronic device, including a processor and a memory, the processor and the memory are coupled, the memory is used to store a computer program, and when the computer program is executed by the processor, the electronic device performs any of the above method.

第七方面,本申请公开了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,当计算机程序被处理器执行时,使得处理器执行上述任一项的方法。In a seventh aspect, the present application discloses a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the processor is made to perform any one of the above-mentioned methods.

第八方面,本申请公开了一种文件处理方法,包括:In the eighth aspect, the present application discloses a file processing method, including:

响应于用户的第十七操作,显示第八界面;第八界面为第一相册(可以是本实施例中提及的任一相册)在图库应用中呈现的界面;第八界面,包括:第一视频的缩略图和至少一个图像文件的缩略图;In response to the user's seventeenth operation, an eighth interface is displayed; the eighth interface is the interface presented by the first album (which may be any album mentioned in this embodiment) in the gallery application; the eighth interface includes: a video thumbnail and at least one image file thumbnail;

响应于用户的第十八操作,显示选中第一视频的缩略图和至少一个图像文件的缩略图,并显示第十七控件;第十七控件用于删除选中的第一视频和至少一个图像文件;In response to the user's eighteenth operation, display the thumbnail of the selected first video and the thumbnail of at least one image file, and display the seventeenth control; the seventeenth control is used to delete the selected first video and at least one image file ;

响应于用户的第十九操作,显示第八提示框;第八提示框用于确认是否删除选中的第一视频和至少一个图像文件。In response to the user's nineteenth operation, an eighth prompt box is displayed; the eighth prompt box is used to confirm whether to delete the selected first video and at least one image file.

在一种可能的实现方式中,第八提示框还包括:第十八控件和第十九控件;第十八控件用于确认删除选中的第一视频和至少一个图像文件;第十九控件用于取消删除选中的第一视频和至少一个图像文件;In a possible implementation, the eighth prompt box also includes: an eighteenth control and a nineteenth control; the eighteenth control is used to confirm deletion of the selected first video and at least one image file; the nineteenth control uses to undelete the selected first video and at least one image file;

响应于用户的第十九操作,显示第八提示框之后,还包括:In response to the user's nineteenth operation, after displaying the eighth prompt box, further include:

响应于用户的第二十操作,从本地、云端、以及所有同步设备中删除第一视频和至少一个图像文件;第二十操作为对第十八控件执行的操作;In response to the user's twentieth operation, delete the first video and at least one image file from the local, cloud, and all synchronization devices; the twentieth operation is an operation performed on the eighteenth control;

在第八界面上不显示已删除的第一视频和至少一个图像文件的缩略图。The thumbnails of the deleted first video and at least one image file are not displayed on the eighth interface.

在另一种可能的实现方式中,第八提示框还包括:第二十控件和第二十一控件;第二十控件用于确认删除选中的第一视频、选中的至少一个图像文件以及所有第一视频的关联照片;第二十一控件用于取消删除选中的第一视频、选中的至少一个图像文件以及所有第一视频的关联照片;In another possible implementation, the eighth prompt box further includes: a twentieth control and a twenty-first control; the twentieth control is used to confirm the deletion of the selected first video, at least one selected image file, and all The associated photo of the first video; the twenty-first control is used to cancel the selected first video, at least one selected image file and all associated photos of the first video;

响应于用户的第十九操作,显示第八提示框之后,还包括:In response to the user's nineteenth operation, after displaying the eighth prompt box, further include:

响应于用户的第二十操作,从本地、云端、以及所有同步设备中删除选中的第一视频、选中的至少一个图像文件以及所有第一视频的关联照片;第二十操作为对第二十控件执行的操作;In response to the user's twentieth operation, delete the selected first video, at least one selected image file, and all associated photos of the first video from the local, cloud, and all synchronous devices; the action performed by the control;

在第八界面上不显示已删除的第一视频和至少一个图像文件的缩略图。The thumbnails of the deleted first video and at least one image file are not displayed on the eighth interface.

在另一种可能的实现方式中,第八提示框还用于提示用户所有第一视频的关联照片将被同步删除。In another possible implementation manner, the eighth prompt box is also used to remind the user that all associated photos of the first video will be deleted synchronously.

在另一种可能的实现方式中,第八提示框还包括:第二十一控件、第二十二控件以及第二十三控件;第二十一控件用于确认删除第一视频和选中的至少一个图像文件;第二十二控件用于确认删除选中的第一视频、选中的至少一个图像文件以及所有第一视频的关联照片;第二十三控件用于取消删除。In another possible implementation, the eighth prompt box further includes: a twenty-first control, a twenty-second control, and a twenty-third control; the twenty-first control is used to confirm the deletion of the first video and the selected At least one image file; the twenty-second control is used to confirm deletion of the selected first video, at least one selected image file and all associated photos of the first video; the twenty-third control is used to cancel deletion.

在另一种可能的实现方式中,响应于用户的第十九操作,显示第八提示框之后,还包括:In another possible implementation manner, after displaying the eighth prompt box in response to the user's nineteenth operation, further include:

响应于用户的第二十一操作,从本地、云端、以及所有同步设备中删除选中的第一视频和选中的至少一个图像文件;第二十一操作为对第二十一控件执行的操作;In response to the twenty-first operation of the user, delete the selected first video and at least one selected image file from the local, cloud, and all synchronization devices; the twenty-first operation is an operation performed on the twenty-first control;

在第八界面上不显示已删除的第一视频和至少一个图像文件的缩略图。The thumbnails of the deleted first video and at least one image file are not displayed on the eighth interface.

在另一种可能的实现方式中,响应于用户的第十九操作,显示第八提示框之后,还包括:In another possible implementation manner, after displaying the eighth prompt box in response to the user's nineteenth operation, further include:

响应于用户的第二十二操作,从本地、云端、以及所有同步设备中删除选中的第一视频、选中的至少一个图像文件以及所有第一视频的关联照片;第二十二操作为对二十二控件执行的操作;In response to the user's twenty-second operation, delete the selected first video, at least one selected image file, and all associated photos of the first video from the local, cloud, and all synchronous devices; Operations performed by twelve controls;

在第八界面上不显示已删除的第一视频和至少一个图像文件的缩略图。The thumbnails of the deleted first video and at least one image file are not displayed on the eighth interface.

在另一种可能的实现方式中,响应于用户的第十九操作,显示第八提示框之后,还包括:In another possible implementation manner, after displaying the eighth prompt box in response to the user's nineteenth operation, further include:

响应于用户的第二十二操作,从本地、云端、以及所有同步设备中删除选中的第一视频、选中的至少一个图像文件以及所有第一视频的关联照片;第二十二操作为对二十二控件执行的操作;In response to the user's twenty-second operation, delete the selected first video, at least one selected image file, and all associated photos of the first video from the local, cloud, and all synchronous devices; Operations performed by twelve controls;

在第八界面上不显示已删除的第一视频和至少一个图像文件的缩略图。The thumbnails of the deleted first video and at least one image file are not displayed on the eighth interface.

第九方面,本申请公开了一种文件处理方法,包括:In the ninth aspect, the present application discloses a file processing method, including:

响应于用户的第二十三操作,显示第九界面;第九界面(可以是相册宫格界面)显示有至少一个相册;In response to the twenty-third operation of the user, a ninth interface is displayed; the ninth interface (which may be an album grid interface) displays at least one album;

响应于用户的第二十四操作,显示选中至少一个相册以及显示第二十三控件;第二十三控件用于删除选中的相册中的所有文件;In response to the user's twenty-fourth operation, displaying that at least one photo album is selected and displaying a twenty-third control; the twenty-third control is used to delete all files in the selected photo album;

响应于用户的第二十五操作,从本地、云端、以及所有同步设备中删除选中的相册中的所有文件;第二十五操作为对第二十三控件执行的操作;In response to the user's twenty-fifth operation, delete all files in the selected album from the local, cloud, and all synchronization devices; the twenty-fifth operation is an operation performed on the twenty-third control;

第九界面不显示已删除的相册。The ninth interface does not display deleted albums.

在另一种可能的实现方式中,若选中的相册中的所有文件,包括:第一视频,则删除选中的相册中的所有文件中包括第一视频;In another possible implementation, if all the files in the selected album include: the first video, delete all the files in the selected album including the first video;

若选中的相册中的所有文件,包括:第一视频和第一视频的关联照片,则删除选中的相册中的所有文件中包括第一视频和第一视频的关联照片;If all the files in the selected album include: the first video and the associated photos of the first video, delete all the files in the selected album including the first video and the associated photos of the first video;

若选中的相册中的所有文件,包括:第一视频的关联照片,则删除选中的相册中的所有文件中包括第一视频的关联照片。If all the files in the selected album include the associated photos of the first video, delete all the files in the selected album including the associated photos of the first video.

应当理解的是,本申请中对技术特征、技术方案、有益效果或类似语言的描述并不是暗示在任意的单个实施例中可以实现所有的特点和优点。相反,可以理解的是对于特征或有益效果的描述意味着在至少一个实施例中包括特定的技术特征、技术方案或有益效果。因此,本说明书中对于技术特征、技术方案或有益效果的描述并不一定是指相同的实施例。进而,还可以任何适当的方式组合本实施例中所描述的技术特征、技术方案和有益效果。本领域技术人员将会理解,无需特定实施例的一个或多个特定的技术特征、技术方案或有益效果即可实现实施例。在其他实施例中,还可在没有体现所有实施例的特定实施例中识别出额外的技术特征和有益效果。It should be understood that descriptions of technical features, technical solutions, beneficial effects or similar language in this application do not imply that all features and advantages can be realized in any single embodiment. On the contrary, it can be understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, descriptions of technical features, technical solutions or beneficial effects in this specification do not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in this embodiment may also be combined in any appropriate manner. Those skilled in the art will understand that the embodiments can be implemented without one or more specific technical features, technical solutions or advantageous effects of the specific embodiments. In other embodiments, additional technical features and beneficial effects may also be identified in certain embodiments that do not embody all embodiments.

附图说明Description of drawings

图1为本申请提供的一录多得模式录制原视频的场景示意图;Figure 1 is a schematic diagram of the scene where the original video is recorded in the one-record-many mode provided by this application;

图2为本申请提供的浏览关联显示状态的原视频的场景示意图;FIG. 2 is a schematic diagram of the scene of browsing the original video in the associated display state provided by the present application;

图3为本申请提供的浏览非关联显示状态的原视频的场景示意图;FIG. 3 is a schematic diagram of a scene of browsing an original video in a non-associated display state provided by the present application;

图4为本申请提供的电子设备的硬件结构图;Fig. 4 is the hardware structural diagram of the electronic device provided by the present application;

图5为本申请提供的电子设备的软件架构图;FIG. 5 is a software architecture diagram of the electronic device provided by the present application;

图6为本申请实施例提供的文件处理方法的流程图一;Fig. 6 is a flow chart 1 of the file processing method provided by the embodiment of the present application;

图7为图6示出的流程相关的界面变化示意图;FIG. 7 is a schematic diagram of interface changes related to the process shown in FIG. 6;

图8为本申请实施例提供的文件处理方法的流程图二;FIG. 8 is the second flowchart of the file processing method provided by the embodiment of the present application;

图9为图8示出的流程相关的界面变化示意图;FIG. 9 is a schematic diagram of interface changes related to the process shown in FIG. 8;

图10为本申请实施例提供的文件处理方法的流程图三;FIG. 10 is a flowchart three of the file processing method provided by the embodiment of the present application;

图11为图10示出的流程相关的界面变化示意图一;FIG. 11 is a first schematic diagram of interface changes related to the process shown in FIG. 10;

图12为图10示出的流程相关的界面变化示意图二;Fig. 12 is a second schematic diagram of interface changes related to the process shown in Fig. 10;

图13为本申请实施例提供的文件处理方法的流程图四;FIG. 13 is a flowchart four of the file processing method provided by the embodiment of the present application;

图14为图13示出的流程相关的界面变化示意图;FIG. 14 is a schematic diagram of interface changes related to the process shown in FIG. 13;

图15为本申请实施例提供的文件处理方法的流程图五;FIG. 15 is a flowchart five of the file processing method provided by the embodiment of the present application;

图16为图15示出的流程相关的界面变化示意图;FIG. 16 is a schematic diagram of interface changes related to the process shown in FIG. 15;

图17为本申请实施例提供的文件处理方法的流程图六;FIG. 17 is the sixth flowchart of the file processing method provided by the embodiment of the present application;

图18为图17示出的流程相关的界面变化示意图;FIG. 18 is a schematic diagram of interface changes related to the process shown in FIG. 17;

图19为本申请实施例提供的文件处理方法的流程图七;FIG. 19 is the seventh flowchart of the file processing method provided by the embodiment of the present application;

图20为图19示出的流程相关的界面变化示意图一;FIG. 20 is a first schematic diagram of interface changes related to the process shown in FIG. 19;

图21为图19示出的流程相关的界面变化示意图二;Fig. 21 is a second schematic diagram of interface changes related to the process shown in Fig. 19;

图22为图19示出的流程相关的界面变化示意图三;FIG. 22 is a third schematic diagram of interface changes related to the process shown in FIG. 19;

图23为本申请实施例提供的文件处理方法的流程图八;FIG. 23 is the eighth flowchart of the file processing method provided by the embodiment of the present application;

图24为图23示出的流程相关的界面变化示意图。FIG. 24 is a schematic diagram of interface changes related to the process shown in FIG. 23 .

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请实施例中,“一个或多个”是指一个、两个或两个以上;“和/或”,描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. The terms used in the following examples are for the purpose of describing particular examples only, and are not intended to limit the application. As used in the specification and appended claims of this application, the singular expressions "a", "an", "said", "above", "the" and "this" are intended to also Expressions such as "one or more" are included unless the context clearly dictates otherwise. It should also be understood that in the embodiments of the present application, "one or more" refers to one, two or more than two; "and/or" describes the association relationship of associated objects, indicating that there may be three types of relationships; for example, A and/or B may mean: A exists alone, A and B exist simultaneously, and B exists alone, wherein A and B may be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship.

在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。Reference to "one embodiment" or "some embodiments" or the like in this specification means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "including", "comprising", "having" and variations thereof mean "including but not limited to", unless specifically stated otherwise.

本申请实施例涉及的多个,是指大于或等于两个。需要说明的是,在本申请实施例的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。A plurality referred to in the embodiment of the present application means greater than or equal to two. It should be noted that in the description of the embodiments of the present application, words such as "first" and "second" are only used to distinguish the purpose of description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or imply order.

在介绍本申请实施例之前,首先对本申请实施例涉及的一些术语或概念进行解释。应理解,本申请对以下术语的命名不作具体限定。以下术语可以有其他命名。重新命名的术语仍满足以下相关的术语解释。Before introducing the embodiments of the present application, some terms or concepts involved in the embodiments of the present application are firstly explained. It should be understood that this application does not specifically limit the nomenclature of the following terms. The following terms may have other names. Renamed terms still satisfy the relevant term explanations below.

精彩时刻(magic moment,MM),是指视频录制过程中的一些精彩画面瞬间。例如,MM可以是最佳运动瞬间,最佳表情时刻或最佳打卡动作。可以理解,本申请对术语MM不作限定,MM也可以称作美好时刻,神奇时刻,精彩瞬间,决定性瞬间,精彩关键帧或最佳拍摄(best shot,BS)等。在不同的场景下,精彩时刻可以不同类型的画面瞬间。例如当录制足球比赛视频时,精彩时刻可以是射门或传球时,运动员脚与足球接触的瞬间,精彩时刻也可以是足球飞进球门的瞬间;当录制人物从地面起跳的视频时,精彩时刻可以是人物在空中最高点的瞬间,也可以是人物在空中时动作最舒展的瞬间。Wonderful moment (magic moment, MM) refers to some wonderful picture moments in the process of video recording. For example, MM can be the best movement moment, the best expression moment or the best check-in action. It can be understood that this application does not limit the term MM, and MM can also be called a beautiful moment, a magical moment, a wonderful moment, a decisive moment, a wonderful key frame or a best shot (best shot, BS). In different scenes, wonderful moments can be different types of picture moments. For example, when recording a football game video, the wonderful moment can be the moment when the player’s foot touches the football when shooting or passing the ball, or the moment when the football flies into the goal; when recording a video of a person jumping from the ground, the wonderful moment The moment can be the moment when the character is at the highest point in the air, or the moment when the character is most stretched in the air.

MM标签(TAG),即一种时间标签,MM标签用于指示精彩时刻在录制的视频文件中的位置。例如,在视频文件中包括一个或多个MM标签,MM标签可指示在该视频文件的第10秒、第1分20秒等时刻,视频文件中的对应图像帧为精彩时刻。MM tag (TAG), that is, a time tag, MM tag is used to indicate the position of the wonderful moment in the recorded video file. For example, one or more MM tags are included in the video file, and the MM tag can indicate that at the 10th second, the 1st minute and 20th second, etc. of the video file, the corresponding image frame in the video file is a wonderful moment.

MM节点,用于对拍摄的视频流进行分析,识别或决策精彩时刻,并在识别到精彩时刻时自动触发拍照。MM节点也称作MM决策引擎,BS决策引擎,MM决策模块等,这些术语具备如前所示的MM节点的功能。The MM node is used to analyze the captured video stream, identify or make decisions about the wonderful moments, and automatically trigger the photo taking when the exciting moments are identified. The MM node is also called MM decision engine, BS decision engine, MM decision module, etc. These terms have the functions of the MM node shown above.

一录多得,可以理解为是用户使用相机应用拍摄视频时,通过一次按下“拍摄”图标,可以得到包括一张或多张精彩时刻的照片、以及AI配置文件的功能。其中,AI配置文件可以记录在视频的head中,或者存储在其他的位置。AI配置文件中记录了用户拍摄视频的场景、精彩关键帧、视频模板、精彩片段等信息。AI配置文件可以用于生成精彩短视频。AI配置文件可包括视频的标签(TAG)。或者,手机可得到标签数据,该标签数据包括视频的标签(TAG)。并且,该标签数据可添加于视频中,通常位于视频头。例如,AI配置文件中记录的信息可以包括视频整体场景标签、精彩关键帧(也可以称为是精彩时刻的图像帧或者精彩时刻的照片)、精彩关键帧的前N帧、以及精彩关键帧的后n帧,进而通过AI配置文件生成的精彩短视频中,具有用户拍摄视频中的精彩片段。其中,N和n均为正整数。又例如,AI配置文件中记录的信息具体可以是MM标签、视频整体场景标签、分段场景标签、分镜标签、质量好的视频帧的标签等等。It can be understood that when the user uses the camera application to shoot a video, by pressing the "shoot" icon once, he can get a photo including one or more wonderful moments, as well as the function of the AI configuration file. Among them, the AI configuration file can be recorded in the head of the video, or stored in other locations. The AI configuration file records information such as the scene where the user shoots the video, key frames, video templates, and highlights. AI profiles can be used to generate exciting short videos. The AI profile may include a tag (TAG) for the video. Alternatively, the cell phone may obtain tag data, which includes the tag (TAG) of the video. Also, the tag data can be added to the video, usually at the video header. For example, the information recorded in the AI configuration file may include the overall scene label of the video, the key frame of the highlight (also called the image frame of the highlight moment or the photo of the highlight moment), the previous N frames of the key frame of the highlight, and the key frame of the highlight In the next n frames, the wonderful short video generated through the AI configuration file has the wonderful clips in the video shot by the user. Wherein, both N and n are positive integers. For another example, the information recorded in the AI configuration file may specifically include MM tags, overall video scene tags, segmented scene tags, shot-by-shot tags, tags of high-quality video frames, and the like.

在另一些实施例中,可以不通过AI配置文件生成精彩短视频。示例性的,当用户点击一键大片控制时,可以触发电子设备直接只能识别一录多得模式下录制的视频进行智能识别,得到视频的标签,进而使用视频的标签,生成精彩短视频。In some other embodiments, the exciting short video may not be generated through an AI configuration file. Exemplarily, when the user clicks the one-button blockbuster control, the electronic device can be triggered to directly recognize the video recorded in the one-record-many mode for intelligent identification, obtain the video tag, and then use the video tag to generate a wonderful short video.

其中,精彩短视频中可以包括精彩照片,也可以不包括精彩照片。视频整体场景标签也可以称为视频整体摘要标签,主要用于指示视频整体的拍摄场景,本申请对于视频整体场景标签的术语不作限定。例如,视频整体场景标签可以为美食标签、夜景标签等。Wherein, the wonderful short video may or may not include wonderful photos. The overall video scene tag can also be called the overall video summary tag, which is mainly used to indicate the overall shooting scene of the video. This application does not limit the term of the overall video scene tag. For example, the overall scene tag of the video may be a food tag, a night scene tag, and the like.

一录多得的实现过程可以是:MM节点在录像过程中自动识别精彩时刻并触发抓拍,得到MM的照片;在录制结束后,用户查看录制视频时可以向用户推荐精彩时刻(MM)的照片以及精彩短视频(或称作精选短视频,或精彩视频,或精选视频)。可以理解的是,通过一录多得获得的精彩短视频的时长小于整段完整视频的时长。例如,录制的整段完整视频为1分钟,可以得到4张精彩时刻的照片和时长为15秒的精彩短视频。还可以理解,一录多得也可有其他名称,比如,一键多得,一键多拍,一键出片,一键大片,AI一键大片等。The realization process of one record can be as follows: the MM node automatically recognizes the wonderful moment during the recording process and triggers the capture to get the photo of MM; after the recording is over, the user can recommend the photo of the wonderful moment (MM) to the user when viewing the recorded video And wonderful short videos (or called featured short videos, or wonderful videos, or featured videos). It is understandable that the duration of the wonderful short video obtained through one record is shorter than the duration of the entire complete video. For example, the entire recorded video is 1 minute, and you can get 4 photos of exciting moments and a wonderful short video with a duration of 15 seconds. It is also understandable that one-click multi-shot can also have other names, such as one-click multi-shot, one-click multi-shot, one-click movie, one-click blockbuster, AI one-click blockbuster, etc.

手动抓拍,在录像过程中,可同时进行手动拍照,获得期望拍摄的画面。MM节点可以用于根据手动抓拍的照片对拍摄的视频流进行分析,识别或决策精彩时刻。Manual capture, during the video recording process, you can also manually take pictures at the same time to obtain the desired picture. The MM node can be used to analyze captured video streams based on manually captured photos, and identify or make decisions about exciting moments.

视频模板,可以理解为是视频效果模板,即用于为视频实现各种特殊效果的模板。例如,视频模板可以包括风格和音乐。这里的风格可以是滤镜,即通过套用滤镜来对该视频进行调色处理。滤镜是视频特效的一种,用来实现视频的各种特殊效果。可选地,这里的风格也可以是快放、慢放等视频效果。可选地,风格还可以是转场效果、贴纸、特效等等。A video template can be understood as a video effect template, that is, a template used to implement various special effects for a video. For example, a video template can include style and music. The style here may be a filter, that is, the video is color-graded by applying a filter. Filter is a kind of video special effect, which is used to realize various special effects of video. Optionally, the style here may also be video effects such as fast forward and slow forward. Optionally, the style may also be transition effects, stickers, special effects, and so on.

实体相册:指的是电子设备的图库中实际用于存储照片的相册,例如相机相册,用于实际存储相机拍摄的照片和视频。又例如截图相册,用于实际存储手机的截图。又例如一录多得相册,用于实际存储精彩时刻的照片以及用户保存后的精彩短视频。同一实体相册中各个照片和视频的路径一般是相同的。例如,截图相册中各个照片和视频的路径均为:data/picture/screen shot。Physical album: refers to the album in the electronic device's gallery that is actually used to store photos, such as a camera album, which is used to actually store photos and videos taken by the camera. Another example is the screenshot album, which is used to actually store the screenshots of the mobile phone. Another example is the one-record-multiple-album, which is used to actually store photos of wonderful moments and wonderful short videos saved by users. The path of each photo and video in the same physical album is generally the same. For example, the path of each photo and video in the screenshot album is: data/picture/screen shot.

虚拟相册:虚拟相册也是电子设备的图库中的相册,虚拟相册区别于实体相册,并不是实际存储了图片和视频的相册,主要用于归纳收集图库中的一些图片和视频,虚拟相册中查看到的图片和视频实际存储在多个不同的实体相册中。例如,图库中的视频相册、所有照片相册等为虚拟相册。视频相册中归纳了图库中所有不同的实体相册中的视频。所有照片相册中归纳了所有实际相册中的图片和视频。同一虚拟相册中各个照片和视频的路径可以不相同。Virtual photo album: virtual photo album is also the photo album in the gallery of electronic devices. The virtual photo album is different from the physical photo album. It is not the photo album that actually stores pictures and videos. It is mainly used to summarize and collect some pictures and videos in the photo gallery. Viewed in the virtual photo album The pictures and videos of are actually stored in several different physical albums. For example, the video album, all photo album, etc. in the gallery are virtual albums. The video album summarizes videos from all the different physical albums in the gallery. The All Photos album is a collection of pictures and videos from all actual albums. The path of each photo and video in the same virtual album can be different.

关联显示:可以理解为是在原视频的第一详情界面上关联显示原视频以及原视频对应的精彩时刻的照片的显示方式。其中,本申请实施例所提及的原视频,均可以理解为是在一录多得模式下录制得到的原始视频。关联显示的模式可以应用于通过实体相册,和/或,虚拟相册查看一录多得模式下录制的原视频的第一详情界面的场景。即通过实体相册宫格界面(例如相机相册界面、照片宫格界面)和虚拟相册(例如视频相册、我的收藏相册、所有照片相册)查看原视频时,可在原视频的第一详情界面上浏览到原视频对应的精彩时刻的照片,进而称原视频和精彩照片关联显示。在一些实施例中,为了区别于不关联显示精彩时刻的照片的视频,处于关联显示状态的原视频缩略图中带有特定标识。不处于关联显示状态的原视频缩略图则不带有特定标识。其中,关联显示的场景还有其他的示例,具体可根据实际需求进行设定,此处不再赘述。Associated display: it can be understood as a method of displaying the original video and photos of exciting moments corresponding to the original video in association on the first detail interface of the original video. Wherein, the original video mentioned in the embodiment of the present application can be understood as the original video recorded in the one-record-multiple-get mode. The associated display mode can be applied to the scene of viewing the first detail interface of the original video recorded in the one-record-multiple mode through the physical album and/or the virtual album. That is, when viewing the original video through the physical album grid interface (such as camera album interface, photo grid interface) and virtual albums (such as video album, my favorite album, all photo album), you can browse on the first detail interface of the original video To the photo of the wonderful moment corresponding to the original video, it is called the associated display of the original video and the wonderful photo. In some embodiments, in order to distinguish it from videos that are not associated with photos showing exciting moments, the thumbnails of the original videos in an associated display state have a specific logo. The original video thumbnails that are not in the associated display state do not carry a specific logo. Among them, there are other examples of associated displayed scenes, which can be set according to actual needs, and will not be repeated here.

非关联显示:可以理解为是在一录多得下录制的原视频的第一详情界面上,仅显示原视频,不关联显示原视频对应的精彩时刻的照片的显示方式。非关联显示的模式,可以应用在自研应用或第三方应用调用所有照片、回收站、智慧相册、地图相册、搜索结果、隐藏相册和共享相册的场景。即通过自研应用或第三方应用调用所有照片时,点击所有照片界面上原视频缩略图,进入原视频的第一详情界面,详情界面上只用于显示原视频,不关联显示精彩时刻的照片。其中,非关联显示的场景还有其他的示例,具体可根据实际需求进行设定,此处不再赘述。Non-associated display: It can be understood as a method of displaying only the original video on the first detail interface of the original video recorded under one record, and not displaying the photos of the exciting moments corresponding to the original video. The non-associated display mode can be applied to scenarios where self-developed apps or third-party apps call all photos, recycle bins, smart albums, map albums, search results, hidden albums, and shared albums. That is, when calling all photos through a self-developed application or a third-party application, click the thumbnail of the original video on the all photos interface to enter the first detail interface of the original video. The details interface is only used to display the original video, not related to display photos of exciting moments. Among them, there are other examples of non-associated display scenarios, which can be set according to actual needs, and will not be repeated here.

为了提升在录像模式下获得的精彩时刻的图像质量,本申请引入“一录多得”模式,即在录像模式中录制视频时,通过分析视频流,自动识别精彩时刻,并在识别到精彩时刻时自动触发拍照,以获得精彩时刻的照片。另外,当视频录制完成时,可在图库查看到精彩时刻的照片以及精彩短视频。通过“一录多得”模式,在无需用户做剪辑、抓拍等操作下,即可满足用户在录制视频时捕捉值得纪念的精彩瞬间照片的需求,以及使用录制好的视频剪辑制作出短视频的需求。相比于随机获取录制视频中的照片,本申请实施例的视频处理方法获得的精彩时刻的图像质量更高,用户体验更好。In order to improve the image quality of the wonderful moments obtained in the video recording mode, this application introduces the "one record, multiple" mode, that is, when recording a video in the video recording mode, by analyzing the video stream, the wonderful moments are automatically identified, and when the wonderful moments are identified Automatically trigger the camera to capture the photos of the wonderful moments. In addition, when the video recording is completed, you can view photos of exciting moments and wonderful short videos in the gallery. Through the "one record, multiple" mode, without the need for users to do editing, snapping and other operations, it can meet the needs of users to capture memorable moments when recording videos, and use the recorded video clips to create short videos. need. Compared with randomly obtaining photos in a recorded video, the video processing method of the embodiment of the present application obtains higher image quality of exciting moments and better user experience.

示例性的,参阅图1,本申请实施例中采用“一录多得”模式录制视频的过程可以是:Exemplarily, referring to Figure 1, the process of recording video in the "one record, many" mode in the embodiment of the present application may be:

如图1中(1)所示,手机的屏幕显示了当前输出的界面内容,该界面内容显示了多款应用程序(application,App)的应用图标。用户可以通过在手机桌面上点击“相机”应用图标101,指示手机开启相机应用(后续称为相机),手机显示如图1中(2)所示的拍摄界面。As shown in (1) in FIG. 1 , the screen of the mobile phone displays currently output interface content, and the interface content displays application icons of various application programs (application, App). The user can click the "camera" application icon 101 on the desktop of the mobile phone to instruct the mobile phone to open the camera application (hereinafter referred to as camera), and the mobile phone displays the shooting interface as shown in (2) in FIG. 1 .

如图1中(2)所示,相机的拍摄界面一般包括有取景框102、拍照控件、录像控件以及设置控件等多个控件(比如人像功能控件、夜景功能控件或更多其他控件)。用户通过点击录像控件可以开启录像模式,手机可以显示如图1中(3)所示的录制界面。用户通过点击“设置”控件103,可以进入设置界面,手机显示如图1中(4)所示的界面。图1中(4)所示的界面中显示开启“一录多得”的选项104,用于开启一录多得的功能。也就是说,当用户开启该功能后,手机处于录像模式时会自动采用本申请实施例提供的视频处理方法,在录制视频时MM节点智能识别精彩时刻,识别到精彩时刻内容后将自动生成精彩时刻的照片和AI配置文件。当然,用户也可以通过该选项104,手动关闭录像模式下的一录多得功能。As shown in (2) in FIG. 1 , the shooting interface of the camera generally includes multiple controls such as a viewfinder frame 102, a camera control, a video control, and a setting control (such as a portrait function control, a night scene function control or more other controls). The user can start the recording mode by clicking the recording control, and the mobile phone can display the recording interface as shown in (3) in FIG. 1 . The user can enter the setting interface by clicking the "settings" control 103, and the mobile phone displays the interface as shown in (4) in FIG. 1 . The interface shown in (4) in FIG. 1 displays the option 104 of enabling "multiple access for one record", which is used to enable the function of multiple access for one record. That is to say, when the user turns on this function, the mobile phone will automatically adopt the video processing method provided by the embodiment of the present application when the mobile phone is in the video recording mode. When recording the video, the MM node can intelligently identify the wonderful moment, and automatically generate the wonderful moment after identifying the content of the wonderful moment. Moment photos and AI profiles. Of course, the user can also manually turn off the multiple recording function in the video recording mode through the option 104 .

可以理解,图1中(4)所示的设置界面也可以包括其他关于录像设置的控件,比如,视频分辨率的设置控件、视频帧率的设置控件等,图1中(4)所示的控件只是示例性描述。It can be understood that the setting interface shown in (4) in Figure 1 can also include other controls about video recording settings, such as, the setting controls of video resolution, the setting controls of video frame rate, etc., as shown in (4) in Figure 1 Controls are exemplary descriptions only.

在开启一录多得选项后,用户点击图1中的(4)示出的返回控件105,手机可重新回到图1中的(3)示出的界面,进而点击录制控件106进行录像。在另一些实施例中,一录多得的选项是默认开启的,用户可不需要点击图1中(3)示出的设置控件103,而是直接点击图1中(3)示出的录制控件106,即可在一录多得模式下进行录制。After opening the option of multiple recordings, the user clicks the return control 105 shown in (4) in Figure 1, and the mobile phone can return to the interface shown in (3) in Figure 1, and then clicks on the recording control 106 to record. In some other embodiments, the option of multiple recordings is enabled by default, and the user does not need to click the setting control 103 shown in (3) in Figure 1, but directly clicks the recording control shown in (3) in Figure 1 106, you can record in the one-record-multiple-get mode.

图1中(5)所示的界面示出了录制过程中的一个画面(比如第11秒时的画面)。图1中(5)所示的界面中包括录像停止控件107、录像暂停控件108以及拍照键109。在录像过程中,用户可以点击拍照键109手动抓取照片。当用户在图1中的(5)点击录像停止控件107之后,结束录制过程,此时手机界面显示如图1中(6)所示的界面,图1中(6)所示的界面是录制结束后的预览界面,界面中可弹出一个气泡窗口110,窗口110中显示的内容是:“已生成“一录多得”精彩照片并可一键创作大片”。在另一些实施例中,若首次使用一录多得功能结束录制之后,仅生成精彩照片,则窗口110中可以显示“已生成“一录多得”精彩照片”,在另一些实施例中,若首次使用一录多得功能结束录制之后,仅生成AI配置文件,则窗口110中可以显示“一录多得”视频可一键创作大片”。其中,图1中(6)中的预览图111是录制的原视频缩略图。如果用户点击111,则可以进入图库应用(后续称为图库)呈现录制的原视频。The interface shown in (5) in FIG. 1 shows a picture during the recording process (for example, the picture at the 11th second). The interface shown in (5) in FIG. 1 includes a recording stop control 107 , a recording pause control 108 and a camera key 109 . During the recording process, the user can click the camera button 109 to manually capture a photo. After the user clicks the video recording stop control 107 in (5) in Fig. 1, the recording process ends, and now the mobile phone interface displays the interface shown in (6) in Fig. 1, and the interface shown in (6) in Fig. 1 is recording In the preview interface after the end, a bubble window 110 can pop up in the interface, and the content displayed in the window 110 is: "The wonderful photos of "one record and more" have been generated and blockbuster movies can be created with one click". In some other embodiments, if only a wonderful photo is generated after using the one-record-multiple-get function for the first time to end the recording, then window 110 may display "Generated "one-record-multiple-get" wonderful photo". In other embodiments, If only the AI configuration file is generated after using the one-record-multiple-get function for the first time to end the recording, then window 110 can display "one-record multiple-get" video can create blockbuster with one click". Among them, the preview image in (6) in Figure 1 111 is the thumbnail of the original recorded video. If the user clicks on 111, the gallery application (subsequently referred to as gallery) can be entered to present the original recorded video.

在一录多得模式下完成录制之后,得到了原视频、原视频对应的精彩时刻的照片以及原视频对应的AI配置文件。可以通过点击图1的(6)中的预览图111,进入图库查看录制的原视频、精彩时刻的照片以及AI配置文件所生成的精彩短视频,也可以通过点击图库应用进入查看。After the recording is completed in the one-record-multiple-record mode, the original video, photos of the exciting moments corresponding to the original video, and the AI configuration file corresponding to the original video are obtained. You can click the preview image 111 in (6) in Figure 1 to enter the gallery to view the recorded original video, photos of wonderful moments, and wonderful short videos generated by the AI configuration file, or you can click on the gallery application to view it.

示例性的,在一录多得模式下完成原视频的录制之后,查看原视频、原视频对应的精彩时刻的照片以及精彩短视频的过程,可以是:Exemplarily, after the original video is recorded in the one-record-multiple-get mode, the process of viewing the original video, photos of exciting moments corresponding to the original video, and exciting short videos may be:

如图2的(1)所示,手机的屏幕显示了当前输出的界面内容,该界面内容显示了多款App的应用图标。用户点击“图库”应用图标201,进入指示手机开启图库应用,手机显示如图2中(2)所示的照片宫格界面。图2中的(2)示出了用户拍摄照片以及视频的缩略图。其中,采用一录多得模式得到的原视频缩略图202上,可显示“AI”图标。在一些实施例中,缩略图上显示的“AI”图标用于标识该视频是在“一录多得”模式下录制得到的。在另一些实施例中,“AI”图标用于标识该视频处于关联状态。当某一视频(例如上述原视频)为关联状态时,点进原视频缩略图之后,除了可浏览原视频,还可关联浏览精彩时刻的照片。原视频不为关联状态时,则不可关联浏览到精彩时刻的照片。在另一些实施例中“AI”图标用于标识该视频关联显示了精彩时刻的照片或者精彩短视频。As shown in (1) of FIG. 2 , the screen of the mobile phone displays the currently output interface content, and the interface content displays application icons of various Apps. The user clicks the "Gallery" application icon 201 to enter and instruct the mobile phone to open the gallery application, and the mobile phone displays a photo grid interface as shown in (2) in FIG. 2 . (2) in FIG. 2 shows thumbnails of photos and videos taken by the user. Wherein, the "AI" icon may be displayed on the original video thumbnail 202 obtained by adopting the one-record-multiple-get mode. In some embodiments, the "AI" icon displayed on the thumbnail is used to identify that the video is recorded in the "one record multiple" mode. In other embodiments, the "AI" icon is used to indicate that the video is in an associated state. When a certain video (such as the original video above) is in an associated state, after clicking on the thumbnail of the original video, in addition to browsing the original video, you can also browse photos of exciting moments in association. When the original video is not linked, you cannot link to browse to the photos of the exciting moments. In some other embodiments, the "AI" icon is used to identify that the video is associated with a photo or a wonderful short video showing a wonderful moment.

用户点击图2的(2)中示出的采用一录多得模式得到的原视频缩略图202,手机显示如图2的(3)示出的画面。图2的(3)所示的界面是录制的原视频在图库应用中的一个呈现。在图2中(3)所示的界面中,浏览区203中显示有录制的原视频的首帧,浏览区203的下方包括精彩时刻区204。精彩时刻区204用于展示原视频和原视频对应的精彩时刻的照片(或者称为原视频关联的精彩时刻的照片)。比如,精彩时刻区204中包括原视频缩略图和5张精彩时刻的照片缩略图。The user clicks the thumbnail 202 of the original video obtained in the one-record-multiple-get mode shown in (2) of FIG. 2 , and the mobile phone displays the screen shown in (3) of FIG. 2 . The interface shown in (3) of FIG. 2 is a presentation of the recorded original video in the gallery application. In the interface shown in (3) in FIG. 2 , the first frame of the recorded original video is displayed in the browsing area 203 , and the highlight moment area 204 is included below the browsing area 203 . The exciting moment area 204 is used to display the original video and the photos of the exciting moments corresponding to the original video (or referred to as the photos of the exciting moments associated with the original video). For example, the wonderful moment area 204 includes a thumbnail of the original video and 5 thumbnails of photos of the wonderful moment.

如果是首次进入该视频,图2的(3)示出的画面中会出现引导框205(或称作提示框),引导框205用于向用户提示以下信息:“一录多得”为您智能抓拍多个精彩瞬间。也就是说,引导框205用于告知精彩时刻区204中包含精彩时刻的照片缩略图。作为一种可选的实现方式,当显示引导框205时,为了更好地提醒用户,可以对引导框205进行高亮显示,此时图2中(3)所示的界面中除引导框205和精彩时刻区204外,其余的部分可以调低显示亮度,以便凸显引导框205和精彩时刻区204。当然,如果不是首次进入该视频,则不会出现引导框204,也不需要突出显示引导框205。If it is the first time to enter the video, a guide frame 205 (or a prompt frame) will appear in the picture shown in (3) of Figure 2, and the guide frame 205 is used to prompt the user with the following information: "One record gets more" for you Intelligently capture multiple wonderful moments. That is to say, the guide frame 205 is used to inform that the highlight moment area 204 contains the photo thumbnails of the highlight moment. As an optional implementation, when the guide frame 205 is displayed, in order to better remind the user, the guide frame 205 can be highlighted. At this time, in the interface shown in (3) in FIG. Except for the wonderful moment area 204, the display brightness of the remaining parts can be lowered so as to highlight the guide frame 205 and the exciting moment area 204. Of course, if the video is not entered for the first time, the guide frame 204 will not appear, and the guide frame 205 does not need to be highlighted.

另外,图2中(3)所示的界面中还包括位于精彩时刻区204下方的工具栏,工具栏中包括分享、收藏、编辑、删除、更多等选项,以便用户对原视频进行相应操作。In addition, the interface shown in (3) in FIG. 2 also includes a toolbar located below the wonderful moment area 204. The toolbar includes options such as share, favorite, edit, delete, and more, so that the user can perform corresponding operations on the original video. .

当用户点击图2的(3)中调低了显示亮度的区域的任意位置时,引导框204消失,界面的显示亮度一致,浏览区203中显示的原视频开始自动播放,图2的(4)为自动播放原视频时的界面。在图2的(4)示出的界面上,通过滑动或者点击精彩时刻区204中的缩略图至当前项指引框2041的方式,可以在浏览区203中显示当前项指引框2041所选中的精彩时刻的照片或者原视频。即当前项指引框2041用于指示浏览区203当前显示的图像。例如图2的(4)示出的界面中,当前项指引框2041所选中的是原视频缩略图,因此浏览区203中显示的是原视频。在一些实施例中,相册还可以在浏览区203显示“一键大片”图标206,图标206可靠近精彩时刻区204。用户点击图2的(4)示出的界面“一键大片”图标206,手机即可利用与原视频关联的AI配置文件,生成精彩短视频,并播放精彩短视频。When the user clicks any position in the region where the display brightness has been lowered in (3) of Figure 2, the guide frame 204 disappears, the display brightness of the interface is consistent, and the original video displayed in the browsing area 203 starts to play automatically, and (4) of Figure 2 ) is the interface when the original video is played automatically. On the interface shown in (4) of FIG. 2 , by sliding or clicking the thumbnail in the highlight moment area 204 to the current item guide frame 2041, the highlights selected by the current item guide frame 2041 can be displayed in the browsing area 203 Instant photos or original videos. That is, the current item guide box 2041 is used to indicate the image currently displayed in the browsing area 203 . For example, in the interface shown in (4) of FIG. 2 , what is selected in the guide box 2041 of the current item is the original video thumbnail, so what is displayed in the browsing area 203 is the original video. In some embodiments, the photo album can also display a “one-click blockbuster” icon 206 in the browsing area 203 , and the icon 206 can be close to the highlights area 204 . The user clicks the icon 206 of the interface "one-click blockbuster" shown in (4) of Figure 2, and the mobile phone can use the AI configuration file associated with the original video to generate a wonderful short video and play the wonderful short video.

当用户在精彩时刻区204中进行滑动操作,将精彩时刻区指示的当前项移动到了一张精彩时刻的照片的位置时,进入到图2的(5)示出的界面,在图2的(5)示出的界面可知,当前项引导框2041所选中的缩略图变为了一张精彩时刻的照片缩略图,浏览区203显示当前项引导框2041所指示的精彩时刻的照片。When the user performs a sliding operation in the wonderful moment area 204, and the current item indicated by the wonderful moment area is moved to the position of a photo of a wonderful moment, the interface shown in (5) of FIG. 2 is entered, and the ( 5) As can be seen from the interface shown, the thumbnail image selected by the guide frame 2041 of the current item becomes a thumbnail image of a photo of a wonderful moment, and the browsing area 203 displays the photo of the wonderful moment indicated by the guide frame 2041 of the current item.

前述的图2所描述的是查看处于关联显示状态的原视频时的界面场景。接下来介绍查看处于非关联状态的原视频的场景。参阅图3,当第三方应用或自研应用调用所有照片相册时,手机输出如图3的(1)示出的所有照片的宫格界面,图3的(1)示出的界面中包括有原视频缩略图301,以及原视频关联的5张精彩时刻的照片。原视频缩略图301区别于图2的(2)示出的原视频缩略图202,不显示有“AI”标识。本实施例中,原视频缩略图301不显示有“AI”标识时,说明原视频不处于关联显示状态。因此,点击原视频的缩略图301,进入图3的(2)示出的原视频的第一详情界面,图3的(2)示出的原视频的第一详情界面则区别与图2的(4)示出的详情界面,不关联显示精彩时刻区,无法在图3的(2)示出的界面上浏览精彩时刻的照片。但图3的(2)示出的界面上,仍然可以显示有一键大片控件302,点击一键大片控件302时,仍然可以浏览精彩短视频。在另一些实施例中,图3的(2)示出的界面上也可以不显示有一键大片控件302,即非关联显示状态下,原视频不再关联显示精彩时刻的照片和精彩短视频。The aforementioned FIG. 2 describes the interface scene when viewing the original video in the associated display state. Next, we will introduce the scenario of viewing the original video in an unassociated state. Referring to Figure 3, when a third-party application or a self-developed application calls all photo albums, the mobile phone outputs a grid interface for all photos as shown in (1) in Figure 3, and the interface shown in Figure 3 (1) includes The thumbnail image 301 of the original video, and 5 photos of wonderful moments associated with the original video. The original video thumbnail 301 is different from the original video thumbnail 202 shown in (2) of FIG. 2 , and does not display the "AI" logo. In this embodiment, when the original video thumbnail 301 does not display the "AI" mark, it means that the original video is not in the associated display state. Therefore, click the thumbnail image 301 of the original video, enter the first details interface of the original video shown in (2) of Figure 3, and the first details interface of the original video shown in (2) of Figure 3 is then different from that of Figure 2 The details interface shown in (4) is not associated with the display of the wonderful moment area, and the photos of the wonderful moment cannot be browsed on the interface shown in (2) of FIG. 3 . However, on the interface shown in (2) of FIG. 3 , the one-key blockbuster control 302 can still be displayed, and when the one-key blockbuster control 302 is clicked, the wonderful short video can still be browsed. In some other embodiments, the one-click blockbuster control 302 may not be displayed on the interface shown in (2) of FIG.

由前述介绍可知,虽然本申请实施例中通过一录多得模式,可以在不需要用户手动抓拍的情况下,即可自动捕捉到精彩时刻的照片,且不需要用户自动对原视频进行剪辑的情况下,即可利用AI配置文件生成精彩短视频,满足了用户在录制视频的同时捕捉值得纪念的精彩瞬间照片的需求,以及使用录制好的视频剪辑制作出短视频的需求。但一录多得模式下所包括的场景繁多,具有关联显示的场景、非关联显示的场景等等。一录多得模式下展示原视频和精彩时刻照片的场景繁多,因此需要易于用户操作的原视频、精彩时刻的照片的删除方式,方便用户对一录多得模式下生成的文件进行管理。As can be seen from the foregoing introduction, although the one-record-multiple-get mode in the embodiment of the present application can automatically capture photos of exciting moments without the need for users to manually capture photos, and does not require users to automatically edit the original video Under certain circumstances, you can use the AI configuration file to generate wonderful short videos, which meets the needs of users to capture memorable photos of wonderful moments while recording videos, and to use recorded video clips to create short videos. However, the one-record-multiple mode includes various scenes, such as scenes with associated display, scenes with non-associated display, and so on. In the one-record-multiple-get mode, there are many scenes to show the original video and the photos of the wonderful moments, so it is necessary for the user to delete the original video and the photos of the wonderful moments that are easy for the user to manage the files generated in the one-record-multiple-get mode.

为了方便用户管理一录多得模式下生成的各种文件,本申请实施例提出了一种文件处理方法,为用户提供不同场景下,删除管理精彩时刻的照片和原视频的便捷操作方案,以提升用户体验。本申请实施例提供的文件处理方法可以适用于各种电子设备。In order to facilitate users to manage various files generated under the one-record-multiple-get mode, the embodiment of this application proposes a file processing method, which provides users with a convenient operation scheme for deleting and managing photos and original videos of wonderful moments in different scenarios. Improve user experience. The file processing method provided in the embodiment of the present application may be applicable to various electronic devices.

在本申请的一些实施例中,该电子设备可以是手机、智慧屏、平板电脑、可穿戴电子设备、车载电子设备、增强现实(augmented reality,AR)设备、虚拟现实(virtualreality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)、投影仪等等。In some embodiments of the present application, the electronic device may be a mobile phone, a smart screen, a tablet computer, a wearable electronic device, a vehicle electronic device, an augmented reality (augmented reality, AR) device, a virtual reality (virtual reality, VR) device, Notebooks, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), projectors, and more.

下文以电子设备为手机为例,图4示出了本申请实施例提供的一种电子设备400的结构示意图。图4示出了一种适用于本申请的电子设备的硬件系统。Hereinafter, the electronic device is taken as an example of a mobile phone, and FIG. 4 shows a schematic structural diagram of an electronic device 400 provided in an embodiment of the present application. Fig. 4 shows a hardware system applicable to the electronic device of this application.

电子设备400可以包括处理器410,外部存储器接口420,内部存储器421,通用串行总线(universal serial bus,USB)接口430,充电管理模块440,电源管理模块441,电池442,天线1,天线2,移动通信模块450,无线通信模块460,音频模块470,扬声器470A,受话器470B,麦克风470C,耳机接口470D,传感器模块480,按键490,马达491,指示器492,摄像头493,显示屏494,以及用户标识模块(subscriber identification module,SIM)卡接口495等。The electronic device 400 may include a processor 410, an external memory interface 420, an internal memory 421, a universal serial bus (universal serial bus, USB) interface 430, a charging management module 440, a power management module 441, a battery 442, an antenna 1, and an antenna 2 , mobile communication module 450, wireless communication module 460, audio module 470, speaker 470A, receiver 470B, microphone 470C, earphone jack 470D, sensor module 480, button 490, motor 491, indicator 492, camera 493, display screen 494, and A subscriber identification module (subscriber identification module, SIM) card interface 495 and the like.

其中,传感器模块480可以包括压力传感器480A,陀螺仪传感器480B,气压传感器480C,磁传感器480D,加速度传感器480E,距离传感器480F,接近光传感器480G,指纹传感器480H,温度传感器480J,触摸传感器480K,环境光传感器480L,骨传导传感器480M等。Among them, the sensor module 480 may include a pressure sensor 480A, a gyroscope sensor 480B, an air pressure sensor 480C, a magnetic sensor 480D, an acceleration sensor 480E, a distance sensor 480F, a proximity light sensor 480G, a fingerprint sensor 480H, a temperature sensor 480J, a touch sensor 480K, an environment Light sensor 480L, bone conduction sensor 480M, etc.

需要说明的是,图4所示的结构并不构成对电子设备400的具体限定。在本申请另一些实施例中,电子设备400可以包括比图4所示的部件更多或更少的部件,或者,电子设备400可以包括图4所示的部件中某些部件的组合,或者,电子设备400可以包括图4所示的部件中某些部件的子部件。图4示的部件可以以硬件、软件、或软件和硬件的组合实现。It should be noted that the structure shown in FIG. 4 does not constitute a specific limitation on the electronic device 400 . In other embodiments of the present application, the electronic device 400 may include more or fewer components than those shown in FIG. 4 , or the electronic device 400 may include a combination of some of the components shown in FIG. 4 , or , the electronic device 400 may include subcomponents of some of the components shown in FIG. 4 . The components shown in FIG. 4 can be realized in hardware, software, or a combination of software and hardware.

处理器410可以包括一个或多个处理单元。例如,处理器410可以包括以下处理单元中的至少一个:应用处理器(applicationprocessor,AP)、调制解调处理器、图形处理器(graphics processing unit,GPU)、图像信号处理器(image signal processor,ISP)、控制器、视频编解码器、数字信号处理器(digital signal processor,DSP)、基带处理器、神经网络处理器(neural-networkprocessing unit,NPU)。其中,不同的处理单元可以是独立的器件,也可以是集成的器件。在一些实施例中,处理器410可以执行本申请实施例提出的任一文件处理方法,具体可参阅图6、图8、图10、图13、图15、图17、图19以及图23的相关内容,此处不再赘述。Processor 410 may include one or more processing units. For example, the processor 410 may include at least one of the following processing units: an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, neural network processor (neural-networkprocessing unit, NPU). Wherein, different processing units may be independent devices or integrated devices. In some embodiments, the processor 410 can execute any file processing method proposed in the embodiment of the present application, for details, please refer to FIG. 6, FIG. 8, FIG. 10, FIG. 13, FIG. 15, FIG. 17, FIG. 19 and FIG. Relevant content will not be repeated here.

控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.

处理器410中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器410中的存储器为高速缓冲存储器。该存储器可以保存处理器410刚用过或循环使用的指令或数据。如果处理器410需要再次使用该指令或数据,可从存储器中直接调用。避免了重复存取,减少了处理器410的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 410 for storing instructions and data. In some embodiments, the memory in processor 410 is a cache memory. The memory may hold instructions or data that the processor 410 has just used or recycled. If the processor 410 needs to use the instruction or data again, it can be directly recalled from the memory. Repeated access is avoided, and the waiting time of the processor 410 is reduced, thus improving the efficiency of the system.

图4所示的各模块间的连接关系只是示意性说明,并不构成对电子设备400的各模块间的连接关系的限定。可选地,电子设备400的各模块也可以采用上述实施例中多种连接方式的组合。The connection relationship between the modules shown in FIG. 4 is only a schematic illustration, and does not constitute a limitation on the connection relationship between the modules of the electronic device 400 . Optionally, each module of the electronic device 400 may also adopt a combination of various connection modes in the foregoing embodiments.

电子设备400可以通过GPU、显示屏494以及应用处理器实现显示功能。GPU为图像处理的微处理器,连接显示屏494和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器410可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 400 can realize the display function through the GPU, the display screen 494 and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 494 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 410 may include one or more GPUs that execute program instructions to generate or alter display information.

显示屏494可以用于显示图像或视频。显示屏494包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)、有源矩阵有机发光二极体(active-matrix organic light-emitting diode,AMOLED)、柔性发光二极管(flex light-emitting diode,FLED)、迷你发光二极管(mini light-emitting diode,Mini LED)、微型发光二极管(micro light-emitting diode,Micro LED)、微型OLED(Micro OLED)或量子点发光二极管(quantum dotlight emitting diodes,QLED)。在一些实施例中,电子设备400可以包括1个或N个显示屏494,N为大于1的正整数。作为一种可能的实现方式,在用户查看精彩时刻的照片和精彩短视频时,显示屏494可用于显示精彩时刻的照片以及精彩短视频。作为另一种可能的实现方式,在用户删除精彩时刻的照片或删除原视频时,显示屏494可用于显示删除提示框。Display 494 may be used to display images or video. Display 494 includes a display panel. The display panel may adopt liquid crystal display (liquid crystal display, LCD), organic light-emitting diode (organic light-emitting diode, OLED), active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), flexible Light-emitting diode (flex light-emitting diode, FLED), mini light-emitting diode (mini light-emitting diode, Mini LED), micro light-emitting diode (micro light-emitting diode, Micro LED), micro OLED (Micro OLED) or quantum dot light emission Diodes (quantum dotlight emitting diodes, QLEDs). In some embodiments, the electronic device 400 may include 1 or N display screens 494, where N is a positive integer greater than 1. As a possible implementation, when the user views the photos and short videos of the wonderful moments, the display screen 494 can be used to display the photos of the wonderful moments and the short videos of the wonderful moments. As another possible implementation, when the user deletes a photo of a wonderful moment or deletes an original video, the display screen 494 may be used to display a deletion prompt box.

电子设备400可以通过ISP、摄像头493、视频编解码器、GPU、显示屏494以及应用处理器等实现拍摄功能。The electronic device 400 can realize the shooting function through the ISP, the camera 493 , the video codec, the GPU, the display screen 494 , and the application processor.

摄像头493用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的红绿蓝(red green blue,RGB),YUV等格式的图像信号。在一些实施例中,电子设备400可以包括1个或N个摄像头493,N为大于1的正整数。在本申请实施例中,处理器410可基于摄像头493录制的视频流,确定视频流中的精彩时刻(MM),并在确定出MM时,调用摄像头493自动触发拍照。ISP和DSP可对精彩时刻(MM)的图像信号进行处理,以得到精彩时刻的图像。Camera 493 is used to capture still images or video. The object generates an optical image through the lens and projects it to the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a complementary metal-oxide-semiconductor (complementary metal-oxide-semiconductor, CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts digital image signals into image signals in standard red green blue (RGB), YUV and other formats. In some embodiments, the electronic device 400 may include 1 or N cameras 493, where N is a positive integer greater than 1. In the embodiment of the present application, the processor 410 may determine a wonderful moment (MM) in the video stream based on the video stream recorded by the camera 493, and when the MM is determined, invoke the camera 493 to automatically trigger a photo shoot. ISP and DSP can process the image signal of the wonderful moment (MM) to obtain the image of the wonderful moment.

数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals.

视频编解码器用于对数字视频压缩或解压缩。电子设备400可以支持一种或多种视频编解码器。这样,电子设备400可以播放或录制多种编码格式的视频,例如:动态图像专家组(movingpicture experts group,MPEG)1、MPEG2、MPEG3和MPEG4。Video codecs are used to compress or decompress digital video. The electronic device 400 may support one or more video codecs. In this way, the electronic device 400 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3 and MPEG4.

NPU是一种借鉴生物神经网络结构的处理器,例如借鉴人脑神经元之间传递模式对输入信息快速处理,还可以不断地自学习。通过NPU可以实现电子设备400的智能认知等功能,例如:图像识别、人脸识别、语音识别和文本理解。NPU is a processor that draws on the structure of biological neural networks. For example, it can quickly process input information by drawing on the transmission mode between neurons in the human brain, and it can also continuously learn by itself. Functions such as intelligent cognition of the electronic device 400 can be realized through the NPU, such as image recognition, face recognition, voice recognition and text understanding.

外部存储器接口420可以用于连接外部存储卡,例如安全数码(secure digital,SD)卡,实现扩展电子设备400的存储能力。The external memory interface 420 can be used to connect an external memory card, such as a secure digital (secure digital, SD) card, to expand the storage capacity of the electronic device 400 .

内部存储器421可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器421可以包括存储程序区和存储数据区。处理器410通过运行存储在内部存储器421的指令和/或存储在设置于处理器中的存储器的指令,执行电子设备400的各种本实施例提出的文件处理方法。The internal memory 421 may be used to store computer-executable program code, which includes instructions. The internal memory 421 may include an area for storing programs and an area for storing data. The processor 410 executes various file processing methods proposed in this embodiment of the electronic device 400 by executing instructions stored in the internal memory 421 and/or instructions stored in the memory provided in the processor.

电子设备400可以通过音频模块470、扬声器470A、受话器470B、麦克风470C、耳机接口470D以及应用处理器等实现音频功能,例如,音乐播放和录音。The electronic device 400 can implement audio functions, such as music playing and recording, through the audio module 470, the speaker 470A, the receiver 470B, the microphone 470C, the earphone interface 470D, and the application processor.

触摸传感器480K,也称为触控器件。触摸传感器480K可以设置于显示屏494,由触摸传感器480K与显示屏494组成触摸屏,触摸屏也称为触控屏。触摸传感器480K用于检测作用于其上或其附近的触摸操作。触摸传感器480K可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。The touch sensor 480K is also called a touch device. The touch sensor 480K can be arranged on the display screen 494, and the touch sensor 480K and the display screen 494 form a touch screen, which is also called a touch screen. The touch sensor 480K is used to detect a touch operation on or near it. The touch sensor 480K can transmit the detected touch operation to the application processor to determine the touch event type.

按键490包括开机键和音量键。按键490可以是机械按键,也可以是触摸式按键。电子设备400可以接收按键输入信号,实现于按键输入信号相关的功能。Keys 490 include a power key and a volume key. The button 490 may be a mechanical button or a touch button. The electronic device 400 may receive a key input signal, and implement a function related to the key input signal.

以下实施例中所涉及的技术方案均可以在具有上述硬件架构的电子设备400中实现。另外,在上述部件之上,运行有操作系统。例如iOS操作系统,Android开源操作系统,Windows操作系统等。在该操作系统上可以安装运行应用程序。All the technical solutions involved in the following embodiments may be implemented in the electronic device 400 having the above hardware architecture. In addition, an operating system runs on top of the above components. Such as iOS operating system, Android open source operating system, Windows operating system, etc. Applications can be installed and run on this operating system.

图5是本申请实施例的电子设备的结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Androidruntime)和系统库,以及内核层。Fig. 5 is a structural block diagram of an electronic device according to an embodiment of the present application. The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces. In some embodiments, the Android system is divided into four layers, which are respectively the application program layer, the application program framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer from top to bottom.

应用程序层可以包括一系列应用程序包。如图5所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。例如,在本申请实施例中,相机应用支持录像模式(或电影模式)以及一录多得功能。The application layer can consist of a series of application packages. As shown in FIG. 5, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message. For example, in the embodiment of the present application, the camera application supports video recording mode (or movie mode) and one-record-multiple-recording functions.

在一些实施例中,相机应用可以支持在一录多得功能模式下进行录像,进而得到原视频、精彩时刻(MM)的照片以及AI配置文件。其中,AI配置文件存储在原视频的head。AI配置文件可以用于生成精彩短视频。In some embodiments, the camera application can support video recording in the one-record-multiple-record function mode, and then obtain the original video, photos of wonderful moments (MM) and AI configuration files. Among them, the AI configuration file is stored in the head of the original video. AI profiles can be used to generate exciting short videos.

在一些实施例中,图库应用用于支持浏览一录多得功能模式下得到的原视频、精彩时刻(MM)的照片以及精彩短视频。In some embodiments, the gallery application is used to support browsing original videos, photos of wonderful moments (MM) and wonderful short videos obtained in the one-record-multiple-get function mode.

应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。如图5所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions. As shown in Figure 5, the application framework layer can include window managers, content providers, view systems, phone managers, resource managers, notification managers, and so on.

窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.

内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make it accessible to applications. Said data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.

视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. The view system can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.

电话管理器用于提供电子设备102的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions of the electronic device 102 . For example, the management of call status (including connected, hung up, etc.).

资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.

通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the download completion, message reminder, etc. The notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, issuing a prompt sound, vibrating the electronic device, and flashing the indicator light, etc.

Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core library and virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.

应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application program layer and the application program framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple function modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.

表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.

媒体库(Media Library)支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。例如,本申请实施例中,Media Library用于存储多媒体信息。一种实现方式中,Media Library用于存储精彩时刻(MM)标签的时间信息,以及精彩时刻的语义信息的描述、AI配置文件、第一标签等标签信息。The Media Library supports playback and recording of various commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. For example, in the embodiment of the present application, Media Library is used to store multimedia information. In one implementation manner, the Media Library is used to store the time information of the highlight moment (MM) tag, as well as tag information such as a description of the semantic information of the highlight moment, an AI configuration file, and a first tag.

三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing, etc.

2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.

内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.

需要说明的是,本申请实施例虽然以Android系统为例进行说明,但是其基本原理同样适用于基于iOS或Windows等操作系统的电子设备。It should be noted that although the embodiment of the present application uses the Android system as an example for illustration, its basic principles are also applicable to electronic devices based on operating systems such as iOS or Windows.

基于前述本申请实施例提及的电子设备,本申请实施例提出一种文件处理方法,应用于前述提及的电子设备中。下面分别介绍本申请实施例针对不同的文件删除场景所提出的文件处理方法。其中,为了描述以下各实施例更加清楚,对下述各实施例中涉及到的术语做一下简单的解释。Based on the aforementioned electronic devices mentioned in the embodiments of the present application, the embodiments of the present application propose a file processing method, which is applied to the aforementioned electronic devices. The file processing methods proposed by the embodiments of the present application for different file deletion scenarios are respectively introduced below. Wherein, in order to describe the following embodiments more clearly, the terms involved in the following embodiments are briefly explained.

下述本申请实施例中涉及到的原视频的第一详情界面均可以理解为是原视频处于关联显示状态下的详情界面,原视频的第二详情界面则可以理解为是原视频处于非关联显示状态下的详情界面。下述本申请实施例涉及到的原视频可以理解为在一录多得模式下录制得到的原始视频。The first detailed interface of the original video involved in the following embodiments of the application can be understood as the detailed interface when the original video is in the associated display state, and the second detailed interface of the original video can be understood as the original video is in the non-associated display state. Display the details interface under the status. The original video involved in the following embodiments of the present application can be understood as the original video recorded in the one-record-multiple-get mode.

(1)删除场景一:关联显示状态下,在原视频的第一详情界面上删除本地及云端同步的原视频的场景。(1) Deletion scene 1: In the associated display state, delete the scene of the original video synchronized locally and in the cloud on the first detail interface of the original video.

参阅图6,基于删除场景一,本申请实施例提出一种文件的处理方法,应用于前述提及的电子设备中,以电子设备为手机为例,具体包括以下步骤:Referring to Figure 6, based on deletion scenario 1, the embodiment of the present application proposes a file processing method, which is applied to the aforementioned electronic device, taking the electronic device as a mobile phone as an example, specifically including the following steps:

S601、响应于用户点击图库应用的操作,显示照片宫格界面,其中照片宫格界面至少包括原视频缩略图,原视频为一录多得模式下拍摄得到的原始视频。S601. In response to the user's operation of clicking the gallery application, display a photo grid interface, wherein the photo grid interface includes at least a thumbnail of an original video, and the original video is an original video captured in a one-record-multiple-get mode.

照片宫格界面一般为相机应用的首页,用于按照时间顺序显示用户拍摄的各种照片和视频的缩略图。本实施例中,照片宫格界面除了显示了原视频缩略图之外,还可以显示有用户拍摄的其他的照片的缩略图,和/或,其他的不在一录多得模式下拍摄得到的视频的缩略图。The photo grid interface is generally the home page of the camera application, and is used to display thumbnails of various photos and videos taken by the user in chronological order. In this embodiment, in addition to displaying the thumbnails of the original video, the photo grid interface may also display thumbnails of other photos taken by the user, and/or other videos not captured in the one-record-multiple mode thumbnail of the .

由于本实施例中的原视频指代的是一录多得模式下拍摄得到的原始视频,为了与其他的不在一录多得模式下拍摄得到的视频的缩略图进行区别,本申请实施例中,原视频缩略图上还显示有特定标识。例如,特定标识可以是前述图2的(2)示出的原视频缩略图202上显示的“AI”图标。其中,特定标识可以用于说明原视频是在一录多得模式下录制得到的,在另一些实施例中,特定标识也可以是用于说明原视频的第一详情界面中关联了原视频的精彩时刻的照片。在另一些实施例中的,特定标识也可以是用于说明原视频的第一详情界面中关联了原视频的精彩时刻的照片或者精彩短视频。Since the original video in this embodiment refers to the original video captured in the one-record-multiple mode, in order to distinguish it from the thumbnails of other videos that are not captured in the one-record mode, in the embodiment of the present application , and a specific logo is also displayed on the thumbnail of the original video. For example, the specific identifier may be the "AI" icon displayed on the original video thumbnail 202 shown in (2) of FIG. 2 . Among them, the specific identification can be used to explain that the original video is recorded in the mode of one record multiple, and in other embodiments, the specific identification can also be used to explain that the original video is associated with the original video in the first detail interface. Photos of great moments. In some other embodiments, the specific identifier may also be a photo or a wonderful short video used to illustrate the exciting moments of the original video in the first detail interface of the original video.

在一些实施例中,手机响应于用户点击图库应用的操作,启动图库应用,进而图库应用通过和软件框架层中的媒体库等多个模块相配合执行,将照片宫格界面显示在显示屏上。其中,图库应用启动后显示照片宫格界面的执行过程和原理,具体可以参考Android系统、或者其他操作系统的图库应用的启动过程和原理,此处不再赘述。In some embodiments, the mobile phone starts the gallery application in response to the operation of the user clicking the gallery application, and then the gallery application cooperates with multiple modules such as the media library in the software framework layer to display the photo grid interface on the display screen . Among them, the execution process and principle of displaying the photo grid interface after the gallery application is started, for details, refer to the launch process and principle of the gallery application of the Android system or other operating systems, and will not be repeated here.

示例性的,执行步骤S601的过程为:参阅图7的(1),显示界面上显示有多个APP的图标。用户点击“图库”应用图片701,即可进入到图7的(2)示出的照片宫格界面。图7的(2)中,展示了今天拍摄的原视频缩略图702、原视频的下一个照片的缩略图7022,以及其他的缩略图(其他的缩略图在图中以空白的方框展示)。由图7的(2)示出的原视频缩略图702可以看到“AI”标识7021,AI图标7021即为前述提及的特定标识。Exemplarily, the process of executing step S601 is: referring to (1) in FIG. 7 , multiple APP icons are displayed on the display interface. The user clicks the "Gallery" application picture 701 to enter the photo grid interface shown in (2) of FIG. 7 . (2) of FIG. 7 shows the thumbnail 702 of the original video taken today, the thumbnail 7022 of the next photo of the original video, and other thumbnails (other thumbnails are shown in blank boxes in the figure) . From the original video thumbnail 702 shown in (2) of FIG. 7 , an "AI" logo 7021 can be seen, and the AI icon 7021 is the specific logo mentioned above.

其中,触发显示照片宫格界面的操作方式有很多,点击图库应用仅是其中一种触发操作,还可以语音启动图库应用,触发显示照片宫格界面。本申请实施例对于启动图库应用,进入到照片宫格界面的操作方式不作限制。Among them, there are many operation methods for triggering the display of the photo grid interface. Clicking the gallery application is only one of the trigger operations, and the gallery application can also be activated by voice to trigger the display of the photo grid interface. The embodiment of the present application does not limit the operation mode of starting the gallery application and entering the photo grid interface.

S602、响应于用户点击原视频缩略图的操作,显示原视频的第一详情界面,其中原视频的第一详情界面包括原视频、一键大片控件、删除控件以及精彩时刻的照片缩略图。S602. In response to the user's operation of clicking the thumbnail of the original video, display a first detail interface of the original video, wherein the first detail interface of the original video includes the original video, a one-click blockbuster control, a deletion control, and a photo thumbnail of a wonderful moment.

其中,原视频的第一详情界面可以理解为是原视频在图库应用中的一个呈现,本申请实施例中的原视频的第一详情界面均可以理解为是处于关联显示状态的原视频的详情界面。Among them, the first detailed interface of the original video can be understood as a presentation of the original video in the gallery application, and the first detailed interface of the original video in the embodiment of the present application can be understood as the details of the original video in the associated display state interface.

精彩时刻的照片缩略图可以理解为是与原视频关联的精彩时刻照片的缩略图。在一些实施例中,原视频的详情界面上可以显示一个精彩时刻区,而原视频缩略图和精彩时刻的照片缩略图则显示于精彩时刻区中。原视频的第一详情界面可用于播放原视频、通过精彩时刻区浏览精彩时刻的照片、通过删除控件删除精彩时刻的照片和/或原视频、以及可通过对一键大片控件进行操作浏览精彩短视频。用户点击原视频缩略图的操作,可以理解为是用户在录制完成原视频之后,任意一次为了查看原视频而触发手机显示原视频的第一详情界面的操作。The thumbnail of the photo of the wonderful moment can be understood as the thumbnail of the photo of the wonderful moment associated with the original video. In some embodiments, a highlight moment area can be displayed on the details interface of the original video, and the original video thumbnail and the photo thumbnail of the highlight moment are displayed in the highlight moment area. The first detail interface of the original video can be used to play the original video, browse the photos of the wonderful moments through the highlights area, delete the photos and/or original videos of the highlights through the delete control, and browse the highlights by operating the one-key blockbuster control video. The operation of the user clicking the thumbnail of the original video can be understood as an operation that the user triggers the mobile phone to display the first detail interface of the original video in order to view the original video after recording the original video.

示例性的,可通过原视频的第一详情界面中的精彩时刻区,查看原视频关联的精彩照片。具体可参阅前述对图2示出的精彩时刻区204的描述,此处不再赘述。Exemplarily, the wonderful photos associated with the original video can be viewed through the highlight moment area in the first detail interface of the original video. For details, please refer to the foregoing description of the highlight moment area 204 shown in FIG. 2 , which will not be repeated here.

步骤S602中显示的原视频的第一详情界面处于关联显示状态,可通过精彩时刻区关联查看原视频以及原视频关联的精彩时刻的照片。本申请实施例中的步骤S601至步骤S602,可以理解为是触发显示处于关联显示状态的原视频的第一详情界面的一种实施方式,在另一些实施例中,例如通过相机相册、我的收藏相册等关联显示场景查看原视频,也可以触发显示处于关联显示状态的原视频的第一详情界面。例如可以响应于用户点击相机相册的操作,显示相机相册的宫格界面,然后响应用户点击相机相册的宫格界面中的原视频缩略图,显示处于关联显示状态的原视频的第一详情界面。本申请实施例对于触发显示处于关联显示状态的原视频的第一详情界面不做限制。The first detail interface of the original video displayed in step S602 is in an associated display state, and the original video and the photos of the exciting moments associated with the original video can be viewed through the associated highlights area. Steps S601 to S602 in the embodiment of this application can be understood as an implementation of triggering the display of the first detailed interface of the original video in the associated display state. In other embodiments, for example, through the camera album, my Collecting albums and other related display scenes to view the original video can also trigger the display of the first detail interface of the original video in the related display state. For example, in response to the operation of the user clicking the camera album, the grid interface of the camera album may be displayed, and then in response to the user clicking the original video thumbnail in the grid interface of the camera album, the first detail interface of the original video in the associated display state may be displayed. In the embodiment of the present application, there is no limitation on triggering the display of the first detail interface of the original video in the associated display state.

其中,用户除了可以通过点击原视频缩略图触发显示原视频的第一详情界面之外,还可以是语音触发、滑动触发等操作方式触发显示原视频的第一详情界面,也可以是通过触摸手机屏幕上特定的控件、按压特定的物理按键或按键组合、输入语音、隔空手势等方式触发显示原视频的第一详情界面。例如可以用户在录制完原视频之后,可以在界面上点击原视频缩略图,也可以触发手机显示原视频的第一详情界面。例如,可以在图1的(6)示出的界面上点击预览图111,即可触发显示原视频的第一详情界面,本申请实施例对于用户触发显示原视频的第一详情界面的操作方式不作限制。Among them, in addition to clicking the thumbnail of the original video to trigger the display of the first detail interface of the original video, the user can also trigger the display of the first detail interface of the original video through voice triggering, sliding triggering, etc., or by touching the mobile phone Specific controls on the screen, pressing specific physical keys or key combinations, inputting voice, gestures in the air, etc. trigger the display of the first detailed interface of the original video. For example, after recording the original video, the user can click the thumbnail of the original video on the interface, or trigger the mobile phone to display the first detail interface of the original video. For example, the preview image 111 can be clicked on the interface shown in (6) of FIG. 1 to trigger the display of the first detailed interface of the original video. In the embodiment of the present application, the user triggers the operation mode of the first detailed interface of the original video. No limit.

示例性的,若用户是首次查看一录多得模式下的精彩时刻的照片,原视频的第一详情界面还可以包括有引导框,以提示用户“一录多得”为您智能抓拍多个精彩瞬间,具体可以参阅图2的(3)示出的界面以及相关描述,此处不再赘述。若用户不是首次查看一录多得模式下的精彩时刻照片,原视频的第一详情界面则可以不显示引导框,而是直接自动播放原视频。Exemplarily, if the user is viewing photos of exciting moments in the one-record-multiple-get mode for the first time, the first detail interface of the original video may also include a guide frame to prompt the user to "one-record multiple-get" to intelligently capture multiple photos for you. For the wonderful moment, please refer to the interface shown in (3) of FIG. 2 and related descriptions for details, and details will not be repeated here. If it is not the first time for the user to view photos of exciting moments in the one-record-multiple-get mode, the first detail interface of the original video may not display the guide frame, but directly and automatically play the original video.

示例性的,参阅图7,执行步骤S602的过程为:手机显示图7的(2)所示出的界面,用户点击原视频缩略图702,进入到图7的(3)示出的原视频的第一详情界面。图7的(3)示出的界面中包括有原视频7031、一键大片控件703、精彩时刻区7032、分享、删除、收藏、编辑等控件。图7的(3)示出的原视频7031正在自动播放。Exemplarily, referring to FIG. 7, the process of executing step S602 is: the mobile phone displays the interface shown in (2) of FIG. 7, and the user clicks the original video thumbnail 702 to enter the original video shown in (3) of FIG. The first detail screen of . The interface shown in (3) of FIG. 7 includes controls such as original video 7031 , one-click blockbuster control 703 , highlight moment area 7032 , share, delete, bookmark, and edit. The original video 7031 shown in (3) of FIG. 7 is being played automatically.

本申请实施例中,由于处于关联显示状态的原视频的第一详情界面上显示有删除控件,因此,用户通过该界面可明确知道通过删除控件操作删除原视频或者精彩时刻的照片,便于用户对原视频以及精彩时刻的照片进行管理。In the embodiment of the present application, since the deletion control is displayed on the first detail interface of the original video in the associated display state, the user can clearly know through this interface that the original video or photos of wonderful moments are deleted through the operation of the deletion control, which is convenient for the user. Manage original videos and photos of exciting moments.

S603、响应于用户点击删除控件的操作,在原视频的第一详情界面上显示删除菜单栏,其中删除菜单栏包括:仅删除视频控件、仅删除照片控件以及全部删除控件。S603. In response to the user's operation of clicking the delete control, display a delete menu bar on the first detail interface of the original video, wherein the delete menu bar includes: only delete video controls, only delete photo controls, and delete all controls.

其中,删除菜单栏可以理解为是删除方式的选择菜单栏。在本实施例中,删除菜单栏中可以包括有:仅删除视频控件、仅删除照片控件以及全部删除控件。仅删除视频控件可以用于仅删除原视频,仅删除照片控件可以用于删除原视频关联的所有精彩时刻的照片,全部删除控件可以用于删除原视频和原始关联的精彩时刻的照片。Wherein, the deletion menu bar can be understood as a selection menu bar of a deletion mode. In this embodiment, the delete menu bar may include: only delete video controls, only delete photo controls, and all delete controls. The only delete video control can be used to delete only the original video, the only delete photo control can be used to delete all the photos of the wonderful moments associated with the original video, and the delete all control can be used to delete the original video and the photos of the original associated wonderful moments.

本实施例中,通过删除菜单栏中的仅删除视频控件、仅删除照片控件以及全部删除控件,提供给用户三种不同的删除方式,便于用户对原视频、以及原视频关联的精彩时刻的照片进行管理。In this embodiment, by deleting the only delete video control, only delete photo control, and all delete controls in the menu bar, three different deletion methods are provided to the user, which is convenient for the user to view the original video and the photos of the wonderful moments associated with the original video. to manage.

在另一些实施例中,删除菜单栏中也可以包括其他类型的删除方式控件,例如还可以是可选择需要删除的精彩时刻的照片的删除控件等。删除菜单栏中所具有的删除方式控件的类型包括但不限于本申请实施例所提出的内容。In some other embodiments, the delete menu bar may also include other types of delete mode controls, for example, it may also be a delete control for selecting photos of wonderful moments to be deleted. The types of delete mode controls in the delete menu bar include but are not limited to the content proposed in the embodiment of the present application.

在另一些实施例中,删除菜单栏还可以以界面的形式显示,即可以响应于用户点击删除控件,从原视频的第一详情界面跳转到删除菜单栏界面,用户在删除菜单栏界面选择删除控件之后,可再返回至原视频的第一详情界面。删除菜单栏的显示方式还有很多,包括但不限于本申请实施例提出的内容。In some other embodiments, the delete menu bar can also be displayed in the form of an interface, that is, in response to the user clicking the delete control, the first detail interface of the original video can be jumped to the delete menu bar interface, and the user can select in the delete menu bar interface After deleting the control, you can return to the first detail interface of the original video. There are many ways to display the delete menu bar, including but not limited to the content proposed in the embodiment of this application.

在另一些实施例中,还可以通过再次点击原视频的第一详情界面上的删除控件,或者点击删除菜单栏之外的其他区域,使手机在原视频的第一详情界面上收起删除菜单栏。In some other embodiments, the delete control on the first detail interface of the original video can also be clicked again, or other areas other than the delete menu bar can be clicked, so that the mobile phone can collapse the delete menu bar on the first detail interface of the original video .

示例性的,参阅图7,用户点击图7的(3)示出的删除控件,手机进入到图7的(4)示出的界面上,由图7的(4)示出的界面可以看出,图7的(4)示出的原视频的第一详情界面上显示了删除菜单栏704。删除菜单栏704中包括仅删除视频控件、仅删除照片控件以及全部删除控件。Exemplarily, referring to FIG. 7, the user clicks the delete control shown in (3) of FIG. 7, and the mobile phone enters the interface shown in (4) of FIG. It can be seen that the deletion menu bar 704 is displayed on the first detail interface of the original video shown in (4) of FIG. 7 . The delete menu bar 704 includes only delete video control, only delete photo control and all delete control.

S604、响应于用户点击仅删除视频控件的操作,显示第一提示框,其中第一提示框用于向用户确认是否删除原视频,第一提示框包括删除控件和取消控件。S604. In response to the operation of the user clicking only the delete video control, display a first prompt box, wherein the first prompt box is used to confirm to the user whether to delete the original video, and the first prompt box includes a delete control and a cancel control.

当用户具有删除原视频的需求时,用户可以在步骤S603显示的删除菜单栏上点击仅删除视频控件。手机接收到用户点击仅删除视频控件的操作之后,显示第一提示框,第一提示框中可以显示“是否删除此视频”或者其他类似的语句,向用户进一步确认是否要删除原视频。通过第一提示框向用户确认是否删除原视频的操作,可以避免用户出现误操作的情况。When the user has a need to delete the original video, the user can click on the delete video control only on the delete menu bar displayed in step S603. After the mobile phone receives the user's operation of clicking only the delete video control, a first prompt box is displayed, and "whether to delete this video" or other similar sentences can be displayed in the first prompt box to further confirm to the user whether to delete the original video. The operation of confirming whether to delete the original video to the user through the first prompt box can prevent the user from misoperation.

在一些实施例中,第一提示框显示在原视频的第一详情界面上,还可以以界面的形式显示,第一提示框的显示方式还有很多,包括但不限于本申请实施例提出的内容。In some embodiments, the first prompt box is displayed on the first detail interface of the original video, and can also be displayed in the form of an interface. There are many ways to display the first prompt box, including but not limited to the content proposed in the embodiment of this application .

第一提示框中还可以包括有删除控件和取消控件,删除控件用于确认执行删除原视频的操作。取消控件用于取消执行删除原视频的操作。删除控件和取消控件在第一提示框中的命名方式有很多种,例如删除控件还可以在第一提示框中体现为“是”控件,取消控件还可以体现为是“否”控件。本申请实施例对于删除控件和取消控件在第一提示框中的命名不作限制。The first prompt box may also include a delete control and a cancel control, and the delete control is used to confirm the operation of deleting the original video. The cancel control is used to cancel the operation of deleting the original video. There are many ways to name the delete control and the cancel control in the first prompt box. For example, the delete control can also be displayed as a "Yes" control in the first prompt box, and the cancel control can also be displayed as a "No" control. In this embodiment of the present application, there is no restriction on the naming of the delete control and the cancel control in the first prompt box.

在另一些实施例中,当电子设备的云同步功能开启时,第一提示框中还可以包括用于确认是否同时删除云以及所有同步设备中的原视频的选项控件。具体的,原视频除了存储在本地的手机中,还可能同步存储到了该用户的云端,以及该用户其他的同步设备中。如果仅选择删除本地的原视频,那么用户可以在用于确认是否同时删除云以及所有同步设备中的原视频的选项控件中,点击选择不删除云以及所有同步设备中的原视频,进而手机响应操作只删除本地的原视频,保留云及所有同步设备中的原视频。如果用户点击选择同时删除云以及所有同步设备中的原视频,那么手机响应操作删除本地、云及所有同步设备中的原视频。In some other embodiments, when the cloud synchronization function of the electronic device is turned on, the first prompt box may further include an option control for confirming whether to delete the original video in the cloud and all synchronization devices at the same time. Specifically, in addition to being stored in the local mobile phone, the original video may also be synchronously stored in the user's cloud and other synchronization devices of the user. If only the local original video is selected to be deleted, the user can click to choose not to delete the original video in the cloud and all synchronized devices in the option control for confirming whether to delete the original video in the cloud and all synchronized devices at the same time, and the phone responds The operation only deletes the local original video, and retains the original video in the cloud and all sync devices. If the user clicks to delete the original video in the cloud and all synchronous devices at the same time, the mobile phone responds to the operation and deletes the original video in the local, cloud and all synchronous devices.

在另一些实施例中,第一提示框中也可以不包括用于确认是否同时删除云以及所有同步设备中的原视频的选项控件,当用户点击第一提示框的删除控件时,若云同步功能处于开启状态,则电子设备直接默认删除掉本地、云以及所有同步设备中的原视频,也可以直接默认保留云以及所有同步设备中的原视频。若云同步功能不处于开启状态,则仅删除本地的原视频。In other embodiments, the first prompt box may not include an option control for confirming whether to delete the original video in the cloud and all synchronization devices at the same time. When the user clicks the delete control in the first prompt box, if the cloud sync If the function is turned on, the electronic device will directly delete the original video in the local, cloud and all sync devices by default, or directly retain the original video in the cloud and all sync devices by default. If the cloud synchronization function is not enabled, only the local original video will be deleted.

需要说明的是,本申请实施例中,用户除了可以通过点击的方式操作控件之外,还可以是语音触发、滑动触发、按压特定的物理按键或按键组合、输入语音、隔空手势等方式操作控件,本申请实施例对于用户对控件的操作方式不作限制。It should be noted that, in this embodiment of the application, in addition to clicking, the user can also operate the control by voice trigger, slide trigger, pressing a specific physical button or button combination, inputting voice, air gestures, etc. Controls, the embodiment of the present application does not limit the way the user operates the controls.

示例性的,参阅图7,执行步骤S604的过程为:用户在图7的(4)示出的删除菜单栏704上,点击仅删除视频控件,进入到图7的(5)示出的界面。图7的(5)示出的原视频的第一详情界面上显示有第一提示框705,第一提示框705中显示有“是否删除此视频”的文字,还默认勾选了“同时从云及所有同步设备中删除”的选项控件。第一提示框705中还包括有删除控件和取消控件,以供用户选择。Exemplarily, referring to FIG. 7, the process of executing step S604 is: the user clicks on the delete menu bar 704 shown in (4) of FIG. 7 to only delete the video control, and enters the interface shown in (5) of FIG. 7 . The first prompt box 705 is displayed on the first details interface of the original video shown in (5) of Figure 7, and the text "whether to delete this video" is displayed in the first prompt box 705, and the "simultaneously from Delete from the cloud and all synced devices" option control. The first prompt box 705 also includes a delete control and a cancel control for selection by the user.

S605、响应于用户点击第一提示框中的删除控件的操作,删除本地、云及所有同步设备中的原视频,并显示下一个图像文件的详情界面。S605. In response to the user's operation of clicking the delete control in the first prompt box, delete the original video in the local, cloud and all synchronization devices, and display a detailed interface of the next image file.

当用户确认需要删除本地、云及所有同步设备中的原视频之后,用户可以点击第一提示框中的删除控件,手机响应于用户点击第一提示框中的删除控件的操作,同时删除本地、云以及所有同步设备中的原视频。After the user confirms the need to delete the original video in the local, cloud and all synchronization devices, the user can click the delete control in the first prompt box, and the mobile phone responds to the operation of the user clicking the delete control in the first prompt box, and deletes the local, Original video in the cloud and all synced devices.

其中,下一个图像文件的详情界面可以理解为是在照片宫格界面中,排列在原视频缩略图之后的一个图像文件的缩略图。图像文件可以是视频也可以是照片。示例性的,参阅图7的(2)示出的照片宫格界面,可以看出排列在原视频缩略图702之后的是照片7021的缩略图。当手机响应于用户操作,删除掉本地、云及所有同步设备中的原视频之后,因原视频已删除,因此原视频的第一详情界面也不再存在,手机显示的界面自动变为下一个图像文件的详情界面。Wherein, the detailed interface of the next image file can be understood as a thumbnail of an image file arranged after the thumbnail of the original video in the photo grid interface. Image files can be videos or photos. Exemplarily, referring to the photo grid interface shown in (2) of FIG. 7 , it can be seen that the thumbnail of the photo 7021 is arranged after the original video thumbnail 702 . When the mobile phone responds to the user's operation and deletes the original video in the local, cloud and all synchronous devices, because the original video has been deleted, the first detail interface of the original video no longer exists, and the interface displayed on the mobile phone automatically changes to the next image The details interface of the file.

在一些实施例中,步骤S605除了删除了原视频之外,还删除了根据原视频的视频流所生成的AI配置文件。AI配置文件存储位置与原视频相同,进而同步删除原视频和AI配置文件。In some embodiments, in addition to deleting the original video, step S605 also deletes the AI configuration file generated according to the video stream of the original video. The storage location of the AI configuration file is the same as that of the original video, and then the original video and AI configuration file are deleted synchronously.

在另一些实施例中,由于手机在步骤S604中接收到的是点击仅删除视频控件的操作,因此手机仅删除本地、云及所有同步设备中的原视频,但保留了与原视频关联的精彩时刻的照片。在原视频已删除的情况下,用户无法通过原视频的第一详情界面上查看关联显示的精彩时刻的照片,为了提醒用户未被删除的精彩时刻的照片的存储位置,本申请实施例中,可以在下一个图像文件的详情界面上,显示第二提示框,用于提示用户可以前往存储了精彩时刻的照片的相册中,查看精彩时刻的照片。例如,若精彩时刻的照片默认存储在了“一录多得”相册,那么第二提示框可以提示用户前往“一录多得”相册查看精彩时刻的照片。In some other embodiments, since the mobile phone received in step S604 the operation of clicking on the control to delete only the video, the mobile phone only deletes the original video in the local, the cloud, and all synchronization devices, but retains the wonderful video associated with the original video. moment photos. In the case that the original video has been deleted, the user cannot view the associated photos of the wonderful moments displayed on the first detail interface of the original video. In order to remind the user of the storage location of the photos of the wonderful moments that have not been deleted, in the embodiment of this application, On the detailed interface of the next image file, a second prompt box is displayed for prompting the user to go to an album storing the photos of the wonderful moment to view the photos of the wonderful moment. For example, if the photos of the wonderful moments are stored in the "One Record More" album by default, then the second prompt box may prompt the user to go to the "One Record More" album to view the photos of the wonderful moments.

在另一些实施例中,若第一提示框中包括有用于确认是否同时删除云以及所有同步设备中的原视频的选项控件,则执行步骤S605的过程可以是:响应于用户点击第一提示框中的删除控件的操作以及选择同时删除云以及所有同步设备中的原视频的操作,删除本地、云及所有同步设备中的原视频。In some other embodiments, if the first prompt box includes an option control for confirming whether to delete the original video in the cloud and all synchronization devices at the same time, the process of performing step S605 may be: in response to the user clicking on the first prompt box The operation of the delete control in and the operation of selecting to delete the original video in the cloud and all synchronous devices at the same time delete the original video in the local, cloud and all synchronous devices.

示例性的,除了可以通过点击操作触发删除本地、云及所有同步设备中的原视频,还可以是滑动触发、按压特定的物理按键或按键组合、输入语音、隔空手势等方式触发删除,本申请实施例对此不作限制。Exemplarily, in addition to clicking to trigger the deletion of the original video in the local, cloud and all sync devices, it can also be triggered by sliding, pressing a specific physical button or button combination, inputting voice, and gestures in the air. The application embodiment does not limit this.

示例性的,参阅图7,执行步骤S605的过程可以是:用户在图7的(5)示出的第一提示框705中点击删除控件,手机进入到图7的(6)示出的下一张照片的详情界面。图7的(6)的界面中展示的照片为图7的(2)示出的照片宫格界面中排在原视频702之后的照片7021。在图7的(6)示出的界面上显示有第二提示框706。第二提示框706中的文字为:视频已删除,您可以前往“一录多得”相册查看精彩照片。第二提示框706中还有一个不再提示的选项控件,当用户勾选不再提示的选项控件之外,后续删除原视频的时候,不会再显示第二提示框706。用户点击第二提示框706中的“知道了”图标时,第二提示框706不再显示在图7的(6)示出的界面中。Exemplarily, referring to FIG. 7, the process of executing step S605 may be: the user clicks the delete control in the first prompt box 705 shown in (5) of FIG. The details interface of a photo. The photo displayed in the interface of (6) of FIG. 7 is the photo 7021 arranged after the original video 702 in the photo grid interface shown in (2) of FIG. 7 . A second prompt box 706 is displayed on the interface shown in (6) of FIG. 7 . The text in the second prompt box 706 is: the video has been deleted, and you can go to the "one record, many" album to view wonderful photos. There is also an option control not to prompt in the second prompt box 706. When the user selects the option control not to prompt and subsequently deletes the original video, the second prompt box 706 will not be displayed again. When the user clicks the "got it" icon in the second prompt box 706, the second prompt box 706 is no longer displayed in the interface shown in (6) of FIG. 7 .

需要说明的是,在执行完步骤S605之后,后续再点击进入图库应用中之后,图库应用中不再显示有原视频缩略图,即无法查看到原视频的第一详情界面。但在一录多得相册中,依然能查看到原视频关联的精彩时刻的照片。It should be noted that, after step S605 is executed, and after clicking to enter the gallery application, the thumbnail image of the original video is no longer displayed in the gallery application, that is, the first detail interface of the original video cannot be viewed. However, in the One Record Multiple Album, you can still view photos of the wonderful moments associated with the original video.

还需要说明的是,本申请实施例中涉及到云同步相关的步骤,仅在电子设备处于开启云同步功能的状态下才可执行。It should also be noted that the steps related to cloud synchronization in the embodiment of the present application can only be executed when the electronic device is in a state of enabling the cloud synchronization function.

在另一些实施例中,用户点击图7的(3)示出的原视频的第一详情界面上,还可以显示删除提示框。删除提示框包括仅删除此视频控件、全部删除控件以及取消控件。删除提示框用于提示是否删除此视频和“一录多得”生成的精彩时刻的照片。若点击仅删除此视频控件,则手机仅删除原视频保留精彩时刻的照片,若点击全部删除控件,则将原视频和精彩时刻的照片全部删除,若点击取消控件,则取消删除操作。In some other embodiments, when the user clicks on the first detail interface of the original video shown in (3) of FIG. 7 , a deletion prompt box may also be displayed. The delete prompt box includes delete only this video control, delete all controls, and cancel controls. The delete prompt box is used to prompt whether to delete this video and the photos of wonderful moments generated by "One Record Multiple". If you click to delete only this video control, the mobile phone will only delete the original video and keep the photos of the wonderful moments. If you click the delete all control, you will delete all the original video and the photos of the wonderful moments. If you click the cancel control, the deletion operation will be cancelled.

在另一些实施例中,如图7的(3)示出的原视频的第一详情界面上点击更多控件,可以显示出删除一录多得照片的控件,点击该控件之后,手机可以显示提示框提示是否删除“一录多得”生成的全部文件。若点击提示框中的删除控件,则将原视频和精彩时刻的照片全部删除。若点击取消控件,则取消执行删除操作。In other embodiments, clicking on more controls on the first details interface of the original video as shown in (3) of Figure 7 can display a control for deleting a record of multiple photos. After clicking this control, the mobile phone can display The prompt box prompts whether to delete all the files generated by "One Record Multiple". If you click the delete control in the prompt box, all the photos of the original video and wonderful moments will be deleted. If the cancel control is clicked, the delete operation is canceled.

(2)删除场景二:关联显示状态下,在原视频的第一详情界面上删除本地的原视频的同时,不同时删除云端同步的原视频的场景。(2) Deletion scene 2: In the associated display state, while deleting the local original video on the first detail interface of the original video, the original video synchronized by the cloud is not deleted at the same time.

参阅图8,基于删除场景二,本申请实施例提出一种文件的处理方法,应用于前述提及的电子设备中,以电子设备为手机举例,具体描述以下步骤:Referring to Figure 8, based on deletion scenario 2, the embodiment of the present application proposes a file processing method, which is applied to the aforementioned electronic device, taking the electronic device as a mobile phone as an example, and specifically describes the following steps:

S801、响应于用户点击图库应用的操作,显示照片宫格界面,其中照片宫格界面至少包括原视频缩略图和相册控件,原视频为一录多得模式下拍摄得到的原始视频。S801. In response to the user's operation of clicking the gallery application, display a photo grid interface, wherein the photo grid interface includes at least an original video thumbnail and an album control, and the original video is an original video captured in a one-record-multiple mode.

其中,相册控件用于显示图库应用中的相册宫格界面。相册宫格界面可以包括相机相册、一录多得相册、所有照片相册等等。Wherein, the photo album control is used to display the photo album grid interface in the gallery application. The album grid interface can include camera albums, one record multiple albums, all photo albums, and so on.

步骤S801的执行过程和原理可以参考前述步骤S601,此处不再赘述。For the execution process and principle of step S801, reference may be made to the aforementioned step S601, which will not be repeated here.

S802、响应于用户点击相册控件的操作,显示相册宫格界面,相册宫格界面包括:相机相册、一录多得相册、以及所有照片相册。S802. In response to the user's operation of clicking the album control, an album grid interface is displayed, and the album grid interface includes: camera albums, one record multiple albums, and all photo albums.

响应于用户点击相册控件的操作,手机从原本的照片宫格界面进入到相册宫格界面。相册宫格界面展示了图库应用中的每一个相册。具体可以包括相机相册、一录多得相册以及所有照片相册,还可以包括有视频相册、截屏相册、录屏相册等等。相册控件可以理解为用于控制显示相册宫格界面的控件。In response to the user's operation of clicking the album control, the mobile phone enters the album grid interface from the original photo grid interface. The album grid interface shows each album in the gallery application. Specifically, it may include camera albums, one-record-multiple albums, and all photo albums, as well as video albums, screen capture albums, screen recording albums, and the like. The album control can be understood as a control for controlling the display of the album grid interface.

除了可以通过点击相册控件的操作触发显示相册宫格界面,还可以是滑动触发、按压特定的物理按键或按键组合、输入语音、隔空手势等方式触发显示相册宫格界面,本申请实施例对此不作限制。In addition to clicking the album control to trigger the display of the album grid interface, it can also be triggered by sliding the trigger, pressing a specific physical button or button combination, inputting voice, and gestures in the air to trigger the display of the album grid interface. This is not limited.

示例性的,参阅图9,执行步骤S801至步骤S802的过程可以是:用户点击图9的(1)示出的主界面上的图库应用901,手机进入到图9的(2)示出的照片宫格界面。由图9的(2)示出的照片宫格界面可以看到原视频缩略图902、照片控件、相册控件、时刻控件以及发现控件。当前照片控件为深底色,指示了当前界面处于照片控件对应的照片宫格界面。用户在图9的(2)示出的界面上点击相册控件,进入到图9的(3)示出的相册宫格界面。图9的(3)示出的相册宫格界面中,相册控件为神底色,指示了当前处于相册宫格界面。图9的(3)示出的界面中包括了相机相册、一录多得相册、视频相册以及所有照片相册。Exemplarily, referring to FIG. 9, the process of executing steps S801 to S802 may be: the user clicks the gallery application 901 on the main interface shown in (1) of FIG. 9, and the mobile phone enters the Photo grid interface. From the photo grid interface shown in (2) of FIG. 9 , the original video thumbnail 902 , photo control, album control, time control and discovery control can be seen. The current photo control has a dark background color, indicating that the current interface is in the photo grid interface corresponding to the photo control. The user clicks the album control on the interface shown in (2) of FIG. 9 to enter the album grid interface shown in (3) of FIG. 9 . In the album grid interface shown in (3) of FIG. 9 , the album control has a dark background color, indicating that it is currently in the album grid interface. The interface shown in (3) of FIG. 9 includes camera albums, one record multiple albums, video albums and all photo albums.

S803、响应于用户点击相机相册的操作,显示相机相册的宫格界面,其中相机相册的宫格界面至少包括原视频缩略图。S803. In response to the user's operation of clicking the camera album, display a grid interface of the camera album, wherein the grid interface of the camera album includes at least a thumbnail of the original video.

相机相册的宫格界面包括相机拍摄的每一个照片和视频的缩略图,当中也包括有原视频缩略图。相机相册的宫格界面中的缩略图的排列顺序可以是按照拍摄时间顺序排列的,也可以按照文件名顺序等其他方式排列的,本申请实施例不作限制。The grid interface of the camera album includes thumbnails of every photo and video taken by the camera, including the original video thumbnail. The arrangement order of the thumbnails in the grid interface of the camera album can be arranged in order of shooting time, or in other ways such as the order of file names, which is not limited in the embodiment of the present application.

由前述对关联显示的术语介绍可知,通过相机相册查看到的原视频的第一详情界面,处于关联显示状态。在一些实施例中,为了标识原视频的第一详情界面处于关联显示状态,在原视频缩略图上显示特定标识,以说明关联显示状态。As can be seen from the aforementioned terminology introduction to associated display, the first detail interface of the original video viewed through the camera album is in the associated display state. In some embodiments, in order to identify that the first detail interface of the original video is in the associated display state, a specific mark is displayed on the thumbnail of the original video to illustrate the associated display state.

示例性的,参阅图9,执行步骤S803的过程为:用户点击图9的(3)示出的相机相册903,手机进去到图9的(4)示出的相机相册的宫格界面。相机相册的宫格界面中包括原视频缩略图904以及原视频的下一张照片的缩略图905,原视频缩略图904上显示有AI图标(即前述提及的特定标识)9041,用于标识原视频的第一详情界面为关联显示状态。Exemplarily, referring to FIG. 9 , the process of executing step S803 is: the user clicks the camera album 903 shown in (3) of FIG. 9 , and the mobile phone enters the grid interface of the camera album shown in (4) of FIG. 9 . The grid interface of the camera album includes the thumbnail 904 of the original video and the thumbnail 905 of the next photo of the original video. The thumbnail 904 of the original video displays an AI icon (i.e. the specific logo mentioned above) 9041 for identification The first detail interface of the original video is the associated display state.

需要说明的是,除了可以通过点击相机相册控件的操作触发显示相机相册的宫格界面,还可以是滑动触发、按压特定的物理按键或按键组合、输入语音、隔空手势等方式触发显示相机相册的宫格界面,本申请实施例对此不作限制。It should be noted that, in addition to clicking the camera album control to trigger the display of the grid interface of the camera album, it can also be triggered by sliding, pressing a specific physical button or button combination, inputting voice, and air gestures to trigger the display of the camera album. grid interface, which is not limited in this embodiment of the present application.

S804、响应于用户点击原视频缩略图的操作,显示原视频的第一详情界面,其中原视频的第一详情界面包括原视频、一键大片控件、删除控件以及精彩时刻的照片缩略图。S804. In response to the user's operation of clicking the thumbnail of the original video, display a first detail interface of the original video, wherein the first detail interface of the original video includes the original video, a one-key blockbuster control, a delete control, and a photo thumbnail of a wonderful moment.

其中,步骤S804的执行过程和原理可以参考前述的步骤S602,此处不再赘述。Wherein, for the execution process and principle of step S804, reference may be made to the aforementioned step S602, which will not be repeated here.

需要说明的是,步骤S801至步骤S804仅仅是进入处于关联显示状态的原视频的第一详情界面的一种实施方式,还可以通过前述描述的步骤S601至步骤S602的方式进入处于关联显示状态的原视频的第一详情界面,本申请实施例对此不作限制。It should be noted that steps S801 to S804 are only an implementation mode of entering the first detail interface of the original video in the associated display state, and it is also possible to enter the first detailed interface of the original video in the associated display state through the steps S601 to S602 described above. The first detailed interface of the original video is not limited in this embodiment of the present application.

示例性的,参阅图9,执行步骤S804的过程为:用户点击图9的(4)示出的原视频缩略图904,手机进入到图9的(5)示出的原视频的第一详情界面。原视频的第一详情界面包括原视频9031、一键大片控件903、精彩时刻区9032、以及删除控件等。Exemplarily, referring to FIG. 9, the process of performing step S804 is: the user clicks the original video thumbnail 904 shown in (4) of FIG. 9, and the mobile phone enters the first details of the original video shown in (5) of FIG. 9 interface. The first detail interface of the original video includes the original video 9031 , a one-click blockbuster control 903 , a wonderful moment area 9032 , and a deletion control.

S805、响应于用户点击删除控件的操作,在原视频的第一详情界面上显示删除菜单栏,其中删除菜单栏包括:仅删除视频控件、仅删除照片控件以及全部删除控件。S805. In response to the user's operation of clicking the delete control, display a delete menu bar on the first detail interface of the original video, where the delete menu bar includes: only delete video controls, only delete photo controls, and delete all controls.

其中,步骤S805的执行过程和原理可以参阅前述的步骤S603,此处不再赘述。For the execution process and principle of step S805, reference may be made to the aforementioned step S603, which will not be repeated here.

S806、响应于用户点击仅删除视频控件的操作,显示第一提示框,其中第一提示框用于向用户确认是否删除原视频,第一提示框包括删除控件和取消控件。S806. In response to the operation of the user clicking only the delete video control, display a first prompt box, wherein the first prompt box is used to confirm to the user whether to delete the original video, and the first prompt box includes a delete control and a cancel control.

其中,删除控件用于执行删除原视频的操作。取消控件用于取消执行删除原视频的操作。在一些实施例中,删除控件可以用于执行删除本地、云以及所有同步设备的原视频的操作。在另一些实施例中,删除控件可以用于执行删除本地,但保留云以及所有同步设备的原视频的操作。Among them, the delete control is used to perform the operation of deleting the original video. The cancel control is used to cancel the operation of deleting the original video. In some embodiments, the delete control can be used to delete the original video of local, cloud and all sync devices. In some other embodiments, the delete control can be used to delete the local but keep the original video of the cloud and all sync devices.

在另一些实施例中,在云同步功能开启的情况下,第一提示框中还可以包括用于确认是否同时删除云以及所有同步设备中的原视频的选项控件。如果仅选择删除本地的原视频,那么用户可以在用于确认是否同时删除云以及所有同步设备中的原视频的选项控件中,点击选择不删除云以及所有同步设备中的原视频,进而手机响应操作只删除本地的原视频,保留云及所有同步设备中的原视频。如果用户点击选择同时删除云以及所有同步设备中的原视频,那么手机响应操作删除本地、云及所有同步设备中的原视频。In some other embodiments, when the cloud synchronization function is turned on, the first prompt box may further include an option control for confirming whether to delete the original video in the cloud and all synchronization devices at the same time. If only the local original video is selected to be deleted, the user can click to choose not to delete the original video in the cloud and all synchronized devices in the option control for confirming whether to delete the original video in the cloud and all synchronized devices at the same time, and the phone responds The operation only deletes the local original video, and retains the original video in the cloud and all sync devices. If the user clicks to delete the original video in the cloud and all synchronous devices at the same time, the mobile phone responds to the operation and deletes the original video in the local, cloud and all synchronous devices.

具体的,步骤S806的执行过程和原理可以参阅前述的步骤S604,此处不再赘述。Specifically, for the execution process and principle of step S806, reference may be made to the aforementioned step S604, which will not be repeated here.

S807、响应于用户点击第一提示框中的删除控件的操作,删除本地的原视频并显示原视频的云端详情界面,其中原视频的云端详情界面包括原视频的云端预览图、云端下载控件、播放键以及精彩时刻的照片缩略图。S807. In response to the user's operation of clicking the delete control in the first prompt box, delete the local original video and display the cloud detail interface of the original video, wherein the cloud detail interface of the original video includes a cloud preview image of the original video, a cloud download control, Play button and photo thumbnails of great moments.

当原视频已同步到云(或者称为云端)的情况下,响应于用户点击第一提示框中的删除控件的操作,删除本地的原视频,保留云以及所有同步设备的原视频,并在本地电子设备中显示原视频的云端详情界面,以便于用户在图库中管理。When the original video has been synchronized to the cloud (or called the cloud), in response to the operation of the user clicking the delete control in the first prompt box, delete the local original video, keep the original video of the cloud and all synchronization devices, and The cloud detail interface of the original video is displayed on the local electronic device, so that the user can manage it in the gallery.

原视频的云端详情界面包括原视频的云端预览图、云端下载控件、播放键以及精彩时刻的照片缩略图。原视频的云端预览图可以是原视频的首帧的预览图。当用户点击播放键或者一键大片控件时,电子设备响应于用户的操作,在云端详情界面上显示用于提示用户从云端下载原视频的提示框。The cloud details interface of the original video includes the cloud preview of the original video, the cloud download control, the play button, and the photo thumbnails of the wonderful moments. The cloud preview image of the original video may be a preview image of the first frame of the original video. When the user clicks the play button or the one-key blockbuster control, the electronic device responds to the user's operation and displays a prompt box on the cloud detail interface for prompting the user to download the original video from the cloud.

云端预览图中的云端下载控件用于从云端下载原视频。当电子设备从云端下载原视频时,根据原视频的视频流所生成的AI配置文件也下载至本地,用户下载下来的原视频的第一详情界面上仍然可以使用一键大片的功能,且由于精彩时刻的照片没有被删除,因此原视频的第一详情界面仍然具有精彩时刻区,即云端下载下来的原视频的第一详情界面如前述的图9的(5)所示。The cloud download control in the cloud preview image is used to download the original video from the cloud. When the electronic device downloads the original video from the cloud, the AI configuration file generated according to the video stream of the original video is also downloaded to the local, and the function of one-click blockbuster can still be used on the first detail interface of the original video downloaded by the user, and because The photo of the highlight moment has not been deleted, so the first detail interface of the original video still has a highlight moment area, that is, the first detail interface of the original video downloaded from the cloud is shown in (5) of Figure 9 above.

精彩时刻区中包括原视频的云端预览图以及原视频关联的精彩时刻照片的缩略图。由于本申请实施例中选择仅删除视频,且原视频的云同步视频还没有被删除,可以理解为是由原视频的第一详情界面变成了原视频的云端详情界面,原视频的云端详情界面区别于原视频的第一详情界面,在云端详情界面上不具有原视频,仅具有原视频的首帧的预览图,如若想得到原视频,则可以通过云端详情界面上的云端下载控件下载。但云端详情界面依然处于关联显示状态,仍然可以通过精彩时刻区查看精彩时刻的照片。The highlight moment area includes the cloud preview image of the original video and the thumbnail of the highlight moment photo associated with the original video. Since only the video is selected to be deleted in the embodiment of this application, and the cloud-synchronized video of the original video has not been deleted, it can be understood that the first details interface of the original video has become the cloud details interface of the original video, and the cloud details of the original video The interface is different from the first detail interface of the original video. The cloud detail interface does not have the original video, but only the preview image of the first frame of the original video. If you want to get the original video, you can download it through the cloud download control on the cloud detail interface. However, the cloud details interface is still in the associated display state, and photos of exciting moments can still be viewed through the exciting moments area.

在一些实施例中,删除控件仅用于确认执行删除本地的原视频的操作,而不对云及所有同步设备的原视频进行删除,因此用户点击第一提示框中的删除控件时,可触发电子设备执行步骤S807。In some embodiments, the delete control is only used to confirm the operation of deleting the original local video, and does not delete the original video of the cloud and all synchronization devices. Therefore, when the user clicks the delete control in the first prompt box, the electronic The device executes step S807.

在另一些实施例中,当原视频已同步到云(或者称为云端)的情况下,执行步骤S807的过程还可以是,响应于用户点击第一提示框中的删除控件的操作以及用户点击不同时删除云以及所有同步设备中的原视频的选项操作,删除本地的原视频并显示原视频的云端详情界面。即第一提示框中包括有用于确认是否同时删除云以及所有同步设备中的原视频的选项控件,用户可点击不同时删除云以及所有同步设备中的原视频的选项,进而触发电子设备执行步骤S807。In some other embodiments, when the original video has been synchronized to the cloud (or called the cloud), the process of performing step S807 may also be, in response to the operation of the user clicking the delete control in the first prompt box and the user clicking Do not delete the original video in the cloud and all sync devices at the same time, delete the local original video and display the cloud details interface of the original video. That is, the first prompt box includes an option control for confirming whether to delete the original video in the cloud and all synchronous devices at the same time. The user can click the option not to delete the original video in the cloud and all synchronous devices at the same time, and then trigger the electronic device to perform the steps S807.

在另一些实施例中,为了提醒用户云端的原视频还未删除,可以在显示原视频的云端详情界面时,还显示第三提示框,第三提示框可以通过“该视频已从本机删除,但图库中仍保留预览图以便于管理云端视频”的文字,提示用户可以通过原视频的云端详情界面管理云端的原视频。In some other embodiments, in order to remind the user that the original video in the cloud has not been deleted, a third prompt box may be displayed when displaying the cloud details interface of the original video, and the third prompt box may pass "this video has been deleted from this machine." , but the preview image is still kept in the gallery for easy management of cloud video", prompting the user to manage the original video in the cloud through the cloud details interface of the original video.

示例性的,参阅图9,执行步骤S805至步骤S809的过程可以是:用户点击图9的(5)示出的原视频的第一详情界面上的删除控件,手机进入图9的(6)示出的界面。图9的(6)示出的界面中显示有删除菜单栏904。用户点击删除菜单栏904中的仅删除视频的控件,进入到图9的(7)示出的界面。图9的(7)示出的界面上显示有第一提示框905,第一提示框905显示有是否删除此视频的文字,第一提示框905中包括有取消控件和删除控件。第一提示框905中还包括有从云及所有同步设备中删除的选项控件,用户不勾选该选项控件,并点击删除控件,手机进入到图9的(8)示出的界面。图9的(8)示出的界面为原视频的云端详情界面。原视频的云端详情界面上显示有第三提示框906,用于提示用户:“该视频已从本机删除,但图库中仍保留预览图以便于管理云端视频”。第三提示框906上可以勾选不再提示的控件,进而后续再次执行步骤S807时,不再在原视频的云端详情界面显示第三提示框。图9的(8)示出的界面上还显示有云端下载控件907、播放键908以及一键大片控件909。当用户点击第三提示框906中的“知道了”控件时,手机不再显示第三提示框906,进入到图9的(9)示出的界面。图9的(9)示出的界面为原视频的云端详情界面。如图9的(9)所示,界面显示有云端下载控件907,播放键908,原视频的首帧的预览图9091,精彩时刻区9092。Exemplarily, referring to FIG. 9, the process of performing steps S805 to S809 may be: the user clicks the delete control on the first detail interface of the original video shown in (5) of FIG. 9, and the mobile phone enters (6) of FIG. 9 interface shown. A delete menu bar 904 is displayed on the interface shown in (6) of FIG. 9 . The user clicks the control to delete only the video in the delete menu bar 904 to enter the interface shown in (7) of FIG. 9 . The interface shown in (7) of FIG. 9 displays a first prompt box 905, and the first prompt box 905 displays text indicating whether to delete the video, and the first prompt box 905 includes a cancel control and a delete control. The first prompt box 905 also includes an option control to delete from the cloud and all synchronization devices. If the user does not check the option control and clicks the delete control, the mobile phone enters the interface shown in (8) of FIG. 9 . The interface shown in (8) of FIG. 9 is the cloud detail interface of the original video. A third prompt box 906 is displayed on the cloud details interface of the original video, which is used to prompt the user: "This video has been deleted from this machine, but the preview image is still kept in the gallery for easy management of the cloud video". In the third prompt box 906, the control that no longer prompts can be checked, and then when step S807 is executed again, the third prompt box will not be displayed on the cloud details interface of the original video. The interface shown in (8) of FIG. 9 also displays a cloud download control 907 , a play key 908 and a one-key blockbuster control 909 . When the user clicks the "Know" control in the third prompt box 906, the mobile phone no longer displays the third prompt box 906, and enters the interface shown in (9) of FIG. 9 . The interface shown in (9) of FIG. 9 is the cloud details interface of the original video. As shown in (9) of FIG. 9 , the interface displays a cloud download control 907 , a play button 908 , a preview image 9091 of the first frame of the original video, and a wonderful moment area 9092 .

在另一些实施例中,执行完步骤S807之后,若用户再次点击图9的(1)示出的图库应用,手机仍然会进入到图9的(2)示出的界面。即照片宫格界面上依然显示有原视频缩略图902,用户点击原视频缩略图902时,进入到的不再是原视频的第一详情界面,而是如图9的(9)示出的原视频的云端详情界面。即可以理解为执行步骤S807之后,在图库中查看到的原视频缩略图,实际为保存在云端的原视频缩略图。In some other embodiments, after step S807 is executed, if the user clicks the gallery application shown in (1) of FIG. 9 again, the mobile phone will still enter the interface shown in (2) of FIG. 9 . That is, the original video thumbnail 902 is still displayed on the photo grid interface, and when the user clicks on the original video thumbnail 902, what is entered is no longer the first detail interface of the original video, but as shown in (9) of Figure 9 The cloud details interface of the original video. That is, it can be understood that after step S807 is performed, the thumbnail of the original video viewed in the gallery is actually the thumbnail of the original video stored in the cloud.

(3)删除场景三:关联显示状态下,在原视频的第一详情界面上删除本地的所有精彩时刻的照片,以及同时删除云端同步的所有精彩时刻的照片的场景。(3) Deletion scene 3: In the associated display state, delete all the photos of the local wonderful moments on the first detail interface of the original video, and delete the photos of all the wonderful moments synchronized by the cloud at the same time.

参阅图10,基于删除场景三,本申请实施例提出一种文件的处理方法,应用于前述提及的电子设备中,以电子设备为手机举例,具体描述以下步骤:Referring to Fig. 10, based on the third deletion scenario, the embodiment of the present application proposes a file processing method, which is applied to the above-mentioned electronic device. Taking the electronic device as a mobile phone as an example, the following steps are described in detail:

S1001、响应于用户点击图库应用的操作,显示照片宫格界面,其中照片宫格界面至少包括原视频缩略图,原视频为一录多得模式下拍摄得到的原始视频。S1001. In response to the user's operation of clicking the gallery application, display a photo grid interface, wherein the photo grid interface includes at least a thumbnail of an original video, and the original video is an original video captured in a one-record-multiple-get mode.

其中,步骤S1001的执行过程和原理可参考前述步骤S601,此处不再赘述。Wherein, for the execution process and principle of step S1001, reference may be made to the aforementioned step S601, which will not be repeated here.

S1002、响应于用户点击原视频缩略图的操作,显示原视频的第一详情界面,其中原视频的第一详情界面包括原视频、一键大片控件、删除控件以及精彩时刻的照片缩略图。S1002. In response to the user's operation of clicking the thumbnail of the original video, display the first detail interface of the original video, wherein the first detail interface of the original video includes the original video, a one-key blockbuster control, a delete control, and a photo thumbnail of a wonderful moment.

其中,步骤S1002的执行过程和原理可参考前述步骤S602,此处不再赘述。Wherein, for the execution process and principle of step S1002, reference may be made to the aforementioned step S602, which will not be repeated here.

需要说明的是,步骤S1001至步骤S1002仅仅是电子设备进入处于关联显示状态的原视频的第一详情界面的一种方式,在另一些实施例中,还可以采用步骤S801至步骤S804的方式进入处于关联显示状态的原视频的第一详情界面,本申请实施例对于进入处于关联显示状态的原视频的第一详情界面的方式不作限制。It should be noted that steps S1001 to S1002 are only a way for the electronic device to enter the first detailed interface of the original video in the associated display state. In other embodiments, steps S801 to S804 can also be used to enter The first details interface of the original video in the associated display state, the embodiment of the present application does not limit the way to enter the first details interface of the original video in the associated display state.

S1003、响应于用户点击删除控件的操作,在原视频的第一详情界面上显示删除菜单栏,其中删除菜单栏包括:仅删除视频控件、仅删除照片控件以及全部删除控件。S1003. In response to the user's operation of clicking the delete control, display a delete menu bar on the first detail interface of the original video, wherein the delete menu bar includes: delete only video controls, only delete photo controls, and delete all controls.

其中,步骤S1003的执行过程和原理可参考前述步骤S603,此处不再赘述。Wherein, for the execution process and principle of step S1003, reference may be made to the aforementioned step S603, which will not be repeated here.

示例性的,步骤S1001至步骤S1003的界面变化过程,可以参考前述图7的(1)、(2)、(3)至(4)的相关描述,此处不再赘述。Exemplarily, for the interface change process from step S1001 to step S1003, reference may be made to the relevant descriptions in (1), (2), (3) to (4) of FIG. 7 above, and details are not repeated here.

S1004、响应于用户点击仅删除照片的控件,显示第四提示框,其中第四提示框用于向用户确认是否删除全部精彩时刻的照片,第四提示框包括删除控件和取消控件。S1004. In response to the user clicking the control for deleting only photos, display a fourth prompt box, wherein the fourth prompt box is used to confirm to the user whether to delete all photos of wonderful moments, and the fourth prompt box includes a delete control and a cancel control.

第四提示框的删除控件用于确认执行删除全部的精彩时刻的照片的操作。取消控件用于取消执行删除全部的精彩时刻的照片的操作。第四提示框的原理与前述提及的第一提示框的原理类似,区别点在于第四提示框所针对的删除对象是全部精彩时刻的照片,而第一提示框针对的删除对象是原视频,有关第四提示框的相关描述可以参考第一提示框。The deletion control in the fourth prompt box is used to confirm the operation of deleting all the photos of wonderful moments. The cancel control is used to cancel the operation of deleting all the photos of the wonderful moments. The principle of the fourth prompt box is similar to that of the first prompt box mentioned above, the difference is that the deletion object of the fourth prompt box is the photos of all the wonderful moments, while the deletion object of the first prompt box is the original video , for the description of the fourth prompt box, please refer to the first prompt box.

在一些实施例中,第四提示框中可以显示“是否删除全部精彩照片”或者其他类似的语句,向用户进一步确认是否要删除全部精彩照片(即精彩时刻的照片)。通过第四提示框向用户确认是否删除全部精彩照片的操作,可以避免用户出现误操作的情况。In some embodiments, "whether to delete all the wonderful photos" or other similar sentences may be displayed in the fourth prompt box to further confirm to the user whether to delete all the wonderful photos (that is, the photos of the wonderful moments). The operation of confirming whether to delete all the wonderful photos to the user through the fourth prompt box can prevent the user from misoperation.

在云同步功能开启的情况下,当用户按照第四提示框的提示点击了第四提示框中的删除控件时,第四提示框中的删除控件可以是用于默认执行同时删除本地、云、以及同步设备的所有精彩时刻的照片的操作。当用户选择删除所有精彩时刻的照片时,说明用户并不想再保留任何的精彩时刻的照片,因此可以默认将本地、云、以及同步设备的所有精彩时刻的照片均进行删除,而不需要再向用户进一步确认是否删除云以及同步设备中的所有精彩时刻的照片,在考虑到用户需求的同时,简化了用户的删除操作。When the cloud synchronization function is enabled, when the user clicks the delete control in the fourth prompt box according to the prompt in the fourth prompt box, the delete control in the fourth prompt box can be used to simultaneously delete the local, cloud, And the operation of synchronizing the photos of all the wonderful moments of the device. When the user chooses to delete all the photos of the wonderful moments, it means that the user does not want to keep any photos of the wonderful moments, so all the photos of the local, cloud, and sync devices can be deleted by default, and there is no need to upload The user further confirms whether to delete the photos of all the wonderful moments in the cloud and synchronizes the device, which simplifies the user's deletion operation while considering the user's needs.

在另一些实施例中,还可以在第四提示框中提示用户可从图库中的最近删除中恢复或彻底删除全部精彩时刻的照片。由于第四提示框中的删除控件可以是用于默认执行同时删除本地、云、以及同步设备的所有精彩时刻的照片的操作,在该情况下为了满足部分用户在点击第四提示框中的删除控件之后,又想找回精彩时刻的照片的需求,则可以通过第四提示框提示用户如何找回精彩时刻的照片。在另一些实施例中,可以仅在用户首次删除全部精彩时刻的照片的场景下显示,后续不再提示用户。示例性的,参阅图12示出的原视频的第一详情界面中的第四提示框1200,第四提示框1200向用户确认是否删除全部精彩照片,并提示可在30内从最近删除中恢复或彻底删除。用户可通过点击删除控件或者取消控件进行确认。第四提示框1200中还可以包括有插画,该插画可以是某张精彩时刻的照片,也可以是某个特定的图像。In some other embodiments, the user may also be prompted in the fourth prompt box to restore or completely delete all photos of wonderful moments from recent deletions in the gallery. Since the deletion control in the fourth prompt box can be used to delete all the photos of the local, cloud, and sync devices at the same time by default, in this case, in order to meet the needs of some users to click the delete in the fourth prompt box After the control, if you want to retrieve the photos of the wonderful moments, you can use the fourth prompt box to remind the user how to retrieve the photos of the wonderful moments. In other embodiments, it may be displayed only when the user deletes all the photos of the wonderful moment for the first time, and the user will not be prompted later. Exemplarily, refer to the fourth prompt box 1200 in the first detail interface of the original video shown in FIG. or delete it entirely. The user can confirm by clicking Delete Control or Cancel Control. The fourth prompt box 1200 may also include an illustration, and the illustration may be a photo of a wonderful moment, or a specific image.

在另一些实施例中,考虑到部分用户还想保留云端同步的文件的需求,还可以在包括用于确认是否同时删除云以及所有同步设备中的全部精彩时刻的照片的选项控件。具体的,精彩时刻的照片除了存储在本地的手机中,还可能同步存储到了该用户的云端,以及该用户其他的同步设备中。如果仅选择删除本地的精彩时刻的照片,那么用户可以在用于确认是否同时删除云以及所有同步设备中的全部精彩时刻的照片的选项控件中,点击选择不删除云以及所有同步设备中的全部精彩时刻的照片,进而手机响应操作只删除本地的精彩时刻的照片,保留云及所有同步设备中的精彩时刻的照片。如果用户点击选择同时删除云以及所有同步设备中的精彩时刻的照片,那么手机响应操作删除本地、云及所有同步设备中的精彩时刻的照片。In some other embodiments, considering the requirement that some users still want to keep the files synchronized by the cloud, an option control for confirming whether to delete all the photos of the cloud and all the photos of the wonderful moments in all synchronization devices can also be included. Specifically, in addition to being stored in the local mobile phone, the photos of the wonderful moments may also be synchronously stored in the user's cloud and other synchronization devices of the user. If you only choose to delete the photos of the local highlights, then the user can click to choose not to delete all the photos in the cloud and all sync devices in the option control for confirming whether to delete all the photos of the highlights in the cloud and all sync devices at the same time. The photos of the wonderful moments, and then the mobile phone responds to the operation and only deletes the photos of the local wonderful moments, and keeps the photos of the wonderful moments in the cloud and all synchronous devices. If the user clicks to delete the photos of the wonderful moments in the cloud and all synchronous devices at the same time, the mobile phone responds to the operation and deletes the photos of the wonderful moments in the local, the cloud and all synchronous devices.

示例性的,参阅图11,执行步骤S1004的过程可以是:用户点击图11的(1)示出的删除菜单栏1101中的仅删除照片控件,手机进入到图11的(2)示出的界面,图11的(2)示出的原视频的第一详情界面上显示有第四提示框1102,第四提示框1102中显示是否删除全部精彩照片的文字,第四提示框1102中包括删除控件和取消控件。Exemplarily, referring to FIG. 11 , the process of executing step S1004 may be: the user clicks the delete only photo control in the delete menu bar 1101 shown in (1) of FIG. 11 , and the mobile phone enters the Interface, on the first details interface of the original video shown in (2) of Figure 11, a fourth prompt box 1102 is displayed, in the fourth prompt box 1102, the text of whether to delete all wonderful photos is displayed, and the fourth prompt box 1102 includes deletion controls and cancel controls.

S1005、响应于用户点击第四提示框的删除控件的操作,删除本地、云及所有同步设备中的全部精彩时刻的照片,并显示原视频的第二详情界面。S1005. In response to the user's operation of clicking the delete control in the fourth prompt box, delete all the photos of the wonderful moments in the local, cloud and all synchronization devices, and display the second detail interface of the original video.

原视频的第二详情界面均可以理解为是处于非关联显示状态的原视频的详情界面,即原视频的第二详情界面上没有关联显示精彩时刻的照片。The second detail interface of the original video can be understood as the detail interface of the original video in a non-associated display state, that is, the second detail interface of the original video is not associated with photos of exciting moments.

示例性的,当默认第四提示框的删除控件用于确认执行删除本地、云及所有同步设备中的全部精彩时刻的照片时,手机接收到用户点击第四提示框的删除控件的操作时触发执行步骤S1005。默认第四提示框的删除控件用于确认执行删除本地、云及所有同步设备中的全部精彩时刻的照片的方式,可以简化用户在删除全部精彩照片时的操作,让用户简单便捷的删除掉全部精彩时刻的照片。Exemplarily, when the default delete control in the fourth prompt box is used to confirm the execution of deletion of photos of all the wonderful moments in the local, cloud, and all synchronous devices, the mobile phone triggers when the user clicks the delete control in the fourth prompt box Execute step S1005. By default, the delete control in the fourth prompt box is used to confirm the way to delete all the photos of all the wonderful moments in the local, cloud and all sync devices, which can simplify the user's operation when deleting all the wonderful photos, allowing the user to delete all the photos easily and conveniently. Photos of great moments.

在另一些实施例中,若第四提示框中还包括有用于确认是否同时删除云以及所有同步设备中的全部精彩时刻的照片的选项控件,则执行步骤S1005的过程还可以是:响应于用户点击第四提示框的删除控件的操作以及点击确认同时删除云以及所有同步设备中的全部精彩时刻的照片的选项控件的操作,删除本地、云及所有同步设备中的全部精彩时刻的照片,并显示原视频的第二详情界面。触发删除本地、云及所有同步设备中的全部精彩时刻的照片,并显示原视频的第二详情界面的操作方式有很多,包括但不限于本申请实施例所提出的内容。第四提示框中还包括有用于确认是否同时删除云以及所有同步设备中的全部精彩时刻的照片的选项控件的方式,可以避免误删除用户仍想保留在云端的精彩时刻的照片。In some other embodiments, if the fourth prompt box also includes an option control for confirming whether to delete photos of all wonderful moments in the cloud and all synchronous devices at the same time, the process of performing step S1005 may also be: in response to the user Click the operation of the deletion control of the fourth prompt box and click the operation of the option control of deleting the photos of all the wonderful moments in the cloud and all synchronous devices at the same time to confirm, delete the photos of all the wonderful moments in the local, cloud and all synchronous devices, and Display the second detail interface of the original video. There are many operation methods for triggering the deletion of photos of all wonderful moments in the local, cloud and all synchronous devices, and displaying the second detailed interface of the original video, including but not limited to the content proposed in the embodiment of this application. The fourth prompt box also includes an option control method for confirming whether to delete the photos of all the wonderful moments in the cloud and all synchronous devices at the same time, which can avoid accidentally deleting the photos of the wonderful moments that the user still wants to keep in the cloud.

当精彩时刻的照片全部被删除后,原视频的第一详情界面上关联的所有精彩时刻的照片消失,因此自动显示为原视频的第二详情界面。原视频的第二详情界面区别于原视频的第一详情界面,不再包括精彩时刻区,进而无法通过精彩时刻区浏览精彩时刻的照片。When all the photos of the wonderful moment are deleted, all the photos of the relevant wonderful moment on the first detail interface of the original video disappear, so it is automatically displayed as the second detail interface of the original video. The second detail interface of the original video is different from the first detail interface of the original video, and no longer includes the highlight moment area, so that the photos of the highlight moment cannot be browsed through the highlight moment area.

示例性的,执行步骤S1005的过程可以是:用户点击图11的(2)示出的第四提示框1102中的删除控件,手机进入到图11的(3)示出的原视频的第二详情界面。由图11的(3)示出的界面可以看出,原视频的第二详情界面中不再关联显示精彩时刻的照片。Exemplarily, the process of executing step S1005 may be: the user clicks the delete control in the fourth prompt box 1102 shown in (2) of FIG. Details interface. From the interface shown in (3) of FIG. 11 , it can be seen that the second detailed interface of the original video is no longer associated with photos of exciting moments.

在另一些实施例中,执行步骤S1005之后,还可以包括:响应于用户点击原视频的第二详情界面中的删除控件的操作,显示第五提示框,第五提示框用于确认是否删除原视频。第五提示框包括删除控件和取消控件。当用户点击第五提示框的删除控件时,则手机删除原视频,当用户点击取消控件时,则不执行任何操作。即原视频的第二详情界面与不在一录多得模式下录制的普通视频的详情界面时类似的,原视频的第二详情界面上不再显示如前述的原视频的第一详情界面上的删除菜单栏。示例性的,参阅图11,当用户点击图11的(3)示出的界面上的删除控件时,进入到图11的(4)示出的原视频的第二详情界面,图11的(4)示出的界面上显示了第五提示框1103,第五提示框1103中显示的文字为是否删除原视频,且还提供了是否同时从云及所有同步设备删除的选项控件。用户可通过第五提示框中的删除控件的取消控件,选择是否删除原视频。In some other embodiments, after step S1005 is executed, it may further include: in response to the user's operation of clicking the delete control in the second detail interface of the original video, displaying a fifth prompt box, the fifth prompt box is used to confirm whether to delete the original video video. The fifth prompt box includes a delete control and a cancel control. When the user clicks the delete control in the fifth prompt box, the mobile phone deletes the original video, and when the user clicks the cancel control, no operation is performed. That is, the second details interface of the original video is similar to the details interface of a normal video not recorded in the one-record-multiple-get mode, and the second details interface of the original video does not display the same Remove the menu bar. Exemplarily, referring to FIG. 11, when the user clicks the delete control on the interface shown in (3) of FIG. 11, the user enters the second detailed interface of the original video shown in (4) of FIG. 4) The fifth prompt box 1103 is displayed on the shown interface, and the text displayed in the fifth prompt box 1103 is whether to delete the original video, and also provides an option control of whether to delete from the cloud and all synchronization devices at the same time. The user can choose whether to delete the original video through the cancel control of the delete control in the fifth prompt box.

(4)删除场景四:关联显示状态下,在原视频的第一详情界面上删除本地以及云端同步的某张精彩时刻的照片的场景。(4) Deletion scene 4: In the associated display state, delete a photo of a wonderful moment synchronized locally and in the cloud on the first detail interface of the original video.

参阅图13,基于删除场景四,本申请实施例提出一种文件的处理方法,应用于前述提及的电子设备中,以电子设备为手机举例,具体描述以下步骤:Referring to Figure 13, based on deletion scenario 4, the embodiment of the present application proposes a file processing method, which is applied to the aforementioned electronic device, taking the electronic device as an example of a mobile phone, and specifically describes the following steps:

S1301、响应于用户点击图库应用的操作,显示照片宫格界面,其中照片宫格界面至少包括原视频缩略图,原视频为一录多得模式下拍摄得到的原始视频。S1301. In response to the user's operation of clicking the gallery application, display a photo grid interface, wherein the photo grid interface includes at least a thumbnail of an original video, and the original video is an original video captured in a one-record-multiple-get mode.

其中,步骤S1301的执行过程和原理可以参考前述的步骤S1001,此处不再赘述。For the execution process and principle of step S1301, reference may be made to the aforementioned step S1001, which will not be repeated here.

S1302、响应于用户点击原视频缩略图的操作,显示原视频的第一详情界面,其中原视频的第一详情界面包括原视频、一键大片控件、删除控件以及精彩时刻的照片缩略图。S1302. In response to the user's operation of clicking the thumbnail of the original video, display a first detail interface of the original video, wherein the first detail interface of the original video includes the original video, a one-click blockbuster control, a delete control, and a photo thumbnail of a wonderful moment.

其中,步骤S1302的执行过程和原理可以参考前述的步骤S1002,此处不再赘述。Wherein, for the execution process and principle of step S1302, reference may be made to the aforementioned step S1002, which will not be repeated here.

需要说明的是,步骤S1301至步骤S1302仅仅是电子设备进入处于关联显示状态的原视频的第一详情界面的一种方式,在另一些实施例中,还可以采用步骤S801至步骤S804的方式进入处于关联显示状态的原视频的第一详情界面,本申请实施例对于进入处于关联显示状态的原视频的第一详情界面的方式不作限制。It should be noted that steps S1301 to S1302 are only a way for the electronic device to enter the first detail interface of the original video in the associated display state. In other embodiments, steps S801 to S804 can also be used to enter The first details interface of the original video in the associated display state, the embodiment of the present application does not limit the way to enter the first details interface of the original video in the associated display state.

示例性的,步骤S1301至步骤S1302的界面变化过程,可以参考前述图7的(1)、(2)至(3)的相关描述,此处不再赘述。Exemplarily, for the interface changing process from step S1301 to step S1302, reference may be made to the relevant descriptions in (1), (2) to (3) of FIG. 7 above, and details are not repeated here.

S1303、响应于用户在精彩时刻区中选择第一精彩时刻的照片的操作,在原视频的第一详情界面上显示第一精彩时刻的照片。S1303. In response to the user's operation of selecting the photo of the first wonderful moment in the wonderful moment area, display the photo of the first wonderful moment on the first detail interface of the original video.

其中,第一精彩时刻的照片可以理解为用户在精彩时刻区中通过滑动或者点击的操作方式所选择的精彩时刻的照片。有关精彩时刻区的介绍可参见前述图2的相关内容的描述,此处不再赘述。Wherein, the photo of the first wonderful moment can be understood as the photo of the wonderful moment selected by the user by sliding or clicking in the wonderful moment area. For the introduction of the highlights area, please refer to the description of the relevant content in FIG. 2 above, and will not be repeated here.

首次显示原视频的第一详情界面时,可以默认在第一详情界面上显示原视频,用户通过在第一详情界面的精彩时刻区中选择第一精彩时刻的照片的操作,触发原视频的第一详情界面上显示第一精彩时刻的照片。而触发在原视频的第一详情界面上显示第一精彩时刻的照片的操作方式有很多,本申请实施例对此不作限制。When the first detail interface of the original video is displayed for the first time, the original video can be displayed on the first detail interface by default, and the user selects the photo of the first wonderful moment in the highlight moment area of the first detail interface to trigger the first detail of the original video. A photo of the first wonderful moment is displayed on the details interface. However, there are many operation modes for triggering the display of the photo of the first exciting moment on the first detail interface of the original video, which is not limited in this embodiment of the present application.

示例性的,参阅图14,执行步骤S1303的过程可以是:用户在图14的(1)示出的原视频的第一详情界面中的精彩时刻区1401中,滑动选中第一精彩时刻的照片缩略图1402,手机进入到图14的(2)示出的界面,当前项指引框1403选中的照片变为第一精彩时刻的照片缩略图1402,浏览区1404中显示的照片为第一精彩时刻照片的缩略图。Exemplarily, referring to FIG. 14, the process of performing step S1303 may be: the user slides to select the photo of the first wonderful moment in the highlight moment area 1401 in the first detail interface of the original video shown in (1) of FIG. 14 Thumbnail 1402, the mobile phone enters the interface shown in (2) of Figure 14, the photo selected by the current item guide box 1403 becomes the photo thumbnail 1402 of the first wonderful moment, and the photo displayed in the browsing area 1404 is the first wonderful moment Thumbnails for photos.

S1304、响应于用户点击删除控件的操作,显示第六提示框,其中第六提示框用于确认是否删除第一精彩时刻的照片,第六提示框中包括有删除控件和取消控件。S1304. In response to the user's operation of clicking the delete control, display a sixth prompt box, wherein the sixth prompt box is used to confirm whether to delete the photo of the first wonderful moment, and the sixth prompt box includes a delete control and a cancel control.

其中,第六提示框中包括有删除控件和取消控件。第六提示框的删除控件用于执行删除第一精彩时刻的照片的操作。取消控件用于取消执行删除第一精彩时刻的照片的操作。Wherein, the sixth prompt box includes a delete control and a cancel control. The deletion control in the sixth prompt box is used to execute the operation of deleting the photo of the first wonderful moment. The cancel control is used to cancel the operation of deleting the photo of the first highlight.

在一些实施例中,第六提示框中可以显示“是否删除此精彩照片”或者其他类似的语句,向用户进一步确认是否要删除第一精彩时刻的照片。通过第六提示框向用户确认是否删除第一精彩时刻的照片的操作,可以避免用户出现误操作的情况。In some embodiments, "Delete this wonderful photo" or other similar sentences may be displayed in the sixth prompt box to further confirm to the user whether to delete the photo of the first wonderful moment. The operation of confirming to the user whether to delete the photo of the first wonderful moment through the sixth prompt box can prevent the user from misoperation.

在一些实施例中,若云同步功能开启的情况下,第六提示框的删除控件可以是用于同时删除本地、云、以及同步设备的第一精彩时刻的照片。在另一些实施例中,第一提示框的删除控件可以是仅用于删除本地的第一精彩时刻的照片。In some embodiments, if the cloud synchronization function is turned on, the delete control in the sixth prompt box may be used to simultaneously delete the photo of the first wonderful moment locally, in the cloud, and on the synchronization device. In some other embodiments, the deletion control of the first prompt box may only be used to delete the photo of the local first wonderful moment.

在另一些实施例中,第六提示框中还可以在包括用于确认是否同时删除云以及所有同步设备中的第一精彩时刻的照片的选项控件。如果用户仅选择删除本地的第一精彩时刻的照片,那么用户可以在用于确认是否同时删除云以及所有同步设备中的第一精彩时刻的照片的选项控件中,点击选择不删除云以及所有同步设备中的第一精彩时刻的照片,进而手机响应操作只删除本地的第一精彩时刻的照片,保留云及所有同步设备中的第一精彩时刻的照片。如果用户点击选择同时删除云以及所有同步设备中的第一精彩时刻的照片,那么手机响应操作删除本地、云及所有同步设备中的第一精彩时刻的照片。In some other embodiments, the sixth prompt box may further include an option control for confirming whether to delete the photos of the first wonderful moment in the cloud and all synchronization devices at the same time. If the user only chooses to delete the local photo of the first highlight moment, then the user can click to choose not to delete the cloud and all synchronizations in the option control for confirming whether to delete the photos of the first highlight moment in the cloud and all synchronized devices at the same time The photo of the first wonderful moment in the device, and then the mobile phone responds to the operation and only deletes the local photo of the first wonderful moment, and keeps the photos of the first wonderful moment in the cloud and all synchronous devices. If the user clicks to delete the photo of the first wonderful moment in the cloud and all synchronous devices at the same time, the mobile phone responds to the operation and deletes the photo of the first wonderful moment in the local, cloud and all synchronous devices.

示例性的,执行步骤S1304的过程可以是:如图14的(2)所示,用户点击图14的(2)所示的删除控件,进入到图14的(3)示出的界面,图14的(3)示出的界面上出现第六提示框1405,第六提示框1405中显示的文字为“是否删除此精彩照片”,并提供了是否同时从云及所有同步设备中删除的选项控件。Exemplarily, the process of executing step S1304 may be: as shown in (2) of FIG. 14, the user clicks the delete control shown in (2) of FIG. 14 to enter the interface shown in (3) of FIG. A sixth prompt box 1405 appears on the interface shown in (3) of 14, and the text displayed in the sixth prompt box 1405 is "whether to delete this wonderful photo", and provides the option of whether to delete from the cloud and all synchronous devices at the same time controls.

S1305、响应于用户点击第六提示框中的删除控件的操作,删除本地、云及所有同步设备中的第一精彩时刻的照片,并在原视频的第一详情界面上显示第二精彩时刻的照片。S1305. In response to the user's operation of clicking the delete control in the sixth prompt box, delete the photo of the first wonderful moment in the local, cloud and all synchronization devices, and display the photo of the second wonderful moment on the first detail interface of the original video .

其中,第二精彩时刻的照片为排列在精彩时刻区中第一精彩时刻的照片之后的精彩时刻的照片。精彩时刻区中的精彩时刻照片的排序本申请实施例不作限制。Wherein, the photo of the second wonderful moment is a photo of the wonderful moment arranged after the photo of the first wonderful moment in the wonderful moment area. The ordering of the photos of the wonderful moments in the wonderful moments area is not limited in this embodiment of the present application.

示例性的,当默认第六提示框的删除控件用于删除本地、云及所有同步设备中的第一精彩时刻的照片时,手机接收到用户点击第六提示框的删除控件的操作时触发执行步骤S1305。Exemplarily, when the default delete control in the sixth prompt box is used to delete the photo of the first wonderful moment in the local, cloud, and all synchronization devices, the mobile phone triggers execution when the user clicks the delete control in the sixth prompt box. Step S1305.

在另一些实施例中,若第六提示框中还包括有用于确认是否同时删除云以及所有同步设备中的第一精彩时刻的照片的选项控件,则执行步骤S1305的过程还可以是:响应于用户点击第六提示框的删除控件的操作以及点击确认同时删除云以及所有同步设备中的第一精彩时刻的照片的选项控件的操作,删除本地、云及所有同步设备中的第一精彩时刻的照片,并在原视频的第一详情界面上显示第二精彩时刻的照片。触发删除本地、云及所有同步设备中的第一精彩时刻的照片,并在原视频的第一详情界面上显示第二精彩时刻的照片的操作方式有很多,包括但不限于本申请实施例所提出的内容。In some other embodiments, if the sixth prompt box also includes an option control for confirming whether to delete the photos of the first wonderful moment in the cloud and all synchronization devices at the same time, the process of performing step S1305 may also be: in response to The user clicks the operation of the deletion control of the sixth prompt box and the operation of clicking the option control of confirming to delete the photo of the first wonderful moment in the cloud and all synchronous devices at the same time, and deletes the photo of the first wonderful moment in the local, cloud and all synchronous devices photo, and display the photo of the second exciting moment on the first detail interface of the original video. There are many ways to trigger the deletion of the photos of the first wonderful moment in the local, cloud and all synchronization devices, and to display the photos of the second wonderful moment on the first detail interface of the original video, including but not limited to those proposed in the embodiments of this application Content.

当第一精彩时刻的照片被删除后,原视频的第一详情界面的浏览区上会自动变更为显示第二精彩时刻的照片。精彩时刻区中第一精彩时刻的照片缩略图已删除。例如,原本精彩时刻区中共有原视频以及5张精彩时刻的照片缩略图,在执行图13示出的方法之后,精彩时刻区中变为原视频以及4张精彩时刻的照片缩略图。When the photo of the first wonderful moment is deleted, the browsing area of the first detail interface of the original video will be automatically changed to display the photo of the second wonderful moment. The photo thumbnail for the first highlight in the highlights area has been removed. For example, the original video and 5 thumbnail pictures of wonderful moments were shared in the wonderful moment area. After the method shown in FIG.

示例性的,执行步骤S1305的过程可以是:用户在图14的(3)示出的界面上勾选了第六提示框1405中的同时从云及所有同步设备中删除的选项控件,并点击删除控件,手机进入到图14的(4)示出的原视频的第一详情界面。在原视频的第一详情界面中,精彩时刻区中的当前项指引框选中第二精彩时刻的照片缩略图1406,浏览区1404显示的是第二精彩时刻的照片。精彩时刻区1401中不再显示有前述图14的(1)示出的第一精彩时刻的照片缩略图1402,即用户不能够在浏览区1404中查看第一精彩时刻的照片,手机完成对第一精彩时刻的照片删除操作。Exemplarily, the process of executing step S1305 may be: the user checks the option control of simultaneously deleting from the cloud and all synchronization devices in the sixth prompt box 1405 on the interface shown in (3) of FIG. 14 , and clicks Delete the control, and the mobile phone enters the first detailed interface of the original video shown in (4) of FIG. 14 . In the first detail interface of the original video, the thumbnail image 1406 of the photo of the second wonderful moment is selected in the guidance frame of the current item in the wonderful moment area, and the photo of the second wonderful moment is displayed in the browsing area 1404 . The photo thumbnail 1402 of the first wonderful moment shown in (1) of FIG. A photo deletion operation of a wonderful moment.

需要说明的是,后续除了在原视频的第一详情界面中不再显示第一精彩时刻的照片,且在存放有精彩时刻的照片的相册中(例如一录多得相册),也不再显示第一精彩时刻的照片,实现对第一精彩时刻的照片彻底删除。It should be noted that, in addition to not displaying the photos of the first wonderful moment in the first detail interface of the original video, and in the albums that store photos of the wonderful moments (for example, one record many albums), the second will no longer be displayed. A photo of a wonderful moment, to realize the complete deletion of the photo of the first wonderful moment.

(5)删除场景五:关联显示状态下,在原视频的第一详情界面上删除本地的某张精彩时刻的照片,但不同时删除云端同步的某张精彩时刻的照片的场景。(5) Deletion scene 5: In the associated display state, delete a local photo of a wonderful moment on the first detail interface of the original video, but do not delete a photo of a wonderful moment synchronized by the cloud at the same time.

参阅图15,基于删除场景五,本申请实施例提出一种文件的处理方法,应用于前述提及的电子设备中,以电子设备为手机举例,具体描述以下步骤:Referring to Figure 15, based on deletion scenario five, the embodiment of the present application proposes a file processing method, which is applied to the aforementioned electronic device, taking the electronic device as an example of a mobile phone, and specifically describes the following steps:

S1501、响应于用户点击图库应用的操作,显示照片宫格界面,其中照片宫格界面至少包括原视频缩略图,原视频为一录多得模式下拍摄得到的原始视频。S1501. In response to the user's operation of clicking the gallery application, display a photo grid interface, wherein the photo grid interface includes at least a thumbnail of an original video, and the original video is an original video captured in a one-record-multiple-get mode.

其中,步骤S1501的执行过程和原理可以参考前述的步骤S1301,此处不再赘述。Wherein, for the execution process and principle of step S1501, reference may be made to the aforementioned step S1301, which will not be repeated here.

S1502、响应于用户点击原视频缩略图的操作,显示原视频的第一详情界面,其中原视频的第一详情界面包括原视频、一键大片控件、删除控件以及精彩时刻的照片缩略图。S1502. In response to the user's operation of clicking the thumbnail of the original video, display a first detail interface of the original video, wherein the first detail interface of the original video includes the original video, a one-key blockbuster control, a delete control, and a thumbnail of photos of wonderful moments.

其中,步骤S1502的执行过程和原理可以参考前述的步骤S1302,此处不再赘述。Wherein, for the execution process and principle of step S1502, reference may be made to the aforementioned step S1302, which will not be repeated here.

S1503、响应于用户在精彩时刻区中选择第一精彩时刻的照片的操作,在原视频的第一详情界面上显示第一精彩时刻的照片。S1503. In response to the user's operation of selecting the photo of the first wonderful moment in the wonderful moment area, display the photo of the first wonderful moment on the first detail interface of the original video.

其中,步骤S1503的执行过程和原理可以参考前述的步骤S1303,此处不再赘述。Wherein, for the execution process and principle of step S1503, reference may be made to the aforementioned step S1303, which will not be repeated here.

S1504、响应于用户点击删除控件的操作,显示第六提示框,其中第六提示框用于确认是否删除第一精彩时刻的照片,第六提示框中包括有删除控件和取消控件。S1504. In response to the user's operation of clicking the delete control, display a sixth prompt box, wherein the sixth prompt box is used to confirm whether to delete the photo of the first wonderful moment, and the sixth prompt box includes a delete control and a cancel control.

其中,步骤S1504的执行过程和原理可以参考前述的步骤S1304,此处不再赘述。Wherein, for the execution process and principle of step S1504, reference may be made to the aforementioned step S1304, which will not be repeated here.

S1505、响应于用户点击第六提示框中的删除控件的操作,删除本地的第一精彩时刻的照片,并在原视频的第一详情界面上显示第一精彩时刻的照片对应的云端预览图以及云端下载控件。S1505. In response to the user's operation of clicking the delete control in the sixth prompt box, delete the local photo of the first wonderful moment, and display the cloud preview corresponding to the photo of the first wonderful moment and the cloud on the first detail interface of the original video Download controls.

示例性的,当默认第六提示框的删除控件用于删除本地的第一精彩时刻的照片,不同时删除云端同步的第一精彩时刻的照片时,手机接收到用户点击第六提示框的删除控件的操作时触发执行步骤S1505。Exemplarily, when the default delete control in the sixth prompt box is used to delete the photo of the first wonderful moment locally, but not delete the photo of the first wonderful moment synchronized in the cloud at the same time, the mobile phone receives the user's click on the deletion of the sixth prompt box The operation of the control triggers the execution of step S1505.

在另一些实施例中,若第六提示框中还包括有用于确认是否同时删除云以及所有同步设备中的第一精彩时刻的照片的选项控件,则执行步骤S1505的过程还可以是:响应于用户点击第六提示框的删除控件的操作以及点击确认不同时删除云以及所有同步设备中的第一精彩时刻的照片的选项控件的操作,删除本地的第一精彩时刻的照片,不同时删除云及所有同步设备中的第一精彩时刻的照片,并在原视频的第一详情界面上显示第一精彩时刻的照片对应的云端预览图。触发删除本地的第一精彩时刻的照片,并在原视频的第一详情界面上显示第一精彩时刻的照片对应的云端预览图的操作方式有很多,包括但不限于本申请实施例所提出的内容。In some other embodiments, if the sixth prompt box also includes an option control for confirming whether to delete the photos of the first wonderful moment in the cloud and all synchronization devices at the same time, the process of performing step S1505 may also be: in response to The user clicks the operation of the deletion control of the sixth prompt box and the operation of clicking the option control of confirming not to delete the photos of the first wonderful moment in the cloud and all synchronization devices at the same time, deletes the local photo of the first wonderful moment, and does not delete the cloud at the same time and the photos of the first wonderful moment in all synchronization devices, and display the cloud preview image corresponding to the photo of the first wonderful moment on the first detail interface of the original video. There are many operation methods for triggering the deletion of the local photo of the first wonderful moment, and displaying the cloud preview image corresponding to the photo of the first wonderful moment on the first detail interface of the original video, including but not limited to the content proposed in the embodiment of this application .

在第一精彩时刻的照片有同步至云及其他的同步设备的情况下,删除本地的第一精彩时刻的照片之后,云端上仍存储有第一精彩时刻的照片,为了方便用户对云端的第一精彩时刻的照片进行管理,原视频的第一详情界面上会显示有第一精彩时刻的照片对应的云端预览图。第一精彩时刻的照片对应的云端预览图低于第一精彩时刻的照片(可以理解为第一精彩时刻的照片的原图)的画质、清晰度等,如若用户想在本地获取第一精彩时刻的照片的原图,可以通过第一详情界面中的云端下载控件下载。具体的,用户在显示有第一精彩时刻的照片对应的云端预览图的界面上点击云端下载控件,手机则响应于用户点击云端下载控件的操作,下载第一精彩时刻的照片至本地。In the case that the photos of the first wonderful moment are synchronized to the cloud and other synchronization devices, after deleting the local photos of the first wonderful moment, the photos of the first wonderful moment are still stored on the cloud. Manage the photos of a wonderful moment, and the cloud preview image corresponding to the photo of the first wonderful moment will be displayed on the first detail interface of the original video. The cloud preview image corresponding to the photo of the first wonderful moment is lower than the picture quality and definition of the photo of the first wonderful moment (which can be understood as the original image of the photo of the first wonderful moment), if the user wants to obtain the first wonderful moment locally The original image of the moment photo can be downloaded through the cloud download control in the first detail interface. Specifically, the user clicks the cloud download control on the interface displaying the cloud preview image corresponding to the photo of the first wonderful moment, and the mobile phone responds to the user's operation of clicking the cloud download control to download the photo of the first wonderful moment to the local.

执行步骤S1505之后的原视频的第一详情界面中,从原本关联显示的第一精彩时刻的照片,变更为关联显示第一精彩时刻的照片对应的云端预览图,精彩时刻区中原本显示有第一精彩时刻的照片缩略图的位置,变更为显示第一精彩时刻的照片对应的云端预览图。例如,原本精彩时刻区中共有原视频以及5张精彩时刻的照片缩略图,在执行图15示出的方法之后,精彩时刻区中变为有原视频、4张精彩时刻的照片缩略图以及1张精彩时刻的照片对应的云端预览图。In the first detail interface of the original video after step S1505 is executed, the original associated display of the photo of the first wonderful moment is changed to the cloud preview image corresponding to the photo of the first wonderful moment displayed in association, and the wonderful moment area originally displays the first The position of the thumbnail of the photo of a wonderful moment is changed to display the cloud preview image corresponding to the photo of the first wonderful moment. For example, originally there were original videos and 5 thumbnails of pictures of wonderful moments in the wonderful moments area. After executing the method shown in FIG. Cloud preview corresponding to a photo of a wonderful moment.

示例性的,执行步骤S1503至步骤S1505的过程为:用户点击选择图16的(1)示出的精彩时刻区1601中的第一精彩时刻的照片缩略图1602,以使得手机显示图16的(2)示出的原视频的第一详情界面。图16的(2)示出的界面中,当前项指引框选中第一精彩时刻的照片缩略图1602,浏览区1604中显示第一精彩时刻的照片,用户点击图16的(2)示出的删除控件,手机进入到图16的(3)示出的界面。图16的(3)示出的第六提示框1605中显示文字:是否删除此精彩照片,并显示有是否同时从云及所有同步设备中删除的选项控件。用户不勾选同时从云及所有同步设备中删除的选项控件,并点击了第六提示框中的删除控件,以使得手机进入图16的(4)示出的界面。图16的(4)示出的原视频的第一详情界面,在浏览区1604中显示了第一精彩时刻的照片对应的云端预览图,并显示有云端控件1607,精彩时刻区1601中具有第一精彩时刻的照片对应的云端预览图1606。图16的(4)示出的界面虽然与图16的(2)示出的界面所显示的照片内容相同,但图16的(4)显示的照片为云端预览图,画质和清晰度低于图16的(2)示出的照片,且图16的(4)中相较于图16的(2)多出了一个云端下载控件1607,用户可以通过云端下载控件1607,从云端下载得到第一精彩时刻的照片的高画质高清晰度的原图。Exemplarily, the process of executing steps S1503 to S1505 is: the user clicks and selects the photo thumbnail 1602 of the first wonderful moment in the wonderful moment area 1601 shown in (1) of FIG. 16 , so that the mobile phone displays ( 2) The first detailed interface of the original video shown. In the interface shown in (2) of Figure 16, the current item guide box selects the photo thumbnail 1602 of the first wonderful moment, and the photo of the first wonderful moment is displayed in the browsing area 1604, and the user clicks the picture shown in (2) of Figure 16 Delete the control, and the mobile phone enters the interface shown in (3) of FIG. 16 . Text is displayed in the sixth prompt box 1605 shown in (3) of FIG. 16 : whether to delete this wonderful photo, and an option control of whether to delete from the cloud and all synchronous devices at the same time is displayed. The user does not check the option control to delete from the cloud and all synchronization devices at the same time, and clicks the delete control in the sixth prompt box, so that the mobile phone enters the interface shown in (4) of FIG. 16 . The first details interface of the original video shown in (4) of Figure 16 shows the cloud preview image corresponding to the photo of the first wonderful moment in the browsing area 1604, and displays a cloud control 1607, and the wonderful moment area 1601 has the first A cloud preview image 1606 corresponding to a photo of a wonderful moment. Although the interface shown in (4) of Figure 16 is the same as the content of the photo displayed on the interface shown in (2) of Figure 16, the photo shown in (4) of Figure 16 is a cloud preview image with low quality and clarity In the photo shown in (2) of Figure 16, and in (4) of Figure 16 compared with (2) of Figure 16, there is a cloud download control 1607, and the user can download it from the cloud through the cloud download control 1607. High-quality high-definition original pictures of photos of the first wonderful moments.

(6)删除场景六:关联显示状态下,在原视频的第一详情界面上删除本地的原视频及所有精彩时刻的照片,同时也删除云端同步的原视频及所有精彩时刻的照片的场景。(6) Deletion Scene 6: In the associated display state, delete the local original video and all the photos of the wonderful moments on the first detail interface of the original video, and also delete the original video and the photos of all the wonderful moments synchronized by the cloud.

参阅图17,基于删除场景六,本申请实施例提出一种文件的处理方法,应用于前述提及的电子设备中,以电子设备为手机举例,具体描述以下步骤:Referring to Figure 17, based on deletion scenario six, this embodiment of the present application proposes a file processing method, which is applied to the aforementioned electronic device, taking the electronic device as an example of a mobile phone, and specifically describes the following steps:

S1701、响应于用户点击图库应用的操作,显示照片宫格界面,其中照片宫格界面至少包括原视频缩略图,原视频为一录多得模式下拍摄得到的原始视频。S1701. In response to the user's operation of clicking the gallery application, display a photo grid interface, wherein the photo grid interface includes at least a thumbnail of an original video, and the original video is an original video captured in a one-record-multiple-get mode.

其中,步骤S1701的执行过程和原理可参考前述步骤S1001,此处不再赘述。Wherein, for the execution process and principle of step S1701, reference may be made to the aforementioned step S1001, which will not be repeated here.

S1702、响应于用户点击原视频缩略图的操作,显示原视频的第一详情界面,其中原视频的第一详情界面包括原视频、一键大片控件、删除控件以及精彩时刻的照片缩略图。S1702. In response to the user's operation of clicking the thumbnail of the original video, display a first detail interface of the original video, wherein the first detail interface of the original video includes the original video, a one-click blockbuster control, a delete control, and a thumbnail of photos of exciting moments.

其中,步骤S1702的执行过程和原理可参考前述步骤S1002,此处不再赘述。For the execution process and principle of step S1702, reference may be made to the aforementioned step S1002, which will not be repeated here.

S1703、响应于用户点击删除控件的操作,在原视频的第一详情界面上显示删除菜单栏,其中删除菜单栏包括:仅删除视频控件、仅删除照片控件以及全部删除控件。S1703. In response to the user's operation of clicking the delete control, display a delete menu bar on the first detail interface of the original video, where the delete menu bar includes: delete only the video control, delete only the photo control, and delete all controls.

其中,步骤S1703的执行过程和原理可参考前述步骤S1003,此处不再赘述。Wherein, for the execution process and principle of step S1703, reference may be made to the aforementioned step S1003, which will not be repeated here.

示例性的,步骤S1701至步骤S1703的界面变化过程,可以参考前述图7的(1)、(2)、(3)至(4)的相关描述,此处不再赘述。Exemplarily, for the interface changing process from step S1701 to step S1703, reference may be made to the relevant descriptions in (1), (2), (3) to (4) of FIG. 7 above, and details will not be repeated here.

S1704、响应于用户点击全部删除控件的操作,显示第七提示框,其中第七提示框用于确认是否删除原视频和全部的精彩时刻的照片,第七提示框包括删除控件和取消控件。S1704. In response to the user's operation of clicking all delete controls, display a seventh prompt box, wherein the seventh prompt box is used to confirm whether to delete the original video and all photos of the wonderful moments, and the seventh prompt box includes delete controls and cancel controls.

第七提示框的删除控件用于执行删除原视频和全部的精彩时刻的照片的操作。取消控件用于取消执行删除原视频和全部的精彩时刻的照片的操作。第七提示框的原理与前述提及的第一提示框、第四提示框的原理类似,区别点在于第四提示框所针对的删除对象是全部精彩时刻的照片,第一提示框针对的删除对象是原视频,而第七提示框的删除对象是原视频及全部的精彩时刻的照片,第七提示框的一些相关描述可以参考前述的第一提示框和第七提示框。The deletion control in the seventh prompt box is used to execute the operation of deleting the original video and all photos of wonderful moments. The cancel control is used to cancel the operation of deleting the original video and all the photos of the wonderful moments. The principle of the seventh prompt box is similar to that of the aforementioned first prompt box and the fourth prompt box. The object is the original video, and the deletion object of the seventh prompt box is the original video and all the photos of the wonderful moments. For some related descriptions of the seventh prompt box, please refer to the aforementioned first prompt box and seventh prompt box.

在一些实施例中,第七提示框中可以显示“是否删除此视频和全部精彩照片”或者其他类似的语句,向用户进一步确认是否要删除原视频和全部精彩照片(即精彩时刻的照片)。通过第七提示框向用户确认是否删除原视频和全部精彩照片的操作,可以避免用户出现误操作的情况。In some embodiments, "Do you want to delete this video and all the wonderful photos" or other similar sentences may be displayed in the seventh prompt box to further confirm to the user whether to delete the original video and all the wonderful photos (that is, the photos of the wonderful moments). The operation of confirming whether to delete the original video and all the wonderful photos to the user through the seventh prompt box can prevent the user from misoperation.

在一些实施例中,若云同步功能开启的情况下,第七提示框的删除控件可以是用于同时删除本地、云、以及同步设备的原视频及所有精彩时刻的照片。In some embodiments, if the cloud synchronization function is turned on, the delete control in the seventh prompt box can be used to simultaneously delete the original video and photos of all wonderful moments in the local, cloud, and sync devices.

在另一些实施例中,考虑到部分用户还想保留云端同步的文件的需求,还可以在包括用于确认是否同时从云以及所有同步设备删除的选项控件。具体的,云同步的情况下,精彩时刻的照片以及原视频除了存储在本地的手机中,还可能同步备份到了该用户的云端,以及该用户其他的同步设备中。如果仅选择删除本地的原视频和全部精彩时刻照片,那么用户可以在用于确认是否同时从云以及所有同步设备删除的选项控件中,点击选择不同时从云以及所有同步设备删除,进而手机响应操作只删除本地的原视频和全部精彩时刻的照片,保留云及所有同步设备中同步的文件。如果用户点击选择同时从云以及所有同步设备删除,那么手机响应操作删除本地、云及所有同步设备中的原视频和全部精彩时刻的照片。In some other embodiments, considering the requirement that some users still want to keep the files synchronized by the cloud, an option control for confirming whether to delete from the cloud and all synchronization devices at the same time may also be included. Specifically, in the case of cloud synchronization, photos and original videos of exciting moments may not only be stored in the local mobile phone, but may also be synchronously backed up to the user's cloud and other synchronization devices of the user. If you only choose to delete the local original video and all the highlights photos, then the user can click to select not to delete from the cloud and all sync devices at the same time in the option control for confirming whether to delete from the cloud and all sync devices at the same time, and then the phone responds The operation only deletes the local original video and photos of all the wonderful moments, and keeps the files synchronized in the cloud and all synchronization devices. If the user clicks to delete from the cloud and all synchronous devices at the same time, the mobile phone responds to the operation and deletes the original video and photos of all wonderful moments in the local, cloud and all synchronous devices.

示例性的,参阅图18,执行步骤S1704的过程为:用户在图18的(1)示出的删除菜单栏1801中点击全部删除控件,手机进入到图18的(2)示出的界面,图18的(2)示出的原视频的第一详情界面中显示第七提示框1802,第七提示框1802显示的文字为是否删除此视频和全部精彩照片,且还显示有同时从云及所有同步设备中删除的选项控件,第七提示框中还为用户提供了删除控件和取消控件,以供用户对第七提示框1802所提示的内容进行确认。Exemplarily, referring to FIG. 18 , the process of executing step S1704 is: the user clicks the delete all control in the delete menu bar 1801 shown in (1) of FIG. 18 , and the mobile phone enters the interface shown in (2) of FIG. 18 , The seventh prompt box 1802 is displayed in the first detail interface of the original video shown in (2) of FIG. For the option controls deleted in all synchronization devices, the seventh prompt box also provides a delete control and a cancel control for the user to confirm the content prompted by the seventh prompt box 1802 .

S1705、响应于用户点击第七提示框中的删除控件的操作,删除本地、云及所有同步设备中的原视频和全部精彩时刻的照片,并显示下一个图像文件的详情界面。S1705. In response to the user's operation of clicking the delete control in the seventh prompt box, delete the original video and photos of all the wonderful moments in the local, cloud and all synchronization devices, and display the detailed interface of the next image file.

其中,有关下一个图像文件的详情界面的相关介绍,可以参考前述步骤S605中提及的下一个图像文件的详情界面的相关内容,此处不再赘述。For the relevant introduction of the detailed interface of the next image file, reference may be made to the relevant content of the detailed interface of the next image file mentioned in the aforementioned step S605 , which will not be repeated here.

示例性的,当默认第七提示框的删除控件用于删除本地、云及所有同步设备中的原视频和全部精彩时刻的照片时,手机接收到用户点击第七提示框的删除控件的操作时触发执行步骤S1705。Exemplarily, when the default deletion control in the seventh prompt box is used to delete the original video and photos of all the exciting moments in the local, cloud, and all sync devices, when the mobile phone receives the user's operation of clicking the delete control in the seventh prompt box Trigger execution of step S1705.

在另一些实施例中,若第七提示框中还包括有用于确认是否同时从云以及所有同步设备中删除的选项控件,则执行步骤S1705的过程还可以是:响应于用户点击第七提示框的删除控件的操作以及点击确认同时从云以及所有同步设备中删除的选项控件的操作,删除本地、云及所有同步设备中的原视频和全部精彩时刻的照片,并显示下一个图像文件的详情界面。触发删除本地、云及所有同步设备中的原视频和全部精彩时刻的照片,并显示下一个图像文件的详情界面的操作方式有很多,包括但不限于本申请实施例所提出的内容。In some other embodiments, if the seventh prompt box also includes an option control for confirming whether to delete from the cloud and all synchronization devices at the same time, the process of performing step S1705 may also be: in response to the user clicking the seventh prompt box The operation of the delete control and the operation of the option control to delete from the cloud and all synchronous devices at the same time, delete the original video and all the photos of the wonderful moments in the local, cloud and all synchronous devices, and display the details of the next image file interface. There are many ways to trigger the deletion of the original video and photos of all the exciting moments in the local, cloud and all synchronization devices, and display the detailed interface of the next image file, including but not limited to the content proposed in the embodiment of this application.

当本地、云及所有同步设备中的原视频和全部精彩时刻的照片被删除之后,用户再次点击进入图库应用时,将无法从相册或者照片宫格界面中查看到原视频和全部精彩时刻的照片。即一录多得相册中不再包括有原视频关联的精彩时刻的照片,而原视频也不能够在图库的相册、照片宫格界面等入口查看得到。在另一些实施例中,用户可以从最近删除中恢复原视频和精彩时刻的照片。After the original video and photos of all the wonderful moments in the local, cloud and all sync devices are deleted, the user will not be able to view the original video and photos of all the wonderful moments from the album or photo grid interface when clicking to enter the gallery application again . That is to say, the one-record multiple album no longer includes the photos of the exciting moments associated with the original video, and the original video cannot be viewed in the album of the gallery, the photo grid interface, and other entrances. In other embodiments, users can restore original videos and photos of highlights from recent deletions.

由于原视频的文件已被删除,因此手机不再显示原视频的第一详情界面,而是自动跳转到下一个图像文件的详情界面。Since the file of the original video has been deleted, the mobile phone no longer displays the first detail interface of the original video, but automatically jumps to the detail interface of the next image file.

示例性的,执行步骤S1705的过程可以是:用户勾选图18的(2)示出的第七提示框1802中的同时从云及所有同步设备中删除的选项控件,并点击第七提示框1802中的删除控件,手机进入到图18的(3)示出的下一个图像文件的详情界面。Exemplarily, the process of performing step S1705 may be: the user checks the option control of simultaneously deleting from the cloud and all synchronization devices in the seventh prompt box 1802 shown in (2) of FIG. 18 , and clicks on the seventh prompt box Delete the control in 1802, and the mobile phone enters the detailed interface of the next image file shown in (3) of FIG. 18 .

在另一些实施例中,若云同步功能开启,第七提示框中还包括有用于确认是否同时从云以及所有同步设备中删除的选项控件时,若用户在不勾选同时从云以及所有同步设备中删除的选项控件的情况下点击第七提示框中的删除控件,手机接收到用户的操作,响应于用户操作,仅删除本地的原视频和全部精彩时刻的照片,而不对云同步的原视频和全部精彩时刻的照片进行处理。该情况下,若原视频和精彩时刻的照片均已同步到了云端,则图库中仍然保留有原视频的云端预览图和精彩时刻的照片对应的云端预览图。其中,原视频的云端预览图可以参考前述对图9的(9)的相关描述,精彩时刻的照片的云端预览图可以参考前述对图16的(4)的相关描述。云端预览图上的云端下载控件可以用于从云端下载原文件。In other embodiments, if the cloud synchronization function is turned on, the seventh prompt box also includes an option control for confirming whether to delete from the cloud and all synchronization devices at the same time, if the user does not check the synchronization from the cloud and all synchronization devices at the same time In the case of the deleted option control in the device, click the delete control in the seventh prompt box, the mobile phone receives the user's operation, and in response to the user's operation, only deletes the local original video and all the photos of the wonderful moments, not the original cloud synchronization. Videos and photos of all the great moments. In this case, if the original video and the photo of the wonderful moment have been synchronized to the cloud, the cloud preview image corresponding to the original video and the photo of the wonderful moment will still be kept in the gallery. Wherein, the cloud preview image of the original video can refer to the above-mentioned relevant description of (9) in FIG. The cloud download control on the cloud preview image can be used to download the original file from the cloud.

(7)删除场景七:在关联显示状态中,在某个相册的宫格界面上同时删除原视频和其他图像文件的场景。(7) Deletion Scene 7: In the associated display state, delete the original video and other image files at the same time on the grid interface of an album.

参阅图19,基于删除场景七,本申请实施例提出一种文件的处理方法,应用于前述提及的电子设备中,以电子设备为手机举例,具体描述以下步骤:Referring to Figure 19, based on deletion scenario 7, the embodiment of the present application proposes a file processing method, which is applied to the aforementioned electronic device, taking the electronic device as an example of a mobile phone, and specifically describes the following steps:

S1901、响应于用户点击图库应用的操作,显示照片宫格界面,其中照片宫格界面至少包括原视频缩略图和相册控件,原视频为一录多得模式下拍摄得到的原始视频。S1901. In response to the user's operation of clicking the gallery application, display a photo grid interface, wherein the photo grid interface includes at least a thumbnail of an original video and an album control, and the original video is an original video captured in a one-record-multiple mode.

其中,步骤S1901的执行过程和原理可参考前述提及的步骤S801,此处不再赘述。For the execution process and principle of step S1901, reference may be made to the aforementioned step S801, which will not be repeated here.

S1902、响应于用户点击相册控件的操作,显示相册宫格界面,相册宫格界面包括:相机相册、一录多得相册、以及所有照片相册。S1902. In response to the user's operation of clicking the album control, an album grid interface is displayed, and the album grid interface includes: camera albums, one record multiple albums, and all photo albums.

其中,步骤S1902的执行过程和原理可参考前述提及的步骤S802,此处不再赘述。For the execution process and principle of step S1902, reference may be made to the aforementioned step S802, which will not be repeated here.

S1903、响应于用户点击相机相册的操作,显示相机相册的宫格界面,其中相机相册的宫格界面包括原视频缩略图和至少一个图像文件的缩略图。S1903. In response to the user's operation of clicking the camera album, display a grid interface of the camera album, wherein the grid interface of the camera album includes a thumbnail of the original video and a thumbnail of at least one image file.

至少一个图像文件可以理解为是相机相册的宫格界面中除原视频缩略图之外的图像文件,图像文件可以是照片也可以是视频,视频可以是一录多得模式下拍摄得到的,也可以是非一录多得模式下得到的。At least one image file can be understood as an image file other than the original video thumbnail in the grid interface of the camera album. The image file can be a photo or a video. It can be obtained in non-multiple access mode.

其中,步骤S1903的执行过程和原理可参考前述提及的步骤S803,此处不再赘述。For the execution process and principle of step S1903, reference may be made to the aforementioned step S803, which will not be repeated here.

示例性的,执行步骤S1901至步骤S1904过程中的界面变化,可以参考前述对图9的(1)、(2)、(3)至(4)的描述,此处不再赘述。Exemplarily, for the interface changes during the execution of steps S1901 to S1904, reference may be made to the foregoing descriptions of (1), (2), (3) to (4) in FIG. 9 , which will not be repeated here.

S1904、响应于用户长按点击原视频缩略图和至少一个图像文件的缩略图的操作,在相机相册的宫格界面上显示勾选用户点击的缩略图,并显示删除控件。S1904. In response to the user's operation of long-pressing and clicking the original video thumbnail and the thumbnail of at least one image file, the thumbnail clicked by the user is checked on the grid interface of the camera album, and a deletion control is displayed.

其中,宫格界面上的删除控件用于执行删除勾选的缩略图对应的文件。在相机相册的宫格界面上显示勾选用户点击的缩略图,可以理解为是一种通过界面展示说明手机选中了用户点击的缩略图对应的文件的方式。在一些实施例中,选中用户点击的缩略图的方式有很多,除了勾选的方式,还可以是加深选中的缩略图的底色的方式等等,本申请实施例对于如何显示选中用户点击的缩略图的方式不作限制。Wherein, the delete control on the grid interface is used to delete the files corresponding to the checked thumbnails. Displaying the checked thumbnails clicked by the user on the grid interface of the camera album can be understood as a way of displaying through the interface to indicate that the mobile phone has selected the file corresponding to the thumbnail clicked by the user. In some embodiments, there are many ways to select the thumbnails clicked by the user. In addition to the way of checking, it can also be the way of deepening the background color of the selected thumbnails. The way of thumbnail is not limited.

在一些实施例中,当勾选了原视频缩略图时,可以将原视频缩略图上的特定标识进行隐藏的,由此说明与原视频关联显示的精彩时刻的照片并未被勾选。其中,特定标识可以用于说明关联显示状态,也可以用于说明原视频是一录多得模式下录制得到的。在另一些实施例中,当勾选了原视频缩略图时也可以不隐藏特定标识。In some embodiments, when the thumbnail of the original video is selected, the specific mark on the thumbnail of the original video may be hidden, thereby indicating that the photo of the exciting moment displayed in association with the original video is not selected. Wherein, the specific mark can be used to explain the associated display state, and can also be used to indicate that the original video is recorded in the one-record-multiple-record mode. In some other embodiments, when the original video thumbnail is selected, the specific identification may not be hidden.

在另一些实施例中,用户除了可以通过长按点击原视频缩略图和至少一个图像文件的缩略图的操作,选中缩略图,还可以通过触摸、按压缩略图的方式选中缩略图,本申请实施例对于用户选中缩略图的方式不作限制。In some other embodiments, the user can select the thumbnail by long-pressing and clicking the thumbnail of the original video and at least one image file, and can also select the thumbnail by touching and compressing the thumbnail. This application implements For example, there are no restrictions on the way the user selects a thumbnail.

即步骤S1904也可以理解为是响应于用户选择原视频缩略图和至少一个图像文件的缩略图的操作,在相机相册的宫格界面上显示选中用户所选择的缩略图,并显示删除控件。That is, step S1904 can also be understood as responding to the user's operation of selecting the thumbnail of the original video and the thumbnail of at least one image file, displaying the thumbnail selected by the user on the grid interface of the camera album, and displaying a delete control.

在一些实施例中,删除控件可以仅在相机相册的宫格界面上显示勾选用户点击的缩略图时显示,在另一些实施例中,删除控件可以一直显示在相机相册的宫格界面上。In some embodiments, the delete control can be displayed only when the thumbnail clicked by the user is checked on the grid interface of the camera album. In other embodiments, the delete control can be displayed on the grid interface of the camera album all the time.

需要说明的是,用户选中的缩略图的数量本申请实施例对此也不作限制,例如可以只在相机相册的宫格界面选中原视频缩略图,还可以选择包括原视频在内的8个缩略图一并进行删除处理。It should be noted that the number of thumbnails selected by the user is not limited in this embodiment of the application. For example, only the original video thumbnail can be selected in the grid interface of the camera album, and 8 thumbnails including the original video can also be selected. The thumbnails are also deleted.

示例性的,参阅图20,执行步骤S1904的过程为:在图20的(1)示出的相机相册的宫格界面中,展示有原视频缩略图2001,以及一张图像文件的缩略图2002,由于原视频是在一录多得模式下录制得到的,关联显示有多个精彩时刻照片,因此原视频缩略图上还显示有一个“AI”标识2003,以说明原视频的关联显示状态。“AI”标识2003即为前述描述的特定标识的一种体现形式。当用户长按原视频缩略图2001以及图像文件的缩略图2002之后,手机进入到图20的(2)示出的相机相册的宫格界面,图20的(2)示出的界面在做商机提示已选2项,且在原视频缩略图2001的右下角以及图像文件的缩略图2002的右下角均显示勾选图标,用于表示手机已选中原视频缩略图2001以及图像文件的缩略图2002。原视频缩略图2001的AI图标2003还被隐藏显示。图20的(2)界面上还显示了删除控件2004。Exemplarily, referring to FIG. 20 , the process of executing step S1904 is: in the grid interface of the camera album shown in (1) of FIG. 20 , a thumbnail 2001 of the original video and a thumbnail 2002 of an image file are displayed , because the original video is recorded under the mode of one record multiple, and there are multiple photos of exciting moments associated with it, so an "AI" logo 2003 is also displayed on the thumbnail of the original video to illustrate the associated display status of the original video. The "AI" logo 2003 is an embodiment of the specific logo described above. When the user long presses the original video thumbnail 2001 and the image file thumbnail 2002, the mobile phone enters the grid interface of the camera album shown in (2) of Figure 20, and the interface shown in (2) of Figure 20 is doing business opportunities Prompt that 2 items have been selected, and a check icon is displayed in the lower right corner of the original video thumbnail 2001 and the image file thumbnail 2002, indicating that the mobile phone has selected the original video thumbnail 2001 and the image file thumbnail 2002. The AI icon 2003 of the original video thumbnail 2001 is also hidden and displayed. The delete control 2004 is also displayed on the (2) interface of FIG. 20 .

S1905、响应于用户点击相机相册的宫格界面上的删除控件,显示第八提示框,其中第八提示框用于确认是否删除选中的文件,第八提示框包括有删除控件和取消控件。S1905. In response to the user clicking the delete control on the grid interface of the camera album, an eighth prompt box is displayed, wherein the eighth prompt box is used to confirm whether to delete the selected file, and the eighth prompt box includes a delete control and a cancel control.

其中,第八提示框中的删除控件用于确认执行删除用户选中的原视频和图像文件的操作。取消控件用于取消执行删除用户选中的原视频和图像文件的操作。在一些实施例中,删除控件默认用于确认执行删除本地、云以及所有同步设备中的用户选中的文件的操作。在另一些实施例中,删除控件可以默认用于确认执行删除本地的用户选中的文件的操作,但保留云以及所有同步设备的用户选中文件的操作。Wherein, the delete control in the eighth prompt box is used for confirming to execute the operation of deleting the original video and image files selected by the user. The cancel control is used to cancel the operation of deleting the original video and image files selected by the user. In some embodiments, the delete control is used by default to confirm the execution of the operation of deleting the files selected by the user in the local, the cloud, and all synchronous devices. In some other embodiments, the deletion control may be used by default to confirm that the operation of deleting the file selected by the local user is performed, but the operation of the file selected by the user in the cloud and all synchronization devices is retained.

在另一些实施例中,在云同步功能开启的情况下,第八提示框中还可以包括用于确认是否同时从云以及所有同步设备中删除的选项控件。如果仅选择删除本地的文件,那么用户可以在用于确认是否同时从云以及所有同步设备中删除的选项控件中,点击选择不从云以及所有同步设备中删除,进而手机响应操作只删除本地的文件,保留云及所有同步设备中的文件。如果用户点击选择同时从云以及所有同步设备中删除,那么手机响应操作删除本地、云及所有同步设备中的文件。In some other embodiments, when the cloud synchronization function is enabled, the eighth prompt box may further include an option control for confirming whether to delete from the cloud and all synchronization devices at the same time. If only the local files are selected to be deleted, the user can click to choose not to delete from the cloud and all sync devices in the option control for confirming whether to delete from the cloud and all sync devices at the same time, and then the mobile phone responds to the operation and only deletes the local files Files, keep your files in the cloud and all your synced devices. If the user clicks to delete from the cloud and all sync devices at the same time, the mobile phone responds to the operation and deletes the files in the local, cloud, and all sync devices.

在一些实施例中,当用户选中原视频缩略图时,手机仅针对原视频进行处理,而不处理与原视频关联的精彩时刻的照片。即与原视频关联的精彩时刻的照片不通过第八提示框中的删除控件删除,删除控件仅用于删除原视频的文件。若后续需要删除关联的精彩时刻的照片,可以在存储了精彩时刻的照片的一录多得相册进行删除。该方式默认保留下精彩时刻的照片,在减少用户删除操作的复杂性的同时,避免出现误删用户需要的精彩时刻的照片的情况。In some embodiments, when the user selects the thumbnail of the original video, the mobile phone only processes the original video, and does not process photos of exciting moments associated with the original video. That is, the photos of the exciting moments associated with the original video are not deleted through the deletion control in the eighth prompt box, and the deletion control is only used to delete the file of the original video. If you need to delete the photos of the associated wonderful moments later, you can delete them in the album that stores the photos of the wonderful moments. By default, this method keeps photos of wonderful moments, which reduces the complexity of user deletion operations and avoids the situation of mistakenly deleting photos of wonderful moments that users need.

具体的,如图20所示,执行步骤S1905的过程可以是:用户在图20的(2)示出的界面上点击删除控件2004,手机进入到图20的(3)示出的界面,图20的(3)示出的界面上显示有第八提示框2005,第八提示框2005显示的文字为:是否删除2个文件,第八提示框中还显示有同时从云及所有同步设备中删除的选项控件,还显示有删除控件和取消控件,以供用户进行删除确认或者取消删除。Specifically, as shown in Figure 20, the process of executing step S1905 may be: the user clicks the delete control 2004 on the interface shown in Figure 20 (2), and the mobile phone enters the interface shown in Figure 20 (3). On the interface shown in (3) of 20, an eighth prompt box 2005 is displayed, and the text displayed in the eighth prompt box 2005 is: whether to delete 2 files, and the eighth prompt box also shows that simultaneously from the cloud and all synchronization devices The delete option control also displays a delete control and a cancel control for the user to confirm deletion or cancel deletion.

在另一些实施例中,用户在选中原视频缩略图时,手机不仅针对原视频进行删除处理,还针对与原视频关联的精彩时刻的照片进行同步删除处理。示例性的,为了避免出现误删除用户需要的精彩时刻的照片的情况,可以在第八提示框上提示用户原视频关联的精彩时刻的照片将被同步删除。例如图21的(1)所示的第八提示框2101,第八提示框的2101中显示文字:是否删除2个文件,还显示有“一录多得”生成的精彩照片将被同步删除,以提示用户若确认删除的话,会同步删除掉关联的精彩时刻的照片(即精彩照片)。In some other embodiments, when the user selects the thumbnail of the original video, the mobile phone not only deletes the original video, but also simultaneously deletes photos of exciting moments associated with the original video. Exemplarily, in order to avoid accidental deletion of the photos of the wonderful moments required by the user, the user may be prompted on the eighth prompt box that the photos of the wonderful moments associated with the original video will be deleted synchronously. For example, in the eighth prompt box 2101 shown in (1) of Figure 21, text is displayed in 2101 of the eighth prompt box: whether to delete 2 files, and it also shows that the wonderful photos generated by "one record for many" will be deleted synchronously, To remind the user that if the deletion is confirmed, the photos associated with the wonderful moment (that is, the wonderful photo) will be deleted synchronously.

在另一些实施例中,当用户选中原视频缩略图中,手机可以向用户提供两种可选地删除方式,一种是仅针对原视频进行删除,另一种是删除原视频的同时还删除精彩时刻的照片。示例性的,在第八提示框中还包括有仅删除文件控件和同时删除精彩照片控件。仅删除文件控件用于确认执行仅删除用户所选中的文件的操作,同时删除精彩照片控件用于确认执行删除用户所选中的文件的同时,还删除文件关联的精彩时刻的照片的操作。例如图21的(2)所示的第八提示框2102,第八提示框的2102中显示文字:是否删除2个文件,还显示有仅删除文件控件、同时删除精彩照片控件以及取消控件。其中,图21的(1)和(2)示出的界面上的原视频的文件被选中时,可以如图21所示隐藏AI标识,也可以不隐藏AI标识。In some other embodiments, when the user selects the thumbnail of the original video, the mobile phone can provide the user with two optional deletion methods, one is to delete only the original video, and the other is to delete the original video at the same time. Photos of great moments. Exemplarily, the eighth prompt box also includes a control for only deleting files and a control for deleting wonderful photos at the same time. The only delete file control is used to confirm the operation of deleting only the files selected by the user, while the delete wonderful photo control is used to confirm the execution of the operation of deleting the files selected by the user and the photos of the wonderful moments associated with the file. For example, in the eighth prompt box 2102 shown in (2) of FIG. 21 , text is displayed in the eighth prompt box 2102: whether to delete 2 files, and only delete file control, simultaneously delete wonderful photo control and cancel control are displayed. Wherein, when the original video file on the interface shown in (1) and (2) of FIG. 21 is selected, the AI mark can be hidden as shown in FIG. 21 , or the AI mark can not be hidden.

S1906、响应于用户点击第八提示框的删除控件的操作,删除本地、云及所有同步设备中的原视频和至少一个的图像文件,并在相机相册的宫格界面上不显示已删除的原视频和图像文件的缩略图。S1906. In response to the user's operation of clicking the delete control in the eighth prompt box, delete the original video and at least one image file in the local, cloud, and all synchronization devices, and do not display the deleted original on the grid interface of the camera album Thumbnails for video and image files.

示例性的,当默认第八提示框的删除控件用于确认删除本地、云及所有同步设备中用户选中的原视频和图像文件时,手机接收到用户点击第八提示框的删除控件的操作时触发执行步骤S1906。Exemplarily, when the default deletion control in the eighth prompt box is used to confirm the deletion of the original video and image files selected by the user in the local, cloud and all synchronization devices, when the mobile phone receives the user's operation of clicking the delete control in the eighth prompt box Trigger execution of step S1906.

在另一些实施例中,若第八提示框中还包括有用于确认是否同时从云以及所有同步设备中删除的选项控件,则执行步骤S1906的过程还可以是:响应于用户点击第八提示框的删除控件的操作以及点击确认同时从云以及所有同步设备中删除的选项控件的操作,删除本地、云及所有同步设备中的原视频和至少一个的图像文件,并在相机相册的宫格界面上不显示已删除的原视频和图像文件的缩略图。即触发删除本地、云及所有同步设备中的原视频和至少一个的图像文件,并在相机相册的宫格界面上不显示已删除的原视频和图像文件的缩略图的方式有很多,包括但不限于本申请实施例多提出的内容。In some other embodiments, if the eighth prompt box also includes an option control for confirming whether to delete from the cloud and all synchronization devices at the same time, the process of performing step S1906 may also be: in response to the user clicking the eighth prompt box The operation of the delete control and the operation of the option control to delete from the cloud and all synchronous devices at the same time, delete the original video and at least one image file in the local, cloud and all synchronous devices, and display it in the grid interface of the camera album Thumbnails of deleted original video and image files are not displayed on the screen. That is, there are many ways to trigger the deletion of the original video and at least one image file in the local, cloud, and all synchronous devices, and not to display the thumbnails of the deleted original video and image files on the grid interface of the camera album, including but It is not limited to the content provided in the embodiment of the present application.

当本地、云以及所有同步设备中用户所选中的文件都被删除之后,相机相册的宫格界面上不显示已删除的原视频和图像文件的缩略图,后续再次进入图库中的相册中,也将不再显示已删除的文件的缩略图。但由于步骤S1906并未删除原视频关联的精彩时刻的照片,因此可以从图库中查看到原视频关联的精彩时刻的照片。When the files selected by the user in the local, cloud, and all sync devices are deleted, the thumbnails of the deleted original video and image files will not be displayed on the grid interface of the camera album. Thumbnails for deleted files will no longer be displayed. However, since step S1906 does not delete the photos of the exciting moments associated with the original video, the photos of the exciting moments associated with the original video can be viewed from the gallery.

示例性的,执行步骤S1906的过程可以为:用户在图20的(3)所示的第八提示框2005中,勾选同时从云及所有同步设备中删除的选项控件,然后点击第八提示框2005的删除控件,触发手机从本地、云以及所有同步设备中删除原视频缩略图2001对应的文件以及图像文件的缩略图2002对应的文件,删除处理后进入到图20的(4)示出的界面,图20的(4)示出的相机相册的宫格界面中,不再显示原视频缩略图2001和图像文件的缩略图2002。Exemplarily, the process of executing step S1906 may be: the user checks the option control to simultaneously delete from the cloud and all synchronization devices in the eighth prompt box 2005 shown in (3) of FIG. 20 , and then clicks the eighth prompt The deletion control of frame 2005 triggers the mobile phone to delete the file corresponding to the original video thumbnail 2001 and the thumbnail 2002 of the image file from the local, cloud and all synchronization devices, and enters (4) shown in Figure 20 after the deletion process In the grid interface of the camera album shown in (4) of FIG. 20 , the thumbnail 2001 of the original video and the thumbnail 2002 of the image file are no longer displayed.

在另一些实施例中,若第八提示框中还包括有同时从云及所有同步设备中删除的选项控件,且用户不勾选同时从云及所有同步设备中删除的选项控件,则响应于用户操作,仅删除本地的文件,而不删除云及所有同步设备中已同步的文件。后续用户再次点击进入图库应用时,已同步的文件仍然在图库中保留有云端预览图,用户可查看云端预览图,或者进行云端下载操作。具体可以参见前述各场景中涉及到的云端预览图的相关描述,此处不再赘述。In some other embodiments, if the eighth prompt box also includes an option control to delete from the cloud and all synchronization devices at the same time, and the user does not check the option control to delete from the cloud and all synchronization devices at the same time, then in response User operation, only deletes the local files, but does not delete the synced files in the cloud and all sync devices. When the user clicks to enter the gallery application again later, the synced files still have a cloud preview in the gallery, and the user can view the cloud preview or perform a cloud download operation. For details, please refer to the relevant descriptions of the cloud preview images involved in the aforementioned scenarios, and details will not be repeated here.

需要说明的是,本申请实施例所提出的图19示出的方法,同样适用于在非关联显示状态中,在非关联显示状态相册的宫格界面上同时删除原视频和其他图像文件(例如可以是精彩时刻的照片)的场景。示例性的,以所有照片的相册为例,在所有照片相册的宫格界面上删除原视频和其他图像文件的过程与前述的图19的方法相似,在删除原视频的文件时,都是仅针对原视频进行删除,而不删除原视频关联的所有精彩时刻照片,当选中的图像文件为精彩时刻的照片时,则删除选中的精彩时刻的照片。即非关联显示状态相册的宫格界面中,所选的文件即为所有删除的文件。It should be noted that the method shown in FIG. 19 proposed in the embodiment of the present application is also applicable to simultaneously deleting the original video and other image files (such as can be a photo of a great moment) scene. Exemplarily, taking the album of all photos as an example, the process of deleting the original video and other image files on the grid interface of all photo albums is similar to the method in Figure 19 mentioned above. When deleting the original video file, only Delete the original video without deleting all the photos of the wonderful moments associated with the original video. When the selected image file is a photo of the wonderful moment, delete the selected photo of the wonderful moment. That is, in the grid interface of the non-associated display status album, the selected files are all deleted files.

示例性的,参阅图22,以所有照片相册为例,介绍在所有照片相册的宫格界面上删除多个文件的过程:用户点击图22的(1)示出的相册宫格界面中的所有照片相册2201,手机进入到图22的(2)示出的所有照片相册的宫格界面。所有照片相册的宫格界面包括原视频2202以及原视频关联的5张精彩时刻的照片。其中,原视频缩略图2202上显示的AI图标用于说明原视频在一录多得模式下录制得到。用户在图22的(2)示出的界面上长按点击原视频缩略图2202和一张精彩时刻的照片缩略图2203,进入到图22的(2)示出的界面。图22的(3)示出的所有照片相册的宫格界面中,显示选中了缩略图2202和缩略图2203,还显示了删除控件2204,用户点击删除控件2204,进入到图22的(4)示出的界面。图22的(4)示出的界面上显示有第八提示框2205,有关第八提示框2205的描述可以参考前述图19部分的描述,此处不再赘述。用户点击第八提示框2205上的删除控件后,手机从本地、云以及所有同步设备中删除掉原视频和选中的一张精彩时刻的照片,进入到图22的(5)示出的界面。由图22的(5)示出的所有照片相册的宫格界面可以看出,原视频和一张精彩时刻的照片缩略图不再显示。Exemplarily, referring to FIG. 22, taking all photo albums as an example, the process of deleting multiple files on the grid interface of all photo albums is introduced: the user clicks all Photo album 2201, the mobile phone enters the grid interface of all photo albums shown in (2) of FIG. 22 . The grid interface of all photo albums includes the original video 2202 and photos of 5 exciting moments associated with the original video. Wherein, the AI icon displayed on the original video thumbnail 2202 is used to indicate that the original video is recorded in the one-record-multiple-get mode. On the interface shown in (2) of FIG. 22 , the user long presses and clicks the original video thumbnail 2202 and a photo thumbnail 2203 of a wonderful moment, and enters the interface shown in (2) of FIG. 22 . In the grid interface of all photo albums shown in (3) of Figure 22, thumbnails 2202 and thumbnails 2203 are selected, and a delete control 2204 is also displayed, and the user clicks on the delete control 2204 to enter (4) of Figure 22 interface shown. An eighth prompt box 2205 is displayed on the interface shown in (4) of FIG. 22 . For the description of the eighth prompt box 2205 , please refer to the description in the aforementioned part of FIG. 19 , which will not be repeated here. After the user clicks the delete control on the eighth prompt box 2205, the mobile phone deletes the original video and a selected photo of a wonderful moment from the local, cloud and all synchronization devices, and enters the interface shown in (5) of FIG. 22 . As can be seen from the grid interface of all photo albums shown in (5) of Figure 22, the original video and a photo thumbnail of a wonderful moment are no longer displayed.

综上所述,不论是非关联显示场景还是关联显示场景,在某一个相册的宫格界面上删除文件的逻辑都可以是仅删除所选的缩略图对应的文件,不对文件关联显示的内容进行删除处理。即通过所见即所删的方式简化删除文件的操作的复杂性,且还避免出现误删除用户需要的精彩时刻的照片的情况。To sum up, whether it is a non-associated display scene or an associated display scene, the logic of deleting files on the grid interface of a certain album can only delete the file corresponding to the selected thumbnail, and not delete the content displayed by the file association deal with. That is, the complexity of the operation of deleting files is simplified by means of what you see is what you delete, and the situation of accidentally deleting photos of wonderful moments required by the user is also avoided.

(8)删除场景八:删除至少一个相册的场景。(8) Delete scene eight: delete at least one scene of an album.

参阅图23,基于删除场景八,本申请实施例提出一种文件的处理方法,应用于前述提及的电子设备中,以电子设备为手机举例,具体描述以下步骤:Referring to Figure 23, based on the eighth deletion scenario, this embodiment of the present application proposes a file processing method, which is applied to the aforementioned electronic device, taking the electronic device as an example of a mobile phone, and specifically describes the following steps:

S2301、响应于用户点击图库应用的操作,显示照片宫格界面,其中照片宫格界面至少包括原视频缩略图和相册控件,原视频为一录多得模式下拍摄得到的原始视频。S2301. In response to the user's operation of clicking the gallery application, display a photo grid interface, wherein the photo grid interface includes at least a thumbnail of the original video and an album control, and the original video is the original video captured in the one-record-multiple mode.

其中,步骤S2301的执行过程和原理可参考前述提及的步骤S1901,此处不再赘述。For the execution process and principle of step S2301, reference may be made to the aforementioned step S1901, which will not be repeated here.

S2302、响应于用户点击相册控件的操作,显示相册宫格界面,相册宫格界面包括:相机相册、一录多得相册、以及所有照片相册。S2302. In response to the user's operation of clicking the album control, display an album grid interface. The album grid interface includes: camera albums, one record multiple albums, and all photo albums.

其中,步骤S2302的执行过程和原理可参考前述提及的步骤S1902,此处不再赘述。For the execution process and principle of step S2302, reference may be made to the aforementioned step S1902, which will not be repeated here.

S2303、响应于用户长按点击至少一个相册的操作,在相册宫格界面上显示勾选用户点击的相册,并显示删除控件。S2303. In response to the user's operation of long-pressing and clicking at least one photo album, display the photo album clicked by the user on the photo album grid interface, and display a delete control.

相册界面上显示的删除控件用于删除所选中的相册中的所有文件。其中,删除相册中所有文件可以理解为是删除相册中所包括的所有缩略图对应的文件。例如,若相册中包括有处于关联显示状态的原视频缩略图,删除控件也仅用于删除原视频,而不删除与原视频关联的精彩时刻的照片。若相册中包括有精彩时刻的照片缩略图和原视频缩略图,则删除控件可用于删除精彩时刻的照片和原视频。The delete control displayed on the album interface is used to delete all files in the selected album. Wherein, deleting all files in the photo album may be understood as deleting files corresponding to all thumbnails included in the photo album. For example, if the album includes a thumbnail of the original video in an associated display state, the deletion control is only used to delete the original video, but not to delete photos of wonderful moments associated with the original video. If there are photo thumbnails and original video thumbnails of wonderful moments in the album, the delete control can be used to delete the photos and original videos of wonderful moments.

在相册宫格界面上显示勾选用户点击的相册,可以理解为是一种通过界面展示说明手机选中了用户点击的相册的方式。Displaying the selected albums clicked by the user on the album grid interface can be understood as a way to show through the interface that the mobile phone has selected the albums clicked by the user.

本申请实施例中,用户除了可以通过长按点击相册的操作方式选中相册之外,还可以通过触摸、语音选择等操作方式选中相册,用户选中相册的方式本申请实施例不作限制。此外,本申请实施例对于选中用户点击的相册的界面显示方式也不作限制。例如可以是勾选的方式,也可以是变色的方式表示选中相册。In this embodiment of the application, in addition to long-pressing and clicking on the album to select an album, the user can also select an album through touch, voice selection, etc. The method for the user to select an album is not limited in this embodiment of the application. In addition, the embodiment of the present application does not limit the interface display mode of the selected photo album clicked by the user. For example, it can be checked, or it can be changed in color to indicate that the album is selected.

在一些实施例中,删除控件可以仅在相册宫格界面上显示勾选用户点击的相册时显示,在另一些实施例中,删除控件可以一直显示在相册宫格界面上。In some embodiments, the delete control may be displayed only when the album clicked by the user is checked on the album grid interface, and in other embodiments, the delete control may always be displayed on the album grid interface.

需要说明的是,用户选中的相册的数量本申请实施例对此也不作限制,例如可以只选中相机相册进行删除处理,还可以选择所有的相册一并进行删除处理。It should be noted that the number of albums selected by the user is not limited in this embodiment of the present application. For example, only camera albums may be selected for deletion, or all albums may be selected for deletion.

示例性的,执行步骤S2303的过程可以是:参阅图24的(1)示出的相册宫格界面,用户长按点击图24的(1)示出的相机相册,手机进入到图24的(2)示出的相册宫格界面。图24的(2)示出的界面中,相机相册2401的右下角显示有“√”图标,用于说明相机相册被选中,图24的(2)示出的界面上还显示有删除控件2402。Exemplarily, the process of executing step S2303 may be: referring to the album grid interface shown in (1) in FIG. 24 , the user presses and clicks the camera album shown in (1) in FIG. 2) The album grid interface shown. In the interface shown in (2) of Figure 24, a "√" icon is displayed in the lower right corner of the camera album 2401 to illustrate that the camera album is selected, and a delete control 2402 is also displayed on the interface shown in (2) of Figure 24 .

S2304、响应于用户点击相册宫格界面上的删除控件的操作,显示第九提示框,其中第九提示框用于确认是否删除选中的相册,第九提示框包括删除控件和取消控件。S2304. In response to the user's operation of clicking the delete control on the album grid interface, display a ninth prompt box, wherein the ninth prompt box is used to confirm whether to delete the selected album, and the ninth prompt box includes a delete control and a cancel control.

需要说明的是,第九提示框的提示方式和原理与前述提及的第八提示框类似,区别点在于第八提示框所针对的删除对象是相册中用户选中的文件,而第九提示框所针对的删除对象是用户选中的相册。本申请实施例对于第九提示框不再赘述。It should be noted that the prompt method and principle of the ninth prompt box are similar to the eighth prompt box mentioned above, the difference is that the deletion object of the eighth prompt box is the file selected by the user in the album, while the ninth prompt box The object to be deleted is the album selected by the user. In this embodiment of the present application, the ninth prompt box will not be described in detail.

示例性的,执行步骤S2304的过程可以是:用户点击图24的(2)示出的删除控件2402,手机进入到图24的(3)示出的界面。图24的(3)示出第九提示框2403,第九提示框2403显示的文字为:是否删除此相册,且还显示同时从云及所有同步设备删除的选项控件。此外,第九提示框2403中还显示有删除控件和确认控件,以供用户进行确认删除操作或者取消删除操作。Exemplarily, the process of executing step S2304 may be: the user clicks the delete control 2402 shown in (2) of FIG. 24 , and the mobile phone enters the interface shown in (3) of FIG. 24 . (3) of FIG. 24 shows the ninth prompt box 2403, the text displayed in the ninth prompt box 2403 is: whether to delete this album, and also displays the option control to delete from the cloud and all synchronous devices at the same time. In addition, a delete control and a confirmation control are also displayed in the ninth prompt box 2403 for the user to confirm the delete operation or cancel the delete operation.

在另一些实施例中,第九提示框中还可以提示用户该相册中所包括的文件数量。例如第九提示框中的文字可以为:是否删除此相册(包括3000张图片,177个视频)。In some other embodiments, the ninth prompt box may also prompt the user with the number of files included in the album. For example, the text in the ninth prompt box can be: whether to delete this photo album (including 3000 pictures, 177 videos).

S2305、响应于用户点击第九提示框中的删除控件的操作,删除选中的相册在本地、云及所有同步设备中的所有文件,并在相册宫格界面上不显示已删除的相册。S2305. In response to the user's operation of clicking the delete control in the ninth prompt box, delete all files of the selected album in the local, cloud, and all synchronization devices, and do not display the deleted album on the album grid interface.

示例性的,当默认第九提示框的删除控件用于确认删除本地、云及所有同步设备中用户选中的相册的所有文件时,手机接收到用户点击第九提示框的删除控件的操作时触发执行步骤S2305。Exemplarily, when the default delete control in the ninth prompt box is used to confirm the deletion of all files in the album selected by the user in the local, cloud, and all sync devices, the mobile phone receives the user's operation of clicking the delete control in the ninth prompt box. Execute step S2305.

在另一些实施例中,若第九提示框中还包括有用于确认是否同时从云以及所有同步设备中删除的选项控件,则执行步骤S2305的过程还可以是:响应于用户点击第九提示框的删除控件的操作以及点击确认同时从云以及所有同步设备中删除的选项控件的操作,删除本地、云及所有同步设备中的相册的所有文件,并在相册宫格界面上不显示已删除的相册。即触发删除选中的相册在本地、云及所有同步设备中的所有文件,并在相册宫格界面上不显示已删除的相册的方式有很多,包括但不限于本申请实施例多提出的内容。In some other embodiments, if the ninth prompt box also includes an option control for confirming whether to delete from the cloud and all synchronization devices at the same time, the process of performing step S2305 may also be: in response to the user clicking on the ninth prompt box The operation of the delete control and the operation of the option control to delete from the cloud and all synchronous devices at the same time, delete all files in the album in the local, cloud and all synchronous devices, and the deleted ones will not be displayed on the album grid interface photo album. That is, there are many ways to trigger the deletion of all files in the selected album in the local, cloud, and all synchronization devices, and not display the deleted album on the album grid interface, including but not limited to the content proposed in the embodiment of this application.

示例性的,执行步骤S2305的过程可以是:用户在图24的(3)示出的第九提示框2403中勾选同时从云及所有同步设备删除的选项控件,然后点击删除控件,进入到图22的(4)示出的界面,图22的(4)中显示的相册宫格界面中不再显示相机相册,仅剩下一录多得相册。由于一录多得相册中保存有精彩时刻的照片,因此在用户仅想留有精彩时刻的照片,但不想留有原视频的时候,就可以通过仅删除掉相机相册的方式进行删除,相机相册的删除并不会导致相机相册中原视频的关联精彩照片被删除。Exemplarily, the process of executing step S2305 may be: the user checks the option control to delete from the cloud and all synchronization devices at the same time in the ninth prompt box 2403 shown in (3) of FIG. 24 , and then clicks the delete control to enter the In the interface shown in (4) of FIG. 22 , the camera album is no longer displayed in the album grid interface shown in (4) of FIG. 22 , and only one album is left. Since photos of wonderful moments are saved in the album of more than one record, when the user only wants to keep photos of wonderful moments, but does not want to keep the original video, it can be deleted by only deleting the camera album, the camera album The deletion of will not result in the deletion of the wonderful photos associated with the original video in the camera roll.

在另一些实施例中,若第九提示框中还包括有同时从云及所有同步设备中删除的选项控件,且用户不勾选同时从云及所有同步设备中删除的选项控件,则响应于用户操作,仅删除相册在本地的所有文件,而不删除云及所有同步设备中已同步的文件。后续用户再次点击进入图库应用时,已同步的文件仍然在图库中保留有云端预览图,用户可查看云端预览图,或者进行云端下载操作。具体可以参见前述各场景中涉及到的云端预览图的相关描述,此处不再赘述。In some other embodiments, if the ninth prompt box also includes an option control to delete from the cloud and all synchronization devices at the same time, and the user does not check the option control to delete from the cloud and all synchronization devices at the same time, then responding User operation, only delete all the local files of the album, but not delete the synced files in the cloud and all sync devices. When the user clicks to enter the gallery application again later, the synced files still have a cloud preview in the gallery, and the user can view the cloud preview or perform a cloud download operation. For details, please refer to the relevant descriptions of the cloud preview images involved in the aforementioned scenarios, and details will not be repeated here.

示例性的,若步骤S2305中删除的相册,不包括原视频和精彩时刻的照片,那么相册中已同步到云端的图像文件可以保存图像文件的云端预览图在相册中,未同步到云端的图像文件被彻底删除,图库中不再显示有未同步到云端的图像文件的缩略图。Exemplarily, if the album deleted in step S2305 does not include the original video and photos of exciting moments, then the image files in the album that have been synchronized to the cloud can save the cloud preview of the image file in the album, but the images that have not been synchronized to the cloud The files are completely deleted, and thumbnails for image files that are not synced to the cloud no longer appear in the gallery.

例如,若步骤S2305删除的相册中包括有关联显示状态的原视频,但不包括有原视频关联的精彩时刻的照片。那么相册被删除之后,若关联显示状态的原视频未同步至云端,那么相册中的原视频会被从本地删除,图库中不再显示原视频缩略图。而原视频关联的精彩时刻的照片则不进行任何处理。若关联显示状态的原视频被同步至云端,那么相册被删除之后,图库中仍保留有原视频的云端预览图,用户可以通过点击原视频缩略图,查看到原视频对应的云端预览图。用户还可以从云端下载回原视频。For example, if the album deleted in step S2305 includes the original video associated with the display state, but does not include photos of exciting moments associated with the original video. Then after the album is deleted, if the original video in the associated display state is not synchronized to the cloud, the original video in the album will be deleted from the local, and the thumbnail of the original video will no longer be displayed in the gallery. The photos of the wonderful moments associated with the original video will not be processed in any way. If the original video in the associated display state is synchronized to the cloud, after the album is deleted, the cloud preview of the original video still remains in the gallery. Users can click the thumbnail of the original video to view the corresponding cloud preview of the original video. Users can also download back to the original video from the cloud.

又例如,若步骤S2305删除的相册中包括有原视频关联的精彩时刻的照片,但不包括有原视频(例如是一录多得相册),那么在相册被删除之后,若精彩时刻的照片未同步至云端,在图库中不再显示精彩时刻的照片缩略图。若精彩时刻的照片有同步至云端,那么图库中仍然保留有精彩时刻的照片对应的云端预览图。用户可以通过点击精彩时刻的照片缩略图,查看到精彩时刻的照片对应的云端预览图。用户还可以从云端下载回彩时刻的照片。For another example, if the album deleted in step S2305 includes photos of exciting moments associated with the original video, but does not include the original video (such as a one-shot album), then after the album is deleted, if the photos of exciting moments are not Synchronized to the cloud, no longer display thumbnails of photos of exciting moments in the gallery. If the photos of the wonderful moments are synchronized to the cloud, then the cloud preview corresponding to the photos of the wonderful moments will still be kept in the gallery. The user can click on the thumbnail of the photo of the wonderful moment to view the cloud preview image corresponding to the photo of the wonderful moment. Users can also download photos of the flashback moment from the cloud.

又例如,若步骤S2305删除的相册中包括有包括有处于关联显示状态的原视频以及原视频关联的精彩时刻的照片。那么在相册被删除之后,关于相册中的原视频被删除后的描述,可以参考前述对删除掉相册中的处于关联显示状态的原视频的描述。而关于相册中的精彩时刻的照片被删除后的描述,可以参考前述对删除掉相册中原视频关联的精彩时刻的照片描述。For another example, if the album deleted in step S2305 includes the original video in the associated display state and photos of exciting moments associated with the original video. Then after the album is deleted, for the description after the original video in the album is deleted, you can refer to the aforementioned description of deleting the original video in the associated display state in the album. As for the description of the deleted photos of the wonderful moments in the album, you can refer to the description of the photos of the deleted wonderful moments associated with the original video in the album.

本实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中包括指令,当上述指令在电子设备上运行时,使得该电子设备执行本申请实施例提出的任一视频处理方法。This embodiment also provides a computer-readable storage medium, the computer-readable storage medium includes instructions, and when the above-mentioned instructions are run on the electronic device, the electronic device is made to execute any video processing method proposed in the embodiment of the present application .

本实施例还提供了一种包含指令的计算机程序产品,当该计算机程序产品在电子设备上运行时,使得该电子设备执行本申请实施例提出的任一文件处理方法。This embodiment also provides a computer program product containing instructions, and when the computer program product is run on the electronic device, the electronic device is made to execute any file processing method proposed in the embodiment of the present application.

本实施例还提供了一种控制设备,所述控制设备包括处理器和存储器,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述处理器执行所述计算机指令时,所述控制设备执行本申请实施例提出的任一文件处理方法。该控制设备可以是一个集成电路IC,也可以是一个片上系统SOC。其中集成电路可以是通用集成电路,也可以是一个现场可编程门阵列FPGA,也可以是一个专用集成电路ASIC。This embodiment also provides a control device, the control device includes a processor and a memory, the memory is used to store computer program codes, the computer program codes include computer instructions, when the processor executes the computer instructions , the control device executes any file processing method proposed in the embodiments of the present application. The control device can be an integrated circuit IC, or a system-on-chip SOC. The integrated circuit can be a general integrated circuit, a field programmable gate array FPGA, or an application specific integrated circuit ASIC.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the above-described system, device, and unit, reference may be made to the corresponding process in the foregoing method embodiments, and details are not repeated here.

在本实施例所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this embodiment, it should be understood that the disclosed system, device and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of this embodiment may be integrated into one processing unit, or each unit may physically exist separately, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium In, several instructions are included to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the method described in each embodiment. The aforementioned storage medium includes: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk, and other various media capable of storing program codes.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the application, but the protection scope of the application is not limited thereto, and any changes or replacements within the technical scope disclosed in the application should be covered within the protection scope of the application . Therefore, the protection scope of the present application should be determined by the protection scope of the claims.

Claims (26)

1. A document processing method, comprising:
detecting an operation of opening a first video in a gallery application by a user;
displaying a first interface of a gallery application, wherein the first interface comprises the first video, a deletion control and a first area; the first region includes a thumbnail of the first video and a thumbnail of at least one associated photo; the associated photo is a photo obtained by the electronic equipment in the first video recording process;
responsive to a first operation of the delete control selected by a user, displaying a first menu bar on the first interface; the first menu bar includes: the first control, the second control and the third control; the first control is used for deleting the first video; the second control is used for deleting all the related photos of the first video; the third control is used for deleting the first video and all associated photos of the first video.
2. The method of claim 1, wherein after displaying the first menu bar, further comprising:
responding to a second operation of the user, and displaying a first prompt box; the second operation is an operation executed on the second control; the first prompt box comprises: a fourth control and a fifth control; the fourth control is used for confirming deletion of the first video; the fifth control is for canceling deletion of the first video.
3. The method of claim 2, wherein the first prompt box further comprises: a sixth control; the sixth control is used for confirming whether the first video is deleted from the cloud and all synchronous devices at the same time; the sixth control is in a selected state;
after the first prompt box is displayed, the method further comprises:
deleting the first video from the local, cloud and all synchronous devices in response to a third operation of the user; the third operation is an operation performed on the fourth control.
4. The method of claim 3, wherein after deleting the first video from the local, cloud, and all synchronization devices, further comprising:
displaying a second interface; the second interface is used for browsing the first image file; the first image file is an image file arranged after the first video in a gallery application.
5. The method of claim 2, wherein the first prompt box further comprises: a sixth control; the sixth control is used for confirming whether the first video is deleted from the cloud and all synchronous devices at the same time; the sixth control is in an unselected state;
After the first prompt box is displayed, the method further comprises:
deleting the first video locally in response to a third operation by the user; the third operation is an operation performed on the fourth control.
6. The method of claim 5, wherein if the first video has been synchronized to the cloud end, the step of deleting the first video from the local area in response to a third operation by the user further comprises:
displaying a third interface; the third interface is used for browsing the cloud preview of the first video; the third interface comprises a cloud preview of the first video, a seventh control and the first area; the seventh control is used for downloading the first video from the cloud.
7. The method of claim 6, wherein the third interface further comprises:
the third prompt box is used for prompting that the first video stored locally is deleted and prompting that a user can manage the first video stored in the cloud through a cloud preview of the first video.
8. The method according to any one of claims 2 to 7, wherein after displaying the first prompt box in response to the second operation of the user, further comprising:
Responding to a fourth operation of a user, and not displaying the first prompt box; the fourth operation is an operation performed on the fifth control.
9. The method according to any one of claims 1 to 8, further comprising, after displaying the first menu bar in response to a first operation by the user:
responding to a fifth operation of a user, and displaying a fourth prompt box; the fifth operation is an operation performed on the second control; the fourth prompt box is used for prompting whether all the related photos of the first video are deleted or not; the fourth prompt box comprises: a sixth control and a seventh control; the sixth control is used for confirming deletion of all the associated photos of the first video; the seventh control is used for canceling deletion of all the associated photos of the first video;
deleting all the associated photos of the first video from the local, cloud and all the synchronous devices in response to a sixth operation of the user; the sixth operation is an operation performed on the sixth control.
10. The method of claim 9, wherein after displaying the fourth prompt box in response to a fifth operation by the user, further comprising:
Responding to a seventh operation of a user, and not displaying the fourth prompt box; the seventh operation is an operation performed on the seventh control.
11. The method according to claim 9 or 10, wherein the fourth prompt box is further configured to prompt the user to restore the associated photo of the first video and/or prompt the user to delete the associated photo of the first video completely.
12. The method of claim 11, wherein the fourth prompt box further displays a logo.
13. The method according to any one of claims 9 to 12, wherein in response to a sixth operation by the user, deleting all associated photos of the first video from the local, cloud, and all synchronization devices further comprises:
displaying a fourth interface; the fourth interface is used for playing the first video, and the fourth interface does not comprise the first area.
14. The method of claim 13, wherein the fourth interface further comprises: an eighth control; the eighth control is used for deleting the first video; after the fourth interface is displayed, the method further comprises:
responding to eighth operation of a user, and displaying a fifth prompt box; the eighth operation is an operation performed on the eighth control; and the fifth prompt box is used for confirming whether the first video is deleted or not.
15. The method of any one of claims 1 to 14, further comprising, after displaying the first interface:
responding to a ninth operation of the user, and displaying a fifth interface; the fifth interface is used for browsing the first associated photo; the fifth interface includes: the first associated photo, the first region, and a twelfth control; the ninth operation is an operation performed on the first region; the first associated photo is the associated photo of the first video selected in the ninth operation; the twelfth control is used for deleting the first associated photo;
responding to tenth operation of a user, and displaying a sixth prompt box; the sixth prompt box is used for confirming whether the first associated photo is deleted or not; the sixth prompt box includes: a ninth control and a tenth control; the ninth control is used for confirming deletion of the first associated photo; the tenth control is used for canceling deleting the first associated photo.
16. The method of claim 15, wherein the sixth prompt box further comprises: an eleventh control; the eleventh control is used for confirming whether the first associated photo is deleted from the cloud and all synchronous devices at the same time; the eleventh control is in a selected state;
After displaying the sixth prompt box, further comprising:
deleting the first associated photo from the local, cloud, and all synchronization devices in response to an eleventh operation by the user; the eleventh operation is an operation performed on the ninth control.
17. The method of claim 16, wherein the deleting the first associated photo from the local, cloud, and all synchronization devices in response to an eleventh operation by the user further comprises:
displaying a sixth interface; the sixth interface is used for browsing the second associated photo; the sixth interface includes: a second associated photograph and a second region; the second region includes a thumbnail of each of the associated photos other than the first associated photo; the second related photograph is a photograph arranged after the first related photograph in the first area.
18. The method of claim 15, wherein the sixth prompt box further comprises: an eleventh control; the eleventh control is used for confirming whether the first associated photo is deleted from the cloud and all synchronous devices at the same time; the eleventh control is in an unselected state;
After displaying the sixth prompt box, further comprising:
deleting the first associated photo locally in response to an eleventh operation by the user; the eleventh operation is an operation performed on the ninth control.
19. The method of claim 18, wherein the deleting the first associated photo from the local area in response to an eleventh operation by the user further comprises:
displaying a seventh interface; the seventh interface is used for browsing a cloud preview corresponding to the first associated photo; the seventh interface includes: the first region, a cloud preview corresponding to the first associated photo, and a thirteenth control; the thirteenth control is used for downloading the first associated photo from the cloud.
20. The method according to any one of claims 15 to 19, wherein after displaying the sixth prompt box in response to a tenth operation by the user, further comprising:
responding to a twelfth operation of a user, and not displaying the sixth prompt box; the twelfth operation is an operation performed on the tenth control.
21. The method of any one of claims 1 to 20, wherein after displaying the first menu bar in response to a first operation by the user, further comprising:
Displaying a seventh prompt box in response to a thirteenth operation of the user; the thirteenth operation is an operation performed on the third control; the seventh prompt box is used for confirming whether to delete the first video and all the related photos of the first video; the seventh prompt box comprises a fourteenth control and a fifteenth control; the fourteenth control is used for confirming deletion of the first video and all associated photos of the first video; the fifteenth control is used for canceling deletion of the first video and all associated photos of the first video.
22. The method of claim 21, wherein the seventh prompt box further comprises: a sixteenth control; the sixteenth control is used for confirming whether the first video and all associated photos of the first video are deleted from the cloud and all synchronous devices at the same time; the sixteenth control is in a selected state;
after the seventh prompt box is displayed, the method further comprises:
responding to a fourteenth operation of a user, and confirming that the first video and all related photos of the first video need to be deleted from the cloud and all synchronous devices at the same time; the fourteenth operation is an operation performed on the sixteenth control.
23. The method of claim 21, wherein the seventh prompt box further comprises: a sixteenth control; the sixteenth control is used for confirming whether the first video and all associated photos of the first video are deleted from the cloud and all synchronous devices at the same time; the sixteenth control is in an unselected state;
after the seventh prompt box is displayed, the method further comprises:
deleting the first video and all associated photos of the first video from the local in response to a fifteenth operation by the user; the fifteenth operation is an operation performed on the fourteenth control.
24. The method according to any one of claims 21 to 23, further comprising, after displaying a seventh prompt box in response to a thirteenth operation by the user:
responding to sixteenth operation of a user, and not displaying the seventh prompt box; the sixteenth operation is an operation performed on the fifteenth control.
25. An electronic device comprising a processor and a memory, the processor and the memory being coupled, the memory being for storing a computer program that, when executed by the processor, causes the electronic device to perform the method of any one of claims 1 to 24.
26. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program, which when executed by a processor causes the processor to perform the method of any one of claims 1 to 24.
CN202210188602.9A 2022-02-28 2022-02-28 File processing method, electronic device, and computer-readable storage medium Pending CN116701704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210188602.9A CN116701704A (en) 2022-02-28 2022-02-28 File processing method, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210188602.9A CN116701704A (en) 2022-02-28 2022-02-28 File processing method, electronic device, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN116701704A true CN116701704A (en) 2023-09-05

Family

ID=87832683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210188602.9A Pending CN116701704A (en) 2022-02-28 2022-02-28 File processing method, electronic device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN116701704A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002176578A (en) * 2000-05-31 2002-06-21 Fuji Photo Film Co Ltd Camera with audio reproducing function
KR20050052159A (en) * 2003-11-29 2005-06-02 엘지전자 주식회사 Data selective erase method for mobile communication device
CN105915801A (en) * 2016-06-12 2016-08-31 北京光年无限科技有限公司 Self-learning method and device capable of improving snap shot effect
US20170351922A1 (en) * 2016-06-01 2017-12-07 Gopro, Inc. On-Camera Video Capture, Classification, and Processing
CN109559198A (en) * 2018-11-15 2019-04-02 安徽信果网络科技有限公司 A method of shopping cart data is deleted based on wechat small routine platform batch
CN110401766A (en) * 2019-05-22 2019-11-01 华为技术有限公司 A shooting method and terminal
CN110543579A (en) * 2019-07-26 2019-12-06 华为技术有限公司 Image display method and electronic equipment
CN111713102A (en) * 2018-06-30 2020-09-25 华为技术有限公司 A shooting control method and terminal
CN112230835A (en) * 2020-10-30 2021-01-15 Oppo广东移动通信有限公司 Picture operation method, device, terminal device and storage medium
CN113093968A (en) * 2021-03-31 2021-07-09 维沃移动通信(杭州)有限公司 Shooting interface display method and device, electronic equipment and medium
CN113596316A (en) * 2020-04-30 2021-11-02 华为技术有限公司 Photographing method, graphical user interface and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002176578A (en) * 2000-05-31 2002-06-21 Fuji Photo Film Co Ltd Camera with audio reproducing function
KR20050052159A (en) * 2003-11-29 2005-06-02 엘지전자 주식회사 Data selective erase method for mobile communication device
US20170351922A1 (en) * 2016-06-01 2017-12-07 Gopro, Inc. On-Camera Video Capture, Classification, and Processing
CN105915801A (en) * 2016-06-12 2016-08-31 北京光年无限科技有限公司 Self-learning method and device capable of improving snap shot effect
CN111713102A (en) * 2018-06-30 2020-09-25 华为技术有限公司 A shooting control method and terminal
CN109559198A (en) * 2018-11-15 2019-04-02 安徽信果网络科技有限公司 A method of shopping cart data is deleted based on wechat small routine platform batch
CN110401766A (en) * 2019-05-22 2019-11-01 华为技术有限公司 A shooting method and terminal
CN110543579A (en) * 2019-07-26 2019-12-06 华为技术有限公司 Image display method and electronic equipment
CN113596316A (en) * 2020-04-30 2021-11-02 华为技术有限公司 Photographing method, graphical user interface and electronic equipment
CN112230835A (en) * 2020-10-30 2021-01-15 Oppo广东移动通信有限公司 Picture operation method, device, terminal device and storage medium
CN113093968A (en) * 2021-03-31 2021-07-09 维沃移动通信(杭州)有限公司 Shooting interface display method and device, electronic equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
三星电子: "使用Galaxy S20 | S20+ | S20 Ultra的AI一键多拍模式拍摄各种照片和视频", pages 1 - 3, Retrieved from the Internet <URL:https://www.samsung.com.cn/support/mobile-devices/take-various-photos-and-videos-using-galaxy-s20-plus-s20-ultras-single-take-mode/> *

Similar Documents

Publication Publication Date Title
CN115002340B (en) Video processing method and electronic equipment
KR102350329B1 (en) Real-time sharing during a phone call
CN114827342B (en) Video processing method, electronic device and readable medium
US20140363098A1 (en) Image correlation method and electronic device thereof
JP2019531561A (en) Image processing method and apparatus, electronic device, and graphical user interface
CN111225108A (en) Communication terminal and card display method of negative screen interface
CN115079915B (en) Calendar view display method, electronic device and readable storage medium
KR20210105938A (en) Image classification method and electronic device
WO2023226455A1 (en) Application icon display method, electronic device and readable storage medium
CN116634058A (en) A media resource editing method and electronic device
WO2023160271A1 (en) Human-machine interaction method and apparatus, and electronic device
WO2023020339A1 (en) Interface display method and electronic device
CN115774511A (en) Annotating method and electronic equipment
CN115525610B (en) File deletion method, electronic device and computer readable storage medium
CN116701704A (en) File processing method, electronic device, and computer-readable storage medium
CN118093067B (en) Method for displaying card, electronic device and readable storage medium
CN116055655B (en) A recommended method and electronic device for frame size
CN115480684A (en) Method and electronic device for returning multimedia resources after editing
CN116700550B (en) Video processing method, electronic device, and computer-readable storage medium
CN115484394A (en) Guiding and using method of air gesture and electronic equipment
CN116708888B (en) Video recording method and related device
US20250181662A1 (en) Search method and electronic device
CN115484397B (en) Multimedia resource sharing method and electronic device
CN111182361A (en) Communication terminal and video previewing method
CN119316533A (en) Video processing method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Applicant after: Honor Terminal Co.,Ltd.

Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong

Applicant before: Honor Device Co.,Ltd.

Country or region before: China

CB02 Change of applicant information