Video generation method, device, electronic device and storage medium

By automatically rendering user account information, event rewards, and video templates to generate video works, it solves the tedious problem of users manually editing videos and improves the efficiency of video generation and sharing.

CN117880583BActive Publication Date: 2025-01-21BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410058254.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-15
Publication Date
2025-01-21
Estimated Expiration
2044-01-15

AI Technical Summary

Technical Problem

In the prior art, users need to manually edit videos to share the winning situation, resulting in cumbersome operations and inefficient efficiency.

Method used

Provides a video generation method that automatically renders the user's account information, event rewards and video templates into video works without the need for manual editing by the user, improving the efficiency of video editing and sharing.

Benefits of technology

It is possible to generate video works showing award winning status and activity information without manual editing by users, which improves the efficiency of video generation and sharing and enhances users' sharing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117880583B_ABST
    Figure CN117880583B_ABST
Patent Text Reader

Abstract

The present disclosure provides a video generation method, device, electronic device and storage medium, which belongs to the field of multimedia technology. The method includes: when a first user account meets the conditions for receiving virtual resources, displaying a collection prompt information; in response to a sharing operation on the collection prompt information, displaying a first video; in response to a publishing operation on the first video, publishing the first video, wherein the first video displays a participation component of the target activity event when displayed, and the participation component is used to jump to the activity page of the target activity event after being triggered. The above technical solution can automatically generate a video work for the user that displays the user's award-winning situation and activity information, without the user having to manually edit the video, thereby improving the efficiency of video editing and the efficiency of users sharing award-winning situations. In addition, the above technical solution can also attract other users to participate in activities through video works, thereby improving the user activity of the video platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In order to increase user activity, video platforms will hold some activities to attract users to participate, such as level-breaking activities, card collection activities, etc. When users participate in activities and successfully receive activity rewards, they usually want to share their winnings. Therefore, how to share users' winnings to meet users' sharing needs and attract more users to participate in activities is a technical problem that needs to be solved.

[0003] In the related art, users can take screenshots or record screens when receiving activity rewards, and use the screenshots or screen recordings as video materials to create video works. Then, users can publish video works on the video platform to share their winnings with other users on the video platform to attract other users to participate in the activity.

[0004] However, the above method requires users to manually edit videos, which is a cumbersome operation, making it less efficient for users to share their winning situations, resulting in low efficiency in human-computer interaction. Summary of the invention

[0005] The present disclosure provides a video generation method, device, electronic device and storage medium, which can automatically generate a video work showing the user's award winning situation and activity information for the user, without the need for the user to manually edit the video, thereby improving the efficiency of video editing and the efficiency of users sharing their award winning situation. The technical solution of the present disclosure is as follows:

[0006] According to one aspect of an embodiment of the present disclosure, a video generation method is provided, including:

[0007] When a first user account meets the conditions for claiming virtual resources, claim prompt information is displayed, the first user account is a user account participating in a target activity event, the virtual resources are rewards for the target activity event, and the claim prompt information is used to prompt the current user account of the virtual resources that can be claimed;

[0008] In response to a sharing operation on the claim prompt information, display a first video, wherein the first video is rendered based on the account information of the first user account, the virtual resource, and a target video template, wherein the account information includes at least one of an avatar and a user name, and the target video template is a video template corresponding to the target activity event, and the target video template is used to display activity information of the target activity event;

[0009] In response to a publishing operation on the first video, the first video is published, and when the first video is displayed, a participating component of the target activity event is displayed, and the participating component is used to jump to an activity page of the target activity event after being triggered.

[0010] According to another aspect of an embodiment of the present disclosure, there is provided a video generating device, including:

[0011] The first display unit is configured to display a claim prompt message when a first user account meets the claim conditions of the virtual resource, the first user account is a user account participating in a target activity event, the virtual resource is a reward of the target activity event, and the claim prompt message is used to prompt the current user account of the virtual resource that can be claimed;

[0012] A second display unit is configured to display a first video in response to a sharing operation on the claim prompt information, wherein the first video is rendered based on the account information of the first user account, the virtual resource, and a target video template, wherein the account information includes at least one of an avatar and a user name, and the target video template is a video template corresponding to the target activity event, and the target video template is used to display activity information of the target activity event;

[0013] The publishing unit is configured to publish the first video in response to a publishing operation on the first video, wherein the first video displays a participating component of the target activity event when displayed, and the participating component is used to jump to the activity page of the target activity event after being triggered.

[0014] In some embodiments, the second display unit is configured to display the video template corresponding to the target activity event on a video editing page in response to a sharing operation on the collection prompt information, and the video editing page is used to edit the video work to be published; based on the configuration information of the video template, fill in the account information of the first user account and the reward information of the virtual resource in the video template, and the configuration information is used to indicate the information that needs to be filled in the video template, and the reward information includes at least one of the reward type and the reward amount; render the filled video template to obtain the first video; and display the first video on the video editing page.

[0015] In some embodiments, the second display unit is configured to display a loading animation on a video editing page in response to a sharing operation on the receipt prompt information, wherein the video editing page is used to edit the video work to be published, and the loading animation is used to indicate that the first video is being generated and the generation progress of the first video; when the generation of the first video is completed, the first video is displayed on the video editing page.

[0016] In some embodiments, the apparatus further comprises:

[0017] an adjustment unit, configured to, in response to an editing operation on the first video input in the video editing page, adjust at least one of the material, special effects, filters, and soundtrack of the first video based on the editing operation;

[0018] The third display unit is configured to display the adjusted first video on the video editing page.

[0019] In some embodiments, the apparatus further comprises:

[0020] The issuing unit is configured to issue the virtual resource to the first user account in response to a sharing operation on the claim prompt information; or to issue the virtual resource to the first user account in response to a claim operation on the virtual resource.

[0021] In some embodiments, the participation component is used to return to the activity page of the target activity event after being triggered by the first user account, or to jump to the activity page after being triggered by the second user account, so that the second user account can participate in the target activity event through the activity page, and the second user account is a user account other than the first user account.

[0022] In some embodiments, the apparatus further comprises:

[0023] The fourth display unit is configured to display a second video on a video playback page, where the second video is a video work published by a user account other than the first user account, and a participating component of the target activity event is displayed in a preset area of ​​the second video, and the video playback page is used to display the video work; in response to a triggering operation on the participating component, an activity page of the target activity event is displayed, so that the first user account can participate in the target activity event through the activity page.

[0024] In some embodiments, the apparatus further comprises:

[0025] The fifth display unit is configured to display participation prompt information when a third user account has released a third video, the third user account being a user account associated with the first user account, the third video being a video work that displays a participation component of the target activity event in a preset area, and the participation prompt information being used to prompt participation in the target activity event; in response to a confirmation operation on the participation prompt information, display the third video, wherein a participation component of the target activity event is displayed in a preset area of ​​the third video; and in response to a trigger operation on the participation component, display an activity page of the target activity event, so that the first user account can participate in the target activity event through the activity page.

[0026] In some embodiments, the apparatus further comprises:

[0027] The sixth display unit is configured to display a video playback page, which is used to display video works; in response to a content switching operation in the video playback page, the video work displayed in the video playback page is switched to the next video work; when a participating component of the target activity event is displayed in a preset area of ​​the currently displayed video work, in response to a triggering operation on the participating component, an activity page of the target activity event is displayed, so that the first user account can participate in the target activity event through the activity page.

[0028] In some embodiments, the apparatus further comprises:

[0029] The first determination unit is configured to determine the activity state of the activity event when the video work needs to display the participating components of any activity event, and the activity state includes an open state and a closed state; when the activity state is the open state, determine to display the participating components of the activity event within a preset area of ​​the video work; when the activity state is the closed state, determine to shield the participating components of the activity event within the preset area of ​​the video work.

[0030] In some embodiments, the apparatus further comprises:

[0031] an acquisition unit, configured to acquire operation results of multiple operations performed by the first user account on the activity page;

[0032] The second determining unit is configured to determine that the first user account meets the claiming condition of the virtual resource when the operation result meets the preset completion condition of the target activity event.

[0033] In some embodiments, the first display unit is configured to send a reward collection request to the server when the first user account meets the conditions for collecting virtual resources, and the reward collection request is used to request the server to issue reward information of the virtual resources, and the reward information includes at least one of a reward type and a reward amount. The server is used to determine whether the first user account meets any preset completion conditions of the target activity event when receiving the reward collection request, and determine the reward information to be issued to the first user account based on the preset completion conditions satisfied by the first user account; when receiving the reward information issued by the server, the server displays the collection prompt information based on at least one of the reward type and reward amount included in the reward information, and the collection prompt information is used to prompt at least one of the reward type and reward amount of the virtual resources that the first user account can collect.

[0034] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:

[0035] one or more processors;

[0036] A memory for storing program codes executable by the processor;

[0037] The processor is configured to execute the program code to implement the above-mentioned video generation method.

[0038] According to another aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When a program code in the computer-readable storage medium is executed by a processor of an electronic device, the electronic device is enabled to execute the above-mentioned video generating method.

[0039] According to another aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program / instruction, which implements the above-mentioned video generation method when executed by a processor.

