Multimedia material editing processing method and device, electronic equipment and storage medium

By determining the differential storage method of the editing state in multimedia material editing, the problems of slow storage speed and complex recovery caused by too much draft data are solved, thus improving editing efficiency and smoothness.

CN121705085APending Publication Date: 2026-03-20BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411311898.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2026-03-20

AI Technical Summary

Technical Problem

In the process of editing multimedia materials, when there is too much draft data, the storage speed is slow and the process of restoring the draft to continue editing is complicated, which affects the smoothness and efficiency of editing.

Method used

By determining the difference in editing task information between the first editing state and the second editing state, only the changed portion from the first editing state to the second editing state is stored, reducing the amount of data stored and improving storage speed and recovery efficiency.

Benefits of technology

Significantly reduce the number of read and write operations when saving drafts, avoid excessively long storage processes that could affect the smoothness of creation, quickly restore to a specific editing state, and reduce data recovery errors and chaos.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121705085A_ABST
    Figure CN121705085A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a multimedia material editing processing method and device, electronic equipment and a storage medium. The method comprises the steps of determining first editing task information associated with a first editing state, wherein the first editing state is an initial editing state when a target editing task is just triggered; determining second editing task information associated with a second editing state, wherein the second editing state is an editing state in which an editing operation is continuously triggered for the target editing task in the first editing state; when draft storage is triggered for the target editing task in the second editing state, draft storage is conducted on the second editing state of the target editing task, and the draft of the target editing task in the second editing state is determined based on the editing task information difference between the second editing task information and the first editing task information. According to the scheme, draft storage is performed based on the difference, so that the read-write frequency during draft storage can be greatly reduced, and the draft storage speed is prevented from being influenced by massive read-write storage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer software technology, and in particular to a multimedia material editing and processing method, apparatus, electronic device, and storage medium. Background Technology

[0002] In today's multimedia era, editing multimedia materials has become increasingly important and common. During the editing process, there are often situations where it's necessary to temporarily interrupt the editing. The draft function allows you to temporarily save the editing state of multimedia materials, so you can resume editing later.

[0003] However, with the continuous development and diversification of multimedia material editing, the draft function has also exposed some problems. For example, as editing methods become increasingly diverse, draft data becomes more and more abundant. Each time a draft is temporarily saved, a large amount of editing status attribute information needs to be persistently stored locally. This not only slows down the speed of saving drafts, but also makes the process of restoring drafts and continuing editing more complex and time-consuming when there is too much draft data, seriously affecting the smoothness and efficiency of multimedia material editing. Summary of the Invention

[0004] This disclosure provides a multimedia material editing and processing method, apparatus, electronic device, and storage medium to solve the problems of slow draft saving speed and the process of restoring drafts for continued editing when there is too much draft data, which becomes more complicated and time-consuming.

[0005] In a first aspect, embodiments of this disclosure provide a multimedia material editing and processing method, the method comprising:

[0006] Determine the first editing task information associated with the first editing state. The first editing state is the initial editing state when the target editing task is just triggered. The editing task information is used to describe the editing results generated by the target editing task in the current editing state due to the triggered editing operations. The target editing task is a multimedia material editing task.

[0007] Determine the second editing task information associated with the second editing state, where the second editing state is the editing state after triggering an editing operation on a target editing task that is already in the first editing state;

[0008] When a draft is stored for a target editing task in the second editing state, the draft of the target editing task in the second editing state is stored. The draft of the target editing task in the second editing state is determined based on the difference between the editing task information of the second editing task and the first editing task.

[0009] Secondly, this disclosure also provides a multimedia material editing and processing apparatus, the apparatus comprising:

[0010] The first determining module is used to determine the first editing task information associated with the first editing state. The first editing state is the initial editing state when the target editing task is just triggered. The editing task information is used to describe the editing results generated by the target editing task in the current editing state due to the triggered editing operations. The target editing task is a multimedia material editing task.

[0011] The second determining module is used to determine the second editing task information associated with the second editing state, wherein the second editing state is the editing state after the target editing task that is already in the first editing state continues to trigger an editing operation;

[0012] The storage processing module is used to store a draft of the second editing state of the target editing task when the draft storage is triggered for the target editing task in the second editing state. The draft of the target editing task in the second editing state is determined based on the difference between the editing task information of the second editing task and the first editing task.

[0013] Thirdly, this disclosure also provides an electronic device, the electronic device comprising:

[0014] At least one processor; and

[0015] A memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the multimedia material editing method described in any of the above embodiments.

[0017] Fourthly, this disclosure also provides a computer-readable medium storing computer instructions that, when executed by a processor, implement the multimedia material editing and processing method described in any of the above embodiments.

[0018] The technical solution of this disclosure can accurately capture the editing status of the target editing task at different stages by determining the first editing task information associated with the first editing state and the second editing task information associated with the second editing state. For multimedia material editing tasks, this means that the specific details of each editing task from the initial editing state to the subsequent further editing state can be recorded in detail. When a draft is stored for a target editing task in the second editing state, the draft content is determined based on the difference between the second and first editing task information. It eliminates the need to repeatedly store the editing task information already in the first editing state for draft content description; only the changes from the first to the second editing state need to be recorded, significantly reducing the amount of data stored. This differential storage method also speeds up storage. Because draft storage is based on differences, the number of read / write operations during draft storage is greatly reduced, avoiding the impact on draft storage speed caused by large amounts of storage required for each draft. This is especially beneficial when frequent editing operations require frequent draft storage, preventing the smoothness of creation from being affected by excessively long storage processes. Since the draft is determined based on the difference in editing task information, the target editing task can be quickly restored to a specific editing state when a draft needs to be recovered, as only the difference information needs to be processed, rather than the entire data of the editing task, reducing potential errors and confusion during data recovery.

[0019] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0020] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.

[0021] Figure 1 This is a schematic flowchart of a multimedia material editing and processing method provided in an embodiment of this disclosure;

[0022] Figure 2 This is a schematic diagram of a page for storing multimedia materials in draft form, provided in an embodiment of this disclosure.

[0023] Figure 3 This is a schematic flowchart of another multimedia material editing and processing method provided in this embodiment of the disclosure;

[0024] Figure 4 This is a schematic diagram illustrating an editing task information comparison provided in an embodiment of this disclosure;

