Media content generation method and apparatus, and medium and electronic device

Through the template resource package mechanism, sharing the same resource package to generate different special effects diagrams, solving the storage and human resource waste caused by each special-effect independent resource package in the existing technology, and achieving more efficient resource utilization.

WO2025156864A1PCT designated stage Publication Date: 2025-07-31BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/139080
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-24
Filing Date
2024-12-13
Publication Date
2025-07-31

AI Technical Summary

Technical Problem

In the prior art, each special effect corresponds to an independent resource package, occupying a large amount of storage resources and consuming large amounts of human resources.

Method used

The template resource package mechanism is adopted to obtain template resource packages and special effect configuration data associated with the target media content through the client, share the same template resource package to generate special effects diagrams with different special effects, reducing storage and human resources occupation.

Benefits of technology

Generating different special effects diagrams by sharing template resource packages reduces storage resource usage and human resource consumption and improves resource utilization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024139080_31072025_PF_FP_ABST
    Figure CN2024139080_31072025_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to the technical field of electronic information, and in particular relates to a media content generation method and apparatus, and a medium and an electronic device. The media content generation method comprises: in response to a trigger operation with regard to first target media content in a client, by means of the client, acquiring a template resource packet associated with the first target media content, and special-effect configuration data corresponding to a plurality of special effects; running the template resource packet in the client, and transmitting, by means of the client and to the template resource packet, the special-effect configuration data corresponding to the special effects, so as to execute a request for a server end by means of the template resource packet and on the basis of the special-effect configuration data corresponding to the special effects, and to generate a special-effect image based on each special effect; and in a media content editing interface of the client, displaying the special-effect image corresponding to each special effect.
Need to check novelty before this filing date? Find Prior Art

Description

Media content generation method, device, medium and electronic equipment

[0001] This application claims priority to Chinese Patent Application No. 202410102988.6 filed on January 24, 2024, and the contents of the above-mentioned Chinese patent application disclosure are hereby incorporated by reference in their entirety as a part of this application. Technical Field

[0002] Embodiments of the present disclosure relate to a method, apparatus, medium, and electronic device for generating media content. Background Art

[0003] Some platforms support users in generating their own media content based on special effects already published on the platform. However, in the current creation of media content, each special effect requires an independent resource package, which takes up a lot of storage resources. In addition, the launch, deployment and maintenance of these special effects require a lot of human resources. Summary of the Invention

[0004] The present disclosure provides a method for generating media content, comprising:

[0005] In response to a triggering operation on a first target media content in a client, obtaining, through the client, a template resource package associated with the first target media content and special effect configuration data corresponding to a plurality of special effects;

[0006] Running the template resource package in the client, and transmitting the special effect configuration data corresponding to each special effect to the template resource package through the client, so that the template resource package executes a request to the server according to the special effect configuration data corresponding to each special effect to generate a special effect graph based on each special effect;

[0007] The special effect images corresponding to the special effects are displayed in the media content editing interface of the client.

[0008] The present disclosure provides a media content generation device, comprising:

[0009] A first response module is configured to, in response to a triggering operation on a first target media content in a client, obtain, through the client, a template resource package associated with the first target media content and special effect configuration data corresponding to a plurality of special effects;

[0010] a generation module configured to run the template resource package in the client, and transmit the special effect configuration data corresponding to each special effect to the template resource package through the client, so as to execute a request to the server through the template resource package according to the special effect configuration data corresponding to each special effect to generate a special effect graph based on each special effect;

[0011] The first display module is configured to display special effect images corresponding to each of the special effects in the media content editing interface of the client.

[0012] The present disclosure provides a computer-readable medium having a computer program stored thereon, which implements the above-mentioned media content generation method when executed by a processing device.

[0013] The present disclosure provides an electronic device, comprising:

[0014] a storage device having a computer program stored thereon;

[0015] The processing device is configured to execute the computer program in the storage device to implement the above-mentioned media content generation method. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale. In the drawings:

[0017] FIG1 is a flow chart of generating media content based on different special effects shown in the present disclosure.

[0018] FIG2 is a flowchart showing a method for generating media content according to an exemplary embodiment of the present disclosure.

[0019] FIG3 is another flowchart of a method for generating media content according to an exemplary embodiment of the present disclosure.