[0040] The disclosed embodiment provides a video generation solution. When a user participates in an activity event on a video platform and meets the conditions for receiving an activity reward, the terminal displays a reminder message to remind the user of the activity reward that can be currently received. In the process of the user sharing the reminder message, the terminal can automatically render the activity reward, the user's account information, and the video template corresponding to the activity event to generate a video work showing the user's winning situation and activity information without the need for the user to manually edit the video work, thereby improving the efficiency of video work editing and the efficiency of users sharing winning situations. After the user publishes the video work, the terminal can also display the participation component of the activity event in the preset area of ​​the video work when displaying the video work, so that other users can directly click on the participation component to participate in the activity event, which can not only meet the user's needs to share the winning situation, but also attract other users in the video platform to participate in the activity event, effectively improving the user activity in the video platform.

[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0043] Figure 1 It is a schematic diagram of an implementation environment of a video generation method according to an exemplary embodiment.

[0044] Figure 2 The figure is a flowchart of a video generating method according to an exemplary embodiment.

[0045] Figure 3 The figure is a flowchart of another video generating method according to an exemplary embodiment.

[0046] Figure 4 The figure is a schematic diagram showing a method of collecting prompt information according to an exemplary embodiment.

[0047] Figure 5 The figure is a schematic diagram showing a method of claiming virtual resources according to an exemplary embodiment.

[0048] Figure 6 The diagram is a schematic diagram showing another method of claiming virtual resources according to an exemplary embodiment.

[0049] Figure 7 It is a schematic diagram of a video editing page according to an exemplary embodiment.

[0050] Figure 8It is a schematic diagram of a video publishing page according to an exemplary embodiment.

[0051] Fig. 9 The figure is a schematic diagram of a video playback page according to an exemplary embodiment.

[0052] Fig.10 The present invention is an interactive flow chart of publishing a first video according to an exemplary embodiment.

[0053] Fig.11 The present invention is an interactive flow chart of participating in a target activity event according to an exemplary embodiment.

[0054] Fig.12 It is a block diagram of a video generating device according to an exemplary embodiment.

[0055] Fig.13 is a block diagram of another video generating device according to an exemplary embodiment.

[0056] Fig.14 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0057] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0058] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0059] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the account information involved in this disclosure is obtained with full authorization.

[0060] Figure 1FIG. 1 is a schematic diagram of an implementation environment of a video generation method according to an exemplary embodiment. Figure 1 The implementation environment specifically includes: a terminal 101 and a server 102. The terminal 101 can be connected to the server 102 via a wireless network or a wired network.

[0061] Terminal 101 can be at least one of a smart phone, a smart watch, a desktop computer, a laptop, an MP3 player (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) player, and a laptop computer. A video application is installed and running on terminal 101, and a user can log in to the video application through terminal 101 to obtain services provided by the video application. For example, a user browses multiple video works through the video playback page provided by the video application, or participates in activities and receives activity rewards through the activity page provided by the video application, such as level-breaking activities and card collection activities. When a user successfully receives an activity reward on the video platform, the user can also publish a video work showing activity rewards and activity gameplay through the video application to share the activity with other users. Server 102 is a background server of the video application, and server 102 is used to provide background services for the video application.

[0062] The terminal 101 may generally refer to one of a plurality of terminals. This embodiment is described by taking the terminal 101 as an example. Those skilled in the art may know that the number of the above terminals may be more or less. For example, the above terminals may be several, or the above terminals may be dozens or hundreds, or a greater number. The embodiment of the present disclosure does not limit the number and device type of the terminals.

[0063] The server 102 is at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Optionally, the number of the above servers may be more or less, which is not limited in the embodiments of the present disclosure. Of course, the server 102 may also include other functional servers to provide more comprehensive and diversified services.

[0064] In some embodiments, the server 102 undertakes the main computing work, and the terminal 101 undertakes the secondary computing work; or, the server 102 undertakes the secondary computing work, and the terminal 101 undertakes the main computing work; or, the server 102 and the terminal 101 use a distributed computing architecture to perform collaborative computing. The server 102 can be connected to the terminal 101 and other terminals through a wireless network or a wired network. Optionally, the number of the above servers can be more or less, and the embodiments of the present disclosure are not limited to this.

[0065] Figure 2 is a flowchart of a video generation method according to an exemplary embodiment. Figure 2 As shown, the method is performed by an electronic device and includes the following steps:

[0066] In step S201, when the first user account meets the conditions for collecting virtual resources, the electronic device displays collection prompt information, the first user account is a user account participating in the target activity event, the virtual resources are rewards for the target activity event, and the collection prompt information is used to prompt the current user account of the virtual resources that can be collected.

[0067] In the disclosed embodiments, the electronic device has a video application installed and running. The user can use the services provided by the video application through the electronic device. For example, after the user logs in to the video application through the electronic device, the user can watch video works, publish video works, and participate in prize-winning activities in the video application, such as level-breaking activities, card collection activities, or support activities. For ease of description, the account logged in by the user in the video application is referred to as the first user account; the prize-winning activities in the video platform are referred to as target activity events; and the rewards of the target activity events are referred to as virtual resources. Among them, virtual resources include but are not limited to virtual currency, coupons, full-reduction coupons, and red envelopes.

[0068] In the process of a user participating in a target activity event through a first user account, the user needs to complete at least one task in the target activity event to receive the reward of the target activity event, that is, the virtual resource. Accordingly, the electronic device can determine whether the first user account meets the conditions for receiving virtual resources based on the user's task completion in the target event. When the user completes at least one task in the target activity event, the electronic device determines that the first user account meets the conditions for receiving virtual resources. Then, the electronic device displays a collection prompt message on the current page to prompt the user of the virtual resources that can be collected. Among them, the current page can be an activity page for the target activity event, or it can be a task settlement page displayed by the electronic device after the user completes the task. The disclosed embodiment does not limit the content displayed on the current page.

[0069] In step S202, in response to a sharing operation for receiving prompt information, the electronic device displays a first video, which is rendered based on account information of a first user account, virtual resources, and a target video template, wherein the account information includes at least one of an avatar and a user name, and the target video template is a video template corresponding to a target activity event, and the target video template is used to display activity information of the target activity event.

[0070] In the disclosed embodiment, after the user views the collection prompt information, the user can share the collection prompt information with other users to share the target activity event and the reward of the target activity event with other users. In response to the user's sharing operation of the collection prompt information, the electronic device obtains the video template corresponding to the target activity event. For the convenience of description, the video template corresponding to the target activity event is referred to as the target video template below. The target video template displays the activity information of the target activity event, such as the activity gameplay, activity rules, and activity opening hours. Then, the electronic device renders the account information, virtual resources, and video template of the first user account, generates and displays the video work to be released, that is, the first video. Among them, the first user account information includes at least one of the user's avatar and user name. In the first video generated by the above method, not only the user's account information and the rewards that the user can obtain are displayed, but also the activity information of the target activity event is displayed.

[0071] In step S203, in response to the publishing operation of the first video, the electronic device publishes the first video, and the first video is displayed with a participating component of the target activity event when displayed, and the participating component is used to jump to the activity page of the target activity event after being triggered.

[0072] In an embodiment of the present disclosure, in response to a user's publishing operation on a first video, the electronic device publishes the first video in a video application, thereby sharing the first video with other users of the video application. In addition, when displaying the first video, the video application also displays a participation component of a target activity event. The participation component is used to jump to the activity page of the target activity event after being triggered, so that the user can participate in the target activity event through the activity page. Therefore, for other users who view the first video in the video application, not only can they intuitively view the activity information of the target activity event in the first video, but they can also participate in the target activity event by triggering the participation component of the target activity event if they are interested in the target activity event, thereby improving the efficiency of other users' participation in the target activity event.

[0073] The disclosed embodiment provides a video generation method, when a user participates in an activity event in a video platform and meets the conditions for receiving an activity reward, the terminal displays a collection prompt information to prompt the user of the activity reward that can be currently received. In the process of the user sharing the collection prompt information, the terminal can automatically render the activity reward, the user's account information and the video template corresponding to the activity event to generate a video work showing the user's award situation and activity information, without the need for the user to manually edit the video work, thereby improving the efficiency of video work editing and the efficiency of users sharing their award situation. After the user publishes the video work, the terminal can also display the participation component of the activity event in the preset area of ​​the video work when displaying the video work, so that other users can directly click on the participation component to participate in the activity event, which can not only meet the user's needs to share the award situation, but also attract other users in the video platform to participate in the activity event, effectively improving the user activity in the video platform.

[0074] In some embodiments, in response to a sharing operation on receiving the prompt information, displaying the first video includes:

[0075] In response to a sharing operation of receiving the prompt information, a video template corresponding to the target activity event is displayed on a video editing page, and the video editing page is used to edit the video work to be published;

[0076] Based on the configuration information of the video template, fill the account information of the first user account and the reward information of the virtual resource in the video template, where the configuration information is used to indicate the information to be filled in the video template, and the reward information includes at least one of a reward type and a reward amount;

[0077] Rendering the filled video template to obtain a first video;

[0078] The first video is displayed on the video editing page.

[0079] In the disclosed embodiment, multiple processes of generating the first video can be displayed to the user. Therefore, by generating the first video through the above method, the user can clearly and intuitively perceive the generation process of the first video, thereby reducing the user's anxiety of waiting and improving the user's usage experience and human-computer interaction efficiency.

[0080] In some embodiments, in response to a sharing operation on receiving the prompt information, displaying the first video includes:

