Video generation method and device, equipment and storage medium

By obtaining the video generation task identifier, users can exit the page during the execution of the video generation task and obtain the generated result video through the task notification message, solving the problem that users cannot exit the page during the video creation process, realizing asynchronous video creation and improving user experience.

CN119854594APending Publication Date: 2025-04-18BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311340290.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-16
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

In the prior art, the user is unable to exit the page during the video creation process during the video generation task execution, resulting in the user being stuck in a long wait, and once the creation is forced to exit, the creation fails.

Method used

By obtaining the video generation task identifier, users can exit the video generation page during the video generation task execution, and obtain the generated result video through the task notification message, supporting asynchronous video creation.

Benefits of technology

This enables users to freely exit the page during the execution of video generation tasks without affecting the completion of the task, improving the user experience and avoiding long-term waiting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854594A_ABST
    Figure CN119854594A_ABST
Patent Text Reader

Abstract

The invention provides a video generation method and device, equipment and a storage medium, and the method comprises the steps: obtaining a video generation task identifier in response to a video generation task submission operation acting on a video shooting page, and displaying a video generation page, the video generation task identifier is used for identifying a video generation task corresponding to the video generation task submission operation, execution progress information of the video generation task is displayed on the video generation page, in response to a page exit operation acting on the video generation page, the video generation page is exited, and a task notification message is displayed, the task notification message is used for triggering a generation result video of the video generation task obtained based on the video generation task identifier.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing, and in particular to a video generation method, device, equipment and storage medium. Background Art

[0002] Currently, generating special effects videos through image materials is a popular way to create videos. Most of the existing special effects video creation scenarios use synchronous solutions, that is, after users upload image materials, they need to wait for the algorithm model to complete the rendering and synthesis before they can exit the current video creation page. In other words, during the rendering and synthesis process of the algorithm model, users cannot perform other creations. Once they forcibly exit from the current video creation page, the creation fails.

[0003] In the above implementation, if a single video creation requires a long algorithm model processing time, the user will be forced to wait for a long time. Summary of the invention

[0004] In order to solve the above technical problems, an embodiment of the present disclosure provides a video generation method.

[0005] In a first aspect, the present disclosure provides a video generation method, the method comprising:

[0006] In response to a video generation task submission operation on a video shooting page, a video generation task identifier is obtained, and a video generation page is displayed; wherein the video generation task identifier is used to identify the video generation task corresponding to the video generation task submission operation, and the video generation page displays the execution progress information of the video generation task;

[0007] In response to a page exit operation on the video generation page, exit the video generation page;

[0008] Displaying a task notification message; wherein the task notification message is used to trigger obtaining a generated result video of the video generation task based on the video generation task identifier.

[0009] In an optional implementation manner, the video generation task submission operation is used to upload target user materials, and the response to the video generation task submission operation on the video shooting page, after obtaining the video generation task identifier, further includes:

[0010] After establishing a binding relationship between the video generation task identifier and the target user material, the target user material is added to the draft box.

[0011] In an optional implementation manner, the method further includes:

[0012] Based on the video generation task identifier, obtaining a generation result video of the video generation task;

[0013] The generated result video is used to replace the target user material in the draft box that has a binding relationship with the video generation task identifier.

[0014] In an optional implementation manner, the method further includes:

[0015] The draft box page is displayed; wherein the target user material is displayed on the draft box page, and the execution progress information of the corresponding video generation task is displayed on the cover of the target user material; or, the generation result video is displayed on the draft box page.

[0016] In an optional implementation manner, after displaying the task notification message, the method further includes:

[0017] In response to a preset trigger operation for the task notification message, a video editing page is displayed, and a generated result video of the video generation task is shown on the video editing page.

[0018] In an optional implementation manner, the method further includes:

[0019] In response to a cold start operation of the target application, a task progress query request is sent; wherein the task progress query request is used to query execution progress information of the target video generation task;

[0020] Receive a task query result message; wherein the task query result message is used to display the execution progress information of the target video generation task.

[0021] In an optional implementation manner, in response to the video generation task submission operation on the video shooting page, before obtaining the video generation task identifier, the method further includes:

[0022] In response to a selection operation on a target effect resource on a video shooting page, the available number of effect resources is displayed on the video shooting page; wherein the available number of effect resources is used to indicate whether triggering the video generation task submission operation is currently supported.

