Video playing method, video generating method and related devices

By playing videos recorded with interactive video templates in short video apps and utilizing virtual elements that can eliminate events, the problem of monotonous user interaction methods is solved, and the user's video viewing experience is improved.

CN120812336APending Publication Date: 2025-10-17TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511100598.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2021-09-02
Publication Date
2025-10-17

AI Technical Summary

Technical Problem

The way users interact with videos in existing short video apps is monotonous and lacks fun, which reduces the user viewing experience.

Method used

By responding to the user's interactive participation operations, the video recorded based on the interactive video template is played, which contains virtual elements that can eliminate events, and the elimination effect of the interactive elements is displayed during the playback process.

Benefits of technology

It enhances the user's interactive participation in the video and improves the fun and experience of watching the video.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120812336A_ABST
    Figure CN120812336A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a video playing method, a video generating method and related devices, and the video playing method comprises the steps: responding to an interaction participation operation triggered for a target video, and playing the target video comprising interaction elements; the target video is a video recorded by a video production user based on an interactive video template, the interactive video template is used for indicating a display style of an interactive element in the video and a trigger action corresponding to the interactive element, and the interactive element is a virtual element configured with an erasable event; in the process of playing the target video, in response to an effective elimination operation triggered for the interactive element displayed in the target video, displaying an elimination effect corresponding to the interactive element; the effective elimination operation means that the touch position of the playing interface of the target video is located in an elimination area corresponding to the interactive element. According to the method, a strong sense of participation can be generated in the video watching process of the user, and the video watching experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the patent application No. 202111027273.1 and titled "Video playing method, video generating method and related device" filed on September 2, 2021. TECHNICAL FIELD

[0002] The present application relates to the technical field of Internet, and in particular, to a video playing method, a video generating method and related devices. BACKGROUND

[0003] In recent years, various short video applications (APPs) have emerged and are increasingly favored by users. Users can make and publish videos through these short video APPs, and can also watch videos published by other users through these short video APPs.

[0004] For users who watch videos through short video APPs, they can usually only perform operations such as liking, commenting and sharing on the watched videos. These operation modes are often too monotonous for users and lack of interest, making it difficult for users to feel involved in the process of watching videos, which also reduces the video watching experience of users to some extent. SUMMARY

[0005] The embodiments of the present application provide a video playing method, a video generating method and related devices, which can make users feel stronger involved in the process of watching videos and improve the video watching experience of users.

[0006] Therefore, the first aspect of the present application provides a video playing method, which comprises:

[0007] In response to an interactive participation operation triggered for a target video, playing the target video comprising an interactive element; the target video is a video recorded by a video production user based on an interactive video template, the interactive video template is used to indicate a display style of an interactive element in a video and a trigger action corresponding to the interactive element, and the interactive element is a virtual element configured with an eliminable event;

[0008] In the process of playing the target video, in response to an effective elimination operation triggered for the interactive element displayed in the target video, displaying an elimination effect corresponding to the interactive element; the effective elimination operation refers to that a touch position of a playing interface of the target video is in an elimination area corresponding to the interactive element.

[0009] The second aspect of the present application provides a video generating method, which comprises:

[0010] obtaining a target video recorded based on an interactive video template; the interactive video template is used to indicate a display style of an interactive element in a video and a trigger action corresponding to the interactive element;

[0011] configuring, for each interactive element in the target video, a corresponding eliminable event; the eliminable event is used to play an elimination effect corresponding to the interactive element in response to an effective elimination operation triggered for the interactive element in the target video; the effective elimination operation refers to that a touch position of a play interface of the target video is in an elimination area corresponding to the interactive element.

[0012] The third aspect of the present application provides a video playing device, and the device comprises:

[0013] a video playing module, configured to play a target video comprising an interactive element in response to an interactive participation operation triggered for the target video; the target video is a video recorded by a video production user based on an interactive video template; the interactive video template is used to indicate a display style of an interactive element in a video and a trigger action corresponding to the interactive element; the interactive element is a virtual element configured with an eliminable event;

[0014] a video interaction module, configured to display an elimination effect corresponding to the interactive element in response to an effective elimination operation triggered for the interactive element displayed in the target video during playing of the target video; the effective elimination operation refers to that a touch position of a play interface of the target video is in an elimination area corresponding to the interactive element.

[0015] The fourth aspect of the present application provides a video generation device, and the device comprises:

[0016] a video obtaining module, configured to obtain a target video recorded based on an interactive video template; the interactive video template is used to indicate a display style of an interactive element in a video and a trigger action corresponding to the interactive element;

[0017] an event configuring module, configured to configure, for each interactive element in the target video, a corresponding eliminable event; the eliminable event is used to play an elimination effect corresponding to the interactive element in response to an effective elimination operation triggered for the interactive element in the target video; the effective elimination operation refers to that a touch position of a play interface of the target video is in an elimination area corresponding to the interactive element.

[0018] The fifth aspect of the present application provides a device, and the device comprises a processor and a memory:

[0019] the memory is used to store a computer program;

[0020] The processor is configured to execute the steps of the video playing method according to the computer program or the steps of the video generating method according to the computer program.

[0021] The sixth aspect of the present application provides a computer readable storage medium for storing a computer program, the computer program being configured to execute the steps of the video playing method according to the first aspect or the steps of the video generating method according to the second aspect.

[0022] The seventh aspect of the present application provides a computer program product or a computer program, the computer program product or the computer program comprising computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the computer device to execute the steps of the video playing method according to the first aspect or the steps of the video generating method according to the second aspect.

[0023] From the above technical solutions, it can be seen that the embodiments of the present application have the following advantages:

[0024] The embodiments of the present application provide a video playing method, which proposes a new video interaction form for a video watching user, in which the video watching user can realize interaction with a video by eliminating an interactive element in the video. Specifically, in the video playing method provided by the embodiments of the present application, a target video including an interactive element is played in response to an interactive participation operation triggered for the target video. The target video is a video recorded by a video production user based on an interactive video template, the interactive video template is used to indicate a style of the interactive element in the video and a trigger action corresponding to the interactive element, and the interactive element is a virtual element configured with an eliminable event. During playing of the target video, a deletion effect corresponding to the interactive element is displayed in response to a valid elimination operation triggered for the interactive element displayed in the target video. The valid elimination operation refers to that a touch position of a playing interface of the target video is in a deletion area corresponding to the interactive element. In this way, when a video watching user watches a target video recorded based on an interactive video template, the video watching user can realize interaction with the target video by triggering an elimination operation for the interactive element displayed in the target video. In this way, the user can have a stronger sense of participation during watching of the video, the interestingness of the video watching process is increased, and the video watching experience of the user is improved. BRIEF DESCRIPTION OF DRAWINGS

[0025] Figure 1 An application scenario diagram of the video playing method and the video generating method provided by the embodiments of the present application is shown.

[0026] Figure 2 A flowchart of a video playing method provided by an embodiment of the present application is shown in FIG. 1;

[0027] Figure 3 A schematic diagram of a playing interface of a target video provided by an embodiment of the present application is shown in FIG. 2;

[0028] Figure 4 A schematic diagram of another playing interface of a target video provided by an embodiment of the present application is shown in FIG. 3;

[0029] Figure 5 A schematic diagram of yet another playing interface of a target video provided by an embodiment of the present application is shown in FIG. 4;

[0030] Figure 6 A schematic diagram of an exemplary recording interface of a target video provided by an embodiment of the present application is shown in FIG. 5;

[0031] Figure 7 A schematic diagram of an implementation of an interactive video template provided by an embodiment of the present application is shown in FIG. 6;

[0032] Figure 8 A schematic diagram of an exemplary playing interface of a target video provided by an embodiment of the present application is shown in FIG. 7;

[0033] Figure 9 A schematic diagram of an exemplary result publishing interface provided by an embodiment of the present application is shown in FIG. 8;

[0034] Figure 10 A flowchart of a video generating method provided by an embodiment of the present application is shown in FIG. 9;

[0035] Figure 11 A schematic diagram of an overall implementation architecture of a video playing method and a video generating method provided by an embodiment of the present application is shown in FIG. 10;

[0036] Figure 12 A schematic diagram of elimination of a component of an interactive video provided by an embodiment of the present application is shown in FIG. 11;

[0037] Figure 13 A schematic diagram of a playing flow of an interactive video provided by an embodiment of the present application is shown in FIG. 12;

[0038] Figure 14 A schematic diagram of a structure of a video playing apparatus provided by an embodiment of the present application is shown in FIG. 13;

[0039] Figure 15 A schematic diagram of a structure of a video generating apparatus provided by an embodiment of the present application is shown in FIG. 14;

[0040] Figure 16 A schematic diagram of a structure of a terminal device provided by an embodiment of the present application is shown in FIG. 15;

[0041] Figure 17 A schematic diagram of a structure of a server provided by an embodiment of the present application is shown in FIG. 16. DETAILED DESCRIPTION

[0042] In order to help those skilled in the art better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0043] The terms "first," "second," "third," "fourth," etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential sequence. It should be understood that the numbers used in this way are interchangeable where appropriate so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or apparatus.

[0044] In order to improve the user's video viewing experience and enhance the user's sense of participation when watching a video, the embodiments of the present application provide a video playback method and a video generation method.

[0045] In this video playback method, the terminal device can play the target video including the interactive elements in response to the interactive participation operation triggered by the user for the target video; the target video here is a video recorded by the video production user based on the interactive video template, and the interactive video template is used to indicate the display style of the interactive elements in the video and the trigger action corresponding to the interactive element, and the interactive element is a virtual element configured with an eliminable event; in the process of playing the target video, the terminal device can also respond to the effective elimination operation triggered by the user for the interactive element displayed in the target video, and display the corresponding elimination effect of the interactive element; the effective elimination operation here means that the touch position of the playback interface of the target video is within the elimination area corresponding to the interactive element.

[0046] In this video generation method, the server can obtain a target video recorded by a user based on an interactive video template, where the interactive video template is used to indicate the display style of the interactive elements in the video and the trigger action corresponding to the interactive element; then, for each interactive element in the target video, a corresponding removable event is configured, where the removable event is used to respond to an effective removal operation triggered on the interactive element in the target video, and play the removal effect corresponding to the interactive element, where the effective removal operation refers to the touch position of the playback interface of the target video being within the removal area corresponding to the interactive element.