[0020] FIG4 is a schematic diagram of a media content editing interface according to an exemplary embodiment of the present disclosure.

[0021] FIG5 is another flowchart of a method for generating media content according to an exemplary embodiment of the present disclosure.

[0022] FIG6 is a block diagram showing a device for generating media content according to an exemplary embodiment of the present disclosure.

[0023] FIG7 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

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

[0026] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.

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

[0028] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0029] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0030] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0031] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested 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 electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.

[0032] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0033] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0034] At the same time, it is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.

[0035] Some platforms allow users to generate media content with corresponding special effects based on the special effects published on the platform. For example, each special effect corresponds to an independent resource compression package, such as a ZIP compression package, which includes some protocol files, media resources, and script programs. By calling the script program, the interaction logic with the client and server is implemented based on the protocol files and media resources, and then the media content with the corresponding special effects is generated.

[0036] For example, taking the special effects as artificial intelligence (AI) special effects as an example, Figure 1 is a flow chart of generating media content based on different special effects shown in the present disclosure. In Figure 1, different AI special effects correspond to different resource compression packages. By running the resource compression packages corresponding to different AI special effects, the corresponding AIGC (Artificial Intelligence Generated Content) request is executed to the server, and then the effect image of the corresponding AI special effect is generated. In Figure 1, the interactive links of the AI ​​special effects are basically the same. The main difference is that the request body carried by the request server is different, that is, the AIGC request sent to the server is different, so as to obtain the effect image of the corresponding special effect. However, at present, each AI special effect corresponds to a resource compression package, which occupies a large amount of storage resources for the terminal used to store the resource compression package. In addition, each AI special effect needs to be launched, deployed and maintained separately, which requires a large amount of human resources.

[0037] In view of this, the embodiments of the present disclosure provide a media content generation method, apparatus, medium, and electronic device to solve the problem that each special effect corresponds to an independent resource package, thereby occupying more storage resources and consuming more human resources.

[0038] FIG2 is a flow chart of a method for generating media content according to an exemplary embodiment of the present disclosure. The method can be executed by a media content generation device, wherein the device can be implemented by software and / or hardware and can be configured in an electronic device, typically a mobile phone or tablet computer. Referring to FIG2 , the media content generation method may include the following steps:

[0039] Step 210: In response to a triggering operation on the first target media content in the client, obtaining, through the client, a template resource package associated with the first target media content and special effect configuration data corresponding to a plurality of special effects;

[0040] Step 220: Run the template resource package in the client, and transmit the special effect configuration data corresponding to each special effect to the template resource package through the client, so that the template resource package executes a request to the server to generate a special effect graph based on each special effect according to the special effect configuration data corresponding to each special effect;

[0041] Step 230: Display the special effect images corresponding to the special effects in the media content editing interface of the client.

[0042] In this embodiment, the client can be understood as an application program, and the client can be installed in an electronic device.

[0043] In this embodiment, the triggering operation for the first target media content can be triggered based on a user's click operation. As an example, the first target media content can be displayed in the client's information stream. The user clicks on a control that provides the same AI special effects as the displayed first target media content to trigger the first target media content.

[0044] In this embodiment, the client can parse the first target media content to obtain the template resource package identifier and special effect configuration parameters associated with the first target media content. The special effect configuration parameters are parameters used to request special effect configuration. The special effect configuration parameters can be associated with special effect configuration data of multiple special effects. The special effect configuration data can be pulled by the client from the server. The template resource package identifier is used to identify a unique template resource package. The template resource package can be downloaded by the client from the server.

[0045] As an example, the special effect configuration data corresponding to the multiple special effects associated with the special effect configuration parameters may be configured by a developer through a configuration operation, that is, the developer configures the multiple special effects shared by the same template resource package.

[0046] As an example, special effect configuration data may be represented by a file in JSON format.

[0047] In this embodiment, the special effect may be an AI special effect, which is described below using the AI ​​special effect as an example. The AI ​​special effect may be used to process a character image to obtain a stylized image.

[0048] It is worth noting that the special effect graph corresponding to each special effect can be the media content obtained by superimposing AI special effects on the original media resources. The original media resources can be image resources or video resources uploaded by the user or taken by the user. For example, before entering the media content editing interface, the client can respond to the trigger operation for the first target media content in the client to enter the media resource acquisition interface, that is, the user can use the same special effects to create based on the first target media content with special effects posted by other users. Among them, the media resource acquisition interface can provide a shooting entrance, so that users can shoot online to obtain original media resources. In addition, the media resource acquisition interface can also provide an entrance to browse local resources, so that users can upload original media resources by browsing the local resources of electronic devices. As an example, the original media resource can be the above-mentioned character image.