[0025] Figure 5 This is a schematic diagram of the structure of a multimedia material editing and processing device provided in an embodiment of this disclosure;

[0026] Figure 6 This is a schematic diagram of the structure of an electronic device that implements a multimedia material editing and processing method according to an embodiment of this disclosure. Detailed Implementation

[0027] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0028] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.

[0029] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.

[0030] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0031] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0032] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0033] Figure 1This is a flowchart illustrating a multimedia material editing method provided in an embodiment of the present disclosure. This embodiment is applicable to situations where a draft is saved during the editing of multimedia materials. The multimedia material editing method can be executed by a multimedia material editing device, which can be implemented in the form of software and / or hardware, and is generally integrated into any electronic device with network communication capabilities, such as a mobile terminal, a PC, or a server.

[0034] like Figure 1 As shown, the multimedia material editing and processing method of this disclosure embodiment may include the following process:

[0035] S110. Determine the first editing task information associated with the first editing state. The first editing state is the initial editing state when the target editing task is just triggered. The editing task information is used to describe the editing results generated by the target editing task in the current editing state due to the triggered editing operations. The target editing task is a multimedia material editing task.

[0036] See Figure 2 In the process of editing multimedia materials, a draft function is provided. This draft function allows you to temporarily save the editing state of the multimedia material so that you can continue editing operations the next time you enter the editing state. Drafts can be used to edit multimedia materials, pause editing, temporarily save the editing state of the multimedia material as a draft, and restore the draft to continue editing the multimedia material. Saving a draft can generally be understood as persistently storing the editing task information data of each editing state in memory to disk.

[0037] The editing state refers to the state reached by the editing page corresponding to the target editing task after a series of editing operations are performed during the execution of the target editing task. Optionally, the target editing task is a multimedia material editing task, covering editing operations on various types of multimedia materials such as images, audio, and video. Accordingly, the editing state can be characterized by the editing results produced after editing operations on multimedia materials, based on the specific combination of multimedia materials, special effects, and duration of the editing operations on the target editing task. For example, taking video material as an example, in video material editing, the editing state may be the state of the editing page corresponding to the multimedia material editing task after specific filters, subtitles, and music have been added, and the video material has been edited and spliced ​​to a certain extent.

[0038] Optionally, a multimedia material editing task can be an editing task that processes and modifies multimedia materials to achieve a desired editing effect. For example, multimedia materials can refer to various original materials used to constitute a multimedia work, and multimedia materials can include at least one of the following: video materials, audio materials, and image materials. For example, an editing task involves operations such as editing, adding special effects, and creating subtitles for multimedia content such as video, audio, and images.

[0039] The first editing state can refer to the initial editing state when the target editing task is just triggered and jumps to the editing page corresponding to the target editing task. In this case, the first editing state can be understood as the initial editing state when first entering the editing page corresponding to the target editing task or when resuming entering the editing page corresponding to the target editing task.

[0040] The first editing task information describes the editing results of a target editing task in its first editing state, resulting from the editing operations already triggered for that task. For example, in video editing, this might include initial video duration, resolution, and records of any simple trimming operations performed. The first editing task information can independently present the editing effects resulting from triggered editing operations within its respective editing state. This means that when displaying the editing results of a target editing task in its first editing state, the first editing task information can be used to fully present the corresponding editing results.

[0041] Optionally, for the target editing task, the editing operations involved in the editing task information can refer to various editing actions performed during the editing of multimedia materials involved in the target editing task, such as cropping, adding filters, adjusting volume, etc. The editing result can be the actual editing effect produced by the editing operations on the target editing task, such as the cropped video footage, the image colors after applying filters, etc.

[0042] The target editing task is a multimedia material editing task, explicitly defined as any editing task related to multimedia materials, such as image editing, video editing, and audio processing. Optionally, when a target editing task is triggered, the system accurately identifies the target editing task entering its first editing state. For example, in image editing software, the instant the image is imported and the user is redirected to the editing page, signifying entry into the first editing state. While the target editing task is in its first editing state, the system records the editing results generated by the editing operations triggered for the target editing task and stores these results in a preset format as first editing task information. For instance, in video editing, some simple playback preview operations might be performed in the first editing state; the timing of these operations, playback progress, and other information can be included as part of the first editing task information.

[0043] Using the above method, the first editing task information can accurately describe the editing results of the target editing task in the first editing state, and clearly show the progress of the target editing task at the current moment. Furthermore, as the editing task progresses, the first editing task information can be used as the basis for subsequent editing, facilitating comparison between subsequent editing states and the first editing state.

[0044] As an optional but not limited implementation, determining the first editing task information associated with the first editing state includes the following steps A1-A2:

[0045] Step A1: When triggering the creation of a target editing task to perform editing operations, the target editing template selected for the target editing task will be loaded to generate a target editing task in the first editing state.

[0046] Step A2: Record the information of the first editing task associated with the target editing task that is in the first editing state.

[0047] The first editing state can be the initial editing state generated after loading the target editing template corresponding to the target editing task when the target editing task is created and the editing operation is executed. The target editing template can be a pre-set template with a specific structure and style used to load and generate the editing task for the editing operation. It can be used to quickly start the editing task and provide an initial framework for editing. The first editing task information can be used to describe the editing result information of the target editing task in the first editing state after loading the target editing template selected for the target editing task, such as the initial page layout and preset format of the editing page corresponding to the target editing task formed after loading the target editing template.

[0048] Optionally, triggering the creation of a target editing task and executing editing operations can be understood as triggering the creation of a target editing task through a preset triggering method (such as clicking the edit button, selecting multimedia materials for import, etc.) when deciding to start a multimedia material editing task. Optionally, in response to selecting a target editing template for the target editing task from multiple available editing templates, the template data associated with the target editing template selected for the target editing task is read and loaded to generate the editing page corresponding to the target editing task in the first editing state. The target editing template may contain preset elements such as specific layouts, color schemes, and font styles. For example, in video editing, selecting a cinematic template may load specific aspect ratios, subtitle styles, and transition effects.

[0049] After loading the target editing template and generating the first editing state, the system begins recording the first editing task information for the target editing task in the first editing state. This first editing task information may include the specific characteristics of the editing template, the initial settings after loading, and the editing results involved in any minor adjustments made in the initial state. For example, if color parameters are adjusted immediately after loading the editing template, this color parameter adjustment will also be recorded as part of the first editing task information.