[0047] The above-mentioned video playback method and video generation method jointly propose a new video interaction form for video viewing users. In this video interaction form, when video viewing users watch a target video recorded based on an interactive video template, they can trigger an elimination operation on the interactive elements displayed in the target video to achieve interaction with the target video; in this way, users can have a stronger sense of participation in the process of watching the video, which increases the fun of the video viewing process and improves the user's video viewing experience.

[0048] It should be understood that the video playback method provided in the embodiment of the present application can be applied to a terminal device that supports the operation of a video playback APP. The terminal device can specifically be a smart phone, a tablet computer, a computer, a personal digital assistant (PDA), a car terminal, etc. The present application does not specifically limit the terminal device to which the video playback method is applicable. The video generation method provided in the embodiment of the present application can be applied to the background server of the video playback APP. The server can specifically be an independent server, a cluster server or a cloud server. The present application does not specifically limit the server to which the video generation method is applicable.

[0049] To facilitate understanding of the video playback method and video generation method provided in the embodiments of the present application, the application scenarios of the video playback method and video generation method provided in the embodiments of the present application are exemplarily introduced below.

[0050] See also Figure 1 , Figure 1 Schematic diagram of application scenarios of the video playback method and video generation method provided in the embodiment of the present application. Figure 1As shown, the application scenario includes a terminal device 110, a terminal device 120 and a server 130, the terminal device 110 and the terminal device 120 can communicate with the server 130 through a network; wherein, the terminal device 110 and the terminal device 120 both run a short video APP, and the terminal device 110 and the terminal device 120 can be used to execute the video playing method provided in the application embodiment; the server 130 is a background server of the short video APP, which can be used to execute the video generation method provided in the application embodiment.

[0051] In the application embodiment, the short video APP can provide an interactive video template for a video production user, and support the video production user to record a target video which can interact with a video watching user based on the interactive video template. Specifically, the interactive video template can indicate a display style of an interactive element that can appear in a video, and a trigger action corresponding to the interactive element; when a user records a video based on the interactive video template, making the trigger action indicated by the interactive video template can correspondingly trigger adding the interactive element indicated by the interactive video template in the recorded video, and the server 130 can configure a corresponding eliminable event for the interactive element in the recorded video.

[0052] Hereinafter, taking the use user of the terminal device 110 as a video production user who records a target video through the short video APP, and the use user of the terminal device 120 as a video watching user who watches the target video through the short video APP as an example, the generation process and the playing process of the target video are exemplarily introduced. It should be understood that in actual application, the use users of the terminal device 110 and the terminal device 120 can both be the video production user and the video watching user.

[0053] Specifically, when the use user of the terminal device 110 records a target video through the short video APP, he / she can select an interactive video template from a plurality of candidate interactive video templates provided by the short video APP, as the interactive video template based on which he / she records the target video. When the user records the target video based on the interactive video template, he / she can trigger displaying the interactive element indicated by the interactive video template in the recorded target video by making the trigger action indicated by the interactive video template; for example, assuming that the trigger action indicated by the interactive video template is to pout, and the interactive element indicated is a bubble, then when the user records the target video based on the interactive video template, he / she can trigger displaying the bubble in the recorded target video by making the action of pouting.

[0054] After the user completes the recording of the target video through the above operation, the user can publish the target video through the short video APP, and the published target video can be watched by other users of the short video APP. Specifically, after the terminal device 110 detects that the user triggers the publishing operation for the recorded target video, the terminal device 110 can transmit the target video to the server 130 through the network; after the server 130 receives the target video, the server 130 can configure a corresponding eliminable event for each interactive element included in the target video, the eliminable event is used to display the elimination effect corresponding to the interactive element in response to the valid elimination operation triggered for the interactive element in the target video; further, the server 130 can store the target video in the video library, and recommend the target video to other users on the short video APP, for example, push the target video to the user of the terminal device 120.

[0055] After the terminal device 120 receives the target video, the terminal device 120 can first prompt the user that the target video is an interactive video, and the user can interact with the target video by triggering the interactive participation operation. If the terminal device 120 detects that the user triggers the interactive participation operation for the target video, the terminal device 120 correspondingly plays the target video including the interactive element; during the playing of the target video, if the terminal device 120 detects that the user triggers the valid elimination operation for the interactive element displayed in the target video, the terminal device 120 correspondingly displays the elimination effect corresponding to the interactive element, and the valid elimination operation here refers to that the touch position of the user for the playing interface of the target video is in the elimination area corresponding to the interactive element. Still taking the bubble as an example, the user can trigger the elimination operation for the bubble by clicking the bubble displayed in the target video, and if the terminal device detects that the click position of the user for the playing interface of the target video is in the elimination area of a certain bubble, it means that the user triggers the valid elimination operation for the bubble, and the elimination effect that the bubble breaks can be correspondingly displayed.

[0056] If the terminal device 120 does not detect that the user triggers the interactive participation operation for the target video, the target video not including the interactive element can be played; the target video not including the interactive element can be exemplarily the target video including the non-interactive element, where the display style of the non-interactive element is the same as that of the interactive element described above, except that the non-interactive element does not respond to the eliminable event, that is, does not respond to the elimination operation triggered by the user. In other words, if the user does not trigger the interactive participation operation for the target video, the terminal device 120 can play the target video that does not support user interaction, that is, the target video not including the interactive element. The display style of the target video including the interactive element is the same as that of the target video including the non-interactive element, and the difference between the two is that the target video including the interactive element supports the elimination operation triggered by the user on the interactive element therein, while the target video including the non-interactive element does not support any interactive operation triggered by the user on the non-interactive element therein.

[0057] Optionally, the terminal device 120 can also display the score corresponding to the valid elimination operation triggered by the user during the playing of the target video including the interactive element; and determine the total elimination score of the user according to the scores corresponding to the valid elimination operations triggered by the user during the playing of the target video. The terminal device 120 can also determine the total elimination score of the user according to the number of valid elimination operations triggered by the user for the target video, and display the total elimination score after the playing of the target video, and give a corresponding reward virtual resource according to the total elimination score.

[0058] It should be understood that Figure 1 The application scenarios shown are only examples, and the video playing method and the video generation method provided by the embodiments of the present application can also be applied to other application scenarios in actual application, and the application scenarios of the video playing method and the video generation method provided by the embodiments of the present application are not limited herein.

[0059] The video playing method provided by the present application will be described in detail below through method embodiments.

[0060] Reference is made to Figure 2 , Figure 2 The flowchart of the video playing method provided by the embodiments of the present application is shown. As Figure 2 shown, the video playing method includes the following steps:

[0061] Step 201: playing a target video including an interactive element in response to an interactive participation operation triggered for the target video; the target video is a video recorded by a video production user based on an interactive video template, the interactive video template is used to indicate the display style of an interactive element in the video and the trigger action corresponding to the interactive element, and the interactive element is a virtual element configured with an eliminable event. Step 202: playing a target video not including the interactive element in response to the interactive participation operation triggered for the target video; the target video not including the interactive element is a target video including a non-interactive element, where the display style of the non-interactive element is the same as that of the interactive element described above, except that the non-interactive element does not respond to the eliminable event, that is, does not respond to the elimination operation triggered by the user.

[0062] In actual application, when a user watches a video through a short video APP running on a terminal device, the terminal device receives the video sent by a background server of the short video APP. In the embodiments of the present application, the background server of the short video APP can send a target video to the terminal device, and the target video is a video that supports user interaction. Specifically, the target video can be a video recorded by a video production user based on an interactive video template. The interactive video template can indicate the display style of an interactive element in the recorded video and the trigger action corresponding to the interactive element. When the user records the target video based on the interactive video template, if it is detected that the user makes the trigger action corresponding to the interactive element indicated by the interactive video template, the interactive element can be added to the recorded target video. The trigger action usually needs to limit the body part that makes the action, and the movement path or change mode of the body part. The interactive element is a virtual element of a configurable and eliminable event. When the user watches the target video, the user can trigger the configurable and eliminable event of the interactive element in the target video to realize interaction with the target video.

[0063] In the embodiments of the present application, after the terminal device receives the target video sent by the background server of the short video APP, the terminal device can display the interactive prompt information corresponding to the target video through the interface of the short video APP. The interactive prompt information is used to prompt the user that the target video is an interactive video. Further, the user can trigger an interactive participation operation for the target video through the short video APP, play the target video, and realize interaction with the target video through the interactive element in the target video during the playing of the target video.

[0064] In a possible implementation, the terminal device can play the target video in response to the interactive virtual resource payment operation triggered by the user for the target video. That is, the interactive participation operation in the above is specifically represented as the interactive virtual resource payment operation.

[0065] An exemplary Figure 3 A schematic diagram of a playing interface of a target video provided by the embodiments of the present application is shown. As Figure 3As shown, after the terminal device receives the target video sent by the background server of the short video APP, the terminal device can display the cover of the target video on the interface of the short video APP. The cover of the target video can be the first frame of the target video or a representative frame of the target video (for example, a frame selected by a video production user from the frames included in the target video or a frame selected by the background server of the short video APP from the frames included in the target video). The application does not make any limitation on the displayed cover of the target video. The display interface includes an interactive virtual resource payment control 301. A user can trigger an interactive virtual resource payment operation for the target video through the interactive virtual resource payment control 301. For example, the interactive virtual resource payment control 301 can display the interactive virtual resource that needs to be paid for the target video. The user can click the interactive virtual resource payment control 301 to trigger an interactive virtual resource payment process for the target video. After the payment of the interactive virtual resource corresponding to the target video is successfully completed through the interactive virtual resource payment process, it is considered that the interactive virtual resource payment operation for the target virtual resource is completed, and then the terminal device can play the target video.

[0066] It should be noted that the above-mentioned interactive virtual resource can be virtual gold coins and the like. The interactive virtual resource can be a virtual resource allocated to a user by the background server of the short video APP according to the operation (such as publishing a video, liking a video, commenting on a video, sharing a video, participating in a video interaction, etc.) of the user through the short video APP, or can be obtained by the user through consumption and purchase. The application does not make any limitation on the form and acquisition method of the interactive virtual resource.

[0067] In another possible implementation, the terminal device can play the target video in response to the touch operation of the user on the interactive participation control displayed on the play interface of the target video. That is, the above-mentioned interactive participation operation is specifically manifested as a touch operation on the interactive participation control.

[0068] For example, Figure 4 Another schematic diagram of a play interface of a target video provided by an embodiment of the application is shown. As shown in the diagram, Figure 4 As shown, after the terminal device receives the target video sent by the background server of the short video APP, the terminal device can display the cover of the target video on the interface of the short video APP, and the display interface includes an interactive participation control 401. The user can trigger an interactive participation operation for the target video by clicking the interactive participation control 401. Correspondingly, the terminal device detects that the user clicks the interactive participation control 401, and accordingly plays the target video.

