Method, apparatus, device, medium and product for processing media data

CN122547249APending Publication Date: 2026-08-11BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-08
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

在一些场景中,切换前后的交互界面的布局和操作方式相差较大,较难匹配不同用户的操作习惯

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122547249A_ABST
    Figure CN122547249A_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a media data processing method, device, equipment, medium and product. The method comprises: in response to an editing trigger operation, displaying a plurality of preset media data editing modes; wherein at least part of interface display information of an interactive interface corresponding to different media data editing modes is different; receiving a mode selection operation for the media data editing mode, and displaying an interactive interface according to the mode selection operation and the media data editing mode. The technical scheme of the embodiments of the present disclosure solves the technical problems of difficult operation and low editing efficiency in editing media data in the related art, and achieves the effect of improving the convenience, operation efficiency and flexibility of media data editing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer processing technology, and more particularly to a method, apparatus, device, medium, and product for processing media data. Background Technology

[0002] With the gradual development of terminal devices, more and more application software is becoming integrated into users' lives. Users can publish media content in video or social media software. To improve the display effect of published media content, users can also create special effects content through media data editing and optimize media content based on special effects.

[0003] In related technologies, there are many different presentation styles for the interactive interfaces used to edit media data, requiring users to switch between different interfaces. In some scenarios, the layout and operation methods of the interfaces before and after switching differ significantly, making it difficult to match the operating habits of different users. Moreover, the switching between different interfaces is often based on preset interface switching logic, which users are often unaware of. Therefore, users need to constantly familiarize themselves with and adapt to multiple interactive interfaces during the media data editing process, resulting in low editing efficiency. Summary of the Invention

[0004] This disclosure provides a method, apparatus, device, medium, and product for processing media data, thereby improving the convenience, operational efficiency, and flexibility of media data editing.

[0005] In a first aspect, embodiments of this disclosure provide a method for processing media data, the method comprising:

[0006] In response to an edit trigger operation, multiple preset media data editing modes are displayed; wherein, at least some of the interface information displayed on the interactive interface corresponding to different media data editing modes is different;

[0007] Receive a mode selection operation for the media data editing mode, and display an interactive interface based on the mode selection operation and the media data editing mode.

[0008] Secondly, embodiments of this disclosure also provide a media data processing apparatus, the apparatus comprising:

[0009] An editing trigger module is used to display multiple preset media data editing modes in response to an editing trigger operation; wherein, at least some of the interface information displayed on the interactive interface corresponding to different media data editing modes is different;

[0010] The interface display module is used to receive mode selection operations for the media data editing mode, and display an interactive interface according to the mode selection operations and the media data editing mode.

[0011] Thirdly, embodiments of this disclosure also provide an electronic device, the electronic device comprising:

[0012] One or more processors;

[0013] Storage device for storing one or more programs.

[0014] When the one or more programs are executed by the one or more processors, the one or more processors implement the media data processing method as described in any of the embodiments of this disclosure.

[0015] Fourthly, embodiments of this disclosure also provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform a media data processing method as described in any of the embodiments of this disclosure.

[0016] Fifthly, embodiments of this disclosure also provide a computer program product, including a computer program that, when executed by a processor, implements the media data processing method as described in any of the embodiments of this disclosure.

[0017] The technical solution of this disclosure, in response to an edit trigger operation, displays multiple preset media data editing modes, supporting visual editing of media data. Since at least some of the interface information displayed by the interactive interfaces corresponding to different media data editing modes is different, setting corresponding interactive interfaces for different media data editing modes can greatly improve the convenience and operational efficiency of media data editing. Subsequently, by receiving a mode selection operation for the media data editing mode, and displaying the interactive interface according to the mode selection operation and the media data editing mode, it supports flexible selection of media data editing modes based on simple interactive operations, enabling convenient editing of media data through the interactive interface. This solves the technical problems of difficult operation and low editing efficiency when editing media data in related technologies, achieving the effect of improving the convenience, operational efficiency, and flexibility of media data editing. Attached Figure Description

[0018] 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.

[0019] Figure 1A flowchart illustrating a media data processing method provided in an embodiment of this disclosure;

[0020] Figure 2 A schematic diagram of an interactive interface for a media data processing method provided in an embodiment of this disclosure;

[0021] Figure 3 A flowchart illustrating another media data processing method provided in this embodiment of the disclosure;

[0022] Figure 4 A flowchart illustrating another media data processing method provided in this embodiment of the disclosure;

[0023] Figure 5 A schematic diagram of an architecture for generating an interactive interface, provided in an embodiment of this disclosure, for a method of processing media data.

[0024] Figure 6 This is a schematic diagram of the structure of a media data processing apparatus provided in an embodiment of the present disclosure;

[0025] Figure 7 This is a schematic diagram of the structure of an electronic device for implementing an embodiment of the present disclosure. Detailed Implementation

[0026] 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.

[0027] 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.

[0028] 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.

[0029] 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.

[0030] 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".

[0031] 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.

[0032] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0033] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.

[0034] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0035] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0036] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.

[0037] Figure 1This is a flowchart illustrating a media data processing method provided in an embodiment of the present disclosure. The embodiments of the present disclosure are applicable to scenarios involving the processing of media data. The method can be executed by a media data processing device, which can be implemented in the form of software and / or hardware, or optionally, by an electronic device, such as a mobile terminal, a PC, or a server.

[0038] like Figure 1 As shown, the method in this embodiment may specifically include:

