Multimedia Editing State Sequencing for Low-Memory Undo Restore
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing multimedia material editing process faces significant memory occupation issues due to redundant data backups, leading to increased memory usage and potential crashes, especially with multiple editing operations.
Innovation Solution
Implement a preset editing state sequence that records editing states in order, using first and second type of editing state description information. The first type independently presents editing effects, while the second type indicates state differences, reducing the need for full data backups and minimizing memory occupation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If full data backup is generated for each editing operation to enable accurate restoration, then editing state restoration accuracy is improved, but memory occupation increases linearly
Solution Approach 1:
The patent segments the backup data into two types: complete editing state description information for reference editing states, and differential editing state description information for non-reference editing states. This segmentation allows the system to store only the necessary changes rather than complete state copies, reducing memory occupation while maintaining restoration accuracy through the combination of reference states and differentials.
Solution Approach 2:
The patent changes the parameter of data representation from complete state descriptions to differential descriptions. By storing only the differences between editing states rather than full state copies, the system significantly reduces memory occupation while preserving the ability to restore any editing state by applying differentials to the appropriate reference state.
2Reliability
If data backup is generated after each editing operation to enable undo and redo functions, then editing operation reliability is improved, but memory occupation increases leading to potential crashes
Solution Approach 1:
The patent divides editing states into reference editing states (stored completely) and non-reference editing states (stored as differentials). This segmentation maintains reliability by preserving complete reference states for robust restoration while reducing memory occupation through differential storage for intermediate states, preventing crashes even with numerous editing operations.
Solution Approach 2:
Instead of performing full data backup for every editing state (excessive action), the patent performs partial backup by storing only differential information for non-reference states. This partial action approach maintains sufficient reliability for undo/redo functionality while avoiding the memory occupation that would lead to crashes.
Data Source
AI summary
The present disclosure provides a multimedia material editing and processing method, an electronic device and a computer readable storage medium. The method includes: determining editing state description information that is stored corresponding to a third editing state when a target editing task is switched from a first editing state to a second editing state, wherein the third editing state is a first type of editing state that is not triggered after the second editing state among editing states in a preset editing state sequence; there is at least one reference editing state in the preset editing state sequence, editing state description information that is stored corresponding to which belongs to a second type of editing state description information; and presenting an editing effect corresponding to the second editing state, according to editing state description information that is stored corresponding to the third editing state.