[0050] By using the above method, the target editing template can be provided to quickly enter the editing state without having to build the editing task from a completely blank editing state, which greatly saves time and effort, improves the editing efficiency of the target editing task, and records the task information of the first editing state to provide a reference for subsequent editing and modification, and facilitates comparison of the differences in editing task information of different editing states.

[0051] As an alternative but not limited implementation, determining the first editing task information associated with the first editing state includes the following steps B1-B2:

[0052] Step B1: When triggering the editing operation of the editing task corresponding to the draft to restore from the draft, the reference draft selected for the target editing task will be loaded to generate the target editing task in the first editing state. The reference draft is the draft selected from the stored draft information that can enable the target editing task to enter the first editing state.

[0053] Step B2: Record the first editing task information associated with the target editing task that is in the first editing state.

[0054] The first editing state can be the initial editing state when restoring from a draft to the target editing task after loading the reference draft selected by the target editing task. The first editing task information describes the results of editing operations in the target editing task while in the first editing state, covering various initial characteristics after restoring the target editing task to the first editing state from a draft. The reference draft is a draft selected from stored draft information that enables the target editing task to enter the first editing state; for example, it can be a draft in any editing state saved in the draft box, and serves as the basis for restoring the editing task.

[0055] Triggering the restoration from draft to the corresponding editing task to perform editing operations can mean that when it is decided to restore the editing task from the saved draft, the restoration operation from the draft to the editing page corresponding to the editing task is initiated through a preset trigger method (such as clicking the restore draft button, selecting a reference draft item from the draft box, etc.), which means that it is desired to continue the previously unfinished editing task.

[0056] Specifically, after selecting a specific reference draft from the stored draft information, the corresponding draft data for that reference draft is loaded, restoring the editing state from the reference draft to the editing state of the target editing task associated with that reference draft—that is, the first editing state of the target editing task. For example, in video editing, if multiple drafts were previously saved, and one draft is now selected for restoration, information such as the video clips, applied effects, and editing positions within that draft will be loaded, returning the video editing task to the editing state of the editing task associated with the previously saved draft.

[0057] When the target editing task is restored to its first editing state, the first editing task information corresponding to the target editing task in its current first editing state is recorded, just as it was when the editing task was initially created. This first editing task information includes content loaded from the reference draft and any minor adjustments that may be made immediately after restoration. For example, if the video playback speed is adjusted immediately after restoring the draft, this playback speed adjustment will be recorded as part of the first editing task information.

[0058] Using this method, when pausing and resuming editing multimedia materials, you can quickly return to the previous editing state by restoring from a draft, without having to start over, saving time and effort. Since you can choose from multiple saved drafts to restore, you effectively have multiple possible starting points for editing. This allows you to try different editing paths, compare different versions of the edited results, and make better decisions. This method encourages iterative editing, continuously improving and refining multimedia materials. You can save drafts at different points in time, and then choose the appropriate draft to restore and further edit as needed, gradually optimizing the edited results.

[0059] As an optional but not limited implementation, recording the first editing task information associated with the target editing task in the first editing state includes the following steps:

[0060] Perform a deep copy of the first editing task information related to the target editing task in the first editing state and back it up in the running memory.

[0061] The target editing task enters its first editing state during the initial creation of the editing task or after a draft restoration operation. In the first editing state, the specific attributes and characteristics of the target editing task can be described using the first editing task information. For example, in an image editing task, the first editing state might be when an image has just been opened. The first editing task information corresponding to this first editing state could include the image's original size, color mode, and any basic adjustments already applied.

[0062] To better record the information of the first editing task, a deep copy can be used. A deep copy means not only copying the surface information of the first editing task, but also recursively copying all objects and sub-objects contained within it, ensuring a completely independent copy. This is done to guarantee the integrity and independence of the backed-up first editing task information; even if the original first editing task information changes during subsequent editing, the backup copy will not be affected. For example, since the ArkTs development language runs on a JS engine and all types of objects are JSObjects, this mechanism can be used to perform a deep copy of the first editing task information related to the target editing task in its first editing state.

[0063] The first editing task information obtained from the deep copy is stored in RAM, which features fast read and write capabilities, allowing for rapid access to the backup data when needed. This backup method is suitable for scenarios requiring quick restoration to the first editing state, such as in case of accidental operation or software malfunction during editing. It allows for rapid restoration from the backup in RAM, avoiding data loss and the hassle of restarting the editing process.

[0064] By employing the above method, and backing up the first editing task information in RAM through a deep copy, data security is significantly improved. Because the backup copy is completely independent of the original data, it will not be affected by damage to the original data. The deep copy ensures complete independence between the backup and original data. Modifying the original data will not affect the backup data, and vice versa. This guarantees that when data needs to be restored, a state completely consistent with the state at the time of backup can be obtained. Furthermore, since the backup record is stored in RAM, restoration to the first editing state can be very fast. The fast read / write characteristics of RAM allow the system to load the backed-up first editing task information into the target editing task in a short time. At the same time, because the backup is performed in RAM, it does not consume a large amount of disk space, making it suitable for various devices and environments.

[0065] Optionally, the editing task information describes various status and configuration data of the reference functional modules involved in the editing operation to form the editing result of the target editing task; for example, "hasMusic=true" explicitly indicates whether the music reference function is used. Optionally, the editing task information also describes the file paths corresponding to the multimedia materials in the editing task; for example, multimedia materials may include images, videos, audio files, etc., and generally only the file paths corresponding to the multimedia materials are recorded in memory.

[0066] Alternatively, editing task information can be represented as string and numeric types, which are relatively simple, occupy less storage space, and are easy to process and store.

[0067] Optionally, since multimedia materials are typically large, storing them directly in memory would consume significant resources. Therefore, it's generally best to only record the file paths of the multimedia materials in memory. This allows the multimedia materials to be loaded based on the file paths when needed, avoiding unnecessary memory usage. Multimedia materials are usually stored in specific directories on disk or via cloud storage. Applications can use file system APIs or dedicated multimedia libraries to manage and access multimedia materials.

[0068] S120. Determine the second editing task information associated with the second editing state. The second editing state is the editing state after the target editing task, which is already in the first editing state, continues to trigger editing operations.

