Method, apparatus, electronic device, readable medium, and program for storing composite segments

The method simplifies multimedia editing by saving composite segments with editing attributes for direct reuse, addressing complexity and inefficiency in current reuse methods, enhancing efficiency and flexibility.

JP2026521604APending Publication Date: 2026-06-30BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
BEIJING ZITIAO NETWORK TECH CO LTD
Filing Date
2024-09-30
Publication Date
2026-06-30

Smart Images

  • Figure 2026521604000001_ABST
    Figure 2026521604000001_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, electronic device and readable medium for storing a composite segment, wherein in response to a save operation on the first composite segment in a first multimedia editing task, a first draft and editing attribute information of the first composite segment are stored, the editing attribute information is used to instruct editing operations on multiple media segments in the first draft, and in response to a call operation on the first composite segment in a second multimedia editing task, the first composite segment is displayed on a page corresponding to the second multimedia editing task according to the editing attribute information and the first draft.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] [Cross - reference to Related Applications] This application claims priority based on a Chinese patent application filed on October 9, 2023, with application number 202311302553.8 and invention title "Method, Apparatus, Electronic Device, and Readable Medium for Storing Composite Segments", and all of the content of that application is incorporated herein by reference.

[0002] [Technical Field] This application relates to the field of media processing technology, and particularly to a method, apparatus, electronic device, and readable medium for storing composite segments.

Background Art

[0003] In the process of multimedia editing, in order to improve the efficiency of multimedia editing, there is a need to reuse specific segments in previous editing tasks. For example, it is desired to use the opening or ending in a previous editing task.

[0004] Currently, generally, for each of the multiple media segments (such as audio, video, text, stickers, etc.) corresponding to a specific segment that may be reused, copy the segment information and material corresponding to each media segment, and obtain the related information of the specific segment by performing the same editing operation (such as deleting extra parts) as that performed on the specific segment obtained from the previous clip content, export the specific segment. Thus, in an editing task that needs to reuse the specific segment, in order to achieve the "reuse" of the specific segment, it is necessary to import the result exported for the previous specific segment.

[0005] However, the above - mentioned reuse method of reusing specific segments in previous editing tasks has a complex process, high multimedia editing costs, and reduced efficiency, which is disadvantageous for users to quickly complete multimedia editing tasks. [Overview of the project]

[0006] To solve the above technical problems, this application provides a method, apparatus, electronic device, and readable medium for storing composite segments that can be reused in a single multimedia editing task, and that allow the user to directly use the composite segments in subsequent multimedia editing tasks, without the need to perform export and import operations on specific segments, thereby facilitating the user to perform multimedia editing tasks.

[0007] To achieve the above objective, the proposed technology presented in this application is as follows:

[0008] According to the first aspect, this application provides a method for preserving a composite segment, the method being In response to a save operation on a first composite segment in a first multimedia editing task, a first draft and editing attribute information of the first composite segment are saved, and the editing attribute information is used to instruct editing operations on multiple media segments in the first draft. This includes, in response to an invocation operation for the first composite segment in a second multimedia editing task, displaying the first composite segment on a page corresponding to the second multimedia editing task in accordance with the editing attribute information and the first draft.

[0009] In one embodiment, saving the first draft and editing attribute information of the first composite segment in response to a save operation on the first composite segment in the first multimedia editing task is: In response to a save operation on a first composite segment in a first multimedia editing task, a first segment identifier is obtained, the first segment identifier is used to indicate first segment information corresponding to the first composite segment, and the first segment information includes the editing attribute information and a first material identifier. Based on the first segment identifier, the first segment information is obtained from a second draft corresponding to the first multimedia editing task, Based on the aforementioned first material identifier, retrieve the aforementioned first draft from the aforementioned second draft material pool, This includes saving the first segment information and the first draft in a preset path of a composite segment.

[0010] In one embodiment, the editing attribute information includes at least one of the following: start time, end time, trimming, speed, or displacement.

[0011] In one embodiment, the plurality of media segments include a plurality of single material segments, Alternatively, the plurality of media segments include at least one single material segment and at least one composite segment. Alternatively, the plurality of media segments may include a plurality of composite segments.

[0012] In one embodiment, saving the above first draft is If the first media segment among the plurality of media segments is already saved in the preset path of the composite segment, the path corresponding to the material identifier corresponding to the first media segment in the first draft is updated, and the path indicated by the material identifier corresponding to the first media segment in the updated first draft is the save location of the first media segment in the preset path of the composite segment. If the second media segment among the plurality of media segments is not saved in the preset path of the composite segment, the second media segment is saved in the preset path of the composite segment, the path corresponding to the material identifier corresponding to the second media segment in the first draft is updated, and the path indicated by the material identifier corresponding to the second media segment in the updated first draft is the save location of the second media segment in the preset path of the composite segment.

[0013] In one embodiment, prior to the call operation on the first composite segment in the second multimedia editing task, the method, In response to a new creation operation for the second multimedia editing task, load a third draft corresponding to the second multimedia editing task, The further includes reading segment information and drafts corresponding to at least one stored composite segment, wherein the segment information and drafts corresponding to the at least one composite segment include first segment information and the first drafts corresponding to the first composite segment. In response to a call operation to the first composite segment in the second multimedia editing task, displaying the first composite segment on the page corresponding to the second multimedia editing task, according to the editing attribute information and the first draft, is: In response to a call operation on the first composite segment in the second multimedia editing task, the first segment information and the first draft are added to the third draft, This includes adding the first composite segment to the page corresponding to the second multimedia editing task, according to the editing attribute information and the first draft, along the corresponding timeline.

[0014] In one embodiment, reading the segment information and draft corresponding to at least one stored composite segment is: For each of the at least one composite segment, the segment information of the composite segment is checked, and a first check result is obtained to indicate whether or not the segment information of the composite segment is corrupted. If the first check result indicates that the segment information of the composite segment is not corrupted, the material included in the draft of the composite segment is checked, and a second check result is obtained to indicate the condition of the material included in the draft of the composite segment. This includes updating the draft of the composite segment based on the results of the second check described above.

[0015] In one embodiment, the method is In response to an editing operation on the saved first composite segment, the first composite segment is updated, and the editing operation includes at least one of the operations of renaming, trimming, or speeding up. Alternatively, in response to a preview operation on the saved first composite segment, the player on the multimedia editing page displays an editing effects screen corresponding to the first composite segment, which embodies the exported effects of the first composite segment.