[0039] S110. In response to an edit trigger operation, display multiple preset media data editing modes; wherein, at least a portion of the interface information displayed on the interactive interface corresponding to different media data editing modes is different.

[0040] In this context, the editing trigger operation can be understood as an operation used to trigger the editing of media data. In this embodiment, the editing trigger operation can be a control trigger operation applied to a preset editing control, such as a click operation or a swipe operation. The media data editing mode can be understood as a pre-set mode for editing media data. The number of preset media data editing modes can be one, two, or more. In this embodiment, different media data editing modes can have their own unique methods for editing media data. Optionally, the media data editing mode can include a special effects file editing mode and a template file editing mode. The special effects file editing mode can be understood as a mode for editing special effects files to obtain special effects files; or, a mode for processing media data using special effects elements to make the media data present the expected effect. In short, the special effects file editing mode is configured as a mode for creating special effects files that present the expected special effects or a mode for processing first media data into second media data that presents the expected special effects. The template file editing mode can be understood as a mode for editing template files. Optionally, the template file editing mode can include a video file editing mode and / or an image file editing mode. The video file editing mode can be understood as being used to edit video files to obtain video effects files. The image file editing mode can be understood as being used to edit image files to obtain image effects files.

[0041] In some embodiments, the effects file can be a file created using an effects creation application, which can be used to process media data with effects. The effects file can also be a file obtained by processing media data using preset effects elements or pre-edited effects processing logic, etc. A template file can be understood as a pre-set file used to process edited media data according to a preset processing method. In simple terms, by adding first media data to a template file or by replacing media data in a template file, second media data that presents a display effect corresponding to the template file can be obtained. Specifically, the template file may contain predefined rules, layouts, styles, and formats to guide how to process and display media data. The template data includes at least one data placeholder to indicate where to insert specific media data. For example, the template file may include at least one of the following data placeholders: text placeholders, image placeholders, video clip placeholders, audio placeholders, and graphic and animation placeholders. Text placeholders are used to insert text content such as titles, subtitles, and explanatory text. Text placeholders typically have specific font, size, and color settings to ensure that the text content maintains a consistent style and format after insertion. Image placeholders are used to insert visual elements such as photos and images. These placeholders usually have fixed sizes and proportions to ensure that the inserted image fits perfectly into the layout and design of the video template.

[0042] Video clip placeholders are used to insert at least one of the following: video clips or animation effects. These placeholders can specify attributes such as the playback time, position, and whether audio is included in the video clip. By replacing these placeholders, users can easily add their own video content to the video template. Audio placeholders are used to insert at least one of the following: background music, narration, or sound effects. Audio placeholders can specify at least one of the following attributes: audio playback time, volume, and channels. By replacing audio placeholders, users can add appropriate audio elements to the video template to enhance the video's impact and appeal. Graphic and animation placeholders are used to insert at least one of the following: graphic elements such as shapes, lines, and icons, as well as animation effects. Graphic and animation placeholders can specify at least one of the following attributes: graphic size, color, position, and animation effects. By replacing these placeholders, users can add rich graphic and animation elements to the video template to improve the video's visual appeal and engagement. By using template files, content with a consistent format and style can be generated automatically. For example, in news websites, article templates can be used to automatically generate news reports with a unified layout and style. Template files make content creation and editing simpler and more efficient. Once a template is created, it can be reused to generate multiple documents or media with the same format but different content.

[0043] In this embodiment, the media data editing mode can be associated with media data editing information. In short, different media data editing modes correspond to at least partially different media data editing information. In this embodiment, the media data editing information may include at least one of the following: the media data to be edited, optional editing elements, and the target file obtained from the editing. The target file may include special effects files and / or template files. In this embodiment, the media data to be edited may include media content of at least one multimedia format, such as images, text, video, and audio. In this embodiment, the media content to be edited serves as the carrier for special effects applications, and its visual effects are enhanced by adding special effects elements, thereby achieving the editing of multimedia media data. In this embodiment, optional editing elements can be understood as selectable special effects elements pre-set for the media data editing mode. For example, the media data editing information of the template file editing mode and the media data editing information of the special effects file editing mode can be optional editing elements. The optional editing elements of the template file editing mode and the optional editing elements of the special effects file editing mode may be partially different, or they may be completely different. For example, the target file obtained by editing in the effects file editing mode is an effects file; the target file obtained by editing in the template file editing mode is a template file. Alternatively, the optional editing elements in the effects file editing mode include effects element A, effects element B, and effects element C; the optional editing elements in the template file editing mode include effects element A, effects element C, and effects element D. The target file obtained can be understood as the file obtained after editing the media data.

[0044] The interactive interface can be understood as an interface used for editing media data. In this embodiment, at least some of the interface display information of the interactive interface corresponding to different media data editing modes is different. In this embodiment, by setting corresponding interactive interfaces for different media data editing modes, the convenience and efficiency of media data editing can be greatly improved. The characteristics and editing needs of different media data editing modes are fully considered, so that each media data editing mode can be presented to media data editors in an interface form that is more suitable for its functions and characteristics. In this embodiment, the interface display information may include interface layout information and / or interface display elements. The interface layout information can be used to set the organization and arrangement of interface display elements on the interactive interface. Optionally, the interface layout information may include at least one of the following layout information: interface menu position information, control position information, image position information, etc. Interface display elements can be understood as visual components in the interactive interface used to display information and guide user operations.