[0069] Once it has been determined that the target editing task is in the first editing state and the information associated with the first editing task in the first editing state has been recorded, a series of editing operations can be performed on the target editing task in the first editing state. As more editing operations are triggered on the target editing task already in the first editing state, it begins to transition to the second editing state. For example, in image editing, the target editing task in the first editing state might have loaded an image and performed simple cropping. When further operations such as adding filters and adjusting colors are performed, the target editing task is triggered to transition to the second editing state.

[0070] Optionally, as new editing operations continue to be performed on the target editing task in the first editing state, changes in the corresponding editing results of the target editing task are monitored and recorded in real time. These changes include, but are not limited to, changes in the editing results resulting from operations such as pixel modification of images, clipping of video, and volume adjustment of audio. Once a new editing operation is completed, the second editing task information associated with the target editing task in the second editing state is determined. The second editing task information will describe in detail the results of the target editing task in the second editing state, including all changes from the first editing state to the second editing state. For example, in document editing, the first editing state might be the input of some text content, while the second editing state might be operations such as formatting these texts or adding images; the second editing task information will record these specific changes.

[0071] By employing the above process and determining the second editing state and associated second editing task information, every step and change made by the user during the editing process can be completely recorded. This is particularly important for complex multimedia material editing tasks, allowing for easy review and tracing of the editing history, facilitating modifications and adjustments. During multimedia material editing, needs and creative ideas may constantly change. Determining the second editing state and associated task information allows the system to flexibly adapt to these changes, recording new editing operations and results at any time, providing greater creative freedom and flexibility for multimedia material editing.

[0072] As an optional but not limited implementation, determining the second editing task information associated with the second editing state includes the following steps C1-C2:

[0073] Step C1: In response to the editing operation triggered on the target editing task in the first editing state, continue to perform editing processing on the target editing task in the first editing state so that the target editing task changes from the first editing state to the second editing state.

[0074] Step C2: Record the information of the second editing task associated with the target editing task that is in the second editing state.

[0075] When an editing operation is performed on a target editing task in its first editing state, the operation is detected and a response is taken. For example, in image editing, cropping or color adjustments might be performed on an image in its first editing state. Based on the editing operation triggered on the target editing task, further editing processing is performed on the target editing task, causing its state to gradually transition from the first editing state to the second editing state. For example, in video editing, the first editing state is the original video clip; after editing operations such as trimming and adding effects, it enters the second editing state.

[0076] When the target editing task enters the second editing state, it records the second editing task information at that time. This second editing task information includes the specific characteristics of the target editing task in the second editing state. For example, in document editing, the second editing task information may include newly added text content, modified formatting, etc.

[0077] Using the above method, editing operations can continue from the first editing state, achieving a smooth transition from the first to the second editing state. By recording the second editing task information, every step and change in the editing process can be accurately recorded, allowing for an understanding of the evolution from the first to the second editing state. Thus, when it's necessary to save the current editing state or restore to a previous state, one can switch between different editing states at any time according to their creative ideas and needs, enabling flexible editing operations.

[0078] As an optional but not limited implementation, recording the second editing task information associated with the target editing task in the second editing state includes the following steps:

[0079] Perform a deep copy of the second editing task information related to the target editing task in the second editing state and back it up in the running memory.

[0080] The above process is the same as the process of performing a deep copy of the first editing task information related to the target editing task in the first editing state and backing it up in the running memory, so it will not be described again here.

[0081] S130. When the draft storage is triggered for the target editing task in the second editing state, the draft storage of the second editing state of the target editing task is performed. The draft storage of the second editing state of the target editing task is determined based on the difference between the editing task information of the second editing task and the first editing task.

[0082] The second editing state refers to the editing state of the target editing task after one or more editing operations, which is more varied and developed compared to the first editing state. Triggering draft storage for the target editing task in the second editing state refers to the process of restoring and storing the draft of the editing results formed by the triggered editing operations while the target editing task is in the second editing state. The editing task information difference refers to the difference between the editing task information in the second editing task and the first editing task, that is, the changes in editing task information that occur from the first editing state to the second editing state.

[0083] See Figure 2 When the decision is made to save the target editing task in the second editing state, a draft save operation is triggered. This is achieved through a preset draft save button, shortcut key, or automatic save mechanism. For example, in image editing software, the user might click the "Save Draft" button to trigger the draft save operation. Draft saving of the target editing task in the second editing state is implemented based on the difference between the second and first editing task information. In other words, the first and second editing task information are first obtained, and then the difference between them is compared. This difference is used to describe the changes that occurred from the first to the second editing state, and this is used to save the draft of the target editing task in the second editing state.

[0084] When a draft is saved for a target editing task in the second editing state, the draft content is determined by the difference between the editing task information in the second editing state and the first editing task information. This method greatly improves storage efficiency. It avoids repeatedly storing information already saved in the first editing state; only the changes from the first to the second editing state need to be recorded, significantly reducing the amount of data stored. For example, if a basic video segment has already been saved in the first editing state, when saving the draft in the second editing state, only newly added effects, adjusted parameters, and other changes need to be recorded, instead of saving the entire video again. This differential storage method also speeds up storage, especially for editing large multimedia materials. It reduces storage time, particularly when frequent editing operations require saving drafts frequently. Because draft storage is based on differential storage, it significantly reduces the number of read / write operations during draft storage, preventing the large amount of data required for each draft storage from affecting the draft storage speed and ensuring that a long storage process does not disrupt the flow of creation.

[0085] Since the draft is determined based on the difference in editing task information, when the draft needs to be restored, the target editing task can be quickly restored to a specific editing state. To return to the second editing state, simply read the first editing task information and apply the difference in the second editing task information to accurately restore the previous editing result. This is extremely helpful for users who may need to backtrack and modify multiple times during the editing process, saving time and effort and improving editing efficiency. At the same time, this method also reduces the risk of recovery errors. Because only the difference in information needs to be processed, rather than all the data from the entire editing task, potential errors and confusion during data recovery are reduced.