[0023] In an optional implementation manner, the displaying the task notification message includes:

[0024] A message pop-up window is displayed on the first page; wherein the message pop-up window displays a task notification message, and the task notification message carries a cover image of the generated result video.

[0025] In a second aspect, the present disclosure provides a video generation device, the device comprising:

[0026] A first acquisition module is used to respond to a video generation task submission operation on a video shooting page, acquire a video generation task identifier, and display a video generation page; wherein the video generation task identifier is used to identify the video generation task corresponding to the video generation task submission operation, and the video generation page displays the execution progress information of the video generation task;

[0027] An exit module, configured to exit the video generation page in response to a page exit operation on the video generation page;

[0028] The first display module is used to display a task notification message; wherein the task notification message is used to trigger the acquisition of a generation result video of the video generation task based on the video generation task identifier.

[0029] In a third aspect, the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device implements the above method.

[0030] In a fourth aspect, the present disclosure provides a video generating device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.

[0031] In a fifth aspect, the present disclosure provides a computer program product, wherein the computer program product comprises a computer program / instructions, and the computer program / instructions implement the above method when executed by a processor.

[0032] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has at least the following advantages:

[0033] The disclosed embodiment provides a video generation method. First, in response to a video generation task submission operation on a video shooting page, a video generation task identifier is obtained, and a video generation page is displayed, wherein the video generation task identifier is used to identify the video generation task corresponding to the video generation task submission operation, and the video generation page displays the execution progress information of the video generation task. In response to a page exit operation on the video generation page, the video generation page is exited, and a task notification message is displayed, wherein the task notification message is used to trigger the acquisition of a generation result video of the video generation task based on the video generation task identifier. By obtaining the video generation task identifier, the disclosed embodiment achieves that the generation result video of the video generation task can be obtained even if the video generation page is exited during the execution of the video generation task. It can be seen that the disclosed embodiment can support asynchronous video creation, and the user does not need to wait for the execution of the video generation task, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0036] Figure 1 A flowchart of a video generation method provided by an embodiment of the present disclosure;

[0037] Figure 2 A schematic diagram of a video shooting page provided in an embodiment of the present disclosure;

[0038] Figure 3 A schematic diagram of a video generation page provided in an embodiment of the present disclosure;

[0039] Figure 4 A schematic diagram of a personal homepage page provided by an embodiment of the present disclosure;

[0040] Figure 5 A schematic diagram of a draft box page provided in an embodiment of the present disclosure;

[0041] Figure 6 A schematic diagram of another personal homepage page provided by an embodiment of the present disclosure;

[0042] Figure 7 A schematic diagram of another draft box page provided in an embodiment of the present disclosure;

[0043] Figure 8 A schematic diagram of a first page provided in an embodiment of the present disclosure;

[0044] Fig. 9 A schematic diagram of another first page provided in an embodiment of the present disclosure;

[0045] Fig.10 A schematic diagram of the structure of a video generating device provided by an embodiment of the present disclosure;

[0046] Fig.11 A schematic diagram of the structure of a video generating device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0047] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0048] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0049] At present, generating special effects videos through image materials is a popular way of video creation. Most of the existing special effects video creation scenarios apply synchronous solutions, that is, after the user uploads the image material, he needs to wait for the algorithm model to complete the rendering and synthesis before the user can exit the video creation page. In other words, during the rendering and synthesis process of the algorithm model, the user cannot perform other creations. Once the user forcibly exits the video creation page, the creation fails.

[0050] In the above implementation, if a single video creation requires a long algorithm model processing time, the user will be forced to wait for a long time.

[0051] To this end, the embodiment of the present disclosure provides a video generation method. First, in response to a video generation task submission operation on a video shooting page, a video generation task identifier is obtained, and a video generation page is displayed, wherein the video generation task identifier is used to identify the video generation task corresponding to the video generation task submission operation, and the video generation page displays the execution progress information of the video generation task. In response to a page exit operation on the video generation page, the video generation page is exited, and a task notification message is displayed, wherein the task notification message is used to trigger the acquisition of a generation result video of the video generation task based on the video generation task identifier. By obtaining the video generation task identifier, the embodiment of the present disclosure can obtain the generation result video of the video generation task even if the video generation page is exited during the execution of the video generation task. It can be seen that the embodiment of the present disclosure can support asynchronous video creation, and the user does not need to wait for the execution of the video generation task, thereby improving the user experience.