[0045] In this embodiment of the disclosure, for media data editing modes, pre-set interface display elements are required to be displayed on the interactive interface corresponding to the media data editing mode. The number and / or object of the interface display elements included in the interactive interface corresponding to different media data editing modes are different. For example, media data editing modes include Media Data Editing Mode A, Media Data Editing Mode B, and Media Data Editing Mode C. Interactive interfaces include Interactive Interface A, Interactive Interface B, and Interactive Interface C. Media Data Editing Mode A corresponds to Interactive Interface A, Media Data Editing Mode B corresponds to Interactive Interface B, and Media Data Editing Mode C corresponds to Interactive Interface C. Interactive Interface A includes interface display element 1, interface display element 2, and interface display element 3. Interactive Interface B includes interface display element 1 and interface display element 2. Interactive Interface C includes interface display element 3, interface display element 4, and interface display element 5.

[0046] In this embodiment of the disclosure, upon receiving an editing trigger operation, a visual interface including multiple preset media data editing modes can be determined based on the editing trigger operation. The visual interface including multiple preset media data editing modes can then be displayed to show the multiple preset media data editing modes. The display style of the multiple preset media data editing modes in the visual interface can be set according to actual needs, and is not specifically limited herein.

[0047] For example, such as Figure 2 As shown, the target interface (interactive interface) is displayed, wherein the target interface includes preset trigger controls (see...). Figure 2 (The "+" symbol). After receiving a control trigger operation applied to a preset trigger control on the target interface, a visual interface can be displayed, including special effects creation and editing mode, video template editing mode, and image and text simulation editing mode. In this embodiment of the disclosure, the interface size of the visual interface and the interface size of the target interface may be the same or different.

[0048] S120: Receive a mode selection operation for the media data editing mode, and display an interactive interface according to the mode selection operation and the media data editing mode.

[0049] The mode selection operation can be understood as an operation used to select a media data editing mode. Optionally, the mode selection operation can be a trigger operation (e.g., a click operation) applied to the media data editing mode. In this embodiment, the desired media data editing mode can be flexibly selected from multiple preset media data editing modes through the mode selection operation, thereby demonstrating the flexibility of media data editing. This flexibility not only meets the diverse editing needs of media data but also improves the personalization and customization level of the media data editing process. Based on this, after selecting a media data editing mode through the media data editing selection operation, the media data can be edited through the interactive interface corresponding to the media data editing mode, thereby improving the efficiency and experience of media data editing.

[0050] Specifically, after receiving a mode selection operation applied to the media data editing mode, the selected media data editing mode can be determined based on the mode selection operation. Then, based on the correspondence between media data editing modes and interactive interfaces, the interactive interface corresponding to the selected media data editing mode can be determined. After determining the interactive interface corresponding to the selected media data editing mode, the interactive interface corresponding to the selected media data editing mode can be displayed.

[0051] In this embodiment of the disclosure, before displaying multiple preset media data editing modes, or after receiving a mode selection operation for the media data editing mode, the method may further include: receiving a component configuration operation for the media data editing mode, and generating a mode editing container according to the component configuration operation, wherein the mode editing container is configured with multiple target components presented in the interactive interface corresponding to the media data editing mode.

[0052] The component configuration operation can be understood as an operation used to configure the components that need to be presented in the interactive interface corresponding to the media data editing mode. The component configuration operation may include component click operations and / or component drag operations. The mode editing container may be configured with multiple target components presented in the interactive interface corresponding to the media data editing mode. Target components can be understood as components that need to be presented in the interactive interface corresponding to the media data editing mode. In this embodiment of the disclosure, there are multiple ways to receive the component configuration operation for the media data editing mode and generate the mode editing container based on the component configuration operation.

[0053] As an optional implementation of this disclosure, the component configuration operation may include a component click operation; receiving a component configuration operation for a media data editing mode and generating a mode editing container based on the component configuration operation includes: displaying a component configuration interface, wherein the component configuration interface may include multiple candidate components. After receiving a component click operation applied to a candidate component, a selected component can be determined. Thus, a mode editing container can be obtained based on the selected component. In this disclosure embodiment, the number of components selected in each component click operation can be one, two, or more. In this disclosure embodiment, after determining the selected component, the method may further include: after receiving a component click operation applied to the selected component, the selected component can be deselected.

[0054] As another optional implementation of this disclosure, the component configuration operation may include a component drag-and-drop operation; receiving a component configuration operation for a media data editing mode and generating a mode editing container according to the component configuration operation includes: displaying a component configuration interface, wherein the component configuration interface includes a first area and a second area, and the first area includes a plurality of candidate components. After receiving a component drag-and-drop operation that drags a candidate component from the first area to the second area, a mode editing container may be generated based on the dragged components in the second area. In this disclosure embodiment, the number of components dragged in each component drag-and-drop operation can be one. In this disclosure embodiment, after dragging a candidate component from the first area to the second area, it may further include: after receiving a component drag-and-drop operation that drags a component from the second area to the first area, updating the mode editing container generated based on the components in the second area.

[0055] As another optional implementation of the embodiments of this disclosure, the component configuration operation may include component drag-and-drop operations and component click operations; a component configuration interface is displayed, wherein the component configuration interface includes a first area and a second area, and the first area includes a plurality of candidate components. In response to a component click operation acting on a candidate component in the first area, a selected component can be determined. The number of selected components can be one, two, or more. After receiving a component drag-and-drop operation that drags the selected component from the first area to the second area, a container can be edited based on the generated mode of the dragged component in the second area.