[0086] The technical solution of this disclosure can accurately capture the editing status of the target editing task at different stages by determining the first editing task information associated with the first editing state and the second editing task information associated with the second editing state. For multimedia material editing tasks, this means that the specific details of each editing task from the initial editing state to the subsequent further editing state can be recorded in detail. When a draft is stored for a target editing task in the second editing state, the draft content is determined based on the difference between the second and first editing task information. It eliminates the need to repeatedly store the editing task information already in the first editing state for draft content description; only the changes from the first to the second editing state need to be recorded, significantly reducing the amount of data stored. This differential storage method also speeds up storage. Because draft storage is based on differences, the number of read / write operations during draft storage is greatly reduced, avoiding the impact on draft storage speed caused by large amounts of storage required for each draft. This is especially beneficial when frequent editing operations require frequent draft storage, preventing the smoothness of creation from being affected by excessively long storage processes. Since the draft is determined based on the difference in editing task information, the target editing task can be quickly restored to a specific editing state when a draft needs to be recovered, as only the difference information needs to be processed, rather than the entire data of the editing task, reducing potential errors and confusion during data recovery.

[0087] Figure 3 This is a flowchart illustrating another multimedia material editing method provided by an embodiment of the present disclosure. The technical solution of this embodiment further optimizes the process of storing a draft of the second editing state of the target editing task in the foregoing embodiments based on the technical solutions of the above embodiments. This embodiment can be combined with various optional solutions in one or more of the above embodiments.

[0088] like Figure 3 As shown, the multimedia material editing and processing method of this disclosure embodiment may include the following process:

[0089] S310. When triggering the restoration from draft to the corresponding editing task to perform editing operations, the reference draft selected for the target editing task will be loaded to generate the target editing task in the first editing state. The reference draft is a draft selected from the stored draft information that can enable the target editing task to enter the first editing state.

[0090] S320: Record the first editing task information associated with the target editing task that is in the first editing state.

[0091] The first editing state is the initial editing state when the target editing task is first triggered. The editing task information is used to describe the editing results of the target editing task in the current editing state due to the triggered editing operations. The target editing task is a multimedia material editing task.

[0092] S330. Determine the second editing task information associated with the second editing state. The second editing state is the editing state after the target editing task, which is already in the first editing state, continues to trigger editing operations.

[0093] S340. When the draft is stored for the target editing task in the second editing state, if the draft associated with the target editing task has been stored in the local storage device, the information of the second editing task is compared with the information of the first editing task to determine the information change result of the second editing task information relative to the first editing task information.

[0094] See Figure 4 When operating on a target editing task in its second editing state, triggering the draft save function indicates a desire to temporarily save the editing progress for later continuation, or a proactive save due to concerns about data loss in case of unforeseen circumstances. The system first checks whether the draft associated with the target editing task has already been saved on the local storage device, especially whether the draft was saved during the first editing state.

[0095] See Figure 4 The process compares the information of the second editing task, currently in the second editing state, with the previously stored information of the first editing task. The purpose of this comparison is to determine what changes have occurred from the first editing state to the second editing state. This includes, but is not limited to, added, deleted, or modified content. For example, in video editing, the comparison might include changes such as video clip editing, the addition of special effects, and audio adjustments.

[0096] See Figure 4By comparing the information from the second editing task with that from the first editing task, the changes made to the second editing task relative to the first editing task can be determined. By comparing the differences between the two editing task information, it's possible to identify which parameters might have changed during the transition from the first editing state to the second editing state, and the specific details of those changes. This change result can be a concrete list of operations or an abstract description, depending on the implementation. For example, the information change result might be a concrete description such as "a new video clip has been added" or "the brightness and contrast of the video have been adjusted," or a more abstract representation such as "the content has undergone significant modifications."

[0097] By storing only the changes from the first editing state to the second editing state, instead of repeatedly storing the entire editing task's data, storage space can be significantly saved. This is especially true for large multimedia editing tasks, where this method can dramatically improve storage efficiency. When it's necessary to restore a draft, the second editing state can be quickly restored simply by using the changes and the previously stored information from the first editing task.

[0098] As an optional but not limited implementation, the second editing task information is compared with the first editing task information to determine the information change result of the second editing task information relative to the first editing task information, including the following steps D1-D2:

[0099] Step D1: Iterate through and obtain the reference function module data in the second editing task information and the reference function module data in the first editing task information, and compare them item by item. The second editing task information and the first editing task information include reference function module data of the same type. The second editing task information and the first editing task information are configured to use the same type of reference function attribute field to describe the same reference function module data.

[0100] Step D2: Based on the item-by-item comparison results of the reference functional module data in the second editing task information and the reference functional module data in the first editing task information, determine the data change results between the second editing task information and the first editing task information.

[0101] See Figure 4The process iterates through the second and first editing task information, which describe the editing results of the target editing task under different editing states. Iteration means checking and retrieving each reference function module data (SubModel) in the second and first editing task information one by one. Reference function module data can be understood as the data of each functional part that makes up the editing task. For example, in image editing, it may include color adjustment module data, filter module data, cropping module data, etc.; in video editing, it may include video clip module data, special effects module data, transition module data, etc. Optionally, each reference function module data in the editing task information is configured with a reference function attribute field for description. The reference function attribute field is used to describe the attribute field of the editing function used in the video and audio materials.

[0102] Furthermore, these two editing task information entries are configured to use the same type of reference function attribute fields to describe the same reference function module data. This means that the description method for the same function module is consistent across different editing states; both editing task information entries use the same attribute fields to describe its characteristics, only the resulting values ​​differ. For example, for the "audio adjustment" function module, attribute fields such as "volume" and "pitch" might be used to describe its state. During the traversal, each reference function module data entry in the second editing task information is compared with its corresponding entry in the first editing task information, yielding comparison results for each reference function module data entry. These results can be completely identical, partially identical, or completely different. The comparison content includes, but is not limited to, the module's parameter values ​​and status flags.

[0103] See Figure 4 If there are discrepancies in the data of a certain reference functional module between the two editing task information, these discrepancies will be recorded and used as part of the data change result between the second and first editing task information. For example, if the intensity value of a filter changes in the second editing task information, this change will be recorded to describe the change from the first to the second editing state. In other words, based on the results of item-by-item comparison, the overall information change result between the second and first editing task information is comprehensively analyzed and determined. This information change result can clearly show what specific changes have occurred from the first to the second editing state. Finally, by integrating the comparison results of all reference functional module data, the complete data change result between the second and first editing task information is obtained.

[0104] By using the above method, and comparing reference function module data of the same type item by item, and describing them using reference function attribute fields of the same type, the specific changes from the first editing state to the second editing state can be determined very accurately. Furthermore, after determining the data change results, only these changed parts can be stored, rather than the entire editing task's data, which greatly saves storage space.