[0081] In response to a sharing operation of receiving the prompt information, a loading animation is displayed on a video editing page, where the video editing page is used to edit the video work to be published, and the loading animation is used to indicate that the first video is being generated and the progress of the generation of the first video;

[0082] When the generation of the first video is completed, the first video is displayed on the video editing page.

[0083] In the disclosed embodiment, by displaying the generation progress of the first video through a loading animation, the user can intuitively perceive the generation status of the first video, which can reduce the user's anxiety of waiting to a certain extent, thereby improving the user's usage experience.

[0084] In some embodiments, the method further comprises:

[0085] In response to an editing operation on the first video input in the video editing page, at least one of the material, special effects, filters, and soundtrack of the first video is adjusted based on the editing operation;

[0086] The adjusted first video is displayed on the video editing page.

[0087] In the disclosed embodiment, by supporting the user to manually edit the first video, not only can the user's personalized needs for editing videos be met, but also the user's usage experience can be improved and the human-computer interaction efficiency can be improved.

[0088] In some embodiments, the method further comprises:

[0089] In response to the sharing operation of the collection prompt information, issuing the virtual resource to the first user account; or,

[0090] In response to the claiming operation of the virtual resource, the virtual resource is issued to the first user account.

[0091] In the disclosed embodiment, by issuing activity rewards to the user's user account when the user shares the activity rewards or receives the activity rewards, it can not only ensure that the user can receive the activity rewards immediately, but also increase the user's sense of participation in the process of receiving the activity rewards, thereby improving the user's activity participation experience.

[0092] In some embodiments, the participation component is used to return to the activity page of the target activity event after being triggered by the first user account, or to jump to the activity page after being triggered by the second user account, so that the second user account can participate in the target activity event through the activity page. The second user account is a user account other than the first user account.

[0093] In the disclosed embodiment, since the participation component is used to jump to the activity page of the target activity event after being triggered, the first user account that has participated in the target activity event can return to the activity page and continue to participate in the target activity event by triggering the participation component in the first video, thereby improving the efficiency of human-computer interaction. For other user accounts that browse the first video, by triggering the participation component in the first video, they can directly go to the activity page to participate in the target activity event, thereby improving the efficiency of different user accounts participating in the target activity event.

[0094] In some embodiments, the method further comprises:

[0095] Displaying a second video on a video playback page, the second video being a video work posted by a user account other than the first user account, a participating component of a target activity event being displayed in a preset area of ​​the second video, and the video playback page being used to display the video work;

[0096] In response to a triggering operation on the participation component, an activity page of the target activity event is displayed, so that the first user account participates in the target activity event through the activity page.

[0097] In the disclosed embodiment, the user can view video works related to the target activity event posted by other users on the video playback page, thereby improving the user's perception of the target activity event and attracting the user to participate in the target activity event. In addition, by displaying the participation component in the preset area of ​​the second video, when the user is interested in the target activity event, the participation component can be directly triggered to participate in the target activity event, thereby improving the efficiency of the user's participation in the target activity event.

[0098] In some embodiments, the method further comprises:

[0099] In the case where a third user account has posted a third video, displaying participation prompt information, the third user account is a user account associated with the first user account, the third video is a video work with a participation component of a target activity event displayed in a preset area, and the participation prompt information is used to prompt participation in the target activity event;

[0100] In response to a confirmation operation on the participation prompt information, a third video is displayed, wherein a participation component of the target activity event is displayed in a preset area of ​​the third video;

[0101] In response to a triggering operation on the participation component, an activity page of the target activity event is displayed, so that the first user account participates in the target activity event through the activity page.

[0102] In the disclosed embodiment, when a user's friend publishes a video work related to a target activity event, the user can be notified in time to view the video work, thereby improving the user's awareness of the target activity event, attracting the user to participate in the target activity event, and improving the user activity of the video application. In addition, by displaying the participation component of the target activity event in the video work published by the friend, the user can directly trigger the participation component to participate in the target activity event when the user is interested in the target activity event, thereby improving the efficiency of the user's participation in the target activity event.

[0103] In some embodiments, the method further comprises:

[0104] Display the video playback page, which is used to display video works;

[0105] In response to a content switching operation in the video playback page, switching the video work displayed in the video playback page to the next video work;

[0106] When a participation component of a target activity event is displayed in a preset area of ​​a currently displayed video work, an activity page of the target activity event is displayed in response to a triggering operation on the participation component, so that the first user account can participate in the target activity event through the activity page.

[0107] In the disclosed embodiment, when a user randomly watches a video work through a video playback page, a video work related to a target activity event can be randomly displayed to the user, thereby attracting the user to participate in the target activity event and improving the user activity of the video application. In addition, when the user is interested in the target activity event, the user can directly trigger the participation component to participate in the target activity event, thereby improving the efficiency of the user's participation in the target activity event.

[0108] In some embodiments, for any video work displayed in the video playback page, before displaying the video work, the method further includes:

[0109] If the video work needs to show the participating components of any activity event, determine the activity state of the activity event, which includes open state and closed state;

[0110] When the activity state is in the open state, determining a component for displaying the activity event in a preset area of ​​the video work;

[0111] Determines a component that blocks an active event within a predetermined area of ​​a video production when the active state is in an off state.

[0112] In the disclosed embodiment, by determining whether to display the participating components of the active event in a preset area of ​​the video work according to the open status of the active event before displaying the video work, it is possible to avoid the situation where the user can still see the participating components of the active event when the active event is closed, thereby ensuring the timeliness of the participating components.

[0113] In some embodiments, the method further comprises:

[0114] Obtaining operation results of various operations performed by the first user account on the activity page;

[0115] When the operation result satisfies the preset completion condition of the target activity event, it is determined that the first user account meets the conditions for receiving the virtual resource.

[0116] In the disclosed embodiment, the preset completion conditions currently satisfied by the operation results and the virtual resources that the user can claim can be determined more accurately based on the operation results of the various operations performed by the user on the activity page. Then, the terminal can promptly display the corresponding claim prompt information to the user to enhance the user's perception of the activity reward, thereby attracting the user to continue to participate in the activity event.

[0117] In some embodiments, when the first user account meets the conditions for claiming the virtual resource, displaying a claim prompt message includes:

[0118] When the first user account meets the conditions for receiving the virtual resource, a reward receiving request is sent to the server, the reward receiving request is used to request the server to send reward information of the virtual resource, and the reward information includes at least one of the reward type and the reward amount. When the server receives the reward receiving request, it is used to determine whether the first user account meets any preset completion condition of the target activity event, and determine the reward information to be sent to the first user account based on the preset completion condition met by the first user account;

[0119] When the reward information sent by the server is received, based on at least one of the reward type and reward quantity included in the reward information, collection prompt information is displayed, and the collection prompt information is used to prompt at least one of the reward type and reward quantity of the virtual resources that the first user account can collect.

[0120] In the disclosed embodiment, by requesting the server to send reward information when the user meets the conditions for receiving the activity reward, and displaying the collection prompt information based on the received reward information, the activity rewards that can be collected can be intuitively displayed to the user, thereby enhancing the user's perception of the activity rewards and increasing the user's enthusiasm for participating in the target activity event.

[0121] Above Figure 2The main process of a video generation method disclosed in the present invention is shown below. The video generation solution provided by the present invention is further described below. Figure 3 is a flowchart of another video generation method according to an exemplary embodiment, the method is executed by a terminal, see Figure 3 , the method comprising:

[0122] In step S301, when the first user account meets the conditions for receiving virtual resources, the terminal sends a reward receiving request to the server.

[0123] In the disclosed embodiment, a video application is installed and running on the terminal. Users can log in to the video application through the terminal and use the services provided by the video application. For example, users can watch video works, publish video works, and participate in reward activities such as level-breaking activities, card collection activities, or support activities in the video application. For ease of description, the account logged in by the user in the video application is referred to as the first user account below, and the first user account is the user account participating in the target activity event. The reward of the target activity event is referred to as a virtual resource below. Among them, virtual resources include but are not limited to virtual currency, coupons, full-reduction coupons, and red envelopes.

[0124] When a user uses the first user account to participate in the target activity event, the user needs to complete at least one task in the target activity event to receive the reward of the target activity event, that is, the virtual resource. For example, when the target activity event is a level-breaking activity, the user needs to complete at least one task level, and can only receive the virtual resource after completing a specific task level. Alternatively, when the target activity event is a card collection activity, the user can only receive the virtual resource after collecting all 10 preset cards. Therefore, the terminal can determine whether the first user account meets the conditions for receiving virtual resources based on the user's task completion in the target event.

[0125] When the user completes at least one task in the target activity event, the terminal determines that the first user account meets the conditions for receiving virtual resources, and the terminal sends a reward collection request to the server. The reward collection request is used to request the server to issue reward information for virtual resources. The reward information includes at least one of the reward type and the reward amount. Among them, the reward type is used to indicate the type of virtual resources. The types of virtual resources include virtual currency, coupons, full-reduction coupons, and red envelopes. The reward amount is used to indicate the amount of virtual resources. The server is used to determine whether the first user account meets any preset completion condition of the target activity event based on the task completion status of the first user account in the target activity event when receiving the reward collection request. The server is also used to determine the reward information to be issued to the first user account based on the preset completion conditions met by the first user account.