[0056] Based on the above embodiments, after generating one or more pattern editing containers, the components within the generated pattern editing containers can be modified. Specifically, one or more pattern editing containers are displayed. In response to a component deletion operation for a component in the pattern editing container, the pattern editing container is updated based on the component modification operation. Specifically, after receiving a container selection operation for a pattern editing container, the selected pattern editing container can be determined, and the component corresponding to the selected pattern editing container can be displayed. After receiving a component deletion operation for the component, the pattern editing container can be updated based on the component deletion operation.

[0057] The technical solution of this disclosure, in response to an edit trigger operation, displays multiple preset media data editing modes, supporting visual editing of media data. Since at least some of the interface information displayed by the interactive interfaces corresponding to different media data editing modes is different, setting corresponding interactive interfaces for different media data editing modes can greatly improve the convenience and operational efficiency of media data editing. Subsequently, by receiving a mode selection operation for the media data editing mode, and displaying the interactive interface according to the mode selection operation and the media data editing mode, it supports flexible selection of media data editing modes based on simple interactive operations, enabling convenient editing of media data through the interactive interface. This solves the technical problems of difficult operation and low editing efficiency when editing media data in related technologies, achieving the effect of improving the convenience, operational efficiency, and flexibility of media data editing.

[0058] Figure 3 This is a flowchart illustrating another media data processing method provided in this embodiment. Based on the above embodiments, this embodiment further refines the method of displaying an interactive interface according to the mode selection operation and the media data editing mode. Optionally, displaying an interactive interface according to the mode selection operation and the media data editing mode includes: determining a mode editing container according to the mode selection operation and the media data editing mode, and displaying an interactive interface according to the mode editing container; wherein, the mode editing container is configured with interface display elements in the interactive interface corresponding to the media data editing mode. For detailed implementation, please refer to the description of this embodiment. Technical features that are the same as or similar to those in the foregoing embodiments will not be repeated here. Figure 3 As shown, the method in this embodiment may specifically include:

[0059] S210. In response to an edit trigger operation, display multiple preset media data editing modes; wherein, at least a portion of the interface information displayed on the interactive interface corresponding to different media data editing modes is different.

[0060] S220: Receive a mode selection operation for the media data editing mode, determine a mode editing container based on the mode selection operation and the media data editing mode, and display an interactive interface based on the mode editing container.

[0061] The mode editing container can utilize the interface display elements in the interactive interface corresponding to the media data editing mode. Different mode editing containers correspond to different interactive interfaces, and the interface display elements in different interactive interfaces are at least partially different. For example, the mode editing containers include mode editing container A, mode editing container B, and mode editing container C. The interactive interfaces include interactive interface A, interactive interface B, and interactive interface C. Mode editing container A corresponds to interactive interface A, mode editing container B corresponds to interactive interface B, and mode editing container C corresponds to interactive interface C. Interactive interface A includes interface display element 1, interface display element 2, and interface display element 3. Interactive interface B includes interface display element 1, interface display element 3, and interface display element 4. Interactive interface A includes interface display element 5, interface display element 6, and interface display element 7.

[0062] In this embodiment, the mode editing container can dynamically adjust the interface layout and element display according to different media data editing modes, enabling the interactive interface to quickly adapt to different needs and improving its flexibility and scalability. Furthermore, using the mode editing container can separate the interface display elements and logic under different media data editing modes, reducing the coupling between code. This makes the code clearer, easier to understand and maintain, and helps reduce errors and debugging time. Moreover, since the layout and elements of the interactive interface may require different adjustments on different devices or platforms, setting up a mode editing container makes cross-platform adaptation easier, ensuring that the interactive interface provides a consistent operating experience across different devices.

[0063] Specifically, after receiving a mode selection operation for the media data editing mode, the selected media data editing mode can be determined. Then, based on the correspondence between media data editing modes and mode editing containers, the mode editing container corresponding to the selected media data editing mode can be determined. Then, the interactive interface corresponding to the mode editing container can be determined based on the mode editing container, i.e., the interactive interface corresponding to the selected media data editing mode can be determined. After determining the interactive interface corresponding to the selected media data editing mode, the interactive interface corresponding to the selected media data editing mode can be displayed.

[0064] In this embodiment of the disclosure, when there are multiple pattern editing containers, determining the pattern editing container corresponding to the selected media data editing mode based on the correspondence between media data editing modes and pattern editing containers may include: pre-setting the correspondence between media data editing modes and pattern editing containers. Then, based on the correspondence between media data editing modes and pattern editing containers, a pattern editing container matching the selected media data editing mode can be selected from multiple pattern editing containers.

[0065] In this embodiment of the disclosure, displaying an interactive interface based on the pattern editing container includes: first determining the interface display elements in the pattern editing container; then generating an interactive interface based on the interface display elements; and finally, displaying the generated interactive interface. In this embodiment of the disclosure, there are multiple ways to generate an interactive interface based on the interface elements.

[0066] As an optional implementation of this disclosure, generating an interactive interface based on the interface elements includes: when the interface elements are configured with element layout attributes, obtaining the interactive interface based on the element layout attributes configured on the interface elements. The element layout attributes can be used to determine the positioning and arrangement of each interface display element in the interactive interface. Optionally, the element layout attributes may include at least one of element positioning attributes, element display attributes, element size attributes, margins, padding, floating, alignment, responsive layout, etc. The positioning attributes may include at least one of absolute positioning, relative positioning, and static positioning. The display attributes may include at least one of block-level elements, inline elements, inline-block elements, and flexbox layouts. The size attributes can be used to define the size of the interface display elements and may include width, height, maximum width, maximum height, minimum width, and minimum height.