[0105] S350. If the information change result of the second editing task information relative to the first editing task information is that an information change has occurred, then based on the difference in editing task information caused by the information change between the second editing task information and the first editing task information, the second editing state of the target editing task is stored as a draft.

[0106] See Figure 4 To determine whether the information in the second editing task has changed compared to the information in the first editing task, this is done by comparing the data of various reference functional modules in the two editing task information. If any difference is found in the data of any reference functional module, it is considered that an information change has occurred. For example, in an image editing task, the image color parameters, filters, etc. in the first editing state are compared with the corresponding parameters in the second editing state. If any item is different, it indicates that an information change has occurred.

[0107] Optionally, by recursively traversing and comparing the values ​​of the functional attribute fields in the reference functional module data of the second editing task information with those in the first editing task information, any subtle changes in the second editing task information relative to the first editing task information can be detected very accurately.

[0108] See Figure 4 If the information change result of the second editing task information relative to the first editing task information is a change in information, it is necessary to determine the difference in editing task information caused by the information change between the second and first editing task information. This difference refers to the specific changes that occur from the first editing state to the second editing state. For example, in video editing, this may include specific changes such as adding new video clips or adjusting the parameters of a special effect. By analyzing the two editing task information, these differences can be accurately determined. If the information change result of the second editing task information relative to the first editing task information is no change in information, then a draft is not stored for the second editing state of the target editing task.

[0109] Based on the determined differences in editing task information, a draft is stored for the second editing state of the target editing task. This means that only the differences in editing task information from the first to the second editing state are stored, rather than storing all the data of the second editing task information corresponding to the second editing state. For example, in audio editing, if the only change from the first to the second editing state is adjusting the volume, then when storing the draft, only the volume change value needs to be recorded, not the entire audio file and all editing settings.

[0110] By adopting the above scheme, only the differences in editing task information are stored, significantly reducing the amount of data stored. For large multimedia editing tasks, this can save a significant amount of storage space and improve storage efficiency. Especially in situations involving frequent editing operations, it avoids repeatedly storing large amounts of the same data. When it is necessary to restore the draft, the restoration process can be much faster because only the differences are stored. The system can first load the draft from the first editing state, and then quickly update it based on the differences to restore it to the second editing state.

[0111] As an optional but not limited implementation, the second editing state of the target editing task is stored as a draft based on the difference between the second editing task information and the first editing task information, including the following steps E1-E2:

[0112] Step E1: Based on the difference in editing task information between the second editing task information and the first editing task information, generate draft status description information for the target editing task when it is in the second editing state. The draft status description information is used to indicate the reference function module data that has changed in the draft of the target editing task in the second editing state relative to the draft of the target editing task in the first editing state.

[0113] Step E2: Store the draft status description information of the target editing task when it is in the second editing state.

[0114] After determining the differences between the second and first editing task information, the difference is used to generate a draft state description for the target editing task in the second editing state. This difference represents the changes from the first to the second editing state. The draft state description information indicates the reference functional module data that shows changes in the draft of the target editing task in the second editing state relative to the draft of the target editing task in the first editing state. For example, if a new video clip is added or the color saturation is adjusted in video editing, the draft state description information will record these changed functional module data.

[0115] By storing only the draft state description information, rather than all the data from the second editing state, storage requirements are significantly reduced. For large multimedia editing tasks or situations involving frequent editing, this approach can save substantial storage space and improve storage efficiency. When it's necessary to revert to the second editing state, it can be quickly reconstructed based on the stored draft state description information and the data from the first editing state. Because only the changed parts need to be processed, rather than the entire task's data, the recovery speed is much faster.

[0116] Draft status descriptions serve as crucial information for version control. By viewing the status descriptions of different draft versions, one can clearly understand the changes in each version, facilitating version comparison and selection. Furthermore, it allows for reverting to a specific version's editing state as needed. The generated draft status descriptions are then stored so that, when required, they can be combined with the first editing task information from the first editing state to revert to the second editing state or view the editing history. The storage method can be a local database, a file system, or cloud storage, depending on the application's needs.

[0117] As an optional but not limited implementation, the draft storage when the target editing task is in the second editing state is to store the data of each reference functional module in the form of a database table, and the data of different reference functional modules are stored in separate columns, with each reference functional module data corresponding to a column of the database table.

[0118] The draft of the target editing task in its second editing state is stored in a database table structure. This means that various information of the editing task is organized into a table format in the database according to certain rules. For example, SQLite is a lightweight embedded relational database management system. For instance, in a multimedia editing task, a database table can be created to store draft status description information. For each version of the editing state, each column corresponds to different reference functional module data. Different reference functional module data within the same version of the editing state are stored in separate columns; that is, each reference functional module data is stored in a column of the database table. This makes the data structure clearer.

[0119] The technical solution of this disclosure, by determining the first editing task information associated with the first editing state and the second editing task information associated with the second editing state, can accurately capture the editing state of the target editing task at different stages. For multimedia material editing tasks, this means that it can record in detail the specific situation of each editing task from the initial editing state to the subsequent further editing state. When the target editing task in the second editing state triggers draft storage, the draft content is determined according to the difference between the editing task information of the second editing task and the first editing task. It is not necessary to repeatedly store the editing task information already in the first editing state to describe the draft content. Only the changes from the first editing state to the second editing state need to be recorded, which greatly reduces the amount of data to be stored. This differential storage method also speeds up the storage speed. Especially when frequent editing operations are performed and drafts need to be stored at any time, the smoothness of creation will not be affected by the long storage process. Since the draft is determined based on the difference in editing task information, when the draft needs to be restored, the target editing task can be quickly restored to a specific editing state. This is because only the information of the difference needs to be processed, rather than all the data of the entire editing task, which reduces the errors and confusion that may occur during the data restoration process.

[0120] Figure 5 This is a schematic diagram of the structure of a multimedia material editing and processing device provided in an embodiment of the present disclosure. The embodiments of the present disclosure are applicable to the situation of saving drafts during the editing process of multimedia materials. The multimedia material editing and processing device can be implemented in the form of software and / or hardware, and is generally integrated on any electronic device with network communication function, such as a mobile terminal, PC, or server.