[0126] Among them, the target activity event may include multiple preset completion conditions, and the reward information corresponding to different preset completion conditions is not exactly the same. For example, when the target activity event is a level-breaking activity, the preset completion conditions include passing 5 task levels, passing 10 task levels, and passing all task levels. The reward information corresponding to the above three preset completion conditions are: 5 virtual coins, 10 virtual coins, and 50 virtual coins, respectively. When the target activity event is a support activity, the preset completion conditions include successfully inviting 4 friends to help and successfully inviting 10 friends to help. The reward information corresponding to the above two preset completion conditions is: 1 coupon and 10 coupons, respectively. When the first user account successfully passes 10 levels in the level-breaking activity, the server determines that the reward information sent to the first user account is 10 virtual coins.

[0127] In some embodiments, when the number of virtual resources is limited, the server can also sort multiple user accounts in chronological order from first to last, according to the time point of completing the task, to obtain a ranking result. Then, the server sends corresponding reward information to the user accounts ranked in the top M / N positions according to the total number of virtual resources M; and sends prompt information to other user accounts to prompt that the reward for the task has been issued. Among them, N is the number of rewards included in the reward information. For example, in a level-breaking activity, if there are 50,000 virtual coins corresponding to the preset completion condition of "passing 10 task levels", among the multiple user accounts that have completed the preset completion condition, only the user accounts ranked in the top 50,000 / 10=5,000 can receive 10 virtual coins.

[0128] In step S302, when the reward information sent by the server is received, the terminal displays a collection prompt information based on at least one of the reward type and reward quantity included in the reward information, and the collection prompt information is used to prompt at least one of the reward type and reward quantity of virtual resources that the current user account can collect.

[0129] In the disclosed embodiment, after the terminal receives the reward information sent by the server, the terminal generates a collection prompt information according to at least one of the reward type and reward amount included in the reward information. Then, the terminal displays the collection prompt information in the current page to prompt the user of the reward resources that can be collected. Among them, the current page can be the activity page of the target activity event, or it can be the task settlement page displayed after the task is completed. The disclosed embodiment does not limit the content displayed in the current page. By requesting the server to send reward information when the user meets the conditions for collecting the activity reward, and displaying the collection prompt information according to the received reward information, the user can be intuitively shown the activity rewards that can be collected at present, thereby enhancing the user's perception of the activity rewards and increasing the user's enthusiasm for participating in the target activity event.

[0130] In some embodiments, the terminal can display the collection prompt information using a template corresponding to the reward type according to the reward type. Alternatively, the terminal can generate the collection prompt information by filling in the reward amount in the template corresponding to the reward type according to the reward type and the reward amount. For example, in the case where the reward type is a red envelope, the terminal can display the collection prompt information in the form of a red envelope through a pop-up window to prompt the user of the red envelope that can be currently collected and the number of virtual resources included in the red envelope.

[0131] Figure 4 FIG. 1 is a schematic diagram showing a method of collecting prompt information according to an exemplary embodiment. Figure 4 As shown, when the target activity event is a level-breaking activity, the terminal can display a pop-up window 401 in the activity page of the target activity event when the user successfully passes 10 task levels. Among them, the pop-up window 401 displays that the target activity event is a "level-breaking activity" and the collection prompt information "10 virtual coins can be collected at present". In addition, a close control is also displayed below the pop-up window 401. When the user currently does not have a need to collect the award, the user can trigger the close control to control the terminal to shield and close the pop-up window 401, and then continue to participate in the level-breaking activity on the activity page. It should be noted that after the user manually closes the pop-up window 401, the terminal can display the pop-up window again when the user successfully passes any subsequent task level, and display the virtual resources that the user can collect in the pop-up window to avoid the user missing the award due to accidentally touching the close control.

[0132] In step S303, in response to the sharing operation of receiving the prompt information, the terminal displays a loading animation on the video editing page, the video editing page is used to edit the video work to be published, and the loading animation is used to indicate that the first video is being generated and the generation progress of the first video.

[0133] In the disclosed embodiment, after the user views the prize collection prompt information, the user can share the prize collection status displayed in the prize collection prompt information with other users, thereby realizing his / her own sharing needs or showing off needs. In response to the user's sharing operation on the collection prompt information, the terminal generates a video work to be shared by rendering the account information of the first user account, the virtual resources that can be collected by the first user account, and the video template corresponding to the target activity event. Among them, the account information includes at least one of the user's avatar and user name. For ease of description, the video work to be shared will be referred to as the first video below, and the video template corresponding to the target activity event will be referred to as the target video template. Among them, the target video template can be a video template pre-recorded by a technician. The target video template displays the activity information of the target activity event, such as the core gameplay of the activity, the activity rules, the opening hours of the activity, and the activity rewards.

[0134] During the process of the terminal generating the first video, the terminal can display a loading animation. In response to the user's sharing operation of receiving the prompt information, the terminal displays a loading animation on the video editing page. The loading animation is used to indicate that the terminal is currently generating the first video. The loading animation is also used to dynamically display the generation progress of the first video. For example, the loading animation can be a progress bar, a progress ring, or a progress curve that changes dynamically with the generation progress of the first video, and the embodiments of the present disclosure are not limited to this. By displaying the generation progress of the first video through the loading animation, the user can intuitively perceive the generation status of the first video, which can reduce the user's anxiety of waiting to a certain extent, thereby improving the user's experience.

[0135] In some embodiments, the terminal can determine the generation progress of the first video based on the average duration of video rendering and the duration consumed by the terminal to generate the first video. Among them, the average duration of video rendering can be an average value determined by a technician based on the duration of historically rendered videos, such as 3 seconds, 5 seconds or 7 seconds, and the embodiments of the present disclosure do not limit this. For example, when the average duration is 3 seconds and the terminal has consumed 2 seconds to generate the first video, the terminal determines that the generation progress of the current first video is 67%; or, when the terminal has consumed 5 seconds to generate the first video, the terminal determines that the generation progress of the current first video is 99%.

[0136] In some embodiments, the terminal can determine the rendering progress as the generation progress of the first video. The rendering progress can be the proportion of the data volume of the rendered video material in the total data volume of the video material. For example, when the data volume of the video material is 10MB (Mbyte) and the terminal has rendered 5MB of video material, the terminal determines that the generation progress of the current first video is 50%.

[0137] It should be noted that, based on the above two methods for determining the generation progress, the terminal can also dynamically adjust the generation progress of the first video according to network conditions, such as network bandwidth, information transmission rate, and signal interference, so as to ensure that a more accurate generation progress is displayed to the user. For example, in the case of poor network conditions, the terminal will reduce the generation progress by 10% and then display it to the user; in the case of good network conditions, the terminal will directly display the generation progress to the user.

[0138] In some embodiments, before the terminal generates the first video, the terminal can also issue virtual resources to the first user account. In response to the user's sharing operation on the collection prompt information, the terminal issues virtual resources to the first user account. Alternatively, in response to the user's collection operation of the virtual resource, the terminal issues virtual resources to the first user account. Among them, the sharing operation on the collection prompt information can be a trigger operation on the sharing control, and the collection operation on the virtual resource can be a trigger operation on the collection control. Alternatively, the sharing operation and the collection operation can also be different trigger operations performed on the collection prompt information, such as a single-click operation, a double-click operation, or a long press operation, etc., which are not limited in this embodiment of the present disclosure. By issuing activity rewards to the user account of the user when the user shares the activity reward or receives the activity reward, it can not only ensure that the user can receive the activity reward immediately, but also increase the user's sense of participation in the process of receiving the activity reward, thereby improving the user's activity participation experience.

[0139] In addition, when the terminal issues the virtual resource to the first user account, the terminal may display at least one of a prompt text and a notification message on the current page to prompt the user that the virtual resource has been issued to the user account.

[0140] Figure 5 FIG. 1 is a schematic diagram showing a method of claiming virtual resources according to an exemplary embodiment. Figure 5 As shown, the terminal displays the receiving prompt information in the pop-up window, and also displays a sharing control 501 and a receiving control 502 below the pop-up window. Figure 6 FIG. 1 is a schematic diagram showing another method of claiming virtual resources according to an exemplary embodiment. Figure 6 As shown in (a), in response to the user's triggering operation on the sharing control, the terminal issues a virtual resource "10 virtual coins" to the first user account, and gradually fades out the pop-up window, the receiving control, and the sharing control in display 601. In the process of gradually fading out display 601, the terminal can display prompt text 602 to prompt the user to successfully receive 10 virtual coins. In addition, after 601 completely disappears, the terminal blocks prompt text 602 and displays the video editing page to display a loading animation on the video editing page or display the generated first video. Figure 6As shown in (b), in response to the user's triggering operation on the receiving control, the terminal blocks the pop-up window, the receiving control and the sharing control, and displays a notification message 603 to prompt the user to successfully receive 10 virtual coins.

[0141] It should be noted that the above Figure 5 and Figure 6 All of them are schematic diagrams of claiming virtual resources by taking the level-breaking activity as an example. In some embodiments, the terminal can also display the claim prompt information in other display styles. In addition, for target activity events of other gameplays, the terminal can also display the corresponding activity content in the activity page, and the embodiments of the present disclosure are not limited to this.