[0052] Based on this, the present disclosure provides a video generation method, referring to Figure 1 , is a flowchart of a video generation method provided by an embodiment of the present disclosure, the method comprising:

[0053] S101: In response to a video generation task submission operation on a video shooting page, a video generation task identifier is obtained and a video generation page is displayed.

[0054] The video generation task identifier is used to identify the video generation task corresponding to the video generation task submission operation, and the execution progress information of the video generation task is displayed on the video generation page.

[0055] The video generation method provided by the embodiments of the present disclosure may be applied to a client, for example, the client may include a client deployed on a smart phone, a client deployed on a tablet computer, etc.

[0056] In the disclosed embodiment, the video generation task submission operation includes selecting a target effect resource or selecting and uploading a target user material, wherein the target effect resource is any effect resource in an effect resource package, and the target user material may include the material selected by the user from the album import page, or the material obtained based on the video shooting page, for example, the material may be obtained by clicking the screen, tray, and shutter.

[0057] In the disclosed embodiment, when the client receives a video generation task submission operation on a video shooting page, the client obtains a video generation task identifier from the target server and displays the video generation page. Based on the video generation task identifier, the video generation task corresponding to the video generation task submission operation can be obtained, that is, an association relationship is established between the video generation task submission operation and the corresponding video generation task through the video generation task identifier.

[0058] Among them, the video generation page is used to display the execution progress information of the current video generation task on the target server. The client can obtain the execution progress information of the current video generation task from the target server based on the video generation task identifier and display it on the video generation page.

[0059] For example, Figure 2 As shown in FIG. 1 , a schematic diagram of a video shooting page provided by an embodiment of the present disclosure is shown. On the video shooting page, when the client receives the selected target effect resource and uploads the target user material on the video shooting page, the client obtains the video generation task identifier from the target server and displays the video generation page. Figure 3 FIG. 1 is a schematic diagram of a video generation page provided by an embodiment of the present disclosure. The video generation page displays the execution progress information of the video generation task on the target server.

[0060] S102: In response to a page exit operation on the video generation page, exit the video generation page.

[0061] In the disclosed embodiment, the page exit operation on the video generation page indicates exiting the current video generation page, and does not affect the execution of the current video generation task at that time.

[0062] In addition, the page exit operation on the video generation page may be a page return operation or a page closing operation, and the embodiments of the present disclosure do not impose any limitation on this.

[0063] As mentioned above Figure 3 In the video generation page shown, a return control 301 is displayed on the video generation page. When a trigger operation of the return control 301 acting on the video generation page is received, the video generation page is exited.

[0064] S103: Displaying a task notification message; wherein the task notification message is used to trigger obtaining a generated result video of the video generation task based on the video generation task identifier.

[0065] In the disclosed embodiment, when the client receives a task notification message from the target server, the client displays the task notification message, and by triggering the task notification message, the generated result video of the video generation task can be obtained based on the video generation task identifier.

[0066] Among them, the display style of the task notification message can be set based on specific needs. For example, the task notification message can be displayed in the form of a pop-up card.

[0067] In the video generation method provided by the embodiment of the present disclosure, first, in response to the video generation task submission operation on the video shooting page, a video generation task identifier is obtained, and a video generation page is displayed, wherein the video generation task identifier is used to identify the video generation task corresponding to the video generation task submission operation, and the video generation page displays the execution progress information of the video generation task. In response to the page exit operation on the video generation page, the video generation page is exited, and a task notification message is displayed, wherein the task notification message is used to trigger the acquisition of the generation result video of the video generation task based on the video generation task identifier. By obtaining the video generation task identifier, the embodiment of the present disclosure can obtain the generation result video of the video generation task even if the video generation page is exited during the execution of the video generation task. It can be seen that the embodiment of the present disclosure can support asynchronous video creation, and the user does not need to wait for the execution of the video generation task, thereby improving the user experience.

[0068] In an optional implementation, the video generation task submission operation is used to upload the target user material to the target server. When the video generation task submission operation on the video shooting page is received, the video generation task identifier is obtained from the target server, and a binding relationship is established between the video generation task identifier and the target user material. Then, the target user material is added to the draft box.