[0049] In this embodiment, multiple special effects share a template resource package. The template resource package has complete special effect code and can be run in the client. The template resource package is responsible for information interaction with the client and server respectively to complete the generation and release of special effect images based on special effects.

[0050] In this embodiment, the request executed by the template resource package to the server is the AIGC request mentioned above.

[0051] Figure 3 is another flow chart of a method for generating media content according to an exemplary embodiment of the present disclosure. Referring to Figure 3, AI special effects A, AI special effects B, and AI special effects C are different AI special effects. AI special effects A, AI special effects B, and AI special effects C share a template resource compression package (i.e., a template resource package), and the parameters corresponding to AI special effects A, AI special effects B, and AI special effects C (i.e., special effect configuration data) are passed to the template resource compression package. The template resource compression package is run, and an AIGC request is made to the server according to the parameters corresponding to AI special effects A, AI special effects B, and AI special effects C, to generate special effect graphs with AI special effects A, AI special effects B, and AI special effects C, respectively.

[0052] Through the above method, multiple special effects share the same template resource package. By passing the special effect configuration data of different special effects into the template resource package, the template resource package executes the request for the corresponding special effect to the server to generate the special effect graph corresponding to the corresponding special effect, thereby realizing the generation of differentiated special effect graphs based on the same template resource package, reducing the resource package's occupation of memory resources, and at the same time reducing the resource package's occupation of human resources.

[0053] In some embodiments, the media content editing interface may include a first display area, which may display multiple slots, each slot corresponding to a special effect. The above-mentioned step of displaying special effect images corresponding to each special effect in the media content editing interface of the client can be implemented in the following manner: in the slots displayed in the media content editing interface, the first special effect image of the special effect corresponding to the slot is displayed, and the first special effect image includes a thumbnail.

[0054] A thumbnail is a small image of an image that has been compressed. Figure 4 is a schematic diagram of a media content editing interface according to an exemplary embodiment of the present disclosure. In Figure 4, a plurality of slots are displayed in the first display area, each slot corresponding to a special effect. The first display area can support a user sliding operation to switch the currently selected slot.

[0055] In the above manner, the server is requested to generate thumbnails based on different special effects based on the template resource package, so that the thumbnails generated based on different special effects can be displayed in the corresponding slots to show the special effects pictures of different special effects to the user.

[0056] In some embodiments, the media content editing interface may further include a second display area. The above-mentioned step of displaying the special effect images corresponding to each special effect in the media content editing interface of the client may further include: displaying the second special effect image corresponding to the special effect of the currently selected slot in the second display area, and the first special effect image is a special effect image obtained by compressing the corresponding second special effect image.

[0057] 4 , the second display area is larger than the first display area, and the second display area is used to display the second special effect image corresponding to the feature of the currently selected slot. As an example, the first special effect image can be a special effect image obtained by compressing the size of the second special effect image.

[0058] It is worth noting that before the user performs the slot switching operation, the currently selected slot is the slot corresponding to the special effect used by the first target media content. As can be seen from the above content, the first display area can support the user to perform a sliding operation to switch the currently selected slot, and the first special effect image and the second special effect image corresponding to the currently selected slot will both be enhanced. Among them, the enhanced display, for example, will display a special effect label above the first special effect image, and the second special effect image corresponding to the first special effect image will be displayed in the second display area. For the special effect label, please refer to the following related embodiments, which will not be described in detail in this embodiment.

[0059] By using the above method, the uncompressed media content with special effects is displayed in the second display area, so that the user can preview the special effects image with richer image content.

[0060] In other embodiments, the above-mentioned media content generation method may also include: in response to a slot switching operation on the media content editing interface, updating a first special effect diagram of the special effect corresponding to the slot displayed in the media content editing interface, and a second special effect diagram of the special effect corresponding to the currently selected slot.

[0061] As can be seen from the above content, the first display area can support the user to perform a sliding operation to switch the currently selected slot. Therefore, the slot displayed in the media content editing interface will also be updated.