[0121] like Figure 5 As shown, the multimedia material editing and processing apparatus of this disclosure embodiment may include the following:

[0122] The first determining module 510 is used to determine the first editing task information associated with the first editing state. The first editing state is the initial editing state when the target editing task is just triggered. The editing task information is used to describe the editing result generated by the target editing task in the current editing state due to the triggered editing operation. The target editing task is a multimedia material editing task.

[0123] The second determining module 520 is used to determine the second editing task information associated with the second editing state, wherein the second editing state is the editing state after the target editing task that is already in the first editing state continues to trigger an editing operation;

[0124] The storage processing module 530 is used to store a draft of the second editing state of the target editing task when the draft storage is triggered for the target editing task in the second editing state. The draft of the target editing task in the second editing state is determined based on the difference between the editing task information of the second editing task and the first editing task.

[0125] Based on the above embodiments, optionally, determining the first editing task information associated with the first editing state includes:

[0126] When the editing operation is triggered to restore from the draft to the corresponding editing task, the reference draft selected for the target editing task will be loaded to generate the target editing task in the first editing state. The reference draft is a draft selected from the stored draft information that can enable the target editing task to enter the first editing state.

[0127] Record the information of the first editing task associated with the target editing task that is in the first editing state.

[0128] Based on the above embodiments, optionally, determining the first editing task information associated with the first editing state includes:

[0129] When the creation of a target editing task is triggered to perform editing operations, the target editing template selected by the target editing task will be loaded to generate the target editing task in the first editing state;

[0130] Record the information of the first editing task associated with the target editing task that is in the first editing state.

[0131] Based on the above embodiments, optionally, the first editing task information associated with the target editing task in the first editing state is recorded, including:

[0132] A deep copy of the first editing task information related to the target editing task in the first editing state is performed and backed up in the running memory.

[0133] Based on the above embodiments, optionally, determining the second editing task information associated with the second editing state includes:

[0134] In response to an editing operation triggered on a target editing task in the first editing state, continue to perform editing processing on the target editing task in the first editing state to change the target editing task from the first editing state to the second editing state;

[0135] Record the information of the second editing task associated with the target editing task that is in the second editing state.

[0136] Based on the above embodiments, optionally, the second editing task information associated with the target editing task in the second editing state is recorded, including:

[0137] A deep copy of the second editing task information related to the target editing task in the second editing state is performed and backed up in the running memory.

[0138] Based on the above embodiments, optionally, the second editing state of the target editing task is stored as a draft, including:

[0139] If the draft associated with the target editing task has already been stored in the local storage device, the second editing task information is compared with the first editing task information to determine the information change result of the second editing task information relative to the first editing task information.

[0140] If the information change result of the second editing task information relative to the first editing task information is that an information change has occurred, then the second editing state of the target editing task is stored as a draft based on the editing task information difference caused by the information change between the second editing task information and the first editing task information.

[0141] Based on the above embodiments, optionally, the second editing task information is compared with the first editing task information to determine the information change result of the second editing task information relative to the first editing task information, including:

[0142] The reference function module data in the second editing task information is retrieved and compared with the reference function module data in the first editing task information. The second editing task information and the first editing task information include reference function module data of the same type. The second editing task information and the first editing task information are configured to use the same type of reference function attribute field to describe the same reference function module data.

[0143] Based on the item-by-item comparison results between the reference functional module data in the second editing task information and the reference functional module data in the first editing task information, the data change results between the second editing task information and the first editing task information are determined.

[0144] Based on the above embodiments, optionally, the second editing state of the target editing task is stored as a draft according to the difference between the second editing task information and the first editing task information, including:

[0145] Based on the difference in editing task information between the second editing task information and the first editing task information, a draft status description information is generated for the target editing task when it is in the second editing state. The draft status description information is used to indicate the reference function module data that has changed in the draft of the target editing task in the second editing state relative to the draft of the target editing task in the first editing state.

[0146] Store the draft status description information of the target editing task when it is in the second editing state.

[0147] Based on the above embodiments, optionally, the draft storage when the target editing task is in the second editing state is to store the data of each reference functional module in the form of a database table, and the data of different reference functional modules are stored in separate columns, with each reference functional module data corresponding to a column of the database table.

[0148] The technical solution of this disclosure, by determining the first editing task information associated with the first editing state and the second editing task information associated with the second editing state, can accurately capture the editing state of the target editing task at different stages. For multimedia material editing tasks, this means that it can record in detail the specific situation of each editing task from the initial editing state to the subsequent further editing state. When the target editing task in the second editing state triggers draft storage, the draft content is determined according to the difference between the editing task information of the second editing task and the first editing task. It is not necessary to repeatedly store the editing task information already in the first editing state to describe the draft content. Only the changes from the first editing state to the second editing state need to be recorded, which greatly reduces the amount of data to be stored. This differential storage method also speeds up the storage speed. Especially when frequent editing operations are performed and drafts need to be stored at any time, the smoothness of creation will not be affected by the long storage process. Since the draft is determined based on the difference in editing task information, when the draft needs to be restored, the target editing task can be quickly restored to a specific editing state. This is because only the information of the difference needs to be processed, rather than all the data of the entire editing task, which reduces the errors and confusion that may occur during the data restoration process.

[0149] The multimedia material editing and processing apparatus provided in this disclosure can execute the multimedia material editing and processing method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the multimedia material editing and processing method.

[0150] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this disclosure.

[0151] Figure 6 This is a schematic diagram of the structure of an electronic device that implements a multimedia material editing and processing method according to an embodiment of this disclosure. Refer to the following... Figure 6 It illustrates an electronic device suitable for implementing embodiments of the present disclosure (e.g., Figure 6 The diagram below shows the structure of the terminal device or server 600. The terminal device in this embodiment may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and vehicle terminals (e.g., vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 6 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0152] like Figure 6 As shown, electronic device 600 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 602 or a program loaded from storage device 608 into random access memory (RAM) 603. The RAM 603 also stores various programs and data required for the operation of electronic device 600. The processing unit 601, ROM 602, and RAM 603 are interconnected via bus 604. An edit / output (I / O) interface 605 is also connected to bus 604.

[0153] Typically, the following devices can be connected to I / O interface 605: input devices 606 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 607 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 608 including, for example, magnetic tapes, hard disks, etc.; and communication devices 609. Communication device 609 allows electronic device 600 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 6 An electronic device 600 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0154] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the multimedia material editing processing method shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, it performs the functions defined in the multimedia material editing processing method of the embodiments of this disclosure.