[0069] In the embodiment of the disclosure, after adding the target user material to the draft box, in order to remind the user that he can switch to other creations, in the process of displaying the video generation page, the embodiment of the disclosure will also display a switching prompt information to remind the user that he can switch to other creations and prompt the user to the save location of the current target user material. Figure 3 In the video generation page shown, switching prompt information and a switching control 302 are displayed on the video generation page.

[0070] When the client receives a trigger operation from the user on the switch control 302 , a selected effect resource page is displayed, and the selected effect resource page can be used to select an effect resource.

[0071] In the disclosed embodiment, after the client obtains the video generation task identifier, when the client receives the task notification message from the target server, the client displays the task notification message on the one hand, and obtains the generated result video of the video generation task from the target server based on the video generation task identifier on the other hand, and then the client uses the generated result video to replace the target user material in the draft box that has a binding relationship with the video generation task identifier.

[0072] In the disclosed embodiment, the trigger operation of the client replacing the target user material in the draft box with the corresponding generated result video can be specifically set based on needs. The replacement operation can be triggered when the user views the task notification message, or a replacement operation control can be set. When the trigger operation of the user acting on the replacement operation control is received, the replacement operation is completed.

[0073] In an optional implementation, when the client receives a view trigger operation on the task notification message while displaying the task notification message, on the one hand, the client is triggered to replace the target user material in the draft box that has a binding relationship with the video generation task identifier with the generated result video; on the other hand, the client displays a video editing page, which is used to display the generated result video.

[0074] In another optional implementation, when the client receives a trigger operation for saving a draft in the task notification message while displaying the task notification message, the client is triggered to replace the target user material in the draft box that has a binding relationship with the video generation task identifier with the generated result video, and then the user can view the generated result video through the draft box page.

[0075] Based on the video generation task identifier, the target user material in the draft box is replaced with the corresponding generated result video, so that the user does not need to wait on the video generation page for the generated result video. That is, other creations can be performed during the current video generation without affecting the current video generation.

[0076] In the disclosed embodiment, the draft box may be used to save target user materials or save generated result videos. Specifically, when a user triggers the draft box entrance, the draft box page is displayed to view the target user materials or the generated result videos.

[0077] In an optional implementation, the target user material is displayed on the draft box page, and the cover of the target user material displays the execution progress information of the corresponding video generation task on the target server. Based on the execution progress information, the user can understand the progress of the video generation task.

[0078] It should be noted that the target user material at this time is saved in the draft box, indicating that the generation result video of the video generation task corresponding to the target user material has not been generated yet.

[0079] For example, Figure 4 , which is a schematic diagram of a personal homepage provided by an embodiment of the present disclosure. The personal homepage page displays a draft box entrance 401, and the draft box entrance displays the target user material in the first place in the draft box. By triggering the draft box entrance 401, the draft box page is displayed, such as Figure 5 , which is a schematic diagram of a draft box page provided by an embodiment of the present disclosure. The first position of the draft box page displays a target user material, wherein the cover of the target user material displays the execution progress information of the corresponding video generation task on the target server.

[0080] In another optional implementation, a generation result video is displayed on the draft box page, wherein when the generation result video is displayed on the draft box page, it indicates that the generation result video of the video generation task has been generated.

[0081] like Figure 6 As shown in FIG. 6 , another schematic diagram of a personal homepage page provided by an embodiment of the present disclosure is shown. The personal homepage page displays a draft box entrance 601, and the draft box entrance displays the generated result video in the first place in the draft box. By triggering the draft box entrance, the draft box page is displayed, such as Figure 7 , which is a schematic diagram of a draft box page provided by an embodiment of the present disclosure. The first position on the draft box page displays a generated result video.

[0082] In the disclosed embodiment, the client obtains the video generation task identifier and establishes a binding relationship between the video generation task identifier and the target user material to associate the target user material with the generated result video of the video generation task. In addition, when the client does not receive the task notification message, the target user material and execution progress information are displayed on the draft box page. When the client receives the task notification message, the target user material displayed on the draft box page is replaced with the corresponding generated result video to support the user in the video creation process. There is no need to wait for the current video to be generated, and other video creation can be performed without affecting the current video creation, that is, asynchronous video creation is realized, which further improves the user experience.