[0067] As another optional implementation of this disclosure, generating an interactive interface based on the interface elements includes: obtaining layout display information of the interface display elements. The interactive interface can then be generated based on the layout display information and the interface display elements. In this disclosure, the layout display information can be used to determine how to organize and present the various interface display elements of the interactive interface. Optionally, the layout display information may include size (such as width and height), position (such as margins and alignment), spacing (such as gaps between elements), and possible layout modes (such as grid layout, flexbox layout, or flow layout), etc.

[0068] The technical solution of this disclosure involves determining a mode editing container based on the mode selection operation and the media data editing mode, and displaying an interactive interface based on the mode editing container. The mode editing container is configured with interface display elements corresponding to the media data editing mode. This technical solution improves the flexibility and scalability of the interactive interface by configuring interface display elements through a media data editing container.

[0069] Figure 4 This is a flowchart illustrating another media data processing method provided in this embodiment. Based on the above embodiments, this embodiment further refines the method of displaying an interactive interface according to the pattern editing container. Optionally, the interface display elements include multiple target components; displaying the interactive interface according to the pattern editing container includes: generating an interactive interface based on the multiple target components configured in the pattern editing container, and displaying the interactive interface. For detailed implementation, please refer to the description of this embodiment. Technical features that are the same as or similar to those in the foregoing embodiments will not be repeated here. Figure 4 As shown, the method in this embodiment may specifically include:

[0070] S310. In response to an edit trigger operation, multiple preset media data editing modes are displayed; wherein, at least a portion of the interface information displayed on the interactive interface corresponding to different media data editing modes is different.

[0071] S320. Receive a mode selection operation for the media data editing mode, and determine a mode editing container based on the mode selection operation and the media data editing mode, wherein the mode editing container is configured with interface display elements in the interactive interface corresponding to the media data editing mode, and the interface display elements include multiple target components.

[0072] S330. Generate an interactive interface from the multiple target components configured in the pattern editing container according to the pattern, and display the interactive interface.

[0073] Specifically, for the multiple target components configured according to the mode editing container, the interface layout information of each target component can be determined. Then, an interactive interface can be generated and displayed based on the target components and their interface layout information. The interface layout information can be used to determine the positioning and arrangement of each target component within the interactive interface. Optionally, the interface layout information may include component dimensions (such as width and height), component positions (such as margins and alignment), and component spacing (such as gaps between elements).

[0074] In this embodiment of the disclosure, generating an interactive interface from multiple target components configured according to the mode editing container includes: determining a target interface corresponding to each target component from the interface layer, and calling the target program data corresponding to the target component in the program data layer through the target interface to obtain the interactive interface.

[0075] The interface layer can pre-encapsulate multiple preset interfaces to call corresponding preset program data in the program data layer. The program data layer can include multiple preset program data to support the generation of an interactive interface based on the target component. In this embodiment, by explicitly dividing the code of the interactive interface into an interface layer and a program data layer, using the interface layer to handle input and output, and the program data layer to handle data processing and logic implementation, the maintainability, scalability, modularity, security, and ease of testing and debugging of the interactive interface can be significantly improved. This layered architecture provides a foundation for building efficient, flexible, and secure media data editing and processing. It should be noted that the correspondence between components and interfaces can be one-to-one or many-to-one. In short, at least one component uses one interface. That is, multiple components can share one interface.

[0076] In this embodiment, the program data in the program data layer includes custom program data and program data provided by the software development kit (SDK). In practical applications, the number of program data included in the program data layer is usually multiple. In this embodiment, the correspondence between the program data in the program data layer and the interfaces in the interface layer can be one-to-one or many-to-one. That is, multiple program data can be encapsulated to correspond to one interface in the interface layer, enabling one interface to be implemented through multiple program data, thus meeting the high cohesion requirements of code development. Furthermore, in this embodiment, the interface layer and program data layer are used to separate the coupling between code, enabling program development to meet the requirements of low coupling.

[0077] For the multiple target components configured in the mode editing container, a preset interface corresponding to each target component can be determined from the preset interfaces in the interface layer, thus obtaining the target interface corresponding to each target component. Then, based on the correspondence between the interface and the preset program data in the program data layer, the target program data corresponding to the target component in the program data layer can be determined. Therefore, the target program data corresponding to the target component in the program data layer can be called through the target interface to obtain the interactive interface. Specifically, calling the target program data corresponding to the target component in the program data layer through the target interface to obtain the interactive interface can be as follows: For each target component, the interface layout information of the target component can be passed as an actual parameter to the formal parameter of the target program data corresponding to the target component through the target interface. After the parameter passing is completed, the target program data can be executed to obtain the program processing result of the target program data based on the interface layout information of the target component, i.e., the interactive interface. The interactive interface can then be output through the target interface, i.e., the interactive interface can be displayed.

[0078] In this embodiment, the target component may include a first component and a second component. The second component can be used to edit the presentation effects of media data. The first component can be used to configure the interface presentation information of the second component. Multiple first components are stored in a first component layer, and multiple second components are stored in a second component layer. The second component can be understood as a component provided by the second component layer for interacting with media data. Optionally, the second component may include components such as text components and / or filter components. The first component can be understood as a component provided by the first component layer for configuring the interface presentation information of the second component. The first component may include at least one of a menu component, a title component, and a playback component. In this embodiment, by dividing the component into first and second components and storing them in different layers, modularization and decoupling of the code are achieved, which helps reduce system complexity and improve development efficiency. Furthermore, the layered and component-based design makes the interactive interface easier to customize and extend. For example, new first components can be easily added to configure new interface presentation information, or new second components can be added to support the presentation effects of new media data.