[0069] In yet another possible implementation, the terminal device can display a virtual resource payment control on the play interface of the target video in response to a touch operation of the user on the interactive participation control displayed on the play interface; and then, play the target video in response to an interactive virtual resource payment operation triggered by the user through the virtual resource payment control. That is, the interactive participation operation in the foregoing is specifically a combination of the touch operation on the interactive participation control and the interactive virtual resource payment operation.

[0070] As shown in the foregoing, Figure 5 Fig. 6 shows another schematic diagram of a play interface of a target video provided by an embodiment of the present application. As shown in Figure 5 As shown in (a) of Fig. 6, after receiving the target video sent by the background server of the short video APP, the terminal device can display the cover of the target video on the interface of the short video APP, and the display interface includes an interactive participation control 501; after detecting that the user clicks the interactive participation control 501, the terminal device can display the interface shown in (b) of Fig. 6, which includes an interactive virtual resource payment control 502; after detecting that the user completes the interactive virtual resource payment operation on the target video through the interactive virtual resource payment control 502, the terminal device can play the target video accordingly. Figure 5

[0071] It should be noted that the content displayed by the terminal device after receiving the target video is not limited to the cover of the target video. After receiving the target video sent by the short video APP, if no interactive participation operation triggered by the user on the target video is detected, the terminal device can first play the target video that does not support the interactive operation triggered by the user, that is, play the target video that does not include interactive elements; and after detecting that the user triggers the interactive participation operation on the target video, play the target video that supports the interactive operation triggered by the user, that is, play the target video that includes interactive elements.

[0072] In a possible implementation, the target video that does not include interactive elements can include non-interactive elements, the display style of the non-interactive elements is the same as that of the interactive elements in the foregoing, but the non-interactive elements are virtual elements that do not respond to the eliminable events. Specifically, after receiving the target video, the terminal device can first set the respective eliminable events corresponding to each interactive element in the target video to the non-response state, that is, convert each interactive element in the target video to a non-interactive element, and play the target video that only includes such non-interactive elements before detecting that the user triggers the interactive participation operation on the target video. After detecting that the user triggers the interactive participation operation on the target video, the terminal device can restore the respective eliminable events corresponding to each interactive element in the target video to the response state, that is, convert each non-interactive element to an interactive element, and then play the target video that includes such interactive elements. ​

[0073] It should be understood that in actual applications, the terminal device can also play the target video which neither includes the interactive element nor includes the non-interactive element when the terminal device does not detect that the user triggers the interactive participation operation for the target video, and the present application does not make any limitation on the content played by the terminal device when the terminal device does not detect that the user triggers the interactive participation operation for the target video.

[0074] It should be understood that the implementation manners of the interactive participation operation introduced above are only examples, and in actual applications, the interactive participation operation can also have other implementation manners, for example, the play operation triggered by the user for the target video can also be directly used as the interactive participation operation for the target video, and the play operation triggered by the user for the target video can be the up-swipe operation triggered for the play interface of the last video played before the target video, and the present application does not make any limitation on the specific implementation manner of the interactive participation operation.

[0075] The generation manner of the target video which can support the user to interact with it will be introduced below. When the terminal device specifically generates the target video, the terminal device can first display the shooting prompt information corresponding to the interactive video template in response to the selection operation triggered by the user for the interactive video template in each candidate interactive video template, the shooting prompt information is used to prompt the trigger action required to be performed by the user and the interactive element displayed in response to the trigger action; the terminal device starts to record the target video in response to the video shooting operation triggered based on the selected interactive video template, and in the process of recording the target video, if it is detected that the target object in the target video performs the trigger operation indicated by the interactive video template, the interactive element is correspondingly displayed in the recording interface of the target video; after the recording of the target video is completed, the terminal device can publish the target video in response to the publishing operation triggered by the user for the target video.

[0076] An exemplary implementation of the interactive participation operation is shown in the following table. Figure 6 The recording interface of the target video provided by the embodiment of the present application is shown. As shown in the figure, the recording interface of the target video includes the shooting prompt information corresponding to the selected interactive video template, and the interactive element corresponding to the trigger operation performed by the target object in the target video is displayed in the recording interface of the target video. Figure 6As shown in (a), the terminal device can display a plurality of candidate interactive video templates in an interactive video template selection area 601 in a video recording interface provided by the short video APP. These candidate interactive video templates can be configured by the background server of the short video APP according to the motion capture capability and special effect display capability of the current version of the short video APP. For example, assuming that the current version of the short video APP can capture the motion of the user's face, the motion of the user's hands and the motion of the user's legs, and the supported special effect display effects include bubbles, hearts, footballs and circles, the related technical personnel can combine the motion capture capability and special effect display capability supported by the short video APP according to the actual application scenario to generate a plurality of candidate interactive video templates; for example, the motion capture capability of capturing the motion of the user's face is combined with the special effect display capability of bubbles to generate a candidate interactive video template for detecting the user's making a pouting action and displaying a bubble special effect accordingly, as shown in (a) of Figure 7 For another example, the motion capture capability of capturing the motion of the user's hands is combined with the special effect display capability of footballs to generate a candidate interactive video template for detecting the user's making a throwing-up action and displaying a football special effect accordingly, as shown in (b) of Figure 7 For another example, the motion capture capability of capturing the motion of the user's face is combined with the special effect display capability of hearts to generate a candidate interactive video template for detecting the user's making a pouting action and displaying a heart special effect accordingly, as shown in (c) of Figure 7 For another example, the motion capture capability of capturing the motion of the user's legs is combined with the special effect display capability of circles to generate a candidate interactive video template for detecting the user's making a jumping action and displaying a circle special effect for representing the beat accordingly, as shown in (d) of Figure 7 The present application does not make any limitation on the specific form of the candidate interactive video templates provided by the short video APP.

[0077] The user can view various candidate interactive video templates provided by the short video APP by triggering left and right sliding operations in the interactive video template selection area 601, and the user can select a certain interactive video template by triggering a click operation on the interactive video template. After the terminal device detects that the user triggers a selection operation on a certain interactive video template, the terminal device can correspondingly display shooting prompt information corresponding to the interactive video template. The shooting prompt information can be text-form prompt information, for example, the video recording interface displays action prompt information corresponding to the trigger action indicated by the interactive video template (for example, prompting the user to make a pout, throw upward, jump, etc.), and after the user makes a corresponding trigger action according to the action prompt information, the video recording interface correspondingly displays the interactive element indicated by the interactive video template. The shooting prompt information can also be video-form prompt information, for example, a shooting prompt window is displayed on the video recording interface, and after the demonstration object makes the trigger action indicated by the interactive video template in the shooting prompt window, the effect of the interactive element indicated by the interactive video template is correspondingly displayed. Of course, in actual applications, the shooting prompt information can also be in other forms, and the present application does not limit the specific forms of the shooting prompt information.

[0078] After the user selects an interactive video template from the candidate interactive video templates according to the above operation, the user can trigger a video shooting operation based on the interactive video template. For example, Figure 6 As shown in (b), the user can trigger a video shooting operation by clicking a video recording control 602 in the video recording interface, or the user can trigger a video shooting operation by long-pressing the video recording control 602 in the video recording interface, and the present application does not limit the triggering method of the video shooting operation.

[0079] Optionally, the present application embodiment can also set a corresponding shooting virtual resource for the interactive video template, that is, if the user wants to shoot a video based on a certain interactive video template, the user needs to pay the shooting virtual resource corresponding to the interactive video template first, and only after completing the shooting virtual resource payment operation, the user can record a video based on the interactive video template.

[0080] During the recording of the video, the user can make the trigger action indicated by the interactive video template, such as pouting, throwing upward, jumping, etc., and after the terminal device detects that the user makes the trigger action indicated by the interactive video template, the terminal device will correspondingly add the interactive element indicated by the interactive video template, such as a bubble, a heart, an American football, etc., to the target video being recorded. For example, Figure 6In the case of the trigger action indicated by the user-selected interactive video template being making a pout and the indicated interactive element being a bubble, as shown in (b), if the terminal device detects that the user makes a pout action during the process of recording the target video based on the interactive video template, a bubble is correspondingly displayed in the recording interface of the target video. The display effect of the bubble can be that the bubble is randomly scattered around from the user's mouth.

[0081] It should be noted that the display effect of the interactive element indicated by the interactive video template is usually configured when the interactive video template is configured. For example, in the case of a short video APP suitable for an iOS system, the display effect of the interactive element in the interactive video template provided by the short video APP is usually determined by a particle emitter (CAEmitterLayer) and a particle style layer (CAEmitterCell). The particle emitter is used to determine the emission point position, emission mode, depth, initial speed, and scaling ratio of the interactive element. The particle style layer is used to create the interactive element and determine the display content, gravitational acceleration, and production rate of the interactive element. After the terminal device detects that the user makes the trigger action indicated by the interactive video template, the interactive element indicated by the interactive video template can be correspondingly displayed in the video recording interface based on the particle emitter and the particle style layer configured for the interactive video template.

[0082] After the user completes the recording of the target video, i.e., after the terminal device detects that the user triggers the recording end operation for the target video shot by the user (the recording end operation can be clicking the video recording control in the video recording interface again, or releasing the previously long-pressed video recording control in the video recording interface, etc.), the target video can be correspondingly generated. Then, in response to the publishing operation triggered by the user for the target video, the target video is published to the video platform of the short video APP, so that other users using the short video APP can watch the target video. For example, Figure 6 As shown in (c), the user can trigger the publishing operation for the recorded target video by clicking the publishing control 603 in the video preview interface.

[0083] Optionally, after the user completes the recording of the target video, the user can also trigger the elimination operation for the interactive element displayed in the target video on the preview interface of the target video. In response to the valid elimination operation triggered by the user for a certain interactive element displayed in the target video, the terminal device displays the elimination effect corresponding to the interactive element.

[0084] Still taking the case of the trigger action indicated by the interactive video template used by the user when recording the target video being making a pout and the indicated interactive element being a bubble as an example, as shown in (b), if the terminal device detects that the user makes a pout action during the process of recording the target video based on the interactive video template, a bubble is correspondingly displayed in the recording interface of the target video. The display effect of the bubble can be that the bubble is randomly scattered around from the user's mouth. Figure 6As shown in (c), on the preview interface of the target video, the user can trigger the elimination operation on the interactive element displayed in the target video by clicking the interactive element. If it is detected that the click position of the user on the preview interface of the target video is in the elimination area corresponding to the interactive element, it is considered that the user has triggered the valid elimination operation on the interactive element. At this time, the elimination effect corresponding to the interactive element can be displayed, such as displaying the effect of the bubble breaking. Optionally, when it is detected that the user has triggered the valid elimination operation on the interactive element, the score corresponding to the valid elimination operation can also be displayed.