[0083] In actual applications, when the client displays the task notification message from the target server, in order to support users to view the generated result video of the video generation task in a timely manner, in the embodiment of the present disclosure, users can view the generated result video of the video generation task by triggering the task notification message.

[0084] Specifically, when a preset trigger operation for a task notification message is received, a video editing page is displayed, and the generated result video of the video generation task is displayed on the video editing page. The preset trigger operation for the task notification message may include single click, double click, and preset viewing control.

[0085] In addition, in order to support the user to clearly perceive what kind of video generation task the task notification message corresponds to, the cover image of the generated result video will also be displayed when the task notification message is displayed.

[0086] In an optional implementation, a message pop-up window is displayed on the first page, wherein the message pop-up window displays a task notification message from the target server, wherein the task notification message carries a cover image of the generated result video. The first page can be any page, specifically a video playback page.

[0087] like Figure 8 As shown, it is a schematic diagram of a first page provided by an embodiment of the present disclosure. A message pop-up window 801 is displayed on the first page, and a task notification message is displayed on the message pop-up window 801. When it is detected that the task notification message carries a cover image of a generated result video, the cover image 802 of the generated result video is displayed on the message pop-up window, and a preset trigger control 803 is also displayed on the message pop-up window. When a trigger operation of the preset trigger control 803 for the task notification message is received, a video editing page is displayed, and the generated result video of the video generation task is displayed on the video editing page.

[0088] In the embodiment of the present disclosure, there is no restriction on the display style of the message pop-up window, and the message pop-up window can be displayed at any position on the first page, and can be displayed at the center of the first page, as described above. Figure 8 The message pop-up window 801 shown on the first page can also be displayed at the top of the first page, such as Fig. 9 As shown, it is a schematic diagram of another first page provided in an embodiment of the present disclosure, wherein a message pop-up window 901 is displayed on the first page, and a task notification message is displayed on the message pop-up window 901. When it is detected that the task notification message carries a cover image of a generated result video, the cover image 902 of the generated result video is displayed on the message pop-up window, and a preset trigger control 903 is also displayed on the message pop-up window. The preset trigger control is used to display a video editing page, wherein the video editing page displays the generated result video of the video generation task.

[0089] In the disclosed embodiment, when the client receives a task notification message from the target server, the task notification message is displayed, so that the user can timely understand the status of video generation, thereby improving the user experience.

[0090] In actual applications, it may take a long time to generate the result video. After the user exits the target application, the user still needs to be notified of the execution progress information of the video generation task. In the embodiment of the present disclosure, a combination of long connection push and active query is adopted to ensure the notification reach rate. A long connection is established between the target server and the client. In the scenario where the target application is killed and the push is not received, the client sends a query request to the target server and receives the task query result message returned by the target server to ensure that the user is aware of the execution progress information of the video generation task when he starts the target application again.

[0091] In an optional implementation, when the client receives a cold start operation for a target application, it sends a task progress query request to the target server, wherein the task progress query request is used to query execution progress information of the target video generation task on the target server.

[0092] Then, the client receives the task query result message returned by the target server and displays the task query result message, wherein the task query result message is used to display the execution progress information of the target video generation task on the target server.

[0093] In the disclosed embodiment, when the target application is in a cold start operation, the notification reach rate is guaranteed by combining long connection push and active query, thereby further improving the user experience.

[0094] In actual applications, when users use target effect resources to create videos, in order to effectively avoid the problem of users using too much effect resources and waiting too long due to insufficient computing power, the disclosed embodiment evenly distributes the available times of effect resources to users, that is, limits the number of times each user can use effect resources, and verifies the available times of effect resources for users before using effect resources. In addition, in order to flexibly limit the available times of effect resources for users, the disclosed embodiment also dynamically sets the available times of effect resources for users on that day, that is, clears and resets the available times of effect resources for users every day, so as to further improve the user experience.

[0095] Specifically, when a video generation task submission operation is received on the video shooting page, the number of available effect resources for the user on that day is verified before the video generation task identifier is obtained from the target server, that is, when a selection operation for a target effect resource is received on the video shooting page, the number of available effect resources is displayed on the video shooting page, wherein the number of available effect resources is used to indicate whether the triggering of the video generation task submission operation is currently supported.