[0016] In the second aspect, the present application further provides a storage device for composite segments, the device is A save unit used to save a first draft and editing attribute information of a first composite segment in response to a save operation on a first composite segment in a first multimedia editing task, wherein the editing attribute information is used to instruct editing operations on multiple media segments in the first draft. In response to a call operation on the first composite segment in the second multimedia editing task, a call unit for displaying the first composite segment according to the editing attribute information and the first draft on a page corresponding to the second multimedia editing task is included.

[0017] In one embodiment, the saving unit specifically in response to a saving operation on a first composite segment in a first multimedia editing task, obtains a first segment identifier, the first segment identifier being used to indicate first segment information corresponding to the first composite segment, the first segment information including the editing attribute information and a first material identifier, obtains the first segment information from a second draft corresponding to the first multimedia editing task based on the first segment identifier, obtains the first draft from a material pool of the second draft based on the first material identifier, and is used to save the first segment information and the first draft in a preset path of the composite segment.

[0018] In one embodiment, the editing attribute information includes at least one of information on start time, end time, trimming, speed doubling or displacement.

[0019] In one embodiment, the plurality of media segments include a plurality of single material segments, or the plurality of media segments include at least one single material segment and at least one composite segment, or the plurality of media segments include a plurality of composite segments.

[0020] In one embodiment, the saving unit specifically If the first media segment among the plurality of media segments has already been stored at the preset path of the composite segment, update the path corresponding to the material identifier corresponding to the first media segment in the first draft, and the path indicated by the material identifier corresponding to the first media segment in the updated first draft is the storage position of the first media segment in the preset path of the composite segment, and If the second media segment among the plurality of media segments is not stored at the preset path of the composite segment, store the second media segment at the preset path of the composite segment, update the path corresponding to the material identifier corresponding to the second media segment in the first draft, and the path indicated by the material identifier corresponding to the second media segment in the updated first draft is used to be the storage position of the second media segment in the preset path of the composite segment.

[0021] In one embodiment, the apparatus Before the calling operation on the first composite segment in the second multimedia editing task, a loading unit for loading a third draft corresponding to the second multimedia editing task in response to a new creation operation on the second multimedia editing task, and Further includes a reading unit for reading segment information and drafts corresponding to at least one stored composite segment, and the segment information and drafts corresponding to the at least one composite segment include the first segment information corresponding to the first composite segment and the first draft, Specifically, the calling unit In response to the calling operation on the first composite segment in the second multimedia editing task, add the first segment information and the first draft to the third draft, This is used to add the first composite segment to the page corresponding to the second multimedia editing task, according to the editing attribute information and the first draft, along the corresponding timeline.

[0022] As one example, the reading unit specifically, For each of the at least one composite segment, the segment information of the composite segment is checked, and a first check result is obtained to indicate whether or not the segment information of the composite segment is corrupted. If the first check result indicates that the segment information of the composite segment is not corrupted, the material included in the draft of the composite segment is checked, and a second check result is obtained to indicate the condition of the material included in the draft of the composite segment. The results of the second check described above are used to update the draft of the composite segment.

[0023] In one embodiment, the apparatus is The system further includes an update unit for updating the first composite segment in response to an editing operation on the first composite segment that is stored, the editing operation including at least one of renaming, trimming, or speeding up.

[0024] In one embodiment, the apparatus is The system further includes a preview unit for displaying an editing effects screen in the player of a multimedia editing page that represents the exported effects of the first composite segment, in response to a preview operation on the saved first composite segment.

[0025] For specific embodiments of the apparatus and the technical effects achieved, please refer to the relevant description of the method according to the first aspect or any one embodiment of the first aspect.

[0026] According to the third aspect, the present application further provides an electronic device comprising a processor and memory, The aforementioned memory is used to store instructions or programs. The processor executes the instructions or programs in the memory to cause the electronic device to execute the method according to one embodiment of the above target situation or the target situation.

[0027] According to the fourth aspect, the present application further provides a readable medium on which instructions or programs are stored, and when the instructions or programs are executed by a processor, the processor is caused to execute the method according to the subject aspect or any one embodiment thereof. [Brief explanation of the drawing]

[0028] To more clearly illustrate the embodiments of this application or the technical concepts in the prior art, the following is a brief introduction to the drawings that may be used in the descriptions of the embodiments or the prior art. It is obvious that the drawings in the following descriptions are merely some of the embodiments described in this application, and those skilled in the art can obtain other drawings based on these without any creative effort. [Figure 1] This is a schematic diagram of a multimedia editing page according to an embodiment of this application. [Figure 2] This is a flowchart of the method for storing composite segments according to the embodiment of this application. [Figure 3] This is a schematic diagram of another multimedia editing page according to an embodiment of the present application. [Figure 4] This is a schematic diagram of the process for saving a composite segment as a MyPreset according to an embodiment of this application. [Figure 5] This is a schematic diagram of the process for creating a new multimedia editing task according to an embodiment of this application. [Figure 6] This is a schematic diagram of the structure of a composite segment storage device 600 according to an embodiment of this application. [Figure 7]This is a schematic diagram of the structure of the electronic device 700 according to an embodiment of this application. [Modes for carrying out the invention]

[0029] With the development of the internet, the dissemination of multimedia files enriches people's work and lives. Before disseminating multimedia files, people generally use tools with multimedia editing capabilities to edit the original media material. For example, they add stickers, subtitles, background music, etc. to the original media material, or they trim, arrange, etc., of the original multiple materials to obtain a higher quality multimedia file, which they then play.

[0030] In the process of multimedia editing, a multimedia editing page typically displays multiple media segments. For example, referring to the multimedia editing page shown in Figure 1, it may include a title area, a tools area, an editing area, and a player. In the editing area, the first track contains text 1 or sticker 1, the second track contains background music 1 and background music 2, and the third track contains video 1. The title area may display, for example, the name of the multimedia editing tool and / or the name of the multimedia editing task. As shown in Figure 1, the title area may display "Multimedia Editing Tool A: Creating a New Multimedia Editing Task 1". The tools area may include the names of various tools. As shown in Figure 1, the tool names may include "XXXX", "ZZZZ", "AAAA", and "BBBB" as examples. In the embodiment of this application, the tools area may include at least a tool called "My Presets". The player is used to display editing effect screens for various materials, and the editing effect screens are used to reflect the effects of various materials after export. To achieve unified operation of multiple media segments, users can combine multiple media segments to obtain a single composite segment. Many composite segments can be reused repeatedly; for example, segments used at the beginning and / or end of many media files can all use the same composite segment. However, the current method for reusing composite segments requires users to first export the composite segment to be reused from a single multimedia editing task, obtain the corresponding media file, and then import that media file into a newly created multimedia editing task. This method has the following problems.Problem 1 is that user operation is complex; Problem 2 is that when there is a reuse target, the corresponding media files must be exported and imported to match the target, resulting in a lack of flexibility; and Problem 3 is that because reused composite segments are exported as corresponding media files and then imported, it is not possible to re-edit the reused composite segments.