[0085] It should be understood that the interactive operation triggered by the user on the target video (i.e., the elimination operation triggered on the interactive element in the target video) when previewing the target video is the same as the interactive operation that can be triggered on the target video when other users watch the target video. The interactive operation that can be triggered on the target video when watching the target video and the display effect corresponding to the interactive operation will be described in detail below. These interactive operations and display effects are also applicable to the preview process of the target video.

[0086] Optionally, after the user completes the recording of the target video, the user can also trigger an editing operation on the target video. The terminal device will correspondingly generate an edited target video in response to the editing operation triggered by the user on the target video. The editing operation here includes at least one of the following: video editing operation, sticker editing operation, music editing operation, filter editing operation, and character editing operation. Correspondingly, the terminal device can subsequently publish the edited target video in response to the publishing operation triggered on the edited target video.

[0087] For example, after the user completes recording of the target video, the user can trigger an editing operation on the recorded target video according to actual needs of the user; for example, the user can trigger a video clipping operation on the target video to clip a video segment that the user wants to keep from the recorded target video; for another example, the user can trigger a sticker editing operation on the target video to add a sticker in a video picture of the recorded target video; for another example, the user can trigger a music editing operation on the target video to add or replace background music for the target video; for another example, the user can trigger a filter editing operation on the target video to add a video filter for the target video; for another example, the user can trigger a character editing operation on the target video to adjust features such as facial features, expressions, and body shape of a character in the target video; when the editing operation is triggered on the target video, the user can trigger any one or more of the above editing operations according to actual needs, and adjust the target video through the triggered editing operation to obtain an edited target video. Of course, in actual applications, the user can also trigger other types of editing operations on the target video, and the present application does not make any limitation on the editing operations that can be triggered on the target video. After the editing operation on the target video is completed and an edited target video is obtained, the edited target video can be published in response to a publishing operation triggered by the user on the edited target video.

[0088] In step 202, in the process of playing the target video, a canceling effect corresponding to the interactive element is displayed in response to a valid canceling operation triggered on the interactive element displayed in the target video; the valid canceling operation refers to that a touch position of a play interface of the target video is in a canceling area corresponding to the interactive element.

[0089] After the terminal device detects that the user triggers an interactive participation operation on the target video, the terminal device will correspondingly play the target video. In the process of playing the target video, if the terminal device detects that the user triggers a valid canceling operation on an interactive element displayed in the target video, the terminal device can correspondingly display a canceling effect corresponding to the interactive element. As introduced above, each interactive element in the target video is configured with a corresponding cancelable event, and the user can trigger the cancelable event corresponding to the interactive element by triggering a valid canceling operation on the interactive element. Once the cancelable event corresponding to the interactive element is triggered, the canceling effect corresponding to the interactive element will be correspondingly displayed. Here, the valid canceling operation refers to that a touch position of a play interface of the target video is in a canceling area corresponding to the interactive element.

[0090] Specifically, in the process of playing the target video, if the terminal device detects that the target video is played to the emission time corresponding to an interactive element, the interactive element is emitted in the playing interface of the target video by the particle emitter based on the emission attribute information corresponding to the interactive element; if the terminal device detects that the touch position of the user on the playing interface of the target video is in the elimination area corresponding to an interactive element, the elimination effect corresponding to the interactive element is displayed; and if the terminal device detects that the touch position of the user on the playing interface of the target video is not in the elimination area corresponding to any interactive element, the effect corresponding to an invalid elimination operation is displayed.

[0091] It should be noted that when the user records the target video based on the interactive video template through the short video APP, the terminal device will record the appearance time of each interactive element in the target video as the emission time corresponding to the interactive element. For example, if an interactive element appears when the target video is recorded to 30s, the emission time corresponding to the interactive element should be 30s. At the same time, the terminal device will configure the emission attribute information corresponding to each interactive element in the target video based on the display effect (determined by the particle emitter and the particle style layer) configured in advance for the interactive video template. The emission attribute information is used to determine the display mode of the corresponding interactive element in the target video. The emission attribute information may, for example, include the emission point position, emission mode, initial speed, depth, scaling ratio of the interactive element, and the display content, gravitational acceleration, production rate of the interactive element.

[0092] When the terminal device plays the target video, the emission attribute information of the interactive element can be transmitted to the particle emitter when it is detected that the target video is currently played to the emission time corresponding to the interactive element, so that the particle emitter emits and displays the interactive element in the playing interface of the target video based on the emission attribute information. It should be understood that one time point in the target video can emit and display only one interactive element, or can emit and display multiple interactive elements at the same time.

[0093] In the process of playing the target video, if the terminal device detects that the touch position of the user on the playing interface of the target video is in the elimination area corresponding to an interactive element, it indicates that the user triggers an effective elimination operation on the interactive element, and the elimination effect corresponding to the interactive element can be displayed at this time. For example, the elimination effect corresponding to the interactive element can be the effect of breaking or exploding of the interactive element (such as the effect of breaking or exploding of elements such as bubble, football, heart, etc.), or the effect of canceling the display of the interactive element (such as the effect of canceling the display of a circle element), which is not limited in the present application. Figure 8 An exemplary playing interface of a target video provided by the embodiment of the present application is shown in the figure.Figure 8 As shown in (a), after the user triggers the valid elimination operation for the bubble in the target video, the terminal device will display the effect of the bubble breaking accordingly. It should be understood that at the same time point, the user can trigger the valid elimination operation only for one interactive element, or trigger the valid elimination operation for multiple interactive elements at the same time.

[0094] During the playing of the target video, if the terminal device detects that the user triggers a touch operation on the playing interface of the target video, but the touch position is not within the elimination area corresponding to any interactive element, it means that the user triggers an invalid elimination operation at this time, and the effect corresponding to the invalid elimination operation can be displayed accordingly; for example, a text prompt information, an animation effect, etc. for prompting that this elimination operation is an invalid elimination operation can be displayed on the playing interface of the target video, such as Figure 8 As shown in (b), after the user triggers the invalid elimination operation for the target video, the terminal device will display the invalid elimination effect "missed the bubble" accordingly, and the application does not make any limitation on the effect corresponding to the invalid elimination operation.

[0095] Optionally, if the terminal device detects that the user triggers a valid elimination operation for the interactive element displayed in the target video, the terminal device can also play the elimination sound effect corresponding to the interactive element accordingly. For example, when the terminal device generates the target video, the elimination sound effect corresponding to each interactive element in the target video can be configured, and when the user triggers the interactive operation for the target video, the valid elimination operation is triggered for each interactive element according to the respective appearance order of each interactive element, so that the respective elimination sound effects of each interactive element are played in sequence, and the respective elimination sound effects of each interactive element are played in sequence to form a specific music. Of course, the same elimination sound effect can also be configured for each interactive element in the target video to achieve the effect that the same elimination sound effect is played when each interactive element is eliminated, and the application does not make any limitation on the elimination sound effect configured for the interactive element.

[0096] Optionally, if the terminal device detects that the user triggers a valid elimination operation for the interactive element displayed in the target video, the terminal device can also switch the expression of the target object in the target video to an elimination special effect expression; the elimination special effect expression can be obtained by processing the face of the target object based on an elimination special effect expression template, or can be recorded by the target object recording the target video when recording the target video.

[0097] For example, if the terminal device detects that the user triggers an effective elimination operation on a heart displayed in the target video, the terminal device can display the elimination effect of the heart explosion, and at the same time, switch the expression of the target object in the target video to an elimination special effect expression, such as switching the expression of the target object to an unhappy expression (e.g., pursing lips, frowning, etc.), or switching the expression of the target object to a crying expression (e.g., tears, etc.).

[0098] The elimination special effect expression can be obtained by the terminal device processing the face of the target object in the target video based on an elimination special effect expression template supported by the short video APP. For example, the terminal device can adjust the eyebrows, eyes, mouth, etc. of the target object in the target video based on an unhappy expression template supported by the short video APP, so that the target object presents an unhappy expression. The elimination special effect expression can also be recorded when recording the target video. For example, after detecting that the user completes the recording of the target video, the terminal device can prompt the user to record an elimination special effect expression, which will be displayed after detecting that the user triggers an effective elimination operation on an interactive element in the target video. Accordingly, if the terminal device detects that the user triggers an effective elimination operation on an interactive element during the playing of the target video, the terminal device can switch the face of the target object in the target video to the recorded elimination special effect expression through face changing technology. Of course, in actual applications, the elimination special effect expression can also be generated in other ways, and the present application does not limit the generation method of the elimination special effect expression.

[0099] In this way, through the above method, the user watching the target video can have the experience of interacting with the producer of the target video during the watching of the target video, further enhancing the interactivity and watching experience of the target video.

[0100] Optionally, in actual applications, the terminal device can also enhance the game participation of the user during the watching of the target video by scoring according to the effective elimination operation triggered by the user, thereby further increasing the fun of the user during the watching of the video. Specifically, during the playing of the target video, the terminal device can display the score corresponding to the effective elimination operation triggered on the interactive element displayed in the target video. After playing the target video, the terminal device can display the total elimination score obtained during the watching of the target video, which is determined according to the scores corresponding to each effective elimination operation during the playing of the target video.

[0101] For example, during playing of the target video, if the terminal device detects that the user triggers a valid elimination operation on an interactive element in the target video, the terminal device can further display a score corresponding to the valid elimination operation on the basis of the elimination effect of the displayed interactive element; for example, as shown in (a) of Figure 8 In (a), a score "BONUS+50" corresponding to the valid elimination operation is displayed on the elimination effect of the bubble breaking. After playing of the target video, the terminal device can add the scores corresponding to the valid elimination operations generated during playing of the target video to obtain a total elimination score corresponding to the playing of the target video, and display the total elimination score on a result publishing interface. Figure 9 As shown in (a) of Figure 9 As shown in (a), the total elimination score can be displayed on the result publishing interface.