[0062] Furthermore, when the client responds to the slot switching operation on the media content editing interface, the first special effect image corresponding to the special effect of the slot displayed in the media content editing interface and the second special effect image corresponding to the special effect of the currently selected slot can be updated.

[0063] In some embodiments, the above-mentioned media content generation method may further include: displaying a special effect label of the special effect corresponding to the currently selected slot in the media content editing interface.

[0064] The special effect configuration data may include a special effect tag, which is used to describe the style of the corresponding special effect, such as realistic style and cartoon style, etc. As an example, the special effect tag of the special effect may be displayed above the currently selected slot.

[0065] Through the above method, the special effect label corresponding to the currently selected slot can be displayed in the media content editing interface, so that the user can clearly understand the special effect style of the special effect applied to the original media resource.

[0066] In some embodiments, the media content generation method may further include: in response to a publishing operation on the second target media content in the media content editing interface, publishing the second target media content carrying the anchor point to the information flow of the client.

[0067] It is worth noting that, based on the client's information flow, the user can browse media content created by other users or the user himself. The media content here may include media content created by other users using special effects corresponding to the second target media content.

[0068] Among them, the anchor point is used to link to the special effect details page, which may include media content generated based on the special effects corresponding to the second target media content. The media content here may include content created by other users using the special effects corresponding to the second target media content.

[0069] The second target media content includes a second special effect image. As another example, the second target media content includes not only the second special effect image but also other content such as audio, stickers, and subtitles. The user can edit the audio, stickers, and subtitles through the editing portal provided in the media content editing interface. For example, referring to FIG4 , the user can add corresponding audio to the second special effect image through the control for adding music.

[0070] In other embodiments, the special effect details page may also include an entry that allows the user to trigger a publishing operation. Continuing with Figure 4 , the user can click the "Next" button shown in Figure 4 to trigger the publishing operation. During publishing, the user can select a tag description corresponding to the anchor point based on the client, and the corresponding tag description will be displayed simultaneously with the first media content in the information stream. Based on this, the user can click the tag description to link to the special effect details page.

[0071] Through the above method, fast browsing of media content with special effects is achieved based on anchor points.

[0072] In some embodiments, the above-mentioned media content generation method may further include: in response to the client receiving a message indicating generation failure, displaying a prompt message for regenerating the special effect image on the media content editing interface.

[0073] The generation failure message can be sent by the template resource package to the client, while the generation failure message can be sent by the server to the template resource package. That is, if the rendering or generation of the first special effect image or the second special effect image fails, the server will send a notification message to the template resource package to inform the template resource package of the generation or rendering failure of the special effect image. The template resource package can then pass the generation failure message to the client to inform the client of the generation or rendering failure of the special effect image.

[0074] The prompt message can be used to trigger the template resource package to re-execute the AIGC request. For example, a user can click the prompt message on the client to trigger the template resource package to re-execute the AIGC request, thereby regenerating and rendering the first special effect image or the second special effect image, and displaying the first special effect image or the second special effect image on the client.

[0075] In the above manner, by using prompt messages, the user can easily re-trigger the process of generating or rendering the corresponding special effects image.

[0076] FIG5 is another flow chart of a method for generating media content according to an exemplary embodiment of the present disclosure. Referring to FIG5 , a user clicks on a "Same Style" button displayed on the client through a client, and the client parses the resource clicked by the user to obtain a template resource package identifier and special effect configuration parameters. The client downloads the template resource package from the server based on the template resource package identifier. The client pulls special effect configuration data for multiple special effects from the server based on the special effect configuration parameters, and the server returns the special effect configuration data for the multiple special effects to the client. After receiving the special effect configuration data for the multiple special effects, the client can enter the media content editing interface and run the template resource package. After the client receives an AIGCReady message from the template resource package, the client displays a special effect label based on the special effect configuration data, and the client can pass the special effect configuration data for the multiple special effects to the template resource package, so that the template resource package can request the server to generate special effect images based on the special effect configuration data for the multiple special effects. The client receives an AIGCResponse success message from the template resource package, and can then display a first special effect image corresponding to the special effect slot displayed in the media content editing interface and a second special effect image corresponding to the special effect slot currently selected.