[0096] Among them, the dynamic setting of the available number of effect resources can be formulated according to the computing power resources of the daily server. That is to say, the computing power resources of the daily server are proportional to the available number of effect resources. That is, the greater the computing power resources of the daily server, the greater the total number of available effect resources on that day, and the greater the number of available effect resources allocated to users.

[0097] In an optional implementation, when the client receives a selection operation for a target effect resource on a video shooting page, the available number of effect resources of the user on that day is displayed on the video shooting page, and when it is determined that the available number of effect resources is greater than 0, the client receives the selection operation for the target effect resource. That is, when there are still available number of effect resources, the client supports triggering the video generation task submission operation.

[0098] In the disclosed embodiment, by dynamically setting the number of times the user effect resources are available, the problem of insufficient computing power and long waiting time can be effectively alleviated.

[0099] Based on the above method embodiment, the present disclosure also provides a video generation device, referring to Fig.10 , is a schematic diagram of the structure of a video generating device provided by an embodiment of the present disclosure, the device comprising:

[0100] The first acquisition module 1001 is used to respond to the video generation task submission operation on the video shooting page, obtain the video generation task identifier, and display the video generation page; wherein the video generation task identifier is used to identify the video generation task corresponding to the video generation task submission operation, and the video generation page displays the execution progress information of the video generation task;

[0101] An exit module 1002, configured to exit the video generation page in response to a page exit operation on the video generation page;

[0102] The first display module 1003 is used to display a task notification message; wherein the task notification message is used to trigger the acquisition of the generation result video of the video generation task based on the video generation task identifier.

[0103] In an optional implementation manner, the video generation task submission operation is used to upload target user materials, and the device further includes:

[0104] The adding module is used to establish a binding relationship between the video generation task identifier and the target user material, and then add the target user material to the draft box.

[0105] In an optional implementation, the device further includes:

[0106] A second acquisition module, configured to acquire a generated result video of the video generation task based on the video generation task identifier;

[0107] A replacement module is used to use the generated result video to replace the target user material in the draft box that has a binding relationship with the video generation task identifier.

[0108] In an optional implementation, the device further includes:

[0109] The second display module is used to display the draft box page; wherein the target user material is displayed on the draft box page, and the execution progress information of the corresponding video generation task is displayed on the cover of the target user material; or, the generation result video is displayed on the draft box page.

[0110] In an optional implementation, the device further includes:

[0111] The third display module is used to display a video editing page in response to a preset trigger operation for the task notification message, and to show the generated result video of the video generation task on the video editing page.

[0112] In an optional implementation, the device further includes:

[0113] A sending module, used to send a task progress query request in response to a cold start operation of a target application; wherein the task progress query request is used to query execution progress information of a target video generation task;

[0114] The receiving module is used to receive a task query result message; wherein the task query result message is used to display the execution progress information of the target video generation task.

[0115] In an optional implementation, the device further includes:

[0116] The third display module is used to display the number of available effect resources on the video shooting page in response to a selection operation on a target effect resource on the video shooting page; wherein the number of available effect resources is used to indicate whether the triggering operation of submitting the video generation task is currently supported.

[0117] In an optional implementation manner, the first display module is specifically used to:

[0118] A message pop-up window is displayed on the first page; wherein the message pop-up window displays a task notification message, and the task notification message carries a cover image of the generated result video.

[0119] In the video generation device provided by the embodiment of the present disclosure, first, in response to the video generation task submission operation on the video shooting page, a video generation task identifier is obtained, and a video generation page is displayed, wherein the video generation task identifier is used to identify the video generation task corresponding to the video generation task submission operation, and the video generation page displays the execution progress information of the video generation task. In response to the page exit operation on the video generation page, the video generation page is exited, and a task notification message is displayed, wherein the task notification message is used to trigger the acquisition of the generation result video of the video generation task based on the video generation task identifier. By obtaining the video generation task identifier, the embodiment of the present disclosure can obtain the generation result video of the video generation task even if the video generation page is exited during the execution of the video generation task. It can be seen that the embodiment of the present disclosure can support asynchronous video creation, and the user does not need to wait for the execution of the video generation task, thereby improving the user experience.

[0120] In addition to the above-mentioned method and apparatus, the embodiments of the present disclosure further provide a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device implements the video generation method described in the embodiments of the present disclosure.