[0102] Optionally, in order to further increase the interest of the video interaction, the terminal device can also display a score corresponding to a continuous valid elimination operation in response to the continuous valid elimination operation triggered on the plurality of interactive elements displayed in the target video during playing of the target video, where the continuous valid elimination operation refers to the continuous generation of a preset number of valid elimination operations; accordingly, when the terminal device calculates the total elimination score corresponding to the playing of the target video, the terminal device can determine the total elimination score according to the scores corresponding to the valid elimination operations and the scores corresponding to the continuous valid elimination operations generated during playing of the target video.

[0103] For example, the terminal device can detect the number of times of the valid cancel operations triggered by the user successively during playing the target video. If the number of times of the valid cancel operations triggered by the user successively reaches a preset number (for example, 5 times, 10 times, etc.), it is determined that the user successfully triggers a continuous valid cancel operation. At this time, the score corresponding to the continuous valid cancel operation can be displayed on the playing interface of the target video. In actual application, a plurality of continuous valid cancel operations corresponding to different preset numbers can be set in advance, for example, a continuous valid cancel operation with a preset number of 5 times, a continuous valid cancel operation with a preset number of 6 times, a continuous valid cancel operation with a preset number of 7 times, and a continuous valid cancel operation with a preset number of 8 times. When the number of times of the valid cancel operations triggered by the user successively reaches the preset number corresponding to a certain continuous valid cancel operation, the score corresponding to the continuous valid cancel operation is displayed accordingly. It should be understood that the continuous valid operation corresponding to the preset number is larger, which covers the continuous valid operation corresponding to the preset number smaller. For example, the user triggers 5 valid cancel operations successively, which indicates that the user has triggered the continuous valid cancel operation corresponding to the preset number of 5 times. If the user triggers another valid cancel operation (i.e., the user triggers 6 valid cancel operations successively), it indicates that the user has triggered the continuous valid cancel operation corresponding to the preset number of 6 times, which covers the continuous valid cancel operation corresponding to the preset number of 5 times.

[0104] Correspondingly, when the terminal device calculates the total cancel score corresponding to the target video playing process, the total cancel score can be determined according to the scores corresponding to the valid cancel operations and the scores corresponding to the continuous valid cancel operations in the target video playing process. For example, assuming that the score corresponding to a valid cancel operation is a, the score corresponding to a continuous valid cancel operation is b, if the user generates m valid cancel operations and n continuous valid cancel operations in the target video playing process, the total cancel score of the target video playing process should be a*m+b*n. It should be understood that in the case that a plurality of continuous valid cancel operations are set, different scores can be configured for each continuous valid cancel operation. The larger the preset number corresponding to the continuous valid cancel operation is, the higher the corresponding score is.

[0105] Optionally, the terminal device can also obtain a first reward virtual resource according to the total cancel score corresponding to the target video playing process. The first reward virtual resource can be determined according to at least one of the following factors: the score interval to which the total cancel score belongs, and the interactive virtual resource paid when triggering the interactive participation operation for the target video.

[0106] For example, assuming that the user pays P for the interactive virtual resource when triggering the interactive participation operation for the target video, and the user triggers the valid elimination operation for all the interactive resources in the target video and obtains a total elimination score S, if the actual total elimination score obtained by the user is greater than or equal to 80%*S, the first reward virtual resource that the user can obtain is 1.2*P, if the actual total elimination score obtained by the user is less than 80%*S but greater than or equal to 50%*S, the first reward virtual resource that the user can obtain is P, and if the actual total elimination score obtained by the user is less than 50%*S, the first reward virtual resource that the user can obtain is 0.5*P.

[0107] It should be understood that the above-mentioned allocation rule of the first reward virtual resource is only an example, and in actual application, the first reward virtual resource can also be determined only according to the score interval to which the total elimination score belongs, for example, different first reward virtual resources are configured for different score intervals. The present application does not limit the allocation rule of the first reward virtual resource.

[0108] Optionally, the terminal device can also obtain the interactive ranking corresponding to the target video and display the interactive ranking, the interactive ranking being determined according to the total elimination score of each video consumption user who triggers the interactive participation operation for the target video in the reference time period, and if the position of the video consumption user in the interactive ranking belongs to a preset position interval, the second reward virtual resource corresponding to the preset position interval is obtained.

[0109] For example, the background server of the short video APP can regard the user who triggers the interactive participation operation for the target video as a video consumption user of the target video, and obtain the total elimination score of each video consumption user of the target video in the reference time period (i.e., the score obtained by the video consumption user by triggering the elimination operation for the interactive element in the target video in the process of watching the target video), and the reference time period can be set according to actual needs, for example, it can be the time period between the time point when the target video is published and the current time point. Further, the background server can sort the total elimination scores of each video consumption user in the reference time period in descending order to obtain the interactive ranking corresponding to the target video, and send the interactive ranking to the terminal device used by the target video consumption user, and the terminal device will correspondingly display the position of the target consumption user in the interactive ranking, such as Figure 9As shown, the interactive ranking (e.g., displaying the top n video consumption user avatars in the interactive ranking) can be displayed in the result publishing interface of the target video, and the ranking of the user of the terminal device in the interactive ranking can be displayed. If the ranking of the user of the terminal device in the interactive ranking belongs to a preset ranking interval, such as the top 10, the 11th to the 20th, etc., the second reward virtual resource corresponding to the preset ranking interval can be obtained accordingly. It should be understood that the earlier the preset ranking interval, the more the second reward virtual resource corresponding to the preset ranking interval.

[0110] It should be understood that the above-mentioned allocation method of the reward virtual resource is only an example. In actual application, the background server of the short video APP can also allocate corresponding reward virtual resources to the video consumption users of the target video in other ways. The present application does not limit the allocation method of the reward virtual resource in any way.

[0111] The above-mentioned video playing method proposes a new video interaction form for video watching users. In this video interaction form, when a video watching user watches a target video recorded based on an interactive video template, the user can trigger the elimination operation on the interactive element displayed in the target video to realize the interaction with the target video. In this way, the user can have a stronger sense of participation during the video watching process, increasing the interest of the video watching process and improving the video watching experience of the user.

[0112] Next, the video generation method provided by the present application will be described in detail through a method embodiment.

[0113] Referring to Figure 10 , Figure 10 The flowchart of the video generation method provided by the present application is shown in FIG. 1. As shown in Figure 10 , the video generation method comprises the following steps:

[0114] Step 1001: obtaining a target video recorded based on an interactive video template; the interactive video template is used to indicate the display style of an interactive element in a video and the trigger action corresponding to the interactive element.

[0115] The background server (hereinafter referred to as the server) of the short video APP can provide a plurality of candidate interactive video templates for the users of the short video APP. Each candidate video interactive template can indicate the display style of an interactive element in a video and the trigger action corresponding to the interactive element. The user of the short video APP can select an interactive video template from the provided candidate interactive video templates as the interactive video template for shooting the target video. After the user of the short video APP completes the shooting of the target video based on the selected interactive video template, the user can send the shot target video to the server through the terminal device, so that the server obtains the target video.

[0116] In a specific implementation, the server can configure the above candidate interactive video templates according to the motion capture capability and special effect display capability of the short video APP. For example, assuming that the short video APP can capture the motion of the user's face, the motion of the user's hands, and the motion of the user's legs, and the supported special effect display effects include bubbles, hearts, an American football, and a circle, the server can combine the motion capture capability and special effect display capability supported by the short video APP according to the actual application scenario to generate a plurality of candidate interactive video templates. For example, the server can combine the motion capture capability of capturing the motion of the user's face and the special effect display capability of bubbles to generate a candidate interactive video template for detecting the user's pouting action and displaying a bubble effect accordingly. For another example, the server can combine the motion capture capability of capturing the motion of the user's hands and the special effect display capability of an American football to generate a candidate interactive video template for detecting the user's throwing-up action and displaying an American football effect accordingly. For another example, the server can combine the motion capture capability of capturing the motion of the user's face and the special effect display capability of hearts to generate a candidate interactive video template for detecting the user's pouting action and displaying a heart effect accordingly. For another example, the server can combine the motion capture capability of capturing the motion of the user's legs and the special effect display capability of a circle to generate a candidate interactive video template for detecting the user's jumping action and displaying a circle effect representing a beat accordingly. The present application does not limit the specific form of the candidate interactive video templates configured by the server.

[0117] Optionally, in the case where the user needs to pay corresponding shooting virtual resources for recording a video based on an interactive video template, the server can further set shooting virtual resources corresponding to each candidate interactive video template, that is, if the user selects to shoot a target video based on a certain interactive video template, the user needs to pay shooting virtual resources corresponding to the interactive video template.

[0118] Optionally, in the case where the user needs to pay corresponding interactive virtual resources when triggering an interactive participation operation for a target video, the server can further set an upper limit value and a lower limit value of the interactive virtual resources. Specifically, the video production user can set corresponding interactive virtual resources for a target video, and the video consumption user can only trigger an interactive operation for the target video by paying corresponding interactive virtual resources. In order to prevent the video production user from arbitrarily setting the interactive virtual resources corresponding to the target video, the server can further set an upper limit value and a lower limit value of the interactive virtual resources corresponding to the target video.

[0119] Optionally, the server can further set the number of target videos that a user of the short video APP can record and the number of target videos that the user can participate in interaction.

[0120] Step 1002: configuring, for each of the interactive elements in the target video, a corresponding erasable event of the interactive element; the erasable event is configured to play an erasing effect corresponding to the interactive element in response to an effective erasing operation triggered by the interactive element in the target video; the effective erasing operation refers to that a touch position of a playing interface of the target video is in an erasing area corresponding to the interactive element.

[0121] After the server obtains the target video recorded based on the interactive video template, the server can configure, for each of the interactive elements in the target video, a corresponding erasable event of the interactive element. The interactive element configured with the corresponding erasable event can support user interaction with the interactive element. Specifically, the user triggers an effective erasing operation on the interactive element displayed in the target video, and the corresponding erasable event of the interactive element is triggered accordingly, and the erasing effect corresponding to the interactive element is displayed accordingly. The effective erasing operation refers to that a touch position of a playing interface of the target video is in an erasing area corresponding to the interactive element. After the server completes the configuration of the erasable event for the interactive element in the target video, the server can push the target video configured with the erasable event to other users of the short video APP.

[0122] Optionally, in the case that the user triggers an effective erasing operation on the interactive element in the target video to obtain a corresponding score, the server can further set a score mechanism corresponding to the effective erasing operation, a score mechanism corresponding to continuous effective erasing operations, and a calculation mechanism of a total erasing score, and send the above mechanisms to a terminal device running the short video APP, so that the terminal device determines a score corresponding to each effective erasing operation, a score corresponding to each continuous effective erasing operation, and a total erasing score corresponding to a playing process of the target video during playing of the target video.

