Video editing material downloading method and apparatus, and terminal device
By determining the download priority of video editing materials in the terminal device, especially the highest priority of the material that slides to the end, the problem of low download accuracy and efficiency is solved, and efficient and accurate download of materials is achieved.
Patent Information
- Application Number
- PCT/CN2024/132253
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-30
- Filing Date
- 2024-11-15
- Publication Date
- 2025-08-07
AI Technical Summary
In the prior art, when the terminal device downloads video editing materials, it downloads in parallel according to the order in which the materials slide to, causing the materials prepared by the user to wait, resulting in low download accuracy and efficiency.
By responsive to the user's sliding operation, the download priority between multiple video editing materials is determined, especially the last slide to the material has the highest priority, and the download material is sorted according to the priority.
It improves the accuracy and efficiency of downloading video editing materials, ensures that the materials that users prepare to use are given priority download, reduces waiting time, and improves user experience.
Smart Images

Figure CN2024132253_07082025_PF_FP_ABST
Abstract
Description
Method, device and terminal equipment for downloading video editing materials
[0001] This application claims priority to Chinese Patent Application No. 202410131127.0 filed on January 30, 2024, and the contents of the above-mentioned Chinese patent application disclosure are hereby incorporated by reference in their entirety as a part of this application. Technical Field
[0002] The embodiments of the present disclosure relate to a method, apparatus, and terminal device for downloading video editing materials. Background Art
[0003] The display panel of the video special effects may include multiple video editing materials. When the user clicks on any video editing material, the terminal device may add the video editing material to the video to be edited.
[0004] Currently, the terminal device can download multiple video editing materials in parallel according to the order in which the video editing materials are slid to. For example, when selecting a video editing material, the user can slide the display panel of the video special effects. Every time a video editing material is slid to, the terminal device can add the video editing material to the download thread and download the video editing material. In the above method, the download thread of the terminal device can download the video editing material that is slid to first, and the video editing material that is slid to later can only wait for downloading. However, the video editing material that is slid to later is usually the video editing material that the user is going to use, which results in a low download accuracy of the video editing material. Summary of the Invention
[0005] The present disclosure provides a method, apparatus, and terminal device for downloading video editing materials, which are used to solve the technical problem of low accuracy in downloading video editing materials by terminal devices.
[0006] In a first aspect, the present disclosure provides a method for downloading video editing materials, the method comprising:
[0007] Displaying a video editing page, wherein the video editing page includes a display panel, and the display panel includes a plurality of video editing materials;
[0008] In response to a first sliding operation on the display panel, determining a plurality of first video editing materials from the plurality of video editing materials, and determining a download priority among the plurality of first video editing materials, wherein the first video editing material last slid to by the first sliding operation has the highest download priority;
[0009] The plurality of first video editing materials are downloaded according to the download priority.
[0010] In a second aspect, the present disclosure provides a device for downloading video editing materials, the device comprising a display module, a first determination module, a second determination module, and a download module, wherein:
[0011] The display module is used to display a video editing page, wherein the video editing page includes a display panel, and the display panel includes a plurality of video editing materials;
[0012] The first determining module is configured to, in response to a first sliding operation on the display panel, determine a plurality of first video editing materials from the plurality of video editing materials;
[0013] The second determining module is configured to determine a download priority among the plurality of first video editing materials, wherein the first video editing material last slid to by the first sliding operation has the highest download priority;
[0014] The download module is configured to download the plurality of first video editing materials according to the download priority.
[0015] In a third aspect, an embodiment of the present disclosure provides a terminal device including: a processor and a memory;
[0016] The memory stores computer-executable instructions;
[0017] The processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the above-mentioned first aspect and various possible methods for downloading video editing materials involved in the first aspect.
[0018] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the method for downloading the video editing material as described in the first aspect and various possible methods involved in the first aspect is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0020] FIG1 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure;
[0021] FIG2 is a flow chart of a method for downloading video editing materials provided by an embodiment of the present disclosure;
[0022] FIG3 is a schematic diagram of a display panel provided in an embodiment of the present disclosure;
[0023] FIG4 is a schematic diagram of a process for determining a first video editing material according to an embodiment of the present disclosure;
[0024] FIG5 is a schematic diagram of a video editing material of a download pause type provided by an embodiment of the present disclosure;
[0025] FIG6 is a schematic diagram of a method for downloading video editing materials provided by an embodiment of the present disclosure;
[0026] FIG7 is a schematic diagram of a method for performing a second sliding operation provided by an embodiment of the present disclosure;
[0027] FIG8 is a schematic diagram of downloading at the head of a download queue according to an embodiment of the present disclosure;
[0028] FIG9 is a schematic diagram of a processing process provided by an embodiment of the present disclosure;
[0029] FIG10 is a structural diagram of a device for downloading video editing materials provided by an embodiment of the present disclosure;
[0030] FIG11 is a schematic structural diagram of a terminal device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0031] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
[0032] To facilitate understanding, the concepts involved in the embodiments of the present disclosure are explained below.
[0033] Terminal device: is a device with wireless transceiver function. The terminal device can be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted. The terminal device can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a vehicle-mounted terminal device, a wireless terminal in self-driving, a wireless terminal device in remote medical, a wireless terminal device in smart grid, a wireless terminal device in transportation safety, a wireless terminal device in smart city, a wireless terminal device in smart home, a wearable terminal device, etc. The terminal device involved in the embodiments of the present disclosure can also be called a terminal, user equipment (UE), an access terminal device, a vehicle-mounted terminal, an industrial control terminal, a UE unit, a UE station, a mobile station, a mobile station, a remote station, a remote terminal device, a mobile device, a UE terminal device, a wireless communication device, a UE agent or a UE device, etc. Terminal devices can also be fixed or mobile.
[0034] In related technologies, a video special effect display panel may include multiple video editing materials. When a user clicks on any video editing material, the terminal device may add the video editing material to the video to be edited. For example, the display panel may include special effects 1, special effects 2, and special effects 3. When the user is editing a video, if the user clicks on special effect 1, the terminal device may add special effect 1 to the video. Before the terminal device can add the video editing material to the video to be edited, the terminal device must download the video editing material. Due to the limited display area of the display panel, the display panel may only display a portion of the video editing material. The user can access other video editing materials by sliding the display panel.
[0035] At present, the terminal device can download multiple video editing materials in parallel according to the order in which the video editing materials are slid to. For example, the terminal device can pre-create two download threads (that is, the terminal device can download up to two video editing materials at the same time). When the user slides the display panel, each time a video editing material is slid to, the terminal device can add the video editing material to the download thread and download the video editing material. In this way, the terminal device can download the video editing material that is slid to first, and the video editing material that is slid to later can only be downloaded when the download thread is idle (that is, the video editing material that is slid to first can be downloaded only after the download of the video editing material that is slid to later is completed). However, the video editing material that is slid to later is usually the video editing material that the user is going to use, which results in a low download accuracy of the video editing material. In addition, the terminal device needs to download multiple video editing materials in parallel based on the current network resources, which results in a low download efficiency of the video editing material that the user is going to use.
[0036] To address technical issues in related technologies, embodiments of the present disclosure provide a method for downloading video editing materials. A terminal device may display a video editing page, wherein the video editing page may include a display panel, and the display panel may include multiple video editing materials. In response to a first sliding operation on the display panel, the terminal device may determine multiple video editing materials to be selected associated with the first sliding operation, and at least one video editing material adjacent to the last video editing material to be selected corresponding to the first sliding operation. The terminal device may determine the multiple video editing materials to be selected and the at least one video editing material adjacent to the last video editing material to be selected as multiple first video editing materials. The terminal device may determine download priorities among the multiple first video editing materials and download the multiple first video editing materials based on the download priorities. Thus, because the first video editing material last slid to by the first sliding operation has the highest download priority, the terminal device may prioritize downloading the video editing materials that the user intends to use, thereby improving the download accuracy of the video editing materials. Furthermore, because the terminal device can download the video editing material with the highest priority based on network resources, the download efficiency of the video editing materials that the user intends to use can be improved.
[0037] The application scenario of the embodiment of the present disclosure is described below with reference to FIG1 .
[0038] Figure 1 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure. Please refer to Figure 1, which includes: a terminal device. The display page of the terminal device can be a video editing page, which can include a video to be edited and a display panel. The display panel can include multiple video editing special effects such as special effect 1 and special effect 2. The display panel can also include a material selection box. The special effect selected in the material selection box is special effect 2. The terminal device starts downloading special effect 2. When the user slides the display panel to the left, the display panel can slide over multiple special effects. The terminal device can stop downloading special effect 2. When the user stops sliding the display panel, the material selection box selects special effect 8, and the terminal device can start downloading special effect 8. In this way, the terminal device can give priority to downloading the special effects selected by the user, thereby improving the accuracy of special effect downloading.
[0039] It should be noted that FIG1 is only an example of an application scenario of the embodiment of the present disclosure, and does not limit the application scenario of the embodiment of the present disclosure.
[0040] The following detailed description of the technical solution of the present disclosure and how the technical solution of the present disclosure solves the above-mentioned technical problems is provided with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. The following embodiments of the present disclosure are described in conjunction with the accompanying drawings.
[0041] FIG2 is a flow chart of a method for downloading video editing materials provided by an embodiment of the present disclosure. Referring to FIG2 , the method may include:
[0042] S201: Display the video editing page.
[0043] The execution subject of the embodiments of the present disclosure may be a terminal device, or a device for downloading video editing materials provided in the terminal device. The device for downloading video editing materials may be implemented based on software, or may be implemented based on a combination of software and hardware, which is not limited in the embodiments of the present disclosure.
[0044] The video editing page may include a display panel. For example, the display panel may be located at the bottom of the video editing page, the top of the video editing page, or any other location on the video editing page, which is not limited in the present embodiment.
[0045] The display panel may be an operable panel. For example, the user may slide the display panel, or the user may touch the display panel, which is not limited in the present embodiment.
[0046] The display panel may include multiple video editing materials. For example, the display panel may display multiple video editing materials, wherein the video editing materials may include special effects, filters, and other materials for video editing, which are not limited in the present embodiment.
[0047] The display panel will be described below with reference to FIG3 .
[0048] Figure 3 is a schematic diagram of a display panel provided by an embodiment of the present disclosure. Please refer to Figure 3, which includes a display panel. The display panel may include special effects 1, special effects 2, ... special effects 9, but since the display area of the display panel is limited, the display panel can display 3 special effects at the same time. The display panel can display special effects 1, special effects 2 and special effects 3. When the user slides the display panel to the right, the display panel can display special effects 4, special effects 5 and special effects 6. When the user continues to slide the display panel to the right, the display panel can display special effects 7, special effects 8 and special effects 9. In this way, the display panel can display all special effects based on the user's sliding operation. Due to the characteristic of the display panel sliding to display special effects, the terminal device accurately downloads the special effects that the user is going to use, which can effectively avoid the user's waiting time and improve the user experience.
[0049] S202: In response to a first sliding operation on the display panel, determine a plurality of first video editing materials from a plurality of video editing materials.
[0050] Optionally, the first sliding operation may be a sliding operation of the user on the display panel. For example, the first sliding operation may be an operation of the user sliding right on the display panel, the first sliding operation may be an operation of the user sliding left on the display panel, the first sliding operation may be an operation of the user sliding up on the display panel, or the first sliding operation may be an operation of the user sliding down on the display panel. This embodiment of the present disclosure is not limited to this.
[0051] The first video editing material may be a video editing material to be downloaded. For example, the first video editing material may include a video editing material that the user has swiped over in the display panel, or may include a video editing material selected by the user, which is not limited in the present embodiment.
[0052] The terminal device can determine multiple first video editing materials from multiple video editing materials according to the following feasible implementation method: determine multiple video editing materials to be selected that are slid to by the first sliding operation, and at least one video editing material adjacent to the selected video editing material that is last slid to by the first sliding operation, and determine the multiple video editing materials to be selected and at least one video editing material adjacent to the last selected video editing material that is slid to as multiple first video editing materials. In this way, the terminal device can accurately determine the video editing materials to be downloaded, improve the download accuracy of the video editing materials, and enhance the user experience.
[0053] The video editing material to be selected may be the video editing material to which the first sliding operation is applied. For example, if the first sliding operation is applied to video editing material 1, video editing material 2, and video editing material 3, the terminal device may determine that the video editing materials to be selected include video editing material 1, video editing material 2, and video editing material 3. For example, if the first sliding operation is applied to 10 video editing materials, the terminal device may determine the 10 video editing materials as the video editing materials to be selected.
[0054] Among them, the display panel can also include a material selection box, and the terminal device can determine multiple video editing materials to be selected according to the following feasible implementation method: in response to the first sliding operation on the display panel, the video editing material to which the material selection box has been slid is determined as the video editing material to be selected.
[0055] The material selection box can be located at the far left of the display panel or at any position within the display panel, and this is not limited in the embodiments of the present disclosure. For example, the material selection box can be located at the far left of the display panel. When the user slides the display panel, the relative position of the material selection box within the display panel remains unchanged, and the video editing material can slide over the material selection box. For example, when the user slides the display panel, video editing material 1 and video editing material 2 within the display panel can slide over the material selection box, and the terminal device can determine video editing material 1 and video editing material 2 as the video editing materials to be selected.
[0056] The video editing material last selected in the material selection box may be the video editing material to be selected that was last slid to by the first sliding operation. For example, when the user slides the display panel, video editing material 1 and video editing material 2 may slide over the material selection box. When video editing material 3 slides into the material selection box, the video editing materials in the display panel stop sliding. The terminal device may determine video editing material 1, video editing material 2, and video editing material 3 as the video editing materials to be selected, and determine video editing material 3 as the video editing material to be selected that was last slid to.
[0057] Among them, at least one video editing material adjacent to the last selected video editing material slid to can be a video editing material adjacent to the last selected video editing material slid to in any direction. For example, at least one video editing material adjacent to the last selected video editing material slid to can be 2 video editing materials on the left side (can be any number, the present embodiment does not limit this) of the last selected video editing material slid to, and 2 video editing materials on the right side. When the display panel can display at least 2 rows of video editing materials, at least one video editing material adjacent to the last selected video editing material slid to can also be 2 video editing materials on the upper side and two video editing materials on the lower side of the last selected video editing material slid to.
[0058] 4 , the process of determining the first video editing material by the terminal device will be described below.
[0059] Figure 4 is a schematic diagram of a process for determining a first video editing material according to an embodiment of the present disclosure. Referring to Figure 4 , the process includes a display panel. The display panel may include multiple special effects, such as Special Effect 1 and Special Effect 2. The display panel may also include a material selection box, with Special Effect 1 selected in the material selection box. When the user swipes the display panel to the right, Special Effect 1, Special Effect 2, and Special Effect 3 in the display panel may slide past the material selection box, and Special Effect 4 may slide into the material selection box.
[0060] Referring to FIG4 , the terminal device (not shown in FIG4 ) can determine that the video editing materials to be selected may include special effect 1, special effect 2, special effect 3, and special effect 4, wherein special effect 4 is the last video editing material to be selected. Therefore, the video editing materials adjacent to special effect 4 may include special effect 3 and special effect 5. The terminal device can determine special effect 1, special effect 2, special effect 3, special effect 4, and special effect 5 as the video editing materials to be selected. In this way, the terminal device can accurately determine the video editing material to be downloaded from the multiple video editing materials displayed on the panel, thereby improving the download accuracy of the video editing material and enhancing the user experience.
[0061] It should be noted that the sliding operation in the embodiment of the present disclosure may also be any operation of the user selecting video editing materials, such as a touch operation, a pre-download operation, etc., and the embodiment of the present disclosure is not limited to this.
[0062] S203: Determine the download priority among the multiple first video editing materials.
[0063] The download priority is used to indicate the download order among multiple first video editing materials. For example, if the download priority of the first video editing material 1 is higher than the download priority of the first video editing material 2, the terminal device can download the first video editing material 1 first. After the download of the first video editing material 1 is completed, the terminal device can download the first video editing material 2.
[0064] The first video editing material that was last slid onto by the first sliding operation has the highest download priority. For example, in the embodiment shown in Figure 4, special effect 4 is the first video editing material that was last slid onto by the first sliding operation. Therefore, among special effects 1, 2, 3, 4, and 5, special effect 4 has the highest download priority, and the terminal device can prioritize downloading special effect 4. This allows the terminal device to prioritize downloading the video editing material selected by the user, thereby improving the download accuracy and efficiency of the video editing material.
[0065] Among them, the terminal device can determine the download priority among multiple first video editing materials according to the following feasible implementation method: determine the material type of the first video editing material according to the first sliding operation, and determine the download priority among multiple first video editing materials according to the material type.
[0066] The material type may include at least one of the following: the last slid type, the pre-slid type, the slid past type, and the download pause type.
[0067] The last swiped type can be used to indicate that the first video editing material is the last swiped type to which the user swiped. For example, if the material type of the first video editing material is the last swiped type, it means that when the user performed the first sliding operation on the display panel, the first video editing material was the last swiped type to which the user swiped. For example, in the embodiment shown in FIG4 , the material type of special effect 4 in the first video editing material can be the last swiped type.
[0068] Among them, the pre-slide type can be used to indicate that the first video editing material is the video editing material to be selected by the user. For example, if the material type of the first video editing material is the pre-slide type, it means that when the user performs the first sliding operation on the display panel, the first video editing material is not slid to the first video editing material, but the first video editing material can be the video editing material that the user slides to in the next sliding operation. For example, in the embodiment shown in Figure 4, the material type of special effect 5 in the first video editing material can be the pre-slide type. It should be noted that in the embodiment shown in Figure 4, the material type of special effect 6 can also be the pre-slide type, and the embodiment of the present disclosure does not limit this.
[0069] The "slid-over type" can be used to indicate that the first video editing material is a video editing material that the user has slid over. For example, if the material type of the first video editing material is a "slid-over type," it indicates that when the user performed the first sliding operation on the display panel, the first video editing material was a "slid-over" video editing material. For example, in the embodiment shown in FIG4 , the material types of Special Effect 1, Special Effect 2, and Special Effect 3 in the first video editing material can be "slid-over" material types.
[0070] The download pause type can be used to indicate that the first video editing material is the video editing material that the user last selected. For example, before the user performs the first sliding operation on the display panel, the user has already selected a video editing material, and the terminal device can download the video editing material. During the download process, the user performs the first sliding operation on the display panel, and the terminal device can prioritize downloading the video editing material that was last slid to by the first sliding operation. Therefore, the terminal device can stop downloading the video editing material, and the material type of the video editing material that is stopped from downloading can be the download pause type.
[0071] It should be noted that the terminal device can determine the material type of the first video editing material based on the user's first sliding operation on the display panel. The terminal device can also determine the material type of the first video editing material according to any feasible implementation method. The embodiment of the present disclosure does not limit this.
[0072] Next, referring to FIG. 5 , the downloading of paused video editing materials will be described.
[0073] Figure 5 is a schematic diagram of a paused video editing download provided by an embodiment of the present disclosure. Referring to Figure 5 , the display panel includes a display panel. The display panel may include multiple special effects, such as Special Effect 1 and Special Effect 2. The display panel may also include a material selection box. When Special Effect 2 is selected in the material selection box, the terminal device (not shown in Figure 5 ) may begin downloading Special Effect 2.
[0074] As shown in Figure 5, when the user swipes the display panel to the right, Effect 5 is selected last in the material selection box. Therefore, Effect 5 has the highest download priority. If Effect 2 has not yet finished downloading, the terminal device can pause downloading Effect 2 and begin downloading Effect 5. The material type for Effect 2 can be a download-pause type. This mechanism allows the terminal device to always prioritize downloading the user-selected video editing material, thereby improving the accuracy of video editing material downloads.
[0075] Among them, the terminal device determines the download priority among multiple first video editing materials according to the material type, which can be specifically: if the material type of the first video editing material is the last slid type, the download priority of the first video editing material can be the first priority; if the material type of the first video editing material is the pre-slid type, the download priority of the first video editing material can be the second priority; if the material type of the first video editing material is the download pause type, the download priority of the first video editing material can be the third priority; if the material type of the first video editing material is the type that has been slid, the download priority of the first video editing material can be the fourth priority.
[0076] The first priority is higher than the second priority, the second priority is higher than the third priority, and the third priority is higher than the fourth priority. For example, the download priority of the video editing material of the type slid to the last time is higher than the download priority of the video editing material of the type slid to previously, the download priority of the video editing material of the type slid to previously is higher than the download priority of the video editing material of the type paused, and the download priority of the video editing material of the type paused is higher than the download priority of the video editing material of the type slid to previously.
[0077] For example, in the embodiment shown in Figure 4, the material type of special effect 4 in the first video editing material can be the type that was slid to the last time, so the download priority of special effect 4 is the highest, and the material type of special effect 5 can be the type that was pre-slid to, so the download priority of special effect 5 is lower than the download priority of special effect 4, and the material type of special effect 1, special effect 2 and special effect 3 can be the type that has been slid to (special effect 3 can also be the type that was pre-slid to, which is not limited in the embodiment of the present disclosure), so the download priority of special effect 1, special effect 2 and special effect 3 is lower than the download priority of special effect 5, among which the download priority between special effect 1, special effect 2 and special effect 3 can be determined by the order of sliding to (that is, the download priority between video editing materials with the same download priority can be determined by the order of sliding to), which is not limited in the embodiment of the present disclosure.
[0078] S204: Download multiple first video editing materials according to download priority.
[0079] Among them, the terminal device can download multiple first video editing materials according to the following feasible implementation method: obtain a download queue, sort multiple first video editing materials in the download queue according to download priority, and download the first video editing material at the head of the download queue.
[0080] The download queue may include multiple first video editing materials. For example, in the embodiment shown in FIG4 , the download queue determined by the terminal device may include special effect 1, special effect 2, special effect 3, special effect 4, and special effect 5.
[0081] The first video editing material at the head of the download queue is the first video editing material with the highest download priority. For example, the download queue may include the first video editing material 1, the first video editing material 2, and the first video editing material 3. If the first video editing material 1 has the highest download priority, the head of the download queue is the first video editing material 1; if the first video editing material 2 has the highest download priority, the head of the download queue is the first video editing material 2; if the first video editing material 3 has the highest download priority, the head of the download queue is the first video editing material 3.
[0082] Among them, the terminal device can download the video editing material at the head of the download queue. For example, when the terminal device first displays the video editing page, the terminal device can generate a consumer thread, and the consumer thread can obtain the task (video editing material) from the download queue for processing (downloading), wherein the consumer thread can obtain the video editing material from the head of the queue each time and download the video editing material. For example, the download queue includes video editing material 1 and video editing material 2. If video editing material 1 is the head of the queue, the terminal device can download video editing material 1. In this way, the terminal device can download the video editing material with the highest download priority, and the terminal device can download a video editing material based on network resources, thereby improving the download accuracy and download efficiency of the video editing material.
[0083] 6 , the process of a terminal device downloading the video editing material at the head of the download queue will be described.
[0084] FIG6 is a schematic diagram of a method for downloading video editing materials provided by an embodiment of the present disclosure. Please refer to FIG6 , which includes a display panel. The display panel includes a material selection box and multiple video editing materials (A, B, C, etc. in the display panel represent video editing materials). When the user slides the display panel to the right, the material selection box finally selects video editing material D. Therefore, the terminal device (not shown in FIG6 ) can determine that the download queue includes video editing material A, video editing material B, video editing material C, video editing material D, and video editing material E.
[0085] Referring to Figure 6, the order of the multiple video editing materials in the download queue is: video editing material D - video editing material E - video editing material C - video editing material B - video editing material A. The download queue may include a downloading queue and a queue waiting for download. The downloading queue includes video editing material D, while the queue waiting for download includes video editing material E - video editing material C - video editing material B - video editing material A. In this way, the terminal device can flexibly adjust the download order of multiple video editing materials based on the user's sliding operation, improving the download flexibility of video editing materials.
[0086] The present disclosure provides a method for downloading video editing materials, wherein a terminal device can display a video editing page, and in response to a first sliding operation on a display panel in the video editing page, the terminal device can determine multiple video editing materials to be selected associated with the first sliding operation, and at least one video editing material adjacent to the last video editing material to be selected corresponding to the first sliding operation. The terminal device can determine the multiple video editing materials to be selected and the at least one video editing material adjacent to the last video editing material to be selected as multiple first video editing materials, and the terminal device can determine a download priority among the multiple first video editing materials and obtain a download queue. The terminal device can sort the multiple first video editing materials in the download queue according to the download priority and download the first video editing material at the head of the queue in the download queue. In this way, since the video editing material selected by the user has the highest download priority, and the head of the queue can be the video editing material with the highest download priority, the terminal device can prioritize downloading the video editing material selected by the user, thereby improving the download accuracy of the video editing materials. In addition, the terminal device can download the video editing material with the highest download priority based on network resources, thereby improving the download efficiency of the video editing materials.
[0087] Based on the embodiment shown in Figure 2, when the terminal device downloads the video editing material at the head of the download queue, the above-mentioned video editing material downloading method also includes a processing method for the user to perform a second sliding operation on the display panel. Below, in combination with Figure 7, the processing method for the user to perform a second sliding operation on the display panel is explained.
[0088] FIG7 is a schematic diagram of a method for performing a second sliding operation provided by an embodiment of the present disclosure. Referring to FIG7 , the method process includes:
[0089] S701: In response to a second sliding operation on the display panel, pausing downloading of the first video editing material at the head of the queue.
[0090] Optionally, the second sliding operation may be a sliding operation of the display panel by the user. For example, the second sliding operation may be an operation of the user sliding right on the display panel, the second sliding operation may be an operation of the user sliding left on the display panel, the second sliding operation may be an operation of the user sliding upward on the display panel, or the second sliding operation may be an operation of the user sliding downward on the display panel. This embodiment of the present disclosure is not limited to this.
[0091] It should be noted that the second sliding operation in the embodiment of the present disclosure may also be a touch operation of the user on the display panel (eg, clicking on the video editing material on the display panel), etc., and the embodiment of the present disclosure does not limit this.
[0092] If the terminal device has not completed downloading the first video editing material at the head of the download queue, the terminal device may pause downloading the first video editing material at the head of the download queue. For example, when the user performs a second sliding operation on the display panel, the download priorities of the multiple first video editing materials in the download queue will change, and the video editing material with the highest download priority will become the video editing material that was last slid to by the second sliding operation. Therefore, the terminal device may pause downloading the first video editing material at the head of the download queue.
[0093] S702: Determine a plurality of second video editing materials.
[0094] The second video editing material may be a video editing material associated with the second sliding operation. For example, the second video editing material may include the video editing material that the second sliding operation has slid to, the second video editing material may also include the video editing material that the second sliding operation last slid to, or the second video editing material may further include at least one video editing material adjacent to the video editing material that the second sliding operation last slid to, and the present embodiment is not limited to this.
[0095] It should be noted that the method in which the terminal device determines multiple second video editing materials according to the second sliding operation is the same as the method in which the terminal device determines multiple first video editing materials according to the first sliding operation, and this embodiment of the present disclosure will not be further elaborated on.
[0096] S703. According to the second sliding operation, add multiple second video editing materials to the download queue.
[0097] The second video editing material that the second sliding operation last slides to is at the head of the download queue. For example, when the user performs the second sliding operation on the display panel, the second video editing material that the second sliding operation last slides to has the highest download priority. Therefore, the second video editing material that the second sliding operation last slides to can be at the head of the download queue.
[0098] Among them, the terminal device can add multiple second video editing materials to the download queue according to the following feasible implementation method: according to the second sliding operation, determine the download priority between the multiple second video editing materials and the first video editing material in the download queue, and add multiple second video editing materials to the download queue according to the download priority between the multiple second video editing materials and the first video editing material in the download queue.
[0099] The download priority between the plurality of second video editing materials and the first video editing material in the download queue may indicate the download order between the plurality of second video editing materials and the first video editing material in the download queue. For example, if the download priority of the second video editing material is higher than the download priority of the first video editing material, the terminal device will prioritize downloading the second video editing material.
[0100] Optionally, the method by which the terminal device determines the download priority between the second video editing material and the first video editing material is the same as the method by which the terminal device determines the download priority of multiple first video editing materials, which is not limited in the embodiment of the present disclosure.
[0101] It should be noted that in actual application, when the user performs a first sliding operation on the display panel, the video editing material may be the first video editing material, and when the user performs a second sliding operation on the display panel, the video editing material may also become the second video editing material. The embodiment of the present disclosure does not limit this.
[0102] The terminal device may determine the order of the first video editing material and the second video editing material in the download queue according to the download priorities between the plurality of second video editing materials and the first video editing material in the download queue.
[0103] S704: Download the second video editing material at the head of the download queue.
[0104] Next, with reference to FIG8 , the process of downloading the second video editing material at the head of the download queue is described.
[0105] FIG8 is a schematic diagram of downloading the head of a download queue provided by an embodiment of the present disclosure. Please refer to FIG8 , which includes: a display panel. The display panel includes a material selection box and multiple video editing materials (A, B, C, etc. in the display panel represent video editing materials). When the user slides the display panel to the right, the material selection box finally selects video editing material D. Therefore, the terminal device (not shown in FIG8 ) can determine that the download queue includes video editing material A, video editing material B, video editing material C, video editing material D, and video editing material E.
[0106] Please refer to Figure 8. The download queue may include a queue that is downloading and a queue that is waiting to download. The queue that is downloading includes video editing material D, and the queue that is waiting to download includes video editing material E-video editing material C-video editing material B-video editing material A. When the user continues to slide the display panel to the right, the material selection box finally selects video editing material F. Therefore, the terminal device can determine that the second video editing material includes video editing material F and video editing material G (video editing material E has been determined as the first video editing material of the type pre-slid to during the first sliding operation, that is, the video editing material E has been added to the download queue and does not need to be counted again).
[0107] Please refer to Figure 8. The terminal device can stop downloading video editing material D, where the material types of video editing material A, video editing material B, video editing material C and video editing material E can be the slid-over type (in an optional solution, the material type of the video editing material E can also be determined as the pre-slid type, which is not limited to the embodiment of the present disclosure), the material type of video editing material D is the download pause type, the material type of video editing material G is the pre-slid type, and the material type of video editing material F is the last slid type.
[0108] Referring to Figure 8 , the download queue may include a queue currently downloading and a queue awaiting downloading. The queue currently downloading includes video editing material F, and the queue awaiting downloading includes video editing material G, video editing material D, video editing material E, video editing material C, video editing material B, and video editing material A. Thus, when the user performs a second sliding operation on the display panel, the terminal device may readjust the download priorities of the video editing materials in the download queue and the video editing materials in the download queue, thereby improving the download flexibility of the video editing materials.
[0109] The disclosed embodiment provides a method for performing a second sliding operation on a display panel, wherein the terminal device can, in response to the second sliding operation on the display panel, pause downloading the first video editing material at the head of the queue and determine a plurality of second video editing materials. The terminal device can determine the download priority between the plurality of second video editing materials and the first video editing material in the download queue based on the second sliding operation, add a plurality of second video editing materials to the download queue based on the download priority between the plurality of second video editing materials and the first video editing material in the download queue, and download the second video editing material at the head of the download queue. In this way, since the terminal device can always download the video editing material selected by the user, the download accuracy of the video editing material can be improved, and since the terminal device can rearrange the download order between the first video editing material and the second video editing material in the download queue based on the second sliding operation, the download flexibility of the video editing material can be improved.
[0110] Based on any one of the above embodiments, the processing procedure of the method for downloading the above video editing materials will be described below in conjunction with FIG. 9 .
[0111] FIG9 is a schematic diagram of a processing process provided by an embodiment of the present disclosure. Please refer to FIG9 , which includes: an interactive timeline, a display panel, a scheduling process, a download and a waiting process. Among them, the display panel includes 5 video editing materials (in the embodiment shown in FIG9 , each letter represents a video editing material). When the user slides to C, the last video editing material slid to in the display panel is C, and the scheduling process of the terminal device (not shown in FIG9 ) can be: download C, pre-download B and D, include C in the download queue, and include BD in the waiting queue.
[0112] As shown in Figure 9, when the user scrolls to D, the last video editing material displayed in the display panel is D. The terminal device can schedule the following: download D, pause C, and pre-download E. The download queue can include D, and the waiting queue can include ECB. When the user scrolls to A, the last video editing material displayed in the display panel is A. The terminal device can schedule the following: download A, pause D, pre-download B, and the download queue can include A, and the waiting queue can include BDEC.
[0113] Please refer to Figure 9. When A is downloaded, the terminal device may schedule: A is completed, downloading B. The download queue may include B, and the waiting queue may include DEC. When B is downloaded, the terminal device may schedule: B is completed, downloading D. The download queue may include B, and the waiting queue may include EC. When D is downloaded, the terminal device may schedule: D is completed, downloading E. The download queue may include E, and the waiting queue may include C. When E is downloaded, the terminal device may schedule: E is completed, downloading C. The download queue may include C, and the waiting queue is empty. When C is downloaded, the terminal device may schedule: C is completed, the download queue is empty, and the waiting queue is empty.
[0114] In this way, since the terminal device can always download the video editing materials selected by the user, the download accuracy of the video editing materials can be improved. Moreover, since the terminal device can adjust the download order of the video editing materials being downloaded, the video editing materials to be downloaded, and the video editing materials to be downloaded based on the user's operation on the display panel, the download flexibility of the video editing materials can be improved.
[0115] FIG10 is a schematic diagram of the structure of a video editing material downloading device provided by an embodiment of the present disclosure. Referring to FIG10 , the video editing material downloading device 100 includes a display module 101, a first determination module 102, a second determination module 103, and a downloading module 104, wherein:
[0116] The display module 101 is used to display a video editing page, wherein the video editing page includes a display panel, and the display panel includes a plurality of video editing materials;
[0117] The first determining module 102 is configured to determine a plurality of first video editing materials from the plurality of video editing materials in response to a first sliding operation on the display panel;
[0118] The second determining module 103 is configured to determine a download priority among the plurality of first video editing materials, wherein the first video editing material last slid to by the first sliding operation has the highest download priority;
[0119] The downloading module 104 is configured to download the plurality of first video editing materials according to the downloading priority.
[0120] According to one or more embodiments of the present disclosure, the first determining module 102 is specifically configured to:
[0121] determining a plurality of to-be-selected video editing materials to which the first sliding operation has slid, and at least one video editing material adjacent to the to-be-selected video editing material to which the first sliding operation has last slid;
[0122] At least one video editing material adjacent to the multiple to-be-selected video editing materials and the last slid to-be-selected video editing material is determined as the multiple first video editing materials.
[0123] According to one or more embodiments of the present disclosure, the first determining module 102 is specifically configured to:
[0124] In response to a first sliding operation on the display panel, the video editing material to which the material selection box has been slid is determined as the video editing material to be selected.
[0125] According to one or more embodiments of the present disclosure, the second determining module 103 is specifically configured to:
[0126] Determining a material type of the first video editing material according to the first sliding operation, where the material type includes at least one of the following: a last slid type, a pre-slid type, a slid past type, and a download pause type;
[0127] Determine the download priority among the multiple first video editing materials according to the material type.
[0128] According to one or more embodiments of the present disclosure, the second determining module 103 is specifically configured to:
[0129] If the material type of the first video editing material is the type that is last swiped to, the download priority of the first video editing material is the first priority;
[0130] If the material type of the first video editing material is the pre-slide type, the download priority of the first video editing material is the second priority;
[0131] If the material type of the first video editing material is a download pause type, the download priority of the first video editing material is the third priority;
[0132] If the material type of the first video editing material is a type that has been swiped past, the download priority of the first video editing material is the fourth priority;
[0133] The first priority is higher than the second priority, the second priority is higher than the third priority, and the third priority is higher than the fourth priority.
[0134] According to one or more embodiments of the present disclosure, the download module 104 is specifically configured to:
[0135] Obtaining a download queue, wherein the download queue includes a plurality of first video editing materials;
[0136] sorting the plurality of first video editing materials in the download queue according to the download priority, wherein the first video editing material having the highest download priority is at the head of the download queue;
[0137] The first video editing material at the head of the download queue is downloaded.
[0138] According to one or more embodiments of the present disclosure, the download module 104 is further configured to:
[0139] In response to a second sliding operation on the display panel, pausing downloading of the first video editing material at the head of the queue, and determining a plurality of second video editing materials;
[0140] According to the second sliding operation, the plurality of second video editing materials are added to the download queue, wherein the second video editing material last slid to by the second sliding operation is at the head of the download queue;
[0141] The second video editing material at the head of the download queue is downloaded.
[0142] According to one or more embodiments of the present disclosure, the download module 104 is specifically configured to:
[0143] determining, according to the second sliding operation, a download priority between the plurality of second video editing materials and the first video editing material in the download queue;
[0144] The plurality of second video editing materials are added to the download queue according to download priorities between the plurality of second video editing materials and the first video editing materials in the download queue.
[0145] The device for downloading video editing materials provided in the embodiment of the present disclosure can be used to execute the technical solution of the above-mentioned method embodiment. Its implementation principle and technical effects are similar and will not be described in detail in this embodiment.
[0146] FIG11 is a schematic diagram of the structure of a terminal device provided by an embodiment of the present disclosure. Please refer to FIG11, which shows a schematic diagram of the structure of a terminal device 1100 suitable for implementing an embodiment of the present disclosure. The terminal device may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., as well as fixed terminals such as digital TVs, desktop computers, etc. The terminal device shown in FIG11 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
[0147] As shown in FIG11 , terminal device 1100 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1101, which can perform various appropriate actions and processes based on programs stored in a read-only memory (ROM) 1102 or programs loaded from a storage device 1108 into a random access memory (RAM) 1103. Various programs and data required for the operation of terminal device 1100 are also stored in RAM 1103. Processing device 1101, ROM 1102, and RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to bus 1104.
[0148] Typically, the following devices may be connected to the I / O interface 1105: an input device 1106 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1107 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1108 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1109. The communication device 1109 may allow the terminal device 1100 to communicate with other devices wirelessly or by wire to exchange data. Although FIG11 illustrates a terminal device 1100 having various devices, it should be understood that not all of the devices shown are required to be implemented or present. More or fewer devices may alternatively be implemented or present.
[0149] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 1109, or installed from the storage device 1108, or installed from the ROM 1102. When the computer program is executed by the processing device 1101, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0150] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0151] The computer-readable medium may be included in the terminal device, or may exist independently without being incorporated into the terminal device.
[0152] The computer-readable medium carries one or more programs. When the one or more programs are executed by the terminal device, the terminal device executes the method shown in the above embodiment.
[0153] An embodiment of the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When a processor executes the computer-executable instructions, various methods that may be involved in the above embodiments are implemented.
[0154] An embodiment of the present disclosure provides a computer program product, including a computer program, which implements various possible methods involved in the above embodiments when executed by a processor.
[0155] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet Service Provider).
[0156] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0157] The units involved in the embodiments described in this disclosure may be implemented in software or hardware. In some cases, the name of a unit does not limit the unit itself. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses."
[0158] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0159] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0160] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0161] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0162] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws and regulations. Data may include information, parameters and messages, such as flow switching indication information.
[0163] In a first aspect, an embodiment of the present disclosure provides a video processing method, the video processing method comprising:
[0164] Displaying a video editing page, wherein the video editing page includes a display panel, and the display panel includes a plurality of video editing materials;
[0165] In response to a first sliding operation on the display panel, determining a plurality of first video editing materials from the plurality of video editing materials, and determining a download priority among the plurality of first video editing materials, wherein the first video editing material last slid to by the first sliding operation has the highest download priority;
[0166] The plurality of first video editing materials are downloaded according to the download priority.
[0167] According to one or more embodiments of the present disclosure, determining a plurality of first video editing materials from the plurality of video editing materials includes:
[0168] determining a plurality of to-be-selected video editing materials to which the first sliding operation has slid, and at least one video editing material adjacent to the to-be-selected video editing material to which the first sliding operation has last slid;
[0169] At least one video editing material adjacent to the multiple to-be-selected video editing materials and the last slid to-be-selected video editing material is determined as the multiple first video editing materials.
[0170] According to one or more embodiments of the present disclosure, the display panel further includes a material selection box; and determining the plurality of video editing materials to be selected associated with the first sliding operation includes:
[0171] In response to a first sliding operation on the display panel, the video editing material to which the material selection box has been slid is determined as the video editing material to be selected.
[0172] According to one or more embodiments of the present disclosure, determining the download priority among the plurality of first video editing materials includes:
[0173] Determining a material type of the first video editing material according to the first sliding operation, where the material type includes at least one of the following: a last slid type, a pre-slid type, a slid past type, and a download pause type;
[0174] Determine the download priority among the multiple first video editing materials according to the material type.
[0175] According to one or more embodiments of the present disclosure, determining the download priority according to the material type includes:
[0176] If the material type of the first video editing material is the type that is last swiped to, the download priority of the first video editing material is the first priority;
[0177] If the material type of the first video editing material is the pre-slide type, the download priority of the first video editing material is the second priority;
[0178] If the material type of the first video editing material is a download pause type, the download priority of the first video editing material is the third priority;
[0179] If the material type of the first video editing material is a type that has been swiped past, the download priority of the first video editing material is the fourth priority;
[0180] The first priority is higher than the second priority, the second priority is higher than the third priority, and the third priority is higher than the fourth priority.
[0181] According to one or more embodiments of the present disclosure, downloading the plurality of first video editing materials according to the download priority includes:
[0182] Obtaining a download queue, wherein the download queue includes a plurality of first video editing materials;
[0183] sorting the plurality of first video editing materials in the download queue according to the download priority, wherein the first video editing material having the highest download priority is at the head of the download queue;
[0184] The first video editing material at the head of the download queue is downloaded.
[0185] According to one or more embodiments of the present disclosure, when downloading the first video editing material at the head of the download queue, the method further includes:
[0186] In response to a second sliding operation on the display panel, pausing downloading of the first video editing material at the head of the queue, and determining a plurality of second video editing materials;
[0187] According to the second sliding operation, the plurality of second video editing materials are added to the download queue, wherein the second video editing material last slid to by the second sliding operation is at the head of the download queue;
[0188] The second video editing material at the head of the download queue is downloaded.
[0189] According to one or more embodiments of the present disclosure, adding the plurality of second video editing materials to the download queue according to the second sliding operation includes:
[0190] determining, according to the second sliding operation, a download priority between the plurality of second video editing materials and the first video editing material in the download queue;
[0191] The plurality of second video editing materials are added to the download queue according to download priorities between the plurality of second video editing materials and the first video editing materials in the download queue.
[0192] In a second aspect, an embodiment of the present disclosure provides a device for downloading video editing materials, the device comprising a display module, a first determination module, a second determination module, and a download module, wherein:
[0193] The display module is used to display a video editing page, wherein the video editing page includes a display panel, and the display panel includes a plurality of video editing materials;
[0194] The first determining module is configured to, in response to a first sliding operation on the display panel, determine a plurality of first video editing materials from the plurality of video editing materials;
[0195] The second determining module is configured to determine a download priority among the plurality of first video editing materials, wherein the first video editing material last slid to by the first sliding operation has the highest download priority;
[0196] The download module is configured to download the plurality of first video editing materials according to the download priority.
[0197] According to one or more embodiments of the present disclosure, the first determining module is specifically configured to:
[0198] determining a plurality of to-be-selected video editing materials to which the first sliding operation has slid, and at least one video editing material adjacent to the to-be-selected video editing material to which the first sliding operation has last slid;
[0199] At least one video editing material adjacent to the multiple to-be-selected video editing materials and the last slid to-be-selected video editing material is determined as the multiple first video editing materials.
[0200] According to one or more embodiments of the present disclosure, the first determining module is specifically configured to:
[0201] In response to a first sliding operation on the display panel, the video editing material to which the material selection box has been slid is determined as the video editing material to be selected.
[0202] According to one or more embodiments of the present disclosure, the second determining module is specifically configured to:
[0203] Determining a material type of the first video editing material according to the first sliding operation, where the material type includes at least one of the following: a last slid type, a pre-slid type, a slid past type, and a download pause type;
[0204] Determine the download priority among the multiple first video editing materials according to the material type.
[0205] According to one or more embodiments of the present disclosure, the second determining module is specifically configured to:
[0206] If the material type of the first video editing material is the type that is last swiped to, the download priority of the first video editing material is the first priority;
[0207] If the material type of the first video editing material is the pre-slide type, the download priority of the first video editing material is the second priority;
[0208] If the material type of the first video editing material is a download pause type, the download priority of the first video editing material is the third priority;
[0209] If the material type of the first video editing material is a type that has been swiped past, the download priority of the first video editing material is the fourth priority;
[0210] The first priority is higher than the second priority, the second priority is higher than the third priority, and the third priority is higher than the fourth priority.
[0211] According to one or more embodiments of the present disclosure, the download module is specifically configured to:
[0212] Obtaining a download queue, wherein the download queue includes a plurality of first video editing materials;
[0213] sorting the plurality of first video editing materials in the download queue according to the download priority, wherein the first video editing material having the highest download priority is at the head of the download queue;
[0214] The first video editing material at the head of the download queue is downloaded.
[0215] According to one or more embodiments of the present disclosure, the download module is further configured to:
[0216] In response to a second sliding operation on the display panel, pausing downloading of the first video editing material at the head of the queue, and determining a plurality of second video editing materials;
[0217] According to the second sliding operation, the plurality of second video editing materials are added to the download queue, wherein the second video editing material last slid to by the second sliding operation is at the head of the download queue;
[0218] The second video editing material at the head of the download queue is downloaded.
[0219] According to one or more embodiments of the present disclosure, the download module is specifically configured to:
[0220] determining, according to the second sliding operation, a download priority between the plurality of second video editing materials and the first video editing material in the download queue;
[0221] The plurality of second video editing materials are added to the download queue according to download priorities between the plurality of second video editing materials and the first video editing materials in the download queue.
[0222] In a third aspect, an embodiment of the present disclosure provides a terminal device including: a processor and a memory;
[0223] The memory stores computer-executable instructions;
[0224] The processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the above-mentioned first aspect and various possible methods for downloading video editing materials involved in the first aspect.
[0225] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the method for downloading the video editing material as described in the first aspect and various possible methods involved in the first aspect is implemented.
[0226] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0227] In addition, although the operations are described in a specific order, this should not be understood as requiring that these operations be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of this disclosure. Certain features described in the context of separate embodiments can also be implemented in a single embodiment in combination. Conversely, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination. Although the subject matter has been described in language specific to structural features and / or method logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for downloading video editing materials, comprising: Displaying a video editing page, wherein the video editing page includes a display panel, and the display panel includes a plurality of video editing materials; In response to a first sliding operation on the display panel, determining a plurality of first video editing materials from the plurality of video editing materials, and determining a download priority among the plurality of first video editing materials, wherein the first video editing material last slid to by the first sliding operation has the highest download priority; The plurality of first video editing materials are downloaded according to the download priority.
2. The method according to claim 1, wherein The determining of a plurality of first video editing materials from the plurality of video editing materials comprises: determining a plurality of to-be-selected video editing materials to which the first sliding operation has slid, and at least one video editing material adjacent to the to-be-selected video editing material to which the first sliding operation has last slid; At least one video editing material adjacent to the multiple to-be-selected video editing materials and the last slid to-be-selected video editing material is determined as the multiple first video editing materials.
3. The method according to claim 2, wherein: The display panel further includes a material selection box; and determining a plurality of video editing materials to be selected associated with the first sliding operation includes: In response to a first sliding operation on the display panel, the video editing material to which the material selection box has been slid is determined as the video editing material to be selected.
4. The method according to any one of claims 1 to 3, wherein: The determining of the download priority among the plurality of first video editing materials includes: Determining a material type of the first video editing material according to the first sliding operation, where the material type includes at least one of the following: a last slid type, a pre-slid type, a slid past type, and a download pause type; Determine the download priority among the multiple first video editing materials according to the material type.
5. The method according to claim 4, wherein The determining the download priority according to the material type includes: If the material type of the first video editing material is the type that is last swiped to, the download priority of the first video editing material is the first priority; If the material type of the first video editing material is the pre-slide type, the download priority of the first video editing material is the second priority; If the material type of the first video editing material is a download pause type, the download priority of the first video editing material is the third priority; If the material type of the first video editing material is a type that has been swiped past, the download priority of the first video editing material is the fourth priority; The first priority is higher than the second priority, the second priority is higher than the third priority, and the third priority is higher than the fourth priority.
6. The method according to any one of claims 1 to 3, wherein: The downloading of the plurality of first video editing materials according to the download priority comprises: Obtaining a download queue, wherein the download queue includes a plurality of first video editing materials; sorting the plurality of first video editing materials in the download queue according to the download priority, wherein the first video editing material having the highest download priority is at the head of the download queue; The first video editing material at the head of the download queue is downloaded.
7. The method according to claim 6, wherein: When downloading the first video editing material at the head of the download queue, the method further includes: In response to a second sliding operation on the display panel, pausing downloading of the first video editing material at the head of the queue, and determining a plurality of second video editing materials; According to the second sliding operation, the plurality of second video editing materials are added to the download queue, wherein the second video editing material last slid to by the second sliding operation is at the head of the download queue; The second video editing material at the head of the download queue is downloaded.
8. The method according to claim 7, wherein: Adding the plurality of second video editing materials to the download queue according to the second sliding operation includes: determining, according to the second sliding operation, a download priority between the plurality of second video editing materials and the first video editing material in the download queue; The plurality of second video editing materials are added to the download queue according to download priorities between the plurality of second video editing materials and the first video editing materials in the download queue.
9. A device for downloading video editing materials, comprising a display module, a first determination module, a second determination module, and a download module, wherein: The display module is configured to display a video editing page, wherein the video editing page includes a display panel, and the display panel includes a plurality of video editing materials; The first determining module is configured to, in response to a first sliding operation on the display panel, determine a plurality of first video editing materials from the plurality of video editing materials; The second determining module is configured to determine a download priority among the plurality of first video editing materials, wherein the download priority of the first video editing material last slid to by the first sliding operation is the highest; The download module is configured to download the plurality of first video editing materials according to the download priority.
10. A terminal device comprising: processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor executes the method for downloading video editing materials according to any one of claims 1 to 8.
11. A computer-readable storage medium, wherein: The computer-readable storage medium stores computer-executable instructions. When the processor executes the computer-executable instructions, the method for downloading video editing materials according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Real-time video special effect rendering method, system, device and storage medium
CN113613066A
Multimedia data processing method, multimedia data generation method, and related device
US20230144094A1
Display content unlocking method, apparatus and device, and readable storage medium
WO2022148447A1