[0155] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0156] The electronic device provided in this embodiment and the multimedia material editing and processing method provided in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.

[0157] This disclosure provides a computer storage medium storing a computer program that, when executed by a processor, implements the multimedia material editing and processing method provided in the above embodiments.

[0158] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer 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 disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0159] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.

[0160] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0161] The aforementioned computer-readable medium carries one or more programs. When the electronic device executes the aforementioned one or more programs, the electronic device causes the following to occur: First, determine first editing task information associated with a first editing state, wherein the first editing state is the initial editing state at which the target editing task is first triggered, and the editing task information describes the editing result generated by the triggered editing operation in the current editing state of the target editing task, wherein the target editing task is a multimedia material editing task; second, determine second editing task information associated with a second editing state, wherein the second editing state is the editing state at which the target editing task, already in the first editing state, continues to be triggered with an editing operation; and when a draft storage is triggered for the target editing task in the second editing state, the second editing state of the target editing task is drafted, and the draft storage of the second editing state of the target editing task is determined based on the difference in editing task information between the second editing task information and the first editing task information.

[0162] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including but not limited to object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone 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 remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0163] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0164] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The name of a unit does not necessarily limit the unit itself; for example, the first acquisition unit can also be described as "a unit that acquires at least two Internet Protocol addresses".

[0165] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

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

[0167] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0168] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0169] Although the subject matter has been described using language specific to structural features and / or methodological logic, 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. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A method for editing and processing multimedia materials, characterized in that, The method includes: Determine the first editing task information associated with the first editing state. The first editing state is the initial editing state when the target editing task is just triggered. The editing task information is used to describe the editing results generated by the target editing task in the current editing state due to the triggered editing operations. The target editing task is a multimedia material editing task. Determine the second editing task information associated with the second editing state, where the second editing state is the editing state after triggering an editing operation on a target editing task that is already in the first editing state; When a draft is stored for a target editing task in the second editing state, the second editing state of the target editing task is stored as a draft. The storage of the draft for the second editing state of the target editing task is determined based on the difference between the editing task information of the second editing task and the first editing task.

2. The method according to claim 1, characterized in that, The first editing task information associated with determining the first editing state includes: When the editing operation is triggered to restore from the draft to the corresponding editing task, the reference draft selected for the target editing task will be loaded to generate the target editing task in the first editing state. The reference draft is a draft selected from the stored draft information that can enable the target editing task to enter the first editing state. Record the information of the first editing task associated with the target editing task that is in the first editing state.

3. The method according to claim 1, characterized in that, The first editing task information associated with determining the first editing state includes: When the creation of a target editing task is triggered to perform editing operations, the target editing template selected by the target editing task will be loaded to generate the target editing task in the first editing state; Record the information of the first editing task associated with the target editing task that is in the first editing state.

4. The method according to claim 2 or 3, characterized in that, Record the first editing task information associated with the target editing task that is in the first editing state, including: A deep copy of the first editing task information related to the target editing task in the first editing state is performed and backed up in the running memory.

5. The method according to claim 1, characterized in that, The second editing task information associated with determining the second editing state includes: In response to an editing operation triggered on a target editing task in the first editing state, continue to perform editing processing on the target editing task in the first editing state to change the target editing task from the first editing state to the second editing state; Record the information of the second editing task associated with the target editing task that is in the second editing state.

6. The method according to claim 5, characterized in that, Record the information of the second editing task associated with the target editing task that is in the second editing state, including: A deep copy of the second editing task information related to the target editing task in the second editing state is performed and backed up in the running memory.

7. The method according to claim 2, characterized in that, Drafting the second editing state of the target editing task includes: If the draft associated with the target editing task has already been stored in the local storage device, the second editing task information is compared with the first editing task information to determine the information change result of the second editing task information relative to the first editing task information. If the information change result of the second editing task information relative to the first editing task information is that an information change has occurred, then the second editing state of the target editing task is stored as a draft based on the editing task information difference caused by the information change between the second editing task information and the first editing task information.

8. The method according to claim 7, characterized in that, The second editing task information is compared with the first editing task information to determine the information change result of the second editing task information relative to the first editing task information, including: The reference function module data in the second editing task information is retrieved and compared with the reference function module data in the first editing task information. The second editing task information and the first editing task information include reference function module data of the same type. The second editing task information and the first editing task information are configured to use the same type of reference function attribute field to describe the same reference function module data. Based on the item-by-item comparison results between the reference functional module data in the second editing task information and the reference functional module data in the first editing task information, the data change results between the second editing task information and the first editing task information are determined.

9. The method according to claim 7, characterized in that, Based on the difference between the second editing task information and the first editing task information, the second editing state of the target editing task is stored as a draft, including: Based on the difference in editing task information between the second editing task information and the first editing task information, a draft status description information is generated for the target editing task when it is in the second editing state. The draft status description information is used to indicate the reference function module data that has changed in the draft of the target editing task in the second editing state relative to the draft of the target editing task in the first editing state. Store the draft status description information of the target editing task when it is in the second editing state.

10. The method according to claim 9, characterized in that, The draft storage when the target editing task is in the second editing state is to store the data of each reference functional module in the form of a database table, and the data of different reference functional modules are stored in separate columns, with each reference functional module data corresponding to a column of the database table.

11. A multimedia material editing and processing device, characterized in that, The device includes: The first determining module is used to determine the first editing task information associated with the first editing state. The first editing state is the initial editing state when the target editing task is just triggered. The editing task information is used to describe the editing results generated by the target editing task in the current editing state due to the triggered editing operations. The target editing task is a multimedia material editing task. The second determining module is used to determine the second editing task information associated with the second editing state, wherein the second editing state is the editing state after the target editing task that is already in the first editing state continues to trigger an editing operation; The storage processing module is used to store a draft of the second editing state of the target editing task when the draft storage is triggered for the target editing task in the second editing state. The draft of the target editing task in the second editing state is determined based on the difference between the editing task information of the second editing task and the first editing task.

12. An electronic device, characterized in that, The electronic device includes: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the multimedia material editing and processing method according to any one of claims 1-10.

13. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to perform the multimedia material editing and processing method according to any one of claims 1-10.