[0123] Optionally, when it is necessary to provide an interactive ranking corresponding to the target video to a video consumption user, the server needs to obtain a total erasing score obtained by the user in the terminal device during playing of the target video, and then sort each video consumption user according to the total erasing score from large to small according to the obtained total erasing score of each video consumption user, to obtain an interactive ranking corresponding to the target video, and determine a position of each video consumption user in the interactive ranking. Then, the interactive ranking and the position of the video consumption user in the interactive ranking are fed back to each terminal device accordingly.

[0124] Optionally, in a case that the server needs to give corresponding reward virtual resources to the video consumption user of the target video, the server can further set a reward virtual resource allocation rule. For example, in a case that the first reward virtual resource is allocated to the user based on the total elimination score, the server can set a corresponding relationship between a score interval and the first reward virtual resource. For another example, in a case that the second reward virtual resource is allocated to the user based on the ranking of the user in the interaction ranking, the server can set a corresponding relationship between a preset ranking interval and the second reward virtual resource.

[0125] Optionally, the server can further send a notification message to the video production user and the video consumption user. For example, in a case that the target video shot by the video production user is paid with the interaction virtual resource, the server can send a notification message to the terminal device used by the video production user, to prompt that the target video shot by the video production user is paid with the interaction virtual resource, and the video production user can obtain the interaction virtual resource. For another example, in a case that the video consumption user obtains the reward virtual resource, the server can send a notification message to the terminal device used by the video consumption user, to prompt that the video consumption user obtains the reward virtual resource.

[0126] The video generation method described above provides background support for the video playing method provided by the embodiments of the present application, that is, provides background support for the new video interaction form for video watching users proposed by the embodiments of the present application. In the video interaction form, when the video watching user watches the target video recorded based on the interaction video template, the video watching user can trigger an elimination operation by interacting with the interaction element displayed in the target video, to realize interaction with the target video. In this way, the user can have a stronger sense of participation in the process of watching the video, increase the interest of the video watching process, and improve the video watching experience of the user.

[0127] In order to facilitate further understanding of the video playing method and the video generation method provided by the embodiments of the present application, the overall implementation architecture of the video playing method and the video generation method, the composition of the target video (hereinafter also referred to as an interaction video or an elimination interaction video) that can support user interaction, and the playing process of the target video are introduced below.

[0128] First, the overall implementation architecture of the video playing method and the video generation method provided by the embodiments of the present application is introduced below. Figure 11 It should be noted that the technical solution provided by the embodiments of the present application essentially adds an elimination interaction play in a short video APP, and constructs a virtual resource (hereinafter referred to as a play coin) capability and an ecology around the interaction elimination play. The technical solution provided by the embodiments of the present application mainly involves three parts, which are a background service, a video producer module, and a video consumer module.

[0129] As shown in FIG. 1, the background service is mainly responsible for the following functions: Figure 11As shown, the background services mainly include an account system, a storage system, an operation system, a notification system and a mall system. Among them, the account system includes a registration and login system for managing user registration and login, and a payment and consumption system of the user, and the virtual resource information owned by the user is usually recorded in the system. The storage system is used to store the target video recorded based on the interactive video template published by the video production user, and the play instruction information (such as the display style of the interactive element, and the trigger action corresponding to the interactive element) corresponding to various interactive video templates. The operation system is mainly used for video review and video recommendation; the video review refers to that the operation personnel reviews whether the video published by the user meets the specifications of the short video platform, gives two states of passing the review and failing the review to the reviewed video, and sends the corresponding notification to the user publishing the video in the state of failing the review through the notification system; the video recommendation refers to that the operation personnel sorts the video published by the user, for example, scores the video published by the user according to the video quality, the number of likes, the number of views, the number of interactive virtual resource payments and other factors, and then sorts the video according to the score, and classifies the video according to the attributes, such as classifying the videos based on the same or similar interactive video templates into the same channel. The notification system is used to trigger the user-oriented system; for example, the system can send the corresponding message notification to the video production user when the video recorded by the video production user based on the interactive video template is paid; for another example, the system can also send the corresponding message notification to the video consumption user when the video consumption user obtains the account of the reward token. The mall system is used to configure the purchase information of the virtual resource in the short video APP, such as the price corresponding to 100 token packs and the price corresponding to 500 token packs, and also supports the general ability of online mall such as payment and withdrawal.

[0130] Unlike the operation and management mode for ordinary short videos, the three play management systems provided in the embodiments of the present application are associated with the elimination of interactive play, which are play production management system, play consumption management system and play reward management system.

[0131] Among them, the play production management system is mainly used for managing and configuring candidate interactive video templates available for video production users to select; this system can configure candidate interactive video templates suitable for the version of the short video APP according to the motion capture capabilities of the current version of the short video APP (such as the path that can capture the user's mouth movement, the user's jumping action, the user's throwing action, etc.) and the special effect elimination capabilities (such as generating bubbles, love, football, etc. Special effects according to user actions), video production users can select the interactive video template they want to shoot when shooting videos from these candidate interactive video templates; this system can also put other candidate interactive video templates online at any time, and take down existing candidate interactive video templates; this system can also limit the number of videos that a user can record based on interactive video templates in a day, and how many users can unlock each candidate interactive video template to shoot and other factors.

[0132] Among them, the play consumption management system is mainly used for managing and configuring the upper and lower limits of the number of play coins required to trigger interactive participation operations for interactive videos (i.e. videos recorded based on interactive video templates), such as triggering interactive participation operations for a certain interactive video requires at least 3 play coins, and at most 10 play coins, etc. This system is also used to manage the maximum number of interactive videos that a user can unlock participation in a day, and the upper limit value of the number of user challenges that an interactive video can support.

[0133] Among them, the play reward management system is mainly used for managing and configuring the score corresponding to each valid elimination operation, the number of valid elimination operations required to complete consecutive valid elimination operations, the score corresponding to consecutive valid elimination operations, and the reward rules corresponding to the total elimination score, and the reward rules corresponding to the elimination ranking; At the same time, this system will also record the current consumption of each interactive video in real time, the score, interactive ranking and reward distribution rules of the user triggering interactive participation operations for this interactive video.

[0134] For example, Figure 11As shown, the video producer module is directed to a short video production user, which is the most important module in the entire short video ecology, which can support the implementation of functions such as video recording, video editing, video publishing, etc., and can realize the interactive play configuration corresponding to the interactive video template. The play configuration here refers to that if the user selects to record a video based on the interactive video template, the trigger action, interactive element and unlocking mechanism indicated in the interactive video template need to be pre-configured, and these configuration resources will be automatically synchronized with the play configuration management system of the background service at regular intervals. Video recording refers to using the shooting and recording capabilities of the terminal device to complete the recording of the video and enter the editing page. Video editing is mainly used to support the implementation of functions such as video editing, sticker editing, music editing, filter editing, etc. Video publishing is used to send the edited video to the background service side, and if the published video is a video recorded based on the interactive video template, the related attribute information of the interactive element generated during the video production process will be encapsulated into the video information structure, and then transmitted to the background storage system.

[0135] As shown in Figure 11 , the video consumer module mainly supports four capabilities: video playing, video interaction, interactive play experience, and play coin purchase and consumption. Among them, video playing is the basic video playing capability, including online playing and pausing capabilities of the video. Video interaction is the basic video interaction capability, mainly including likes, comments, forwards, etc. Interactive play experience refers to that if the video currently watched by the video consumer user is a video recorded based on the interactive video template, the user needs to pay play coins to unlock the playing of the video, so as to perform the subsequent interactive play experience (i.e. triggering and eliminating operations for the interactive elements displayed in the video). Play coin payment and consumption mainly include the purchase and consumption of play coins.

[0136] Next, in combination with Figure 12 , the composition of the elimination interactive video that can support user interaction is exemplarily introduced. As shown in Figure 12As shown, the elimination interactive video mainly includes three parts, which are video, interactive video template and interactive element. The video is a specific resource for playing, for example, a uniform resource locator (URL) of a complete MP4 file, etc. The interactive video template includes static information related to the interactive video template, such as the score of a single valid elimination operation, the number of valid elimination operations required to complete a continuous valid elimination operation, the score corresponding to the continuous valid elimination operation, the play coin value required to unlock the elimination interactive video, etc. The interactive element is an interactive element (such as bubble, heart, football, etc.) seen during the production and recording of the video. The implementation principle is a particle. Taking the iOS system as an example, the implementation of the particle effect needs to use two classes, CAEmitterLayer and CAEmitterCell. CAEmitterLayer is a special layer in Core Animation, which inherits from CALayer, is a particle emitter, and is used to control particle effects, such as the position of the emission point, the emission mode, the depth, the initial speed of the particle, the scaling ratio, etc. CAEmitterCell is a particle style layer, which is used to create particles, similar to the cell in UITableView, which mainly determines the display content of the particle, the gravitational acceleration, the production rate, etc. The implementation steps of the particle effect are as follows: 1) create a particle layer using CAEmitterLayer, and add it to the layer of the view; 2) set the properties of the emitter, and create particles through CAEmitterCell; 3) set the related properties of the particle; 4) add the particle to the array of the emission source.

[0137] Next, the playing process of the elimination interactive video will be described by way of example. Figure 13 Figure 13 ​As shown, the playing process of the elimination interactive video is as follows: 1) When the video playing starts, it is first judged whether the video is an elimination interactive video, if not, the video is directly played; the judgment basis here is mainly to judge whether the interactive video template is included in the video. 2) If it is judged that the video is an elimination interactive video, the playing of the video is first paused, and a coin payment process is entered. 3) The coin payment process needs to communicate with the payment system of the background service, if the corresponding coins are successfully paid, the video is started to play, otherwise the video is kept paused. 4) In the process of playing the elimination interactive video, it is judged in real time whether the current time reaches the display time of a certain interactive element. 5) If the current time reaches the display time of a certain interactive element, the animation effect corresponding to the interactive element is displayed through the particle emitter, and multiple animation effects corresponding to the interactive elements at the same time point can exist. 6) Each interactive element is a particle that can respond to an elimination event, if it is detected that the user triggers the corresponding eliminable event of the interactive element during the display of the animation effect of the interactive element (i.e. before the interactive element disappears), the elimination effect corresponding to the interactive element is displayed, and the number of valid elimination operations is accumulated, at the same time, the score of this valid elimination operation is recorded and the corresponding score effect is displayed. 7) If the user does not trigger a valid elimination operation for the interactive element before the interactive element disappears, the number of consecutive valid elimination operations recorded is cleared. 8) Repeat steps 4) to 7) above until the video playing ends, at this time, the total elimination score of the user is uploaded to the background service, the background service will correspondingly allocate reward coins to it, and feedback the interactive ranking to it.