[0031] Based on this, embodiments of the present application provide a method for saving a composite segment, which may include, for example, saving a first draft and editing attribute information of a first composite segment in response to a save operation on the first composite segment in a first multimedia editing task, wherein the editing attribute information is used to instruct editing operations on multiple media segments in the first draft, and displaying the first composite segment in accordance with the editing attribute information and the first draft on a page corresponding to a second multimedia editing task in response to a call operation on the first composite segment in a second multimedia editing task.

[0032] In this way, in a single multimedia editing task, content related to a potentially reusable composite segment is saved in the draft corresponding to that multimedia editing task, and in another multimedia editing task, the user can retrieve the content corresponding to the composite segment by calling the composite segment and display the composite segment on the page corresponding to the multimedia editing task based on the retrieved content. The user can also import the exported results when reusing the composite segment without having to individually composite and export multiple media segments related to the composite segment, thereby greatly simplifying the process and workload for reusing composite segments in multimedia editing work and improving the efficiency of user reuse of composite segments, thus providing convenience for users to achieve rapid multimedia editing.

[0033] Taking the multimedia editing page shown in Figure 1 as an example, if the page corresponds to multimedia editing task 1, the user performs a composite operation on text 1 (or sticker 1), background music 1, background music 2, and video 1 according to the method of the embodiment of this application to obtain a composite segment 1 to be displayed on track n. Next, the user saves the composite segment 1 to "My Presets" and saves content related to the composite segment 1 in draft 0 corresponding to multimedia editing task 1, corresponding to a tool having multimedia editing functionality, which may include, for example, segment information 1 of the composite segment 1 and draft 1 indicated by the material identifier in segment information 1. In multimedia editing task 2, the user recalls the composite segment (including composite segment 1) saved in "My Presets" and displays the composite segment 1 on the multimedia editing page, that is, adds segment information 1 and draft 1 of the composite segment 1 to draft 2 corresponding to multimedia editing task 2, and the page corresponding to multimedia editing task 2 may display the composite segment 1 according to the editing attribute information in segment information 1 and draft 1. Track n may be the first, second, or third track, or any other track other than the first, second, and third tracks. Here, Draft 1 may be considered a subdraft of Draft 0 and Draft 2 in two multimedia editing tasks, respectively. Draft 1 contains segment information corresponding to text 1 (or sticker 1), background music 1, background music 2, and video 1, and the editing attribute information contained in segment information 1 is used to instruct editing operations that are uniformly applied to text 1 (or sticker 1), background music 1, background music 2, and video 1, such as speeding up, displacement, trimming, etc.

[0034] The entity implementing the method for saving the composite segment may be a composite segment saving device according to the embodiment of this application. The composite segment saving device may be mounted on an electronic device or a functional module of an electronic device. The composite segment saving device may also be a functional module in a tool having multimedia editing capabilities (e.g., a multimedia editing client or website) that can implement the composite segment saving function according to the embodiment of this application.

[0035] Figure 2 is a flowchart of a method for storing composite segments according to an embodiment of this application. This method may also be used in a composite segment storage device, which may be, for example, the composite segment storage device 600 shown in Figure 6.

[0036] As shown in Figure 2, the method may include, for example, the following S101 to S102.

[0037] S101, in response to a save operation on a first composite segment in a first multimedia editing task, a first draft and editing attribute information of the first composite segment are saved, and the editing attribute information is used to instruct editing operations on multiple media segments in the first draft.

[0038] Multimedia editing is the process by which a user edits original media material (e.g., video or audio) to obtain a media file for playback. Multimedia editing may include, but is not limited to, editing at least one of the following materials: video, audio, text, or stickers. Multimedia editing is generally achieved by a user performing editing operations in a single multimedia editing task using a tool with multimedia editing capabilities (e.g., a video editing client). The page of a multimedia editing task may refer to the editing page that the tool with multimedia editing capabilities shows to the user in this multimedia editing task. For example, the page corresponding to the first multimedia editing task in S101 is the editing page shown to the user in the first multimedia editing task, and the page corresponding to the second multimedia editing task in S102 is the editing page shown to the user in the second multimedia editing task. The first multimedia editing task and the second multimedia editing task may be the same multimedia editing task or different multimedia editing tasks.

[0039] In a multimedia editing tool, the user may create a new multimedia editing task and open the corresponding multimedia editing page. In response to the creation of the multimedia editing task, the multimedia editing tool generates a project file, which may be called a rough draft (e.g., Draft 0 or Draft 2, or Draft 2 or Draft 3 below). The user may then import multiple media segments into the same or different tracks on the multimedia editing page as needed for editing the multimedia editing task.

[0040] Here, the multiple media segments may include multiple single material segments, and the single material segments may include, but are not limited to, video, audio, text, or stickers. Alternatively, the multiple media segments may include at least one single material segment and at least one composite segment. Alternatively, the multiple media segments may include multiple composite segments. In embodiments of this application, a composite segment may participate in a multimedia editing task as a single material type.