[0142] Figure 7 FIG. 1 is a schematic diagram of a video editing page according to an exemplary embodiment. Figure 7 As shown in (a) in the figure, the video editing page displays a loading animation and the generation progress of the first video. As the generation progress of the first video increases, the terminal displays a loading animation with a growing black area in the progress bar until the progress bar turns completely black. In addition, the video editing page also displays editing options such as material, soundtrack, special effects, filter and text. After the first video is generated, the user can edit and adjust the corresponding content in the first video through any editing option.

[0143] In step S304, when the generation of the first video is completed, the terminal displays the first video on the video editing page.

[0144] In the embodiment of the present disclosure, when the first video is generated, the terminal displays the first video on the video editing page so that the user can preview the first video. Figure 7 As shown, when the first video is generated, the generation progress of the first video is 100%, and then the terminal displays Figure 7 The video editing page shown in (b) in the figure. Figure 7 As shown in (b) in FIG. 1 , a video screen of the first video is displayed on the video editing page. The user can view the first video on the video editing page, or edit the first video through the editing controls on the video editing page.

[0145] It should be noted that the above steps S303-S304 are an exemplary solution for generating the first video. In some embodiments, the terminal can also display the target video template to the user during the process of generating the first video. In response to the user's sharing operation of receiving the prompt information, the terminal jumps to the video editing page and displays the video template corresponding to the target activity event on the video editing page, that is, the target video template. Then, the terminal obtains the configuration information of the target video template. Among them, the configuration information is used to indicate the information required to be filled in the video template. For example, the configuration information indicates the account information of the user account filled in the target video template and the reward information of the virtual resources that the user account can receive. Among them, the account information includes at least one of an avatar and a user name. The reward information includes at least one of a reward type and a reward amount. Then, the terminal fills the account information of the first user account and the reward information of the virtual resources in the target video template according to the configuration information of the target video template. In response to the completion of the filling, the terminal renders the filled target video template to obtain the first video, and displays the first video on the video editing page.

[0146] It should be noted that, in the process of the terminal using this method to generate the first video, the terminal can first display the target video template to be filled in the video editing page, so that the user can preview part of the content in the first video. Then, the terminal can also display a demonstration animation of filling account information and reward information in the target video template, so that the user can intuitively perceive the generation process of the first video. After the filling is completed, during the process of the terminal rendering the target video template, the terminal can display a loading animation on the video editing page to show the user the rendering progress of the video. Therefore, by generating the first video through the above method, the user can clearly and intuitively perceive the generation process of the first video. Compared with only showing the loading animation to the user, this method can show the user multiple processes of generating the first video, thereby reducing the user's anxiety of waiting and improving the user's user experience and human-computer interaction efficiency.

[0147] In some embodiments, the terminal also supports some simple operations that can be completed manually by the user during the process of generating the first video. For example, when the terminal displays the target video template, when displaying the video frame that needs to be filled with account information, the terminal pauses playing the target video template, and suspends the avatar, user name and operation guide animation of the first user account above the current video frame. Among them, the operation guide animation is used to instruct the user to manually drag the avatar and user name to the position to be filled in the video frame. Alternatively, when displaying the video frame that needs to be filled with reward information, the terminal pauses playing the target video template, and suspends the reward type, reward amount and operation guide animation of the virtual resource above the current video frame. In response to the user dragging any information to the corresponding position, the terminal fills the information dragged by the user into the target video template to fill the target video template. Generating the first video by the above method can enhance the user's sense of participation and improve the user's interactive experience.

[0148] In step S305, in response to an editing operation on the first video input in the video editing page, the terminal adjusts at least one of the material, special effects, filters, and soundtrack of the first video based on the editing operation.

[0149] In the disclosed embodiment, the video editing page displays editing options such as material, soundtrack, special effects, filters, and text. The user can edit and adjust the corresponding content in the first video through any editing option. Accordingly, in response to the editing operation input by the user in the video editing page, such as the triggering operation of the editing option, the adjustment operation of the material, or the operation of adding a filter, the terminal can make corresponding adjustments to at least one of the material, special effects, filters, and soundtrack in the first video according to the editing operation.

[0150] For example, in response to the user's triggering operation on "material", the terminal displays a material editing page. The user can adjust the materials such as videos, pictures, and stickers that appear in the first video on the material editing page, such as adjusting the display position of the material in the video screen, adjusting the start and end time of the material appearing in the first video, etc. The user can also add materials to the first video on the material editing page. The materials added by the user can be materials in the material library or materials uploaded by the user, which is not limited in the embodiments of the present disclosure.

[0151] For another example, in response to the user triggering the "filter", the terminal displays a filter editing page. The user can view at least one filter currently used in the first video on the filter editing page, and the user can also adjust the brightness, saturation, and hue of any filter, or adjust the start and end time of any filter appearing in the first video.

[0152] In step S306, the terminal displays the adjusted first video on the video editing page.

[0153] In the disclosed embodiment, after the terminal adjusts the first video according to the editing operation input by the user, the terminal displays the adjusted first video on the video editing page so that the user can view the effect of the adjustment. By supporting the user to manually edit the first video, it can not only meet the user's personalized needs for editing videos, but also improve the user's experience and improve the efficiency of human-computer interaction.

[0154] It should be noted that the above steps S305-S306 are optional steps. In the case where the user does not need to edit the first video, the user can directly publish the first video. Accordingly, after the terminal executes the above step S304 to generate the first video, the following step S307 can be executed to publish the first video.

[0155] In step S307, in response to the publishing operation of the first video, the terminal publishes the first video, and the first video is displayed with a participating component of the target activity event when displayed, and the participating component is used to jump to the activity page of the target activity event after being triggered.

[0156] In the disclosed embodiment, after the user completes editing the first video on the video editing page, the user can publish the first video in the video application, thereby sharing the activity reward that the user can receive with other users. In response to the user's publishing operation on the first video, the terminal uploads the first video to the server, so as to send the first video to other terminals through the server, so that other users can view the first video through the video application.

[0157] It should be noted that when the first video is displayed, a participation component of the target activity event is displayed in the preset area of ​​the first video. Among them, the participation component is used to return to the activity page of the target activity event after being triggered by the first user account, or jump to the activity page after being triggered by the second user account, so that the second user account can participate in the target activity event through the activity page. The second user account is a user account other than the first user account. Therefore, after the user successfully publishes the first video, he can directly return to the activity page by triggering the participation component displayed in the first video, and continue to participate in the target activity event without the user manually finding the participation entrance of the target activity event, thereby improving the efficiency of human-computer interaction. In the process of other users viewing the first video, if other users are interested in the gameplay or rewards of the target activity event displayed in the first video, other users can also trigger the participation component to jump to the activity page of the target activity event, and participate in the target activity event on the activity page, thereby improving the efficiency of other users participating in the target activity event.

[0158] The preset area of ​​the first video may be the lower left corner, upper left corner, lower right corner, upper right corner, etc. of the video screen of the first video. The embodiment of the present disclosure does not limit the specific display position of the preset area in the first video. The participating component of the target activity event displays at least one of the name, icon, and description text of the target activity event. The description text is used to describe at least one of the gameplay and reward of the target activity event.

[0159] In some embodiments, the publishing operation on the first video may be a triggering operation on a publishing control in a video editing page, or may be a triggering operation on a publishing control in a video publishing page. Figure 7 In response to the user's triggering operation on the control "Next", the terminal displays Figure 8 The video publishing page shown. Figure 8 As shown, the video publishing page displays a thumbnail of the first video and a topic 801 carried by the first video. Among them, topic 801 is a topic carried by the first video by default, that is, a topic that does not need to be manually added by the user. Topic 801 is a topic related to the target activity event. Topic 801 can be a text introducing the gameplay or activity rewards of the target activity event. In response to the user's triggering operation on the publishing control 802, the terminal publishes the first video.

[0160] Fig. 9 FIG. 1 is a schematic diagram of a video playback page according to an exemplary embodiment. Fig. 9 As shown, the video playback page displays the video screen of the first video and the participation component 901 of the target activity event. The name of the target activity event "level-breaking activity" and the description text of the target activity event "win virtual coins" are displayed in the participation component 901. In response to the triggering operation of the participation component 901, you can directly jump to the activity page of the level-breaking activity so that other users can participate in the level-breaking activity through the activity page.

[0161] The above steps S301-S307 mainly introduce the process of the user participating in the target activity event and publishing the video work to share the winning situation. Correspondingly, other users in the video application can also publish the video work through the above steps S301-S307, and then the user can participate in the target activity event by triggering the participation component in the video work published by other users. The following three methods are used to illustrate the process of the user participating in the target activity event.

[0162] Method 1: The terminal displays video works with participation components of the target activity event posted by other users on the video playback page, so that the user can participate in the target activity event by triggering the participation component.

[0163] (1.1) The terminal selects multiple second videos from the video library. The second videos are video works published by user accounts other than the first user account. The second videos are video works that display components of the target activity event in a preset area when displayed. Then, the terminal displays any second video on the video playback page.

[0164] (1.2) In response to the user's triggering operation on the participation component, the terminal displays the activity page of the target activity event so that the user can participate in the target activity event through the activity page. Among them, the content displayed in the activity page of the target activity event is related to the gameplay of the target activity event. For example, when the target activity event is a level-breaking activity, the activity page displays multiple task levels to be completed and the rewards for the task levels. When the target activity event is a card collection activity, the activity page displays multiple tasks and multiple cards that need to be collected. Users can collect cards by completing multiple tasks on the activity page.