[0138] For the video playing method and the video generating method described above, the application also provides corresponding video playing device and video generating device, so that the above-mentioned video playing method and video generating method can be applied and implemented in practice.

[0139] Referring to Figure 14 , Figure 14 is a structural schematic diagram of a video playing device 1400 corresponding to the video playing method shown in the above Figure 2 As shown in the above Figure 14 , the video playing device 1400 comprises:

[0140] a video playing module 1401, configured to play a target video comprising interactive elements in response to an interactive participation operation triggered for the target video; the target video is a video recorded by a video production user based on an interactive video template, the interactive video template is used to indicate the display style of an interactive element in the video and the trigger action corresponding to the interactive element, and the interactive element is a virtual element configured with an eliminable event;

[0141] The video interaction module 1402 is configured to display an elimination effect corresponding to the interactive element in response to an effective elimination operation triggered for the interactive element displayed in the target video during playing of the target video; the effective elimination operation refers to that a touch position of a playing interface of the target video is in an elimination area corresponding to the interactive element.

[0142] Optionally, based on the video playing device shown in the above description, the device further comprises: Figure 14

[0143] The score display module is configured to display a score corresponding to the effective elimination operation in response to an effective elimination operation triggered for the interactive element displayed in the target video during playing of the target video; and display a total elimination score after playing of the target video; the total elimination score is determined according to the scores corresponding to each of the effective elimination operations generated during playing of the target video.

[0144] Optionally, the score display module is further configured to:

[0145] The score display module is configured to display a score corresponding to the effective elimination operation in response to an effective elimination operation triggered for the interactive element displayed in the target video during playing of the target video; and display a total elimination score after playing of the target video; the total elimination score is determined according to the scores corresponding to each of the effective elimination operations generated during playing of the target video.

[0146] Optionally, based on the video playing device shown in the above description, the device further comprises: Figure 14

[0147] The reward resource acquisition module is configured to acquire a first reward virtual resource according to the total elimination score; the first reward virtual resource is determined according to at least one of the following factors: a score interval to which the total elimination score belongs, and an interactive virtual resource paid for triggering the interactive participation operation for the target video.

[0148] Optionally, based on the video playing device shown in the above description, the device further comprises: Figure 14

[0149] The ranking display module is configured to display an interactive ranking corresponding to the target video; the interactive ranking is determined according to the total elimination scores of each of the video consumption users who trigger the interactive participation operation for the target video within a reference time period.

[0150] ​​​The reward resource obtaining module is further configured to obtain second preset reward virtual resources corresponding to a preset ranking interval if the ranking of the video consumption user in the interactive ranking belongs to the preset ranking interval.

[0151] Optionally, on the basis of the video playing device shown in Figure 14 The video playing module 1401 is specifically configured to realize its functions in any of the following ways:

[0152] In response to an interactive virtual resource payment operation triggered for the target video, playing the target video.

[0153] In response to a touch operation on an interactive participation control element displayed on a playing interface of the target video, playing the target video.

[0154] In response to a touch operation on an interactive participation control element displayed on a playing interface of the target video, displaying a virtual resource payment control element on the playing interface; and in response to an interactive virtual resource payment operation triggered through the virtual resource payment control element, playing the target video.

[0155] Optionally, on the basis of the video playing device shown in Figure 14 The video playing module 1401 is further configured to:

[0156] When the interactive participation operation triggered for the target video is not detected, playing the target video without the interactive element.

[0157] Optionally, on the basis of the video playing device shown in Figure 14 The video interaction module 1402 is specifically configured to:

[0158] When the target video is played to the emission time corresponding to the interactive element, emitting the interactive element in a playing interface of the target video through a particle emitter based on the emission attribute information corresponding to the interactive element.

[0159] When it is detected that a touch position of a playing interface of the target video is in an elimination area corresponding to the interactive element, displaying an elimination effect corresponding to the interactive element; and when it is detected that the touch position of the playing interface of the target video is not in the elimination area corresponding to the interactive element, displaying an effect corresponding to an invalid elimination operation.

[0160] Optionally, on the basis of the video playing device shown in Figure 14 The device further includes:

[0161] The sound effect playing module is configured to play an elimination sound effect corresponding to the interactive element in response to a valid elimination operation triggered for the interactive element displayed in the target video.

[0162] Optionally, based on the video playing device shown in the above embodiment, the device further comprises: Figure 14

[0163] an expression switching module, configured to switch an expression of a target object in the target video to an elimination special effect expression in response to the valid elimination operation triggered for the interactive element displayed in the target video; the elimination special effect expression is obtained by processing a face of the target object based on an elimination special effect expression template, or is instructed by the target object to record when recording the target video.

[0164] Optionally, based on the video playing device shown in the above embodiment, the device further comprises: Figure 14

[0165] a prompt information display module, configured to display shooting prompt information corresponding to the interactive video template in response to a selection operation triggered for the interactive video template in each candidate interactive video template; the shooting prompt information is used to prompt a trigger action required to be performed and the interactive element displayed in response to the trigger action.

[0166] a video recording module, configured to start recording the target video in response to a video shooting operation triggered based on the interactive video template; and display the interactive element in a recording interface of the target video if it is detected that a target object in the target video performs the trigger action during recording of the target video.

[0167] a video publishing module, configured to publish the target video in response to a publishing operation triggered for the target video after recording of the target video is completed.

[0168] Optionally, the device further comprises:

[0169] a video pre-interaction module, configured to display an elimination effect corresponding to the interactive element in response to the valid elimination operation triggered for the interactive element displayed in the target video in a preview interface of the target video after recording of the target video is completed.

[0170] Optionally, the device further comprises:

[0171] a video editing module, configured to generate an edited target video in response to an editing operation triggered for the target video after recording of the target video is completed; the editing operation comprises at least one of the following: a video clipping operation, a sticker editing operation, a music editing operation, a filter editing operation, and a character editing operation.

[0172] the video publishing module is specifically configured to:

[0173] ​​In response to a publishing operation triggered for the edited target video, the edited target video is published.

[0174] Referring to Figure 15 , Figure 15 is a structural diagram of a video generation apparatus 1500 corresponding to the video generation method shown in the foregoing Figure 10 As shown in the foregoing Figure 15 The video generation apparatus 1500 comprises:

[0175] A video acquisition module 1501 is configured to acquire a target video recorded based on an interactive video template; the interactive video template is used to indicate a display style of an interactive element in a video and a trigger action corresponding to the interactive element.

[0176] An event configuration module 1502 is configured to configure, for each interactive element in the target video, a corresponding eliminable event; the eliminable event is used to play an elimination effect corresponding to the interactive element in response to an effective elimination operation triggered for the interactive element in the target video; the effective elimination operation refers to that a touch position of a playing interface of the target video is in an elimination area corresponding to the interactive element.

[0177] The foregoing video playing apparatus and video generation apparatus cooperatively propose a new video interactive form for a video watching user, in which the video watching user can realize interaction with a target video by triggering an elimination operation on an interactive element displayed in the target video when watching the target video recorded based on an interactive video template; in this way, the user can have stronger participation in the process of watching the video, the interestingness of the process of watching the video is increased, and the video watching experience of the user is improved.

[0178] Embodiments of the present application further provide a video playing device and a video generation device; the video playing device can be specifically a terminal device, and the video generation device can be specifically a server; the terminal device and the server provided by embodiments of the present application will be introduced from the perspective of hardware actualization.

[0179] Referring to Figure 16 , Figure 16 is a structural diagram of a terminal device provided by embodiments of the present application. As shown in the foregoing Figure 16 For the convenience of illustration, only parts related to embodiments of the present application are shown, and specific technical details not disclosed are referred to the method part of embodiments of the present application. The terminal can be any terminal device including a mobile phone, a tablet computer, a personal digital assistant, a point of sales (POS), a vehicle-mounted computer, etc.; the terminal is taken as a computer for example:

[0180] Figure 16Fig. 1 shows a block diagram of a part of the structure of a computer related to the terminal provided in the embodiments of the present application. Referring to Fig. 1, Figure 16 The computer includes Radio Frequency (RF) circuit 1610, memory 1620, input unit 1630 (including touch panel 1631 and other input devices 1632), display unit 1640 (including display panel 1641), sensor 1650, audio circuit 1660 (which can be connected to speaker 1661 and microphone 1662), wireless fidelity (WiFi) module 1670, processor 1680, and power supply 1690, etc. Those skilled in the art can understand that the computer structure shown in the embodiments of the present application is not a limitation to the computer, and the computer can include more or less components than those shown in the figure, or combine some components, or arrange the components differently. Figure 16 The computer structure shown in the embodiments of the present application is not a limitation to the computer, and the computer can include more or less components than those shown in the figure, or combine some components, or arrange the components differently.

[0181] Memory 1620 can be used to store software programs and modules, and processor 1680 can execute various functions and data processing of the computer by running the software programs and modules stored in memory 1620. Memory 1620 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), etc.; and the data storage area can store data created according to the use of the computer (such as audio data, a phone book, etc.), etc. In addition, memory 1620 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device.

[0182] Processor 1680 is the control center of the computer, and connects all parts of the computer through various interfaces and lines, and executes various functions and processes data of the computer by running or executing the software programs and / or modules stored in memory 1620, and calling the data stored in memory 1620. Optionally, processor 1680 can include one or more processing units; preferably, processor 1680 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into processor 1680.

[0183] In the embodiments of the present application, processor 1680 included in the terminal also has the following functions:

[0184] In response to an interactive participation operation triggered for the target video, the target video including an interactive element is played; the target video is a video recorded by a video production user based on an interactive video template, the interactive video template being used to indicate a display style of an interactive element in a video and a trigger action corresponding to the interactive element, and the interactive element being a virtual element configured with an eliminable event;

[0185] In the process of playing the target video, in response to an effective elimination operation triggered for the interactive element displayed in the target video, a elimination effect corresponding to the interactive element is displayed; the effective elimination operation is that a touch position of a play interface of the target video is in an elimination area corresponding to the interactive element.

[0186] Optionally, the processor 1680 is further configured to perform the steps of any one of the implementation manners of the video playing method provided in the embodiments of the present application.