[0079] Based on the above embodiments, the step of generating an interactive interface according to the plurality of target components configured by the pattern editing container may include: generating an initial editing interface according to the plurality of first components configured by the pattern editing container, and generating an interactive interface according to the second component and the initial editing interface. The initial editing interface can be understood as a visual interface generated according to the plurality of first components configured by the pattern editing container.

[0080] Specifically, multiple first components configured in the pattern editing container can be obtained from the first component layer. An initial editing interface can then be generated based on these first components. Afterwards, multiple second components configured in the pattern editing container can be obtained from the second component layer. An interactive interface can then be generated based on the second components and the initial editing interface.

[0081] In this embodiment of the disclosure, generating an initial editing interface based on a plurality of first components configured in the pattern editing container includes: for each first component configured in the pattern editing container, obtaining the component layout information of the first component. Thus, an initial editing interface can be generated based on the component layout information of each first component and the plurality of first components in the pattern editing container. Specifically, a blank visual interface can be constructed first. Then, based on the component layout information of each first component, each first component can be added to the blank visual interface, thereby obtaining a visual interface with the added first components, i.e., the initial editing interface.

[0082] In this embodiment of the disclosure, generating an interactive interface based on the second component and the initial editing interface includes: obtaining component layout information for each of the second components configured in the mode editing container. Then, an interactive interface can be generated based on the component layout information of each second component and multiple second components in the mode editing container. Specifically, each second component can be added to the initial editing interface according to its component layout information. This results in a visual interface with the added second components, i.e., the interactive interface.

[0083] The technical solution of this disclosure embodiment includes an interface display element comprising multiple target components. An interactive interface can be generated and displayed by configuring the multiple target components according to the pattern editing container. The technical solution of this disclosure embodiment implements the function of generating an interactive interface by configuring the multiple target components according to the pattern editing container.

[0084] As an optional embodiment of this disclosure, this disclosure provides a schematic diagram of an architecture for producing interactive interfaces. See also... Figure 5 In this embodiment of the disclosure, the architecture for generating the interactive interface may, from bottom to top, include a program data layer, an interface layer, a second component layer, a first component layer, and an editing container layer. Based on this architecture, the steps for displaying the interactive interface corresponding to the media data editing mode include:

[0085] Step 1: After receiving an edit trigger operation, multiple preset media data editing modes can be displayed. After receiving a mode selection operation for a media data editing mode, a target mode editing container corresponding to the media data editing mode can be determined from multiple preset mode editing containers in the editing container layer. In this embodiment, the mode editing container is configured with multiple target components in the interactive interface corresponding to the media data editing mode. The target component includes a first component and a second component. The target component includes a first component and a second component, the second component is used to edit the presentation effect of the media data, and the first component is used to configure the interface presentation information of the second component; multiple first components are stored in a first component layer, and multiple second components are stored in a second component layer.

[0086] For example, the preset mode editing containers in the editing container layer include mode editing container A, mode editing container B, and mode editing container C. Mode editing container A corresponds to media data editing mode A, mode editing container B corresponds to media data editing mode B, and mode editing container C corresponds to media data editing mode C. When the media data editing mode selected in the editing trigger operation is media data editing mode B, it can be determined that mode editing container B corresponding to media data editing mode B is configured with multiple target components in the interactive interface corresponding to media data editing mode B. Among them, the target components include a menu component located in the first component layer and a text component located in the second component layer.

[0087] Step two: First, obtain multiple first components configured in the pattern editing container from the first component layer. Then, determine the interface corresponding to each first component from the interface layer. Thus, the first program data corresponding to each first component in the program data layer can be called through the interface corresponding to each first component to obtain the initial editing interface. Next, obtain multiple second components configured in the pattern editing container from the second component layer. Then, determine the interface corresponding to each second component from the interface layer. Thus, the second program data corresponding to each second component in the program data layer can be called through the interface corresponding to each second component to add the second component to the initial editing interface to obtain the interactive interface.

[0088] Continuing the previous example, the menu component is obtained from the first component layer, and the component style information of the title component is determined. Then, the interface corresponding to the menu component, i.e., interface A, can be determined from the interface layer. The component style information of the menu component can then be passed to the corresponding program data A in the program data layer. Executing program data A adds the menu component to the blank visual interface, resulting in the initial editing interface. Next, the interface corresponding to the text component, i.e., interface B, is determined from the interface layer. The component style information of the text component can then be passed to the corresponding program data C in the program data layer. Executing program data C adds the text component to the initial editing interface, generating an interactive interface, which is then sent to the interface display interface in the interface layer. The interactive interface can then be displayed through the interface display interface.

[0089] The technical solution of this disclosure provides an interactive interface by providing an architecture for generating the interactive interface, thereby improving the convenience, operational efficiency, and flexibility of media data editing.

[0090] Figure 6 This is a schematic diagram of the structure of a media data processing apparatus provided in an embodiment of the present disclosure, as shown below. Figure 6 As shown, the device includes an editing trigger module 410 and an interface display module 420.