[0041] The user may perform individual editing operations on each multimedia segment on the multimedia editing page. Taking the page corresponding to the first multimedia editing task in S101, which corresponds to the multimedia editing page shown in Figure 1, as an example, if the first track contains character 1, then the second draft corresponding to the first multimedia editing task would be, for example, Second draft { Material pool { Text 1 {Material ID 1: Path 1}, Sticker 1 {Material ID 2: Path 2}, Background music 1 {material id 3:path 3}, Background music 2 {Material ID 4: Path 4}, Video 1 {Material ID 5: Path 5}, Track 1 { Segment 1 corresponding to character 1 {edit attribute information 1, material id: 1}}, Track 2 { Segment 3 corresponding to background music 1 {edit attribute information 3, material id:3}, Segment 4 corresponding to background music 2 {edit attribute information 4, material id: 4}}, Third track { Segment 5 corresponding to Video 1 {Editing attribute information 5, Material id: 5} It may also be expressed as}.

[0042] Here, segment information corresponding to a segment includes editing attribute information and a material identifier (id). Editing attribute information may also be instructions from the user for editing operations on the corresponding segment, and may include, but is not limited to, at least one of the following: start time, end time, trimming, speed doubling, or displacement. The material id is indexed in the material pool and used to obtain the corresponding material from the path by obtaining the path corresponding to the material id. The path may be, for example, a local path or a network path, and if the material is stored locally, the path corresponds to the local path where the material is stored, and if the material corresponds to an online resource, the path corresponds to the online retrieval link for the material, for example, a Uniform Resource Locator (URL) for downloading or pulling the online resource.

[0043] Furthermore, at least two of the multiple media segments must participate in the generation of the composite segment. The number of media segments participating in the generation of the composite segment does not affect the realization of the composite segment generation method. In the following explanation, we will use the example that all of the above multiple media segments in S101 participate in the generation of the composite segment.

[0044] Prior to S101, the method may further include generating a first composite segment in response to composite operations on the plurality of media segments in a first multimedia editing task. As one example, generating a first composite segment may include, for example, generating first segment information corresponding to the first draft and the first composite segment in a second draft corresponding to the first multimedia editing task, wherein the editing attribute information in the first segment information is used to instruct the editing operations on the plurality of media segments in the first draft, and the first material identifier in the first segment information is used to indicate the first draft in the material pool of the second draft.

[0045] Here, in one case, the compound operation may be implemented by a control on a multimedia editing page corresponding to the compound function according to the embodiment of the present application, which may be, for example, a "Compound" button on the multimedia editing page, and the compound operation may correspond to a click on the control, or to the selection of at least two media segments to participate in the compound + a click on the control. In another case, the compound operation may be implemented by a shortcut key on the multimedia editing page, and the compound operation may correspond to the use of the shortcut key, or to the selection of at least two media segments to participate in the compound + the use of the shortcut key.

[0046] Taking the page corresponding to the first multimedia editing task in S101, which corresponds to the multimedia editing page shown in Figure 1, as an example, if the first track contains character 1, then after generating the first composite segment, the second draft corresponding to the first multimedia editing task is, for example, Second draft { Material pool { Text 1 {Material ID 1: Path 1}, Sticker 1 {Material ID 2: Path 2}, Background music 1 {material id 3:path 3}, Background music 2 {Material ID 4: Path 4}, Video 1 {Material ID 5: Path 5}, Draft {Material ID 6: First Draft}, First draft { Material pool {text1{materialid1:path1}, Background music 1 {material id 3:path 3}, Background music 2 {Material ID 4: Path 4}, Video 1 {Material ID 5: Path 5}, Segment 1 corresponding to character 1 {edit attribute information 1, material id: 1}, Segment 3 corresponding to background music 1 {edit attribute information 3, material id:3}, Segment 4 corresponding to background music 2 {edit attribute information 4, material id: 4}, Segment 5 corresponding to Video 1 {editing attribute information 5, material id: 5}, }}, Track 1 { Segment 1 corresponding to character 1 {edit attribute information 1, material id: 1}}, Track 2 { Segment 3 corresponding to background music 1 {edit attribute information 3, material id:3}, Segment 4 corresponding to background music 2 {edit attribute information 4, material id: 4}}, Third track { Segment 5 corresponding to Video 1 {editing attribute information 5, material id: 5}}, Track n{ Composite segment 1 {edit attribute information 6, material id: 6}}, It may also be expressed as}.

[0047] Here, composite segment 1 includes editing attribute information 6 and material ID 6, the editing attribute information 6 may be used to instruct editing operations for each media segment in the first draft indicated by material ID 6, and the editing attribute information 6 may include, for example, start time, end time, trimming, speed doubling, or displacement. Each piece of editing attribute information 6 may correspond to each media segment in composite segment 1 and constitutes a unified limitation for each media segment. Material ID 6 is indexed in the material pool to obtain the first draft, and compared to a single material segment, the material ID in the segment information of a single material segment obtained by indexing in the material pool is a pass, not a draft. The first draft may include at least segment information for each media segment in composite segment 1, and may also include a material pool consisting of materials related to each media segment.

[0048] It can be understood that after generating the first composite segment, the first draft is presented as the first composite segment on the page corresponding to the first multimedia editing task, according to the editing attribute information of the first composite segment, and the multiple media segments are replaced.

[0049] To facilitate the reuse of the first composite segment in other multimedia editing tasks, a save operation may be performed on the first composite segment, saving it as a "My Preset," that is, saving it as special material for use in subsequent multimedia editing tasks.

[0050] In one possible embodiment, the save operation may be implemented by a control corresponding to the preset save function according to the embodiment of the present application on a page corresponding to a first multimedia editing task, which may be, for example, a “Save as Preset” button on the multimedia editing page. The user may click the control to trigger the execution of S101 and save the first draft and editing attribute information of the first composite segment.

[0051] In another possible embodiment, the save operation may be performed by a multimedia editing shortcut key, which the user may use directly to trigger the execution of S101 and save the first draft and editing attribute information of the first composite segment.

[0052] For example, taking the page corresponding to the first multimedia editing task shown in Figure 1 as an example, as shown in Figure 3, a "compound" operation on multiple media segments on page 1 corresponding to the first multimedia editing task may be performed to display compound segment 1 on page 2 corresponding to the first multimedia editing task, and the multiple media segments may then be hidden. Next, on page 2 corresponding to the first multimedia editing task where compound segment 1 is displayed, a "save as preset" operation may be performed, and compound segment 1 may be included in "My Presets" on page 3 corresponding to the first multimedia editing task.

[0053] In one possible embodiment, S101 may include, for example, obtaining a first segment identifier in response to a save operation on a first composite segment in a first multimedia editing task, the first segment identifier being used to indicate first segment information corresponding to the first composite segment, the first segment information including editing attribute information and a first material identifier; then, retrieving the first segment information from a second draft corresponding to the first multimedia editing task based on the first segment identifier, and retrieving the first draft from a material pool of the second draft based on the first material identifier; and then saving the first segment information and the first draft in a preset path for the composite segment. In this way, when it is necessary to save the first composite segment as a "my preset", the content associated with the first composite segment can be accurately retrieved, saved in a preset path, and prepared for subsequent retrieval of the first composite segment.

[0054] Here, if the first composite segment corresponds to composite segment 1 in the second draft above, the first segment identifier may be "composite segment 1" before the above {edit attribute information 6, material id: 6}, the first segment information may correspond to {edit attribute information 6, material id: 6}, and the first material identifier may correspond to material id: 6. Content saved after S101 is, Draft {Material ID 6: First Draft}, First draft { Material pool {text1{materialid1:path1}, Background music 1 {material id 3:path 3}, Background music 2 {Material ID 4: Path 4}, Video 1 {Material ID 5: Path 5}, Segment 1 corresponding to character 1 {edit attribute information 1, material id: 1}, Segment 3 corresponding to background music 1 {edit attribute information 3, material id:3}, Segment 4 corresponding to background music 2 {edit attribute information 4, material id: 4}, Segment 5 corresponding to Video 1 {editing attribute information 5, material id: 5}, } and It may also correspond to composite segment 1 {edit attribute information 6, material id: 6}.

[0055] In one embodiment, in S101, a first draft and first segment information corresponding to a first composite segment are stored, the first segment information including a first material identifier and editing attribute information. Here, storing the first draft may include storing the material for each media segment in the first draft. As one example, to conserve memory resources, before saving each media segment for the first draft, it may be determined whether the media segment is already saved in a preset path of the composite segment. If yes, the media segment is not saved redundantly, and only the path corresponding to the material identifier of the media segment in the first draft is updated. The updated path indicated by the material identifier of the media segment in the first draft is the saved location of the media segment in the preset path of the composite segment. If the media segment is not saved in a preset path of the composite segment, the media segment is saved in a preset path of the composite segment, and the path corresponding to the material identifier of the media segment in the first draft is updated. The updated path indicated by the material identifier of the media segment in the first draft is the saved location of the media segment in the preset path of the composite segment.

[0056] As one example, if the first media segment among the plurality of media segments is already saved in the preset path of the composite segment, the path corresponding to the material identifier corresponding to the first media segment in the first draft is updated, and the path indicated by the material identifier corresponding to the first media segment in the updated first draft is the save location of the first media segment in the preset path of the composite segment. If the second media segment among the plurality of media segments is not saved in the preset path of the composite segment, the second media segment is saved in the preset path of the composite segment, the path corresponding to the material identifier corresponding to the second media segment in the first draft is updated, and the path indicated by the material identifier corresponding to the second media segment in the updated first draft is the save location of the second media segment in the preset path of the composite segment.

[0057] For example, referring to Figure 4, the process of saving the first composite segment as a "My Preset" may include the following: S11, the user clicks "Save as Preset" on the page corresponding to the first multimedia editing task, and based on the first segment identifier of the first composite segment, retrieves the first segment information indicated by the first segment identifier in the second draft corresponding to the first multimedia editing task, and the first draft indicated by the first material identifier in the first segment information, S12, displays a save pending notification, which may include, for example, a save progress bar, notifies the user that the save was successful after the save is complete, S13, compares the first composite with the material already saved in the preset path of the composite segment, S14 determines whether all saves are complete. If media segments related to a segment that need to be saved locally and are not saved in the preset path of the composite segment, save them to the preset path of the composite segment. If all saves are complete, execute S15; otherwise, execute S16. In S15, update the path corresponding to the material identifier of each media segment in the subdraft, save the updated first segment information and the first draft. In S16, notify that the save failed and delete the content in memory related to this "Save as Preset" operation.

[0058] Thus, S101 saves the first composite segment as "My Preset," and the composite segment saving device saves the content associated with the first composite segment (i.e., the first segment information and the first draft), preparing it for reuse in subsequent tasks (for example, in the second multimedia editing task in S102).

[0059] S102, In response to a call operation for the first composite segment in the second multimedia editing task, the first composite segment is displayed on the page corresponding to the second multimedia editing task, according to the editing attribute information and the first draft.

[0060] In one possible embodiment, if the second multimedia editing task and the first multimedia editing task are different multimedia editing tasks, after S101 and before S102, the method may further include: S21, loading a third draft corresponding to the second multimedia editing task in response to a new creation operation for the second multimedia editing task; S22, reading segment information and draft corresponding to at least one stored composite segment, the segment information and draft corresponding to at least one composite segment including first segment information and first draft corresponding to a first composite segment. Thus, S102 may include adding the first segment information and first draft to the third draft in response to a call operation for the first composite segment in the second multimedia editing task, and adding the first composite segment to the page corresponding to the second multimedia editing task according to the editing attribute information in the first draft and first segment information on the corresponding timeline.

[0061] Taking the page corresponding to the first multimedia editing task in S101, which corresponds to the multimedia editing page shown in Figure 1, as an example, if the first track contains character 1, then after saving the first composite segment and calling composite segment 1 in the second multimedia editing task, the third draft corresponding to the second multimedia editing task is, for example, Third draft { Material pool { ... Draft {Material ID x: First Draft}, First draft { Material pool {text1{materialid1:path1}, Background music 1 {material id 3:path 3}, Background music 2 {Material ID 4: Path 4}, Video 1 {Material ID 5: Path 5}, Segment 1 corresponding to character 1 {edit attribute information 1, material id: 1}, Segment 3 corresponding to background music 1 {edit attribute information 3, material id:3}, Segment 4 corresponding to background music 2 {edit attribute information 4, material id: 4}, Segment 5 corresponding to Video 1 {editing attribute information 5, material id: 5}, }}, ... track m{ Composite segment 1 {edit attribute information x, material id: x}}, It may also be expressed as}.

[0062] For example, based on the fact that composite segment 1 is included in "My Presets" on page 3, which corresponds to the first multimedia editing task in Figure 3, multiple composite segments are displayed in "My Presets" on page 4, which corresponds to the second multimedia editing task, and these multiple composite segments include composite segment 1. If the user wants to reuse composite segment 1 on page 4, which corresponds to the second multimedia editing task, they can click the "Recall" button below composite segment 1 and display composite segment 1 on track m of page 5, which corresponds to the second multimedia editing task. In this way, the user can edit composite segment 1 on page 5 again.

[0063] As one example, in S22 above, reading the segment information and draft corresponding to at least one stored composite segment may include, for each of the at least one composite segments, first checking whether the associated content of the composite segment is corrupted, obtaining a first check result, for example, whether the draft corresponding to the composite segment has been deleted or corrupted, or whether the segment information of the composite segment has been deleted or corrupted, and if the first check result indicates that the associated content of the composite segment has not been deleted or corrupted, continuing to check the status of the material included in the draft of the composite segment, obtaining a second check result, and if the second check result indicates that the material included in the draft of the composite segment has been deleted, replaced or modified, updating the draft of the composite segment based on the updated material.

[0064] For example, referring to Figure 5, the process of calling the first composite segment in the second multimedia editing task may include the following: S31, the user creates a new second media editing task in a tool with multimedia editing capabilities and generates a third draft corresponding to the second multimedia task; S32, waits for the third draft to finish loading; S33, starts reading each composite segment in "My Presets," including the first composite segment; S34, for each composite segment in "My Presets," first checks whether the associated content of the composite segment is corrupted and obtains a first check result; if the first check result indicates that the associated content of the composite segment has not been deleted and is not corrupted, continues checking the status of the material included in the draft of the composite segment and obtains a second check result; updates the draft of the composite segment based on the second check result; S35, completes reading each composite segment in "My Presets."

[0065] In one possible embodiment, the call operation may be implemented by a control corresponding to a preset call function according to an embodiment of the present application on a page corresponding to a second multimedia editing task, which may be, for example, a “Call” button on the multimedia editing page. The user may click the control to trigger the execution of S102 and display the first composite segment on the page corresponding to the second multimedia editing task.

[0066] In another possible embodiment, the call operation may be performed by a multimedia editing shortcut key, which the user may use directly to trigger the execution of S102 and display the first composite segment on the page corresponding to the second multimedia editing task.

[0067] In another possible embodiment, the call operation may be implemented by a method such as "dragging" a call-awaited composite segment in "My Presets" on the multimedia editing page, where the user "drags" the "first composite segment" in "My Presets" to track m, triggering the execution of S102 and displaying the first composite segment on the page corresponding to the second multimedia editing task. Track m may be any track on the page corresponding to the second multimedia editing task.

[0068] As one example, the method may further include updating the first composite segment in response to an editing operation on the first composite segment that has been saved, wherein the editing operation may include, for example, at least one of renaming, trimming, or speeding up. When an editing operation is performed on the first composite segment on a page corresponding to a second multimedia editing task, it is necessary to update the editing attribute information related to the editing operation in the segment information corresponding to the first composite segment in the third draft, corresponding to the third draft. Here, the editing operation may be implemented by an editing control or shortcut key corresponding to the page corresponding to the second multimedia editing task. Note that the editing operation on the first composite segment may be performed by the Action layer of a tool that provides multimedia editing functionality.

[0069] Furthermore, if the editing operation is a trimming operation on the first composite segment, the composite segment saving device can prohibit trimming outwards. That is, for a first composite segment with a time length of 10 seconds, the time length of the composite segment obtained after the trimming operation will be a maximum of 10 seconds, and it will not be possible to obtain a segment with a time length greater than 10 seconds.

[0070] As another example, the method may further include, in response to a preview operation on a saved first composite segment, displaying an editing effects screen on the player of the multimedia editing page to embody the exported effects of the first composite segment, corresponding to the first composite segment. Here, the preview operation may be achieved by a preview control or shortcut key corresponding to the page corresponding to the second multimedia editing task, or by clicking the first composite segment in "My Presets". In this way, there is no need to call up the composite segment in "My Presets", and when the composite segment is placed on the timeline, the preview of the composite segment in "My Presets" provides convenience in calling up the appropriate composite segment by understanding the content of the composite segment, making it very user-friendly. Note that the above preview operation may be achieved by the Driver layer rendering the first composite segment based on the first draft and the editing attribute information of the first composite segment.

[0071] Thus, this method allows a user to save content related to a potentially reusable composite segment in a draft corresponding to a multimedia editing task within a single multimedia editing task, and in another multimedia editing task, retrieve the content corresponding to the composite segment by calling the composite segment, and display the composite segment on the page corresponding to the multimedia editing task based on the retrieved content. This eliminates the need for the user to individually composite and export multiple media segments related to the composite segment and then import the exported results when reusing the composite segment, significantly simplifying the process and workload for users to reuse composite segments in multimedia editing work and improving the efficiency of users reusing composite segments, thereby providing convenience for users to achieve rapid multimedia editing.

[0072] Accordingly, the embodiments of this application further provide a composite segment generating apparatus 600. Referring to Figure 6, the apparatus 600 is A save unit 601 is used to save a first draft and editing attribute information of a first composite segment in response to a save operation on a first composite segment in a first multimedia editing task, and the editing attribute information is used to instruct editing operations on multiple media segments in the first draft. In response to a call operation for the first composite segment in a second multimedia editing task, the page corresponding to the second multimedia editing task may include a call unit 602 for displaying the editing attribute information and the first composite segment according to the first draft.

[0073] In one embodiment, the storage unit 601 specifically, In response to a save operation on a first composite segment in a first multimedia editing task, a first segment identifier is obtained, the first segment identifier is used to indicate first segment information corresponding to the first composite segment, and the first segment information includes the editing attribute information and a first material identifier. Based on the first segment identifier, the first segment information is obtained from a second draft corresponding to the first multimedia editing task, Based on the aforementioned first material identifier, retrieve the aforementioned first draft from the aforementioned second draft material pool, It is used to save the first segment information and the first draft in a preset path of a composite segment.

[0074] In one embodiment, the editing attribute information includes at least one of the following: start time, end time, trimming, speed, or displacement.

[0075] In one embodiment, the plurality of media segments include a plurality of single material segments, Alternatively, the plurality of media segments include at least one single material segment and at least one composite segment. Alternatively, the plurality of media segments may include a plurality of composite segments.

[0076] In one embodiment, the storage unit 601 specifically, If the first media segment among the plurality of media segments is already saved in the preset path of the composite segment, the path corresponding to the material identifier corresponding to the first media segment in the first draft is updated, and the path indicated by the material identifier corresponding to the first media segment in the updated first draft is the save location of the first media segment in the preset path of the composite segment. If the second media segment among the plurality of media segments is not saved in the preset path of the composite segment, the second media segment is saved in the preset path of the composite segment, the path corresponding to the material identifier corresponding to the second media segment in the first draft is updated, and the path indicated by the material identifier corresponding to the second media segment in the updated first draft is used to be the save location of the second media segment in the preset path of the composite segment.

[0077] In one embodiment, the apparatus 600 is Prior to the call operation for the first composite segment in the second multimedia editing task, a load unit for loading a third draft corresponding to the second multimedia editing task in response to a new creation operation for the second multimedia editing task, The system further includes a reading unit for reading segment information and drafts corresponding to at least one stored composite segment, wherein the segment information and drafts corresponding to the at least one composite segment include first segment information and the first draft corresponding to the first composite segment. The aforementioned calling unit 602 specifically, In response to a call operation on the first composite segment in the second multimedia editing task, the first segment information and the first draft are added to the third draft. This is used to add the first composite segment to the page corresponding to the second multimedia editing task, according to the editing attribute information and the first draft, along the corresponding timeline.

[0078] As one example, the reading unit specifically, For each of the at least one composite segment, the segment information of the composite segment is checked, and a first check result is obtained to indicate whether or not the segment information of the composite segment is corrupted. If the first check result indicates that the segment information of the composite segment is not corrupted, the material included in the draft of the composite segment is checked, and a second check result is obtained to indicate the condition of the material included in the draft of the composite segment. The results of the second check described above are used to update the draft of the composite segment.

[0079] In one embodiment, the apparatus 600 is The system further includes an update unit for updating the first composite segment in response to an editing operation on the first composite segment that is stored, the editing operation including at least one of renaming, trimming, or speeding up.

[0080] In one embodiment, the apparatus 600 is The system further includes a preview unit for displaying an editing effects screen on the player of a multimedia editing page that represents the exported effects of the first composite segment, in response to a preview operation on the first composite segment.

[0081] For specific embodiments of the device 600 and the technical effects it achieves, please refer to the relevant description of the method shown in Figure 2.

[0082] Furthermore, embodiments of the present application provide an electronic device comprising a processor and memory, wherein the memory is used to store instructions or computer programs, and the processor is used to execute the instructions or computer programs in the memory to cause the electronic device to perform any one embodiment of the method according to the embodiments of the present application.

[0083] Referring to Figure 7, it shows a schematic diagram of the structure of an electronic device 700 suitable for implementing an embodiment of the present disclosure. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. The electronic device shown in Figure 7 is merely an example and does not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.

[0084] As shown in Figure 7, the electronic device 700 may include a processing unit (e.g., a central processing unit, an image processing unit, etc.) 701 which can perform various appropriate operations and processes based on programs stored in read-only memory (ROM) 702 or programs loaded from storage device 708 into random access memory (RAM) 703. RAM 703 further stores various programs and data required to operate the electronic device 700. The processing unit 701, ROM 702, and RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0085] Generally, devices such as input devices 706 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, and gyroscopes; output devices 707 including, for example, liquid crystal displays (LCDs), speakers, and vibrators; storage devices 708 including, for example, magnetic tape and hard disks; and communication devices 709 can be connected to the I / O interface 705. The communication device 709 can allow the electronic device 700 and other devices to exchange data via wireless or wired communication. Figure 7 shows an electronic device 700 with various devices, but it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have all of the devices instead.

[0086] In particular, according to embodiments of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product which includes a computer program stored on a non-temporary computer-readable medium, the computer program including program code for performing the method shown in the flowchart. In such embodiments, the computer program may be downloaded and installed from a network via a communication device 709, or installed from a storage device 708, or installed from a ROM 702. When the computer program is executed by the processing device 701, the above-described functions, limited by the methods of embodiments of the present disclosure, are performed.

[0087] The electronic devices according to the embodiments of this disclosure belong to the same inventive concept as the methods according to the above embodiments, and technical details not described in detail in these embodiments can be referenced to the above embodiments, and these embodiments have the same beneficial effects as the above embodiments.

[0088] Embodiments of the present application further provide a computer-readable medium on which instructions or computer programs are stored, and when the instructions or computer programs are executed by a device, the device is made to execute any one embodiment of the method according to the embodiments of the present application.

[0089] The computer-readable medium in this disclosure may be a computer-readable signal medium, a computer-readable storage medium, or any combination of both. The computer-readable storage medium may be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage mediums may include, but are not limited to, an electrical connection having one or more wires, a portable computer magnetic disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact magnetic disk read-only memory (CD-ROM), optical memory device, magnetic memory device, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program, the program may be used by or in combination with an instruction execution system, apparatus, or device. In this disclosure, the computer-readable signal medium may include a data signal propagated in the baseband or as part of a carrier, in which computer-readable program code is carried. The data signals propagated in this manner may be in various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium, and the computer-readable signal medium may transmit, propagate, or transmit programs for use by or in combination with instruction execution systems, apparatus, or devices. The program code contained in the computer-readable medium may be transmitted by any suitable medium, including but not limited to electric wires, optical cables, RF (radio frequency), or any suitable combination thereof.

[0090] In some embodiments, the client and server may communicate using any currently known or future-to-be-developed network protocol such as HTTP (Hypertext Transfer Protocol), and may interconnect with digital data communications (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), the World Wide Web (e.g., the Internet), end-to-end networks (e.g., ad hoc end-to-end networks), and any currently known or future-to-be-developed networks.

[0091] The computer-readable medium described above may be included in the electronic device described above, or it may be a standalone entity not incorporated into the electronic device.

[0092] The computer-readable medium contains one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is enabled to perform the method described above.

[0093] Computer program code for performing the operations of the Disclosure can be organized in one or more programming languages ​​or a combination thereof, and such programming languages ​​include, but are not limited to, object-oriented programming languages ​​such as Java, Smalltalk, and C++, and also include ordinary procedural programming languages ​​such as the C language or similar programming languages. The program code may run entirely on a user computer, partially on a user computer, run as a single standalone software package, run partially on a user computer and partially on a remote computer, or run entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it may be connected to an external computer (for example, connected via the Internet using an Internet service provider).

[0094] The flowcharts and block diagrams in the drawings illustrate the systematic architecture, functions, and operations that can be realized according to the systems, methods, and computer program products of each embodiment of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or portion of code, which contains one or more executable instructions for realizing a defined logic function. Note that in some implementations as alternatives, the functions described in the blocks may occur in a different order than those shown in the drawings. For example, two blocks shown consecutively may actually be executed almost in parallel, or in some cases in reverse order, depending on the function. Note that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be realized by a dedicated hardware-based system that performs the defined function or operation, or by a combination of dedicated hardware and computer instructions.

[0095] The units referred to in the descriptions of the embodiments of this disclosure may be implemented in software or in hardware. Herein, the names of the units / modules are not necessarily limited to the units themselves.

[0096] The functions described above in this specification may be performed, at least in part, by one or more hardware logic components. For example, typical types of hardware logic components that can be used include, but are not limited to, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems on chips (SOCs), and composite programmable logic circuits (CPLDs).

[0097] In the context of this disclosure, a machine-readable medium may be a tangible medium that contains or stores a program for use by or in combination with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any appropriate combination of the above. More specific examples of machine-readable storage media include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any appropriate combination of the above.

[0098] Each example in this specification is described in a progressive manner, with each example focusing on its differences from other examples, and any identical or similar parts between examples should refer to one another. For systems or apparatus disclosed in the examples, the explanation should be simple, corresponding to the methods disclosed in the examples, and relevant parts should refer to parts of the description of the method.

[0099] In this application, “at least one” should be understood to mean one or more, and “multiple” should be understood to mean two or more. “And / or” describes the relationship between related objects and indicates that there may be three possible relationships. For example, “A and / or B” may represent three cases: A alone, B alone, and a combination of A and B, where A and B may be singular or plural. The letter “ / ” generally indicates that the preceding and succeeding related objects are in an “or” relationship. “At least one of the following” or similar expressions refers to any combination of these objects, including any combination of a single object or multiple objects. For example, at least one of a, b or c may represent a, b, c, “a and b,” “a and c,” “b and c,” or “a and b and c,” where a, b, and c may be singular or plural.

[0100] In this specification, relational terms such as “first” and “second” are merely used to distinguish one entity or operation from another, and do not necessarily require or suggest that any such actual relationship or order exists between these entities or operations. Furthermore, the terms “include,” “incorporate,” or any other variations thereof are intended to cover non-exclusive inclusion, thereby meaning that a process, method, article, or apparatus containing a set of elements includes not only those elements but also other elements not explicitly listed, or elements specific to such process, method, article, or apparatus. Unless further limited, the elements limited by the phrase “include one…” do not preclude the existence of other identical elements in a process, method, article, or apparatus containing such elements.

[0101] The steps of the methods described in conjunction with the embodiments disclosed herein may be carried out by hardware, a software module executed by a processor, or a combination of both. The software module may reside in random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable magnetic disks, CD-ROMs, or any other form of storage medium known in the art.

[0102] In the embodiments of this application, user-related information, regardless of whether it is sensitive user information, is acquired, used, and determined only after the user's approval. In one example, before acquiring user-related information, notification information related to obtaining data use approval is displayed on the relevant interface. This notification information informs the user in an appropriate manner, in accordance with applicable laws and regulations, of the type, scope, and usage scenarios of the personal information related to this disclosure, allowing the user to decide whether or not to consent to the approval based on the notification information. The above notification and user permission acquisition process are schematic and do not limit the embodiments of this disclosure. It should be understood that other methods that meet applicable laws and regulations are also applicable to the embodiments of this disclosure.

[0103] The above description of the disclosed embodiments will enable those skilled in the art to implement or use the present application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of this application. Accordingly, this application is not limited to these embodiments shown herein and will conform to the broadest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for storing composite segments, In response to a save operation on a first composite segment in a first multimedia editing task, save a first draft of the first composite segment and editing attribute information for instructing editing operations on multiple media segments in the first draft. In response to a call operation for the first composite segment in a second multimedia editing task, the first composite segment is displayed on a page corresponding to the second multimedia editing task in accordance with the editing attribute information and the first draft, and a method for saving the composite segment.

2. Saving the first draft and editing attribute information of the first composite segment in response to a save operation on the first composite segment in the first multimedia editing task is: In response to a save operation on a first composite segment in a first multimedia editing task, a first segment identifier is obtained to indicate first segment information, which includes the editing attribute information and the first material identifier, corresponding to the first composite segment. Based on the first segment identifier, the first segment information is obtained from a second draft corresponding to the first multimedia editing task, Based on the first material identifier, the first draft is obtained from the material pool of the second draft, The method according to claim 1, comprising storing the first segment information and the first draft in a preset path of a composite segment.

3. The method according to claim 1 or 2, wherein the editing attribute information includes at least one piece of information selected from start time, end time, trimming, speed doubling, or displacement.

4. The aforementioned multiple media segments include multiple single material segments, Alternatively, the plurality of media segments include at least one single material segment and at least one composite segment. Alternatively, the method according to any one of claims 1 to 3, wherein the plurality of media segments include a plurality of composite segments.

5. Saving the aforementioned first draft is If the first media segment among the plurality of media segments is already saved in the preset path of the composite segment, update the path corresponding to the material identifier corresponding to the first media segment in the first draft, and the path indicated by the material identifier corresponding to the first media segment in the updated first draft is the save location of the first media segment in the preset path of the composite segment. The method according to any one of claims 2 to 4, comprising: if the second media segment among the plurality of media segments is not stored in a preset path of the composite segment, storing the second media segment in a preset path of the composite segment; updating the path corresponding to the material identifier corresponding to the second media segment in the first draft, and the path indicated by the updated material identifier corresponding to the second media segment in the first draft being the storage location of the second media segment in the preset path of the composite segment.

6. Prior to the call operation on the first composite segment in the second multimedia editing task, the method, In response to a new creation operation for the second multimedia editing task, load a third draft corresponding to the second multimedia editing task, The further includes reading segment information and drafts corresponding to at least one stored composite segment, wherein the segment information and drafts corresponding to the at least one composite segment include first segment information and the first drafts corresponding to the first composite segment. In response to a call operation to the first composite segment in the second multimedia editing task, displaying the first composite segment on the page corresponding to the second multimedia editing task, according to the editing attribute information and the first draft, is: In response to a call operation on the first composite segment in the second multimedia editing task, the first segment information and the first draft are added to the third draft, The method according to any one of claims 1 to 5, further comprising adding the first composite segment to the page corresponding to the second multimedia editing task, in accordance with the editing attribute information and the first draft, along the corresponding time axis.

7. Reading the segment information and draft corresponding to at least one stored composite segment as described above is: For each of the at least one composite segments, the segment information of the composite segment is checked, and a first check result is obtained to indicate whether or not the segment information of the composite segment is corrupted. If the first check result indicates that the segment information of the composite segment is not corrupted, the material included in the draft of the composite segment is checked, and a second check result is obtained to indicate the condition of the material included in the draft of the composite segment. The method according to claim 6, further comprising updating the draft of the composite segment based on the results of the second check.

8. Updating the first composite segment in response to an editing operation on the saved first composite segment, which includes at least one of the operations of renaming, trimming, or speeding up; The method according to any one of claims 1 to 7, further comprising displaying an editing effects screen on the player of a multimedia editing page, corresponding to the first composite segment, to embody the exported effects of the first composite segment, in response to a preview operation on the first composite segment that has been saved.

9. A storage device for composite segments, A save unit used to save a first draft of the first composite segment and editing attribute information for instructing editing operations on multiple media segments in the first draft, in response to a save operation on the first composite segment in a first multimedia editing task, A storage device for a composite segment, comprising a call unit for displaying the editing attribute information and the first composite segment in accordance with the first draft on a page corresponding to the second multimedia editing task, in response to a call operation for the first composite segment in a second multimedia editing task.

10. An electronic device, including a processor and memory, The aforementioned memory is used to store instructions or programs. The processor is used to execute the instructions or programs in the memory to cause the electronic device to perform the method according to any one of claims 1 to 8.

11. A readable medium wherein an instruction or program is stored in the readable medium, and when the instruction or program is executed by a processor, the processor causes the processor to execute the method according to any one of claims 1 to 8.