[0165] By executing the above steps (1.1)-(1.2), users can view video works related to the target activity event posted by other users on the video playback page, that is, the second video, thereby improving the user's perception of the target activity event and attracting the user to participate in the target activity event. In addition, by displaying the participation component in the preset area of ​​the second video, when the user is interested in the target activity event, the participation component can be directly triggered to participate in the target activity event, thereby improving the efficiency of the user's participation in the target activity event.

[0166] In some embodiments, the terminal can also display any second video in the video page when displaying the video playback page for the first time, so that the first video work seen by the user after opening the video application is the video work related to the target activity event, thereby further improving the user's perception of the target activity event.

[0167] Method 2: When a user's friend publishes a video work that carries a participation component of a target activity event, the user is prompted to view the video work so that the user can understand or participate in the target activity event through the video work.

[0168] (2.1) When a third user account publishes a third video, the terminal displays participation prompt information. The third user account is a user account associated with the first user account. For example, the third user account is a user account followed by the first user account, or the third user account is a user account that mutually follows the first user account. The third video is a video work that displays a participation component of the target activity event in a preset area, that is, the third video is a video work generated by the above-mentioned video generation method after the third user account participates in the target activity event. The participation prompt information is used to prompt users to participate in the target activity event.

[0169] (2.2) In response to the user's confirmation operation on the participation prompt information, the terminal displays a third video. The participation component of the target activity event is displayed in the preset area of ​​the third video. The user can view the gameplay and activity rewards of the target activity event displayed in the third video. If the user is interested in the target activity event, the user can participate in the target activity event by triggering the participation component.

[0170] (2.3) In response to the triggering operation on the participation component, the terminal displays an activity page of the target activity event so that the user can participate in the target activity event through the activity page.

[0171] By executing the above steps (2.1)-(2.3), when a user's friend posts a video work related to a target activity event, the user can be notified in time to view the video work, thereby improving the user's awareness of the target activity event, attracting the user to participate in the target activity event, and improving the user activity of the video application. In addition, by displaying the participation component of the target activity event in the video work posted by the friend, the user can directly trigger the participation component to participate in the target activity event when he is interested in the target activity event, thereby improving the efficiency of human-computer interaction.

[0172] Method three: when a user watches a video work through a video playback page, a video work carrying a participation component of a target activity event can be randomly displayed to the user, so that the user can participate in the target activity event by triggering the participation component.

[0173] (3.1) In response to the user launching the video application, the terminal displays a video playback page.

[0174] (3.2) In response to the user's content switching operation in the video playback page, the terminal switches the video work displayed in the video playback page to the next video work. The content switching operation may be an upward swipe operation, a downward swipe operation, a left swipe operation, or a right swipe operation, which is not limited in the embodiment of the present disclosure.

[0175] In some embodiments, for any video work displayed in the video playback page, before the terminal displays the video work, the terminal can determine whether to display the participating components of the activity event in the preset area of ​​the video work. In the case where the video work needs to display the participating components of any activity event, the terminal determines the activity state of the activity event. Among them, the activity state includes an open state and a closed state. In the case where the activity state is an open state, the terminal determines to display the participating components of the activity event in the preset area of ​​the video work. Therefore, when the video work is subsequently displayed, the terminal can display the participating components of the activity event in the preset area of ​​the video work. In the case where the activity state is a closed state, the terminal determines to shield the participating components of the activity event in the preset area of ​​the video work. Therefore, when the video work is subsequently displayed, the participating components of the activity event are not displayed in the preset area of ​​the video work. By determining whether to display the participating components of the activity event in the preset area of ​​the video work according to the open state of the activity event before displaying the video work, it is possible to avoid the situation where the user can still see the participating components of the activity event when the activity event is closed, thereby ensuring the timeliness of the participating components.

[0176] In some embodiments, the terminal determines the activity state of the activity event by querying whether the current time point is within the open time range of the activity event. When the current time point is within the open time range of the activity event, the terminal determines that the activity state of the activity event is an open state. When the current time point is outside the open time range of the activity event, the terminal determines that the activity state of the activity event is a closed state. By querying whether the current time point is within the open time range of the activity event, the activity state of the activity event can be determined more accurately.

[0177] (3.3) When a participation component of a target activity event is displayed in a preset area of ​​a currently displayed video work, in response to a user's triggering operation on the participation component, the terminal displays an activity page of the target activity event, so that the user can participate in the target activity event through the activity page.

[0178] By executing the above steps (3.1)-(3.3), when the user is randomly watching a video work through the video playback page, the user can be randomly shown a video work related to the target activity event, thereby attracting the user to participate in the target activity event and improving the user activity of the video application. In addition, when the user is interested in the target activity event, the user can directly trigger the participation component to participate in the target activity event, thereby improving the efficiency of human-computer interaction.

[0179] In some embodiments, in the process of a user participating in a target activity event through an activity page, the terminal can determine whether the user can receive the reward of the target activity event based on the operations performed by the user and the results of the operations. The terminal obtains the operation results of the various operations performed by the first user account in the activity page. When the operation results meet the preset completion conditions of the target activity event, the terminal determines that the first user account has the conditions for receiving virtual resources. Then, the terminal executes the above step S301 to display the collection prompt information to the user. By based on the operation results of the various operations performed by the user on the activity page, it is possible to more accurately determine the preset completion conditions currently met by the operation results and the virtual resources that the user can receive. Then, the terminal can promptly display the corresponding collection prompt information to the user to enhance the user's perception of the activity reward, thereby attracting the user to continue to participate in the activity event.

[0180] Among them, the target activity event may include multiple preset completion conditions. The virtual resources corresponding to different preset completion conditions are not exactly the same. For example, when the target activity event is a level-breaking activity, the preset completion conditions include passing 5 task levels, passing 10 task levels, and passing all task levels. The reward information corresponding to the above three preset completion conditions are: 5 virtual coins, 10 virtual coins, and 50 virtual coins, respectively. When the terminal determines that the user has passed 10 task levels based on the user's operation results, the terminal determines that the operation result meets the second preset completion condition, and the first user account has the conditions for receiving 10 virtual coins. The terminal displays the collection prompt information to prompt the user that he can currently receive 10 virtual coins.

[0181] The above embodiment takes the terminal as the execution subject as an example to illustrate the process of the user participating in the target activity event and publishing the first video to share the winning situation. In order to more clearly illustrate the above process, the target activity event is taken as an example to combine Fig.10 The interactive flow chart for publishing the first video shown illustrates the steps of interaction between the user, the terminal and the server in the above process.

[0182] like Fig.10 As shown, steps 1 to 6 are the process of the terminal displaying the receipt prompt information.

[0183] 1. The user participates in the level-breaking activity on the activity page in the video application and successfully passes any mission level.

[0184] 2. The terminal uses the video application to call the reward interface on the server to send a reward request to the server. The reward request carries the user account ID and the task level ID.

[0185] 3. After receiving the reward claiming request, the server writes the clearance information of the user account into the database. The clearance information includes the ID of the user account and the ID of the task level. The clearance information is used to indicate that the user account has successfully passed the task level.

[0186] 4. The database returns a successful write response of the customs clearance information to the server to notify the server that the customs clearance information of the user account has been successfully written into the database.

[0187] 5. In response to receiving the write success response, the server determines the reward information corresponding to the task level according to the identifier of the task level, and sends the reward information to the video application.

[0188] 6. After the terminal receives the reward information through the video application, the terminal displays the collection prompt information on the activity page according to the reward information to prompt the user of the reward information of the activity reward that can be collected at present.

[0189] Continue to see Fig.10 , step 7-step 16 is the process of the terminal generating the first video.

[0190] 7. Users click on the sharing control on the activity page to share their winning status.

[0191] 8. In response to the user clicking the sharing control, the terminal calls the reward interface of the server to send a settlement request to the server. The settlement request is used to request the server to send the activity reward to the user account.

[0192] 9. In response to receiving the settlement request, the server writes the activity reward to the user account in the database, thereby issuing the activity reward to the user account.

[0193] 10. The database returns a successful response to the server to notify the server that the activity reward has been successfully sent to the user account.

[0194] 11. In response to receiving the successful response, the server sends a reward settlement success response to the video application.

[0195] 12. After the terminal receives a successful reward settlement response through the video application, the terminal pulls up a video editing page in the video application and displays a loading animation on the video editing page.

[0196] 13. The terminal obtains the user account information, activity rewards and video templates corresponding to the level-breaking activity from the server.

[0197] 14. The server returns the user account information, activity rewards and the video template corresponding to the level-breaking activity to the terminal.

[0198] 15. The terminal renders the video template corresponding to the user account information, activity rewards and level-breaking activity to generate a first video.

[0199] 16. The terminal displays the first video on the video editing page.

[0200] Continue to see Fig.10 , step 17-step 18 is the process of the terminal publishing the first video.

[0201] 17. The user publishes the first video by clicking the publish control.

[0202] 18. In response to the user clicking the publishing control, the terminal publishes the first video, wherein the first video displays a participating component of the level-breaking activity when being displayed.