[0091] The editing trigger module 410 is used to display multiple preset media data editing modes in response to an editing trigger operation; wherein at least some of the interface display information of the interactive interface corresponding to different media data editing modes is different; the interface display module 420 is used to receive a mode selection operation for the media data editing mode, and display the interactive interface according to the mode selection operation and the media data editing mode.

[0092] The technical solution of this embodiment displays multiple preset media data editing modes in response to an editing trigger operation via an editing trigger module 410, supporting visual editing of media data. Since at least some of the interface information displayed by the interactive interface corresponding to different media data editing modes is different, setting corresponding interactive interfaces for different media data editing modes can greatly improve the convenience and operational efficiency of media data editing. Subsequently, the interface display module 420 receives a mode selection operation for the media data editing mode and displays an interactive interface based on the mode selection operation and the media data editing mode. This supports flexible selection of media data editing modes based on simple interactive operations, allowing for convenient media data editing through the interactive interface. This solves the technical problems of difficult operation and low editing efficiency in related technologies, achieving the effect of improving the convenience, operational efficiency, and flexibility of media data editing.

[0093] Based on any optional technical solution in the embodiments of this disclosure, optionally, the interface display module 420 is used to determine a mode editing container according to the mode selection operation and the media data editing mode, and display an interactive interface according to the mode editing container; wherein, the mode editing container is configured with interface display elements in the interactive interface corresponding to the media data editing mode.

[0094] Based on any optional technical solution in the embodiments of this disclosure, the interface display elements may optionally include multiple target components; the interface display module 420 is used to generate an interactive interface according to the multiple target components configured by the mode editing container, and display the interactive interface.

[0095] Based on any optional technical solution in the embodiments of this disclosure, the target component may optionally include a first component and a second component, wherein the second component is used to edit the presentation effect of media data, and the first component is used to configure the interface presentation information of the second component; a plurality of the first components are stored in a first component layer, and a plurality of the second components are stored in a second component layer.

[0096] Based on any optional technical solution in the embodiments of this disclosure, the interface display module 420 is optionally configured to generate an initial editing interface based on the multiple first components configured in the mode editing container, and to generate an interactive interface based on the second component and the initial editing interface.

[0097] Based on any optional technical solution in the embodiments of this disclosure, the interface display module 420 is optionally used to determine the target interface corresponding to each target component from the interface layer, and call the target program data corresponding to the target component in the program data layer through the target interface to obtain the interactive interface.

[0098] Based on any optional technical solution in the embodiments of this disclosure, the media data processing device may optionally further include a mode editing container configuration module, used to receive a component configuration operation for a media data editing mode before displaying multiple preset media data editing modes, or after receiving a mode selection operation for the media data editing mode, and generate a mode editing container according to the component configuration operation, wherein the mode editing container is configured with multiple target components presented in the interactive interface corresponding to the media data editing mode.

[0099] Based on any optional technical solution in the embodiments of this disclosure, the media data editing mode is optionally associated with media data editing information; the media data editing information includes at least one of the media data to be edited, optional editing elements, and the target file obtained from the editing; the target file includes special effects files and / or template files.

[0100] The media data processing apparatus provided in this disclosure can execute the media data processing method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the media data processing method.

[0101] 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.

[0102] The following is for reference. Figure 7 The diagram illustrates a structural schematic of an electronic device (e.g., a terminal device or a server) 700 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure 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), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 7 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0103] like Figure 7As shown, the electronic device 700 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. The RAM 703 also stores various programs and data required for the operation of the electronic device 700. The processing unit 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0104] Typically, the following devices can be connected to I / O interface 705: input devices 706 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 707 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 708 including, for example, magnetic tapes, hard disks, etc.; and communication devices 709. Communication device 709 allows electronic device 700 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 7 An electronic device 700 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.

[0105] 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 methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 709, or installed from storage device 708, or installed from ROM 702. When the computer program is executed by processing device 701, it performs the functions defined in the methods of embodiments of this disclosure.

[0106] 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.

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

[0108] This disclosure provides a computer storage medium storing a computer program that, when executed by a processor, implements the media data processing method provided in the above embodiments.

[0109] 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.

[0110] According to one or more embodiments of this disclosure, [Example 1] provides a method for processing media data, including:

[0111] In response to an edit trigger operation, multiple preset media data editing modes are displayed; wherein at least some of the interface display information of the interactive interface corresponding to different media data editing modes is different; a mode selection operation for the media data editing mode is received, and an interactive interface is displayed according to the mode selection operation and the media data editing mode.

[0112] According to one or more embodiments of this disclosure, Example 2 provides the method of Example 1, further comprising: optionally,

[0113] The step of displaying the interactive interface according to the mode selection operation and the media data editing mode includes: determining a mode editing container according to the mode selection operation and the media data editing mode, and displaying the interactive interface according to the mode editing container; wherein, the mode editing container is configured with interface display elements in the interactive interface corresponding to the media data editing mode.

[0114] According to one or more embodiments of this disclosure, Example 3 provides the method of Example 1, further comprising: optionally,

[0115] The interface display elements include multiple target components; the step of displaying the interactive interface according to the mode editing container includes: generating an interactive interface according to the multiple target components configured by the mode editing container, and displaying the interactive interface.

[0116] According to one or more embodiments of this disclosure, Example 4 provides the method of Example 1, further comprising: optionally,

[0117] The target component includes a first component and a second component. The second component is used to edit the presentation effect of media data, and the first component is used to configure the interface presentation information of the second component. Multiple first components are stored in a first component layer, and multiple second components are stored in a second component layer.