[0121] The embodiment of the present disclosure further provides a computer program product, which includes a computer program / instructions. When the computer program / instructions are executed by a processor, the video generation method described in the embodiment of the present disclosure is implemented.

[0122] In addition, the present disclosure also provides a video generation device, see Fig.11 As shown, it may include:

[0123] Processor 1101, memory 1102, input device 1103 and output device 1104. The number of processors 1101 in the video generation device can be one or more. Fig.11 In some embodiments of the present disclosure, the processor 1101, the memory 1102, the input device 1103 and the output device 1104 may be connected via a bus or other means, wherein: Fig.11 The example of connecting through bus is taken in the following.

[0124] The memory 1102 can be used to store software programs and modules. The processor 1101 executes various functional applications and data processing of the video generation device by running the software programs and modules stored in the memory 1102. The memory 1102 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc. In addition, the memory 1102 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. The input device 1103 can be used to receive input digital or character information, and generate signal input related to user settings and function control of the video generation device.

[0125] Specifically in this embodiment, the processor 1101 will load the executable files corresponding to the processes of one or more applications into the memory 1102 according to the following instructions, and the processor 1101 will run the applications stored in the memory 1102, thereby realizing various functions of the above-mentioned video generation device.

[0126] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0127] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A video generation method, characterized in that: The method comprises: In response to a video generation task submission operation on a video shooting page, a video generation task identifier is obtained, and a video generation page is displayed; wherein the video generation task identifier is used to identify the video generation task corresponding to the video generation task submission operation, and the video generation page displays the execution progress information of the video generation task; In response to a page exit operation on the video generation page, exit the video generation page; Displaying a task notification message; wherein the task notification message is used to trigger obtaining a generated result video of the video generation task based on the video generation task identifier.

2. The method according to claim 1, characterized in that The video generation task submission operation is used to upload target user materials. The response to the video generation task submission operation on the video shooting page, after obtaining the video generation task identifier, also includes: After establishing a binding relationship between the video generation task identifier and the target user material, the target user material is added to the draft box.

3. The method according to claim 2, characterized in that The method further comprises: Based on the video generation task identifier, obtaining a generation result video of the video generation task; The generated result video is used to replace the target user material in the draft box that has a binding relationship with the video generation task identifier.

4. The method according to claim 2 or 3, characterized in that: The method further comprises: The draft box page is displayed; wherein the target user material is displayed on the draft box page, and the execution progress information of the corresponding video generation task is displayed on the cover of the target user material; or, the generation result video is displayed on the draft box page.

5. The method according to claim 1, characterized in that After displaying the task notification message, the method further includes: In response to a preset trigger operation for the task notification message, a video editing page is displayed, and a generated result video of the video generation task is shown on the video editing page.

6. The method according to claim 1, characterized in that The method further comprises: In response to a cold start operation of the target application, a task progress query request is sent; wherein the task progress query request is used to query execution progress information of the target video generation task; Receive a task query result message; wherein the task query result message is used to display the execution progress information of the target video generation task.

7. The method according to claim 1, characterized in that In response to the video generation task submission operation on the video shooting page, before obtaining the video generation task identifier, the method further includes: In response to a selection operation on a target effect resource on a video shooting page, the available number of effect resources is displayed on the video shooting page; wherein the available number of effect resources is used to indicate whether triggering the video generation task submission operation is currently supported.

8. The method according to claim 1, characterized in that The display task notification message includes: A message pop-up window is displayed on the first page; wherein a task notification message is displayed on the message pop-up window, and the task notification message carries a cover image of the generated result video.

9. A video generating device, characterized in that: The device comprises: A first acquisition module is used to respond to a video generation task submission operation on a video shooting page, acquire a video generation task identifier, and display a video generation page; wherein the video generation task identifier is used to identify the video generation task corresponding to the video generation task submission operation, and the video generation page displays the execution progress information of the video generation task; An exit module, configured to exit the video generation page in response to a page exit operation on the video generation page; The first display module is used to display a task notification message; wherein the task notification message is used to trigger the acquisition of a generation result video of the video generation task based on the video generation task identifier.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device implements the method according to any one of claims 1 to 8.

11. A video generating device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Method, device and equipment for interaction, medium and program product

    CN120378674A