[0203] The following still takes the target activity event as an example, combined with Fig.11 The interactive flow chart of participating in the target activity event shown in the figure illustrates the steps of interaction between the user, the terminal and the server in the process of the user triggering the participation component to participate in the level-breaking activity.

[0204] like Fig.11 As shown, steps 1 to 6 are the process of the terminal displaying the video work to the user.

[0205] 1. Users browse video works on the video playback page of the video application.

[0206] 2. The terminal obtains the video work to be displayed in the video playback page from the first server, wherein the first server is used to provide background services for the video application.

[0207] 3. When the video work needs to display the participating components of the level-breaking activity, the first server queries the activity status of the level-breaking activity through the second server to determine whether the participating components of the level-breaking activity need to be displayed in the video work. The second server is used to provide background services for the level-breaking activity.

[0208] 4. The second server returns the query result to the first server.

[0209] 5. The first server sends the video work to be displayed to the video application according to the query result. If the query result is that the participating components need to be displayed, the video work will be displayed with the participating components of the level-breaking activity.

[0210] 6. The terminal displays the video work on the video playback page through the video application so that the user can browse the video work with the participating components.

[0211] Continue to see Fig.11, Steps 7 to 9 are the process of users participating in the level-breaking activity:

[0212] 7. The user clicks on the participation component in the video work.

[0213] 8. In response to the user's click operation on the participating component, the terminal jumps to the activity page.

[0214] 9. Users participate in the challenge activity through the activity page.

[0215] The disclosed embodiment provides a video generation method, when a user participates in an activity event in a video platform and meets the conditions for receiving an activity reward, the terminal displays a collection prompt information to prompt the user of the activity reward that can be currently received. In the process of the user sharing the collection prompt information, the terminal can automatically render the activity reward, the user's account information and the video template corresponding to the activity event to generate a video work showing the user's award situation and activity information, without the need for the user to manually edit the video work, thereby improving the efficiency of video work editing and the efficiency of users sharing their award situation. After the user publishes the video work, the terminal can also display the participation component of the activity event in the preset area of ​​the video work when displaying the video work, so that other users can directly click on the participation component to participate in the activity event, which can not only meet the user's needs to share the award situation, but also attract other users in the video platform to participate in the activity event, effectively improving the user activity in the video platform.

[0216] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present disclosure, and will not be described in detail here.

[0217] Fig.12 FIG. 1 is a block diagram of a video generating device according to an exemplary embodiment. Fig.12 As shown, the device includes: a first display unit 1201, a second display unit 1202 and a publishing unit 1203.

[0218] The first display unit 1201 is configured to display a claim prompt message when the first user account meets the claim conditions of the virtual resource, the first user account is a user account participating in the target activity event, the virtual resource is a reward of the target activity event, and the claim prompt message is used to prompt the current user account of the virtual resource that can be claimed;

[0219] The second display unit 1202 is configured to display the first video in response to the sharing operation of receiving the prompt information, where the first video is rendered based on the account information of the first user account, the virtual resources, and the target video template, where the account information includes at least one of an avatar and a user name, and the target video template is a video template corresponding to the target activity event, and the target video template is used to display the activity information of the target activity event;

[0220] The publishing unit 1203 is configured to publish the first video in response to the publishing operation on the first video. When the first video is displayed, a participating component of the target activity event is displayed, and the participating component is used to jump to the activity page of the target activity event after being triggered.

[0221] In some embodiments, the second display unit 1202 is configured to respond to a sharing operation on receiving prompt information, display a video template corresponding to the target activity event on a video editing page, and the video editing page is used to edit the video work to be published; based on the configuration information of the video template, fill in the account information of the first user account and the reward information of the virtual resource in the video template, the configuration information is used to indicate the information that needs to be filled in the video template, and the reward information includes at least one of the reward type and the reward amount; render the filled video template to obtain the first video; and display the first video on the video editing page.

[0222] In some embodiments, the second display unit 1202 is configured to display a loading animation on a video editing page in response to a sharing operation on receiving prompt information. The video editing page is used to edit the video work to be published, and the loading animation is used to indicate that the first video is being generated and the generation progress of the first video; when the generation of the first video is completed, the first video is displayed on the video editing page.

[0223] In some embodiments, Fig.13 is a block diagram of another video generating device according to an exemplary embodiment. Fig.13 As shown, the device also includes:

[0224] The adjustment unit 1204 is configured to respond to an editing operation on the first video input in the video editing page and adjust at least one of the material, special effect, filter and soundtrack of the first video based on the editing operation;

[0225] The third display unit 1205 is configured to display the adjusted first video on the video editing page.

[0226] In some embodiments, the apparatus further comprises:

[0227] The issuing unit 1206 is configured to issue the virtual resource to the first user account in response to a sharing operation on the claim prompt information; or, in response to a claim operation on the virtual resource, issue the virtual resource to the first user account.

[0228] In some embodiments, the participation component is used to return to the activity page of the target activity event after being triggered by the first user account, or to jump to the activity page after being triggered by the second user account, so that the second user account can participate in the target activity event through the activity page. The second user account is a user account other than the first user account.

[0229] In some embodiments, the apparatus further comprises:

[0230] The fourth display unit 1207 is configured to display a second video on a video playback page, where the second video is a video work published by a user account other than the first user account. A participating component of a target activity event is displayed in a preset area of ​​the second video, and the video playback page is used to display the video work; in response to a triggering operation on the participating component, an activity page of the target activity event is displayed, so that the first user account can participate in the target activity event through the activity page.

[0231] In some embodiments, the apparatus further comprises:

[0232] The fifth display unit 1208 is configured to display participation prompt information when a third user account has released a third video, the third user account is a user account associated with the first user account, the third video is a video work that displays a participation component of a target activity event in a preset area, and the participation prompt information is used to prompt participation in the target activity event; in response to a confirmation operation on the participation prompt information, the third video is displayed, and a participation component of the target activity event is displayed in the preset area of ​​the third video; in response to a trigger operation on the participation component, an activity page of the target activity event is displayed, so that the first user account can participate in the target activity event through the activity page.

[0233] In some embodiments, the apparatus further comprises:

[0234] The sixth display unit 1209 is configured to display a video playback page, which is used to display video works; in response to a content switching operation in the video playback page, the video work displayed in the video playback page is switched to the next video work; when a participating component of a target activity event is displayed in a preset area of ​​the currently displayed video work, in response to a triggering operation on the participating component, an activity page of the target activity event is displayed, so that the first user account can participate in the target activity event through the activity page.

[0235] In some embodiments, the apparatus further comprises:

[0236] The first determination unit 1210 is configured to determine the activity state of the activity event when the video work needs to display the participating components of any activity event, and the activity state includes an open state and a closed state; when the activity state is the open state, determine to display the participating components of the activity event in a preset area of ​​the video work; when the activity state is the closed state, determine to shield the participating components of the activity event in the preset area of ​​the video work.

[0237] In some embodiments, the apparatus further comprises:

[0238] The acquisition unit 1211 is configured to acquire operation results of multiple operations performed by the first user account on the activity page;

[0239] The second determining unit 1212 is configured to determine that the first user account meets the conditions for receiving the virtual resource when the operation result meets the preset completion conditions of the target activity event.

[0240] In some embodiments, the first display unit 1201 is configured to send a reward collection request to the server when the first user account meets the conditions for collecting virtual resources. The reward collection request is used to request the server to issue reward information of virtual resources. The reward information includes at least one of a reward type and a reward quantity. The server is used to determine whether the first user account meets any preset completion conditions of the target activity event when receiving the reward collection request, and determine the reward information to be issued to the first user account based on the preset completion conditions satisfied by the first user account; when receiving the reward information issued by the server, based on at least one of the reward type and reward quantity included in the reward information, display collection prompt information, and the collection prompt information is used to prompt at least one of the reward type and reward quantity of the virtual resources that the first user account can collect.

[0241] The disclosed embodiment provides a video generation device. When a user participates in an activity event in a video platform and meets the conditions for receiving an activity reward, the terminal displays a reminder message to remind the user of the activity reward that can be received at present. In the process of the user sharing the reminder message, the terminal can automatically render the activity reward, the user's account information, and the video template corresponding to the activity event to generate a video work showing the user's award situation and activity information without the need for the user to manually edit the video work, thereby improving the efficiency of video work editing and the efficiency of users sharing their award situation. After the user publishes the video work, the terminal can also display the participation component of the activity event in the preset area of ​​the video work when displaying the video work, so that other users can directly click on the participation component to participate in the activity event, which can not only meet the user's needs to share the award situation, but also attract other users in the video platform to participate in the activity event, effectively improving the user activity in the video platform.

[0242] It should be noted that the video generation device provided in the above embodiment only uses the division of the above functional units as an example to illustrate when generating a video. In actual applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the electronic device is divided into different functional units to complete all or part of the functions described above. In addition, the video generation device provided in the above embodiment and the video generation method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0243] Regarding the video generating device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0244] Fig.14 14 is a block diagram of an electronic device according to an exemplary embodiment. Generally, the electronic device 1400 includes: a processor 1401 and a memory 1402 .

[0245] The processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1401 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1401 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1401 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0246] The memory 1402 may include one or more computer-readable storage media, which may be non-transitory. The memory 1402 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1402 is used to store at least one program code, which is used to be executed by the processor 1401 to implement the video generation method provided by the method embodiment of the present disclosure.