[0118] According to one or more embodiments of this disclosure, Example 5 provides the method of Example 1, further comprising: optionally,

[0119] The step of generating an interactive interface based on the multiple target components configured according to the pattern editing container includes: generating an initial editing interface based on the multiple first components configured according to the pattern editing container, and generating an interactive interface based on the second component and the initial editing interface.

[0120] According to one or more embodiments of this disclosure, Example Six provides the method of Example One, further comprising: optionally,

[0121] The step of generating an interactive interface for multiple target components configured according to the mode editing container includes: determining the target interface corresponding to each target component from the interface layer, and calling the target program data corresponding to the target component in the program data layer through the target interface to obtain the interactive interface.

[0122] According to one or more embodiments of this disclosure, Example 7 provides the method of Example 1, which further includes: optionally,

[0123] Before displaying multiple preset media data editing modes, or after receiving a mode selection operation for the media data editing mode, the method further includes: receiving a component configuration operation for the media data editing mode, and generating a mode editing container according to the component configuration operation, wherein the mode editing container is configured with multiple target components presented in the interactive interface corresponding to the media data editing mode.

[0124] According to one or more embodiments of this disclosure, Example 8 provides the method of Example 1, further comprising: optionally,

[0125] The media data editing mode is associated with media data editing information; the media data editing information includes at least one of the following: the media data being edited, optional editing elements, and the target file obtained from the editing; the target file includes special effects files and / or template files.

[0126] According to one or more embodiments of this disclosure, [Example Nine] provides a media data processing apparatus, including:

[0127] An editing trigger module is used to display multiple preset media data editing modes in response to an editing trigger operation; wherein at least some of the interface display information of the interactive interface corresponding to different media data editing modes is different; an interface display module is used to receive a mode selection operation for the media data editing mode, and display the interactive interface according to the mode selection operation and the media data editing mode.

[0128] 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.

[0129] 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.

[0130] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to: display multiple preset media data editing modes in response to an editing trigger operation; wherein at least a portion of the interface display information of the interactive interface corresponding to different media data editing modes is different; receive a mode selection operation for the media data editing mode, and display an interactive interface according to the mode selection operation and the media data editing mode.

[0131] 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).

[0132] 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.

[0133] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The names of the units are not necessarily limiting in certain circumstances; for example, the interface display module can also be described as "a module that displays an interactive interface based on mode selection operation and media data editing mode".

[0134] 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.

[0135] 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.

[0136] 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.

[0137] 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.

[0138] 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 of processing media data, the method comprising: include: In response to an edit trigger operation, multiple preset media data editing modes are displayed; wherein, at least some of the interface information displayed on the interactive interface corresponding to different media data editing modes is different; Receive a mode selection operation for the media data editing mode, and display an interactive interface based on the mode selection operation and the media data editing mode.

2. The method of processing media data according to claim 1, wherein, The step of displaying the interactive interface based on the mode selection operation and the media data editing mode includes: A mode editing container is determined based on the mode selection operation and the media data editing mode, and an interactive interface is displayed based on the mode editing container; wherein, the mode editing container is configured with the interface display elements in the interactive interface corresponding to the media data editing mode.

3. The method of processing media data according to claim 2, wherein, The interface display elements include multiple target components; the step of displaying the interactive interface according to the mode editing container includes: An interactive interface is generated from multiple target components configured according to the pattern editing container, and the interactive interface is displayed.

4. The method of processing media data according to claim 3, wherein, The target component includes a first component and a second component. The second component is used to edit the presentation effect of media data, and the first component is used to configure the interface presentation information of the second component. Multiple first components are stored in a first component layer, and multiple second components are stored in a second component layer.

5. The method of processing media data according to claim 4, wherein, The step of generating an interactive interface for multiple target components configured according to the pattern editing container includes: An initial editing interface is generated based on the multiple first components configured in the mode editing container, and an interactive interface is generated based on the second component and the initial editing interface.

6. The method of processing media data according to claim 3, wherein, The step of generating an interactive interface for multiple target components configured according to the pattern editing container includes: The target interface corresponding to each target component is determined from the interface layer, and the target program data corresponding to the target component in the program data layer is called through the target interface to obtain the interactive interface.

7. The method of processing media data according to claim 1, wherein, Before displaying multiple preset media data editing modes, or after receiving a mode selection operation for the media data editing mode, the method further includes: Receive component configuration operations for media data editing modes, and generate a mode editing container based on the component configuration operations, wherein the mode editing container is configured with multiple target components presented in the interactive interface corresponding to the media data editing mode.

8. The method of processing media data according to claim 1, wherein, The media data editing mode is associated with media data editing information; the media data editing information includes at least one of the following: the media data being edited, optional editing elements, and the target file obtained after editing. The target files include special effects files and / or template files.

9. An apparatus for processing media data, the apparatus comprising: include: An editing trigger module is used to display multiple preset media data editing modes in response to an editing trigger operation; wherein, at least some of the interface information displayed on the interactive interface corresponding to different media data editing modes is different; The interface display module is used to receive mode selection operations for the media data editing mode, and display an interactive interface according to the mode selection operations and the media data editing mode.

10. An electronic device, comprising: 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 media data processing method as described in any one of claims 1-8.

11. A storage medium containing computer-executable instructions, wherein: The computer-executable instructions, when executed by a computer processor, are used to perform the media data processing method as described in any one of claims 1-8.

12. A computer program product comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the media data processing method as described in any one of claims 1-8.