[0077] The user can trigger the slot switching operation in the media content editing interface to switch the currently selected slot. The client sends an AIGCSelect message to the template resource package to notify the template resource package to render a second special effect image based on the special effect corresponding to the slot selected by the user; if the template resource package fails to render, it can send an AIGCFailed message (i.e., a message of generation failure) to the client, and the client can display a prompt message to prompt the user to re-trigger the template resource package and re-execute the request to re-render the second special effect image; after the re-rendering is successful, the AIGCResponse success message is sent to the client, and the client can update the first special effect image of the displayed slot and the second special effect image corresponding to the special effect of the currently selected slot.

[0078] Through the above method, the AI ​​special effects are abstracted into a template resource package that can accept parameter configuration, and the special effect parameters of different special effects are passed into the template resource package, so as to achieve the generation of special effect images of different special effects using the same template resource package.

[0079] FIG6 is a block diagram of a media content generation device according to an exemplary embodiment of the present disclosure. Referring to FIG6 , the media content generation device 600 includes:

[0080] The first response module 601 is configured to, in response to a triggering operation on the first target media content in the client, obtain, through the client, a template resource package associated with the first target media content and special effect configuration data corresponding to a plurality of special effects;

[0081] The generation module 602 is configured to run the template resource package in the client, and transmit the special effect configuration data corresponding to each special effect to the template resource package through the client, so that the template resource package can execute a request to the server to generate a special effect graph based on each special effect according to the special effect configuration data corresponding to each special effect;

[0082] The first display module 603 is configured to display special effect images corresponding to various special effects in the media content editing interface of the client.

[0083] Optionally, the media content editing interface includes a first display area, the first display area includes multiple slots, each slot corresponds to a special effect, and the first display module 603 is specifically configured as follows:

[0084] In a slot displayed in the media content editing interface, a first special effect image of a special effect corresponding to the slot is displayed, and the first special effect image includes a thumbnail.

[0085] Optionally, the media content editing interface further includes a second display area, and the first display module 603 is further configured to:

[0086] In the second display area, a second special effect image corresponding to the special effect of the currently selected slot is displayed, and the first special effect image is obtained by compressing the corresponding second special effect image.

[0087] Optionally, the media content generating device 600 further includes:

[0088] The second display module is configured to display a special effect label of the special effect corresponding to the currently selected slot in the media content editing interface.

[0089] Optionally, the media content generating device 600 further includes:

[0090] The second response module is configured to update the first special effect diagram of the special effect corresponding to the slot displayed in the media content editing interface and the second special effect diagram of the special effect corresponding to the currently selected slot in response to the slot switching operation on the media content editing interface.

[0091] Optionally, the media content generating device 600 further includes:

[0092] A third response module is configured to respond to a publishing operation on the second target media content in the media content editing interface and publish the second target media content carrying the anchor point to the information flow of the client;

[0093] The second target media content includes a second special effect image, and the anchor point is used to link to a special effect details page, which includes media content generated based on the special effect corresponding to the second target media content.

[0094] Optionally, the media content generating device 600 further includes:

[0095] The fourth response module is configured to display a prompt message for regenerating the special effect image on the media content editing interface in response to the client receiving a message indicating that the generation failed.

[0096] The specific implementation of each module in the media content generating device 600 may refer to the above-mentioned related embodiments, and will not be described in detail in this embodiment.

[0097] Based on the same concept, an embodiment of the present disclosure further provides a computer-readable medium having a computer program stored thereon, which implements the steps of the above-mentioned media content generation method when executed by a processing device.

[0098] Based on the same concept, an embodiment of the present disclosure further provides an electronic device, including:

[0099] a storage device having a computer program stored thereon;

[0100] The processing device is configured to execute the computer program in the storage device to implement the steps of the above-mentioned media content generation method.

[0101] Reference is now made to FIG7 , which illustrates a schematic diagram of the structure of an electronic device 700 suitable for implementing embodiments of the present disclosure. Terminal devices in embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device illustrated in FIG7 is merely an example and should not limit the functionality or scope of use of embodiments of the present disclosure.

[0102] As shown in Figure 7, electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, 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. Various programs and data required for the operation of electronic device 700 are also stored in RAM 703. Processing device 701, ROM 702, and RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to bus 704.

[0103] Typically, the following devices may be connected to the I / O interface 705: an input device 706 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although FIG. 7 shows the electronic device 700 with various devices, it should be understood that not all of the devices shown are required to be implemented or present. More or fewer devices may be implemented or present instead.