[0247] In some embodiments, the electronic device 1400 may further optionally include: a peripheral device interface 1403 and at least one peripheral device. The processor 1401, the memory 1402 and the peripheral device interface 1403 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1403 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1404, a display screen 1405, a camera assembly 1406, an audio circuit 1407 and a power supply 1408.

[0248] The peripheral device interface 1403 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1401 and the memory 1402. In some embodiments, the processor 1401, the memory 1402, and the peripheral device interface 1403 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1401, the memory 1402, and the peripheral device interface 1403 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0249] The radio frequency circuit 1404 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1404 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1404 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1404 can communicate with other electronic devices through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1404 may also include circuits related to NFC (Near Field Communication), which is not limited in the present disclosure.

[0250] The display screen 1405 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1405 is a touch display screen, the display screen 1405 also has the ability to collect touch signals on the surface or above the surface of the display screen 1405. The touch signal can be input to the processor 1401 as a control signal for processing. At this time, the display screen 1405 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1405 can be one, and the front panel of the electronic device 1400 is set; in other embodiments, the display screen 1405 can be at least two, which are respectively set on different surfaces of the electronic device 1400 or are folded; in some other embodiments, the display screen 1405 can be a flexible display screen, which is set on the curved surface or folded surface of the electronic device 1400. Even, the display screen 1405 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1405 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0251] The camera assembly 1406 is used to capture images or videos. Optionally, the camera assembly 1406 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the electronic device, and the rear camera is arranged on the back of the electronic device. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1406 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0252] The audio circuit 1407 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1401 for processing, or input them into the radio frequency circuit 1404 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the electronic device 1400. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1401 or the radio frequency circuit 1404 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1407 may also include a headphone jack.

[0253] The power supply 1408 is used to power various components in the electronic device 1400. The power supply 1408 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1408 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0254] Those skilled in the art will understand that Fig.14 The structure shown in the figure does not constitute a limitation on the electronic device 1400, and may include more or less components than those shown in the figure, or combine certain components, or adopt a different component arrangement.

[0255] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 1402 including instructions, and the instructions can be executed by a processor 1401 of a terminal 1400 to complete the above-mentioned video generation method. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0256] A computer program product comprises a computer program, and when the computer program is executed by a processor, the video generating method is implemented.

[0257] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0258] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A video generation method, characterized in that: The method comprises: When the first user account participates in a target activity event and satisfies any preset completion condition of the target activity event, a claim prompt message is displayed on the current page, the target activity event includes multiple task levels, the multiple preset completion conditions of the target activity event are used to indicate passing different numbers of the task levels, the rewards corresponding to the multiple preset completion conditions are not exactly the same, the current page is an activity page or a task settlement page of the target activity event, and the claim prompt message is used to prompt the current user account of the virtual resources that can be claimed, and the virtual resources are the rewards corresponding to the preset completion conditions; In response to a sharing operation on the claim prompt information, display a first video, wherein the first video is rendered based on the account information of the first user account, the virtual resource, and a target video template, wherein the account information includes at least one of an avatar and a user name, and the target video template is a video template corresponding to the target activity event, and the target video template is used to display activity information of the target activity event; In response to a publishing operation on the first video, the first video is published, and when the first video is displayed, a participating component of the target activity event is displayed, and the participating component is used to jump to an activity page of the target activity event after being triggered.

2. The video generation method according to claim 1, characterized in that: The step of displaying the first video in response to the sharing operation of the receiving prompt information includes: In response to the sharing operation of the claim prompt information, displaying a video template corresponding to the target activity event on a video editing page, the video editing page being used to edit the video work to be published; Based on the configuration information of the video template, fill the account information of the first user account and the reward information of the virtual resource in the video template, wherein the configuration information is used to indicate the information to be filled in the video template, and the reward information includes at least one of a reward type and a reward amount; Rendering the filled video template to obtain the first video; The first video is displayed on the video editing page.

3. The video generation method according to claim 1, characterized in that: The step of displaying the first video in response to the sharing operation of the receiving prompt information includes: In response to the sharing operation of the claim prompt information, a loading animation is displayed on a video editing page, the video editing page is used to edit the video work to be published, and the loading animation is used to indicate that the first video is being generated and the generation progress of the first video; When the generation of the first video is completed, the first video is displayed on the video editing page.

4. The video generation method according to claim 2 or 3, characterized in that: The method further comprises: In response to an editing operation on the first video input in the video editing page, adjusting at least one of the material, special effects, filters, and soundtrack of the first video based on the editing operation; The adjusted first video is displayed on the video editing page.

5. The video generation method according to claim 1, characterized in that: The method further comprises: In response to the sharing operation of the claim prompt information, issuing the virtual resource to the first user account; or, In response to the claiming operation of the virtual resource, the virtual resource is issued to the first user account.

6. The video generation method according to claim 1, characterized in that: The participation component is used to return to the activity page of the target activity event after being triggered by the first user account, or to jump to the activity page after being triggered by the second user account, so that the second user account can participate in the target activity event through the activity page. The second user account is a user account other than the first user account.

7. The video generation method according to claim 1, characterized in that: The method further comprises: Displaying a second video on a video playback page, where the second video is a video work published by a user account other than the first user account, and a participating component of the target activity event is displayed in a preset area of ​​the second video, and the video playback page is used to display the video work; In response to a triggering operation on the participation component, an activity page of the target activity event is displayed, so that the first user account participates in the target activity event through the activity page.

8. The video generation method according to claim 1, characterized in that: The method further comprises: In the case where a third user account has posted a third video, displaying participation prompt information, the third user account being a user account associated with the first user account, the third video being a video work in which a participation component of the target activity event is displayed in a preset area, and the participation prompt information is used to prompt participation in the target activity event; In response to a confirmation operation on the participation prompt information, displaying the third video, wherein a participation component of the target activity event is displayed in a preset area of ​​the third video; In response to a triggering operation on the participation component, an activity page of the target activity event is displayed, so that the first user account participates in the target activity event through the activity page.

9. The video generation method according to claim 1, characterized in that: The method further comprises: Displaying a video playback page, wherein the video playback page is used to display the video work; In response to a content switching operation in the video playback page, switching the video work displayed in the video playback page to the next video work; When a participation component of the target activity event is displayed in a preset area of ​​the currently displayed video work, in response to a triggering operation on the participation component, an activity page of the target activity event is displayed so that the first user account can participate in the target activity event through the activity page.

10. The video generation method according to claim 9, characterized in that: For any video work displayed in the video playback page, before displaying the video work, the method further includes: In the case where the video work needs to display a participating component of any activity event, determining the activity state of the activity event, wherein the activity state includes an open state and a closed state; When the activity state is an open state, determining to display the participating components of the activity event in a preset area of ​​the video work; When the activity state is a closed state, it is determined to shield the participating components of the activity event in a preset area of ​​the video work.

11. The video generation method according to any one of claims 7 to 9, characterized in that: The method further comprises: Obtaining operation results of multiple operations performed by the first user account on the activity page; In a case where the operation result satisfies a preset completion condition of the target activity event, it is determined that the first user account meets the claiming condition of the virtual resource.

12. The video generation method according to claim 1, characterized in that: When the first user account participates in the target activity event and satisfies any preset completion condition of the target activity event, displaying the collection prompt information on the current page includes: When the first user account participates in the target activity event and meets the conditions for receiving the reward of the target activity event, a reward receiving request is sent to the server, wherein the reward receiving request is used to request the server to send reward information, wherein the reward information includes at least one of a reward type and a reward amount, and the server is used to determine whether the first user account meets any preset completion condition of the target activity event upon receiving the reward receiving request, and determine the reward information to be sent to the first user account based on the preset completion condition met by the first user account; When the reward information sent by the server is received, the collection prompt information is displayed on the current page based on at least one of the reward type and reward quantity included in the reward information, and the collection prompt information is used to prompt at least one of the reward type and reward quantity of the virtual resources that the first user account can collect.

13. A video generating device, characterized in that: The device comprises: A first display unit is configured to display a claim prompt message on a current page when a first user account participates in a target activity event and satisfies any preset completion condition of the target activity event, the target activity event includes a plurality of task levels, the plurality of preset completion conditions of the target activity event are used to indicate passing different numbers of the task levels, the rewards corresponding to the plurality of preset completion conditions are not completely the same, the current page is an activity page or a task settlement page of the target activity event, the claim prompt message is used to prompt the current user account of virtual resources that can be claimed, the virtual resources being rewards corresponding to the preset completion conditions; A second display unit is configured to display a first video in response to a sharing operation on the claim prompt information, wherein the first video is rendered based on the account information of the first user account, the virtual resource, and a target video template, wherein the account information includes at least one of an avatar and a user name, and the target video template is a video template corresponding to the target activity event, and the target video template is used to display activity information of the target activity event; The publishing unit is configured to publish the first video in response to a publishing operation on the first video, wherein the first video displays a participating component of the target activity event when displayed, and the participating component is used to jump to the activity page of the target activity event after being triggered.

14. An electronic device, characterized in that: The electronic device comprises: one or more processors; a memory for storing program code executable by the processor; The processor is configured to execute the program code to implement the video generating method according to any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the video generating method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Information processing method and client side

    CN104615335A

  • Information promotion method and device based on video platform

    CN114554236A