[0187] Referring to Figure 17 , Figure 17 FIG. 17 shows a structural schematic diagram of a server 1700 according to an embodiment of the present application. The server 1700 can have great differences due to different configurations or performances, and can include one or more central processing units (CPU) 1722 (for example, one or more processors) and a memory 1732, one or more storage media 1730 (for example, one or more mass storage devices) storing application programs 1742 or data 1744. The memory 1732 and the storage media 1730 can be temporary storage or persistent storage. The programs stored in the storage media 1730 can include one or more modules (not shown in the figure), each of which can include a series of instruction operations in the server. Further, the central processing unit 1722 can be configured to communicate with the storage media 1730 and execute the series of instruction operations in the storage media 1730 on the server 1700.

[0188] The server 1700 can also include one or more power supplies 1726, one or more wired or wireless network interfaces 1750, one or more input / output interfaces 1758, and / or one or more operating systems, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

[0189] The steps performed by the server in the above embodiments can be based on the Figure 17 server structure shown.

[0190] The CPU 1722 is configured to perform the following steps:

[0191] obtaining a target video recorded based on an interactive video template; the interactive video template is used to indicate a display style of an interactive element in a video and a trigger action corresponding to the interactive element;

[0192] For each interactive element in the target video, a corresponding eradicable event is configured; the eradicable event is used to play an eradicable effect corresponding to the interactive element in response to an effective eradicable operation triggered for the interactive element in the target video; the effective eradicable operation refers to that a touch position of a playing interface of the target video is in an eradicable area corresponding to the interactive element.

[0193] Optionally, the CPU 1722 can also be configured to execute the steps of any of the implementation manners of the video generation method provided in the embodiments of the present application.

[0194] The embodiments of the present application further provide a computer readable storage medium for storing a computer program, the computer program being used to execute any of the implementation manners of the video playing method or the video generation method described in the foregoing embodiments.

[0195] The embodiments of the present application further provide a computer program product or a computer program, the computer program product or the computer program comprising computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes any of the implementation manners of the video playing method or the video generation method described in the foregoing embodiments.

[0196] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the system, the device and the unit described above can refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

[0197] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented by other manners. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units or components shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, and can be electrical, mechanical or other forms.

[0198] The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, i.e. may be located in one place, or may be distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0199] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present alone, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0200] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part of the prior art that contributes to the technical solutions or all or part of the technical solutions can be embodied in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (English full name: Read-Only Memory, English abbreviation: ROM), a random access memory (English full name: Random Access Memory, English abbreviation: RAM), a magnetic disk or an optical disk, and various computer program storage media.

[0201] It should be understood that in the present application, "at least one" means one or more, and "multiple" means two or more. "And / or" is used to describe the association relationship between the associated objects, which means that there can be three kinds of relationships, for example, "A and / or B" can represent three cases: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects. "At least one of the following" or the like means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0202] The above-described embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A video playback method, characterized in that: The method comprises: In response to an interactive participation operation triggered on a target video, playing the target video including at least two interactive elements, wherein the interactive elements are virtual elements configured with removable events; wherein the interactive elements are particle effects controlled by a particle emitter; When the target video is played to the emission time corresponding to the interactive element, the interactive element is emitted in the playback interface of the target video through the particle emitter; During the process of playing the target video, in response to an effective elimination operation triggered for the interactive element displayed in the target video, an elimination effect corresponding to the interactive element is displayed; wherein, the effective elimination operation means that the touch position of the playback interface of the target video is within the elimination area corresponding to the interactive element.

2. The method according to claim 1, characterized in that The method further comprises: During the playback of the target video, in response to a valid elimination operation triggered on the interactive element displayed in the target video, displaying a score corresponding to the valid elimination operation; After the target video is played, the total elimination score is displayed. The total elimination score is determined based on the scores corresponding to each of the valid elimination operations generated when the target video is played.

3. The method according to claim 2, characterized in that The method further comprises: During playback of the target video, in response to a continuous effective elimination operation triggered on a plurality of the interactive elements displayed in the target video, displaying a score corresponding to the continuous effective elimination operation, wherein the continuous effective elimination operation refers to a preset number of continuous effective elimination operations; The total elimination score is determined according to the scores corresponding to each of the valid elimination operations generated when the target video is played, and the scores corresponding to each of the continuous valid elimination operations.

4. The method according to claim 2 or 3, characterized in that The method further comprises: According to the total elimination score, a first reward virtual resource is obtained, where the first reward virtual resource is determined based on at least one of the following factors: the score range to which the total elimination score belongs, and the interactive virtual resource paid when the interactive participation operation is triggered for the target video.

5. The method according to any one of claims 2 to 4, characterized in that The method further comprises: Displaying the interaction ranking corresponding to the target video, where the interaction ranking is determined based on the total elimination score of each video consuming user who triggers the interactive participation operation for the target video within a reference time period; If the rank of the video consuming user in the interactive ranking belongs to a preset rank interval, a second reward virtual resource corresponding to the preset rank interval is obtained.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: When it is detected that the touch position of the playback interface of the target video is not within the elimination area corresponding to the interactive element, the effect corresponding to the invalid elimination operation is displayed.

7. The method according to any one of claims 1 to 6, characterized in that The elimination effect corresponding to the interactive element is any one of the effects of breaking, exploding and canceling the display of the interactive element.

8. The method according to any one of claims 1 to 7, characterized in that The step of playing the target video including at least two interactive elements in response to the interactive participation operation triggered for the target video includes any one of the following: In response to an interactive virtual resource payment operation triggered for the target video, playing the target video including at least two interactive elements; In response to a touch operation on an interactive participation control displayed on a playback interface of the target video, playing the target video including at least two interactive elements; In response to a touch operation on an interactive participation control displayed on the playback interface of the target video, a virtual resource payment control is displayed on the playback interface; in response to an interactive virtual resource payment operation triggered by the virtual resource payment control, the target video including at least two interactive elements is played.

9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: When the interactive participation operation is not detected to be triggered for the target video, the target video without the interactive element is played.

10. The method according to any one of claims 1 to 9, characterized in that The emitting the interactive element in the playback interface of the target video by the particle emitter includes: Based on the emission attribute information corresponding to the interactive element, the interactive element is emitted in the playback interface of the target video through the particle emitter.

11. The method according to any one of claims 1 to 10, characterized in that The method further comprises: In response to a valid elimination operation triggered for the interactive element displayed in the target video, an elimination sound effect corresponding to the interactive element is played.

12. The method according to any one of claims 1 to 11, characterized in that The method further comprises: In response to a valid elimination operation triggered by the interactive element displayed in the target video, the expression of the target object in the target video is switched to an elimination special effect expression; wherein, the elimination special effect expression is obtained by processing the face of the target object based on an elimination special effect expression template, or is instructing the target object to record when recording the target video.

13. The method according to any one of claims 1 to 12, characterized in that The target video is generated by: In response to a selection operation triggered for the interactive video template among the candidate interactive video templates, displaying shooting prompt information corresponding to the interactive video template; wherein the shooting prompt information is used to prompt the trigger action to be performed and the interactive element displayed in response to the trigger action; In response to a video capture operation triggered by the interactive video template, recording of the target video is started; during the recording of the target video, if it is detected that the target object in the target video performs the triggering action, the interactive element is displayed in the recording interface of the target video; After completing the recording of the target video, in response to a publishing operation triggered for the target video, the target video is published.

14. The method according to claim 13, characterized in that The method further comprises: After completing the recording of the target video, on the preview interface of the target video, in response to the effective elimination operation triggered by the interactive element displayed in the target video, the elimination effect corresponding to the interactive element is displayed.

15. The method according to claim 13 or 14, characterized in that The method further comprises: After completing the recording of the target video, generating an edited target video in response to an editing operation triggered on the target video, the editing operation including at least one of the following: a video editing operation, a sticker editing operation, a soundtrack editing operation, a filter editing operation, and a character editing operation; The step of publishing the target video in response to a publishing operation triggered on the target video includes: In response to a publishing operation triggered for the edited target video, the edited target video is published.

16. A video generation method, characterized in that: The method comprises: Obtaining a target video recorded based on an interactive video template, wherein the interactive video template is used to indicate the display style of interactive elements in the video and the triggering actions corresponding to the interactive elements; wherein the target video includes at least two of the interactive elements, and the interactive elements are particle effects controlled by a particle emitter; For each interactive element in the target video, a corresponding erasable event is configured; wherein, the erasable event is used to respond to a valid erasure operation triggered for the interactive element in the target video, and display the corresponding erasure effect of the interactive element; the valid erasure operation refers to the touch position of the playback interface of the target video being within the erasure area corresponding to the interactive element.

17. A video playback device, characterized in that: The device comprises: a video playback module, configured to, in response to an interactive participation operation triggered on a target video, play the target video including at least two interactive elements, wherein the interactive elements are virtual elements configured with removable events; wherein the interactive elements are particle effects controlled by a particle emitter; A video interaction module is used to emit the interactive element in the playback interface of the target video through the particle emitter when the target video is played to the emission time corresponding to the interactive element; during the playback of the target video, in response to an effective elimination operation triggered for the interactive element displayed in the target video, the elimination effect corresponding to the interactive element is displayed; wherein, the effective elimination operation refers to the touch position on the playback interface of the target video being within the elimination area corresponding to the interactive element.

18. A video generating device, characterized in that: The device comprises: A video acquisition module is configured to acquire a target video recorded based on an interactive video template, wherein the interactive video template is configured to indicate the display style of interactive elements in the video and the triggering actions corresponding to the interactive elements; wherein the target video includes at least two of the interactive elements, and the interactive elements are particle effects controlled by a particle emitter; An event configuration module is used to configure a corresponding removable event for each interactive element in the target video; wherein, the removable event is used to respond to a valid removal operation triggered for the interactive element in the target video, and display the removal effect corresponding to the interactive element; the valid removal operation refers to the touch position of the playback interface of the target video being within the removal area corresponding to the interactive element.

19. A device, characterized in that The device includes a processor and a memory; The memory is used to store computer programs; The processor is configured to execute the video playback method according to any one of claims 1 to 15, or the video generation method according to claim 16, according to the computer program.

20. A computer-readable storage medium, characterized in that The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the video playback method according to any one of claims 1 to 15, or the video generation method according to claim 16.

21. A computer program product comprising a computer program or instructions, characterized in that When the computer program or the instruction is executed by a processor, the video playback method according to any one of claims 1 to 15 or the video generation method according to claim 16 is implemented.