[0104] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 709, or installed from the storage device 708, or installed from the ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.

[0105] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0106] In some embodiments, the electronic devices can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.

[0107] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0108] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: responds to a trigger operation for the first target media content in the client, and obtains a template resource package associated with the first target media content and special effect configuration data corresponding to multiple special effects through the client; runs the template resource package in the client, and transmits the special effect configuration data corresponding to each special effect to the template resource package through the client, so that the template resource package executes a request to the server to generate a special effect graph based on each special effect according to the special effect configuration data corresponding to each special effect; and displays the special effect graph corresponding to each special effect in the media content editing interface of the client.

[0109] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0110] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0111] The modules described in the embodiments of the present disclosure may be implemented in software or hardware, wherein the name of a module does not necessarily limit the module itself.

[0112] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

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

[0114] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.

[0115] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0116] Although the subject matter has been described using language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims. Regarding the apparatus in the above-described embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method and will not be elaborated upon here.

Claims

1. A method for generating media content, comprising: In response to a trigger operation for a first target media content within a client, obtaining, by the client, a template resource package associated with the first target media content and special effect configuration data corresponding to a plurality of special effects; Running the template resource package within the client, and transmitting, by the client, the special effect configuration data corresponding to each special effect to the template resource package, so that the template resource package executes a request to a server to generate special effect images based on the special effect configuration data corresponding to each special effect; Displaying, in a media content editing interface of the client, the special effect images respectively corresponding to each special effect.

2. The method according to claim 1, wherein The media content editing interface includes a first display area, the first display area includes a plurality of slots, each slot corresponds to a special effect, and displaying, in the media content editing interface of the client, the special effect images respectively corresponding to each special effect includes: In the slots displayed in the media content editing interface, displaying a first special effect image of the special effect corresponding to the slot, wherein the first special effect image includes a thumbnail image.

3. The method according to claim 2, wherein, The media content editing interface further includes a second display area, and displaying, in the media content editing interface of the client, the special effect images respectively corresponding to each special effect further includes: In the second display area, displaying a second special effect image of the special effect corresponding to the currently selected slot, wherein the first special effect image is obtained by compressing the corresponding second special effect image.

4. The method according to claim 3, further comprising: Displaying, in the media content editing interface, a special effect label of the special effect corresponding to the currently selected slot.

5. The method according to claim 3, further comprising: In response to a slot switching operation for the media content editing interface, updating and displaying the first special effect image of the special effect corresponding to the slot displayed in the media content editing interface, and the second special effect image of the special effect corresponding to the currently selected slot.

6. The method according to claim 3, further comprising: In response to a publishing operation for a second target media content in the media content editing interface, publishing the second target media content carrying an anchor point to the information stream of the client; wherein the second target media content includes the second special effect image, the anchor point is used to link to a special effect details page, and the special effect details page includes media content generated based on the special effect corresponding to the second target media content.

7. The method according to claim 1, further comprising: In response to the client receiving a message indicating generation failure, displaying, in the media content editing interface, a prompt message for regenerating the special effect image.

8. A media content generating apparatus, comprising: A first response module, configured to, in response to a trigger operation for a first target media content within a client, obtain, by the client, a template resource package associated with the first target media content and special effect configuration data corresponding to a plurality of special effects; A generation module, configured to run the template resource package within the client and transmit, through the client, the special effect configuration data corresponding to each special effect to the template resource package, so that the template resource package executes a request to the server based on the special effect configuration data corresponding to each special effect to generate a special effect map based on each special effect; And A first display module, configured to display, in a media content editing interface of the client, the special effect maps respectively corresponding to each special effect.

9. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by a processing device, it implements the method according to any one of claims 1-7.

10. An electronic device, characterized in that, Including: A storage device storing a computer program thereon; And A processing device, configured to execute the computer program in the storage device to implement the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Video production method and device, video sharing method and device, electronic equipment and storage medium

    CN112087652A

  • Special effect video determination method and device, electronic equipment and storage medium

    CN116847147A

  • Media content generation method and device, electronic equipment and storage medium

    CN116886989A

  • Media content generation method and device, medium and electronic equipment

    CN117939240A

  • Systems and Methods for Sharing Multimedia Editing Projects

    US20100325547A1