Video interaction method and device and related product

By displaying and animation of virtual props during video data playback, the problem that video barrage in the prior art is difficult to express its views quickly and accurately, and the degree of interaction with video data is improved.

CN119946342APending Publication Date: 2025-05-06DOUYIN VISION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510182679.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-18
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The existing video barrage function is difficult to express the views and feelings about the video data quickly and accurately, and the degree of interaction with the video data is relatively low.

Method used

By displaying the target virtual props during the playback of video data and presenting animation effects in the video frame in response to user operations, the presentation of animation effects changes the content of the picture, thereby achieving fast and accurate expression of views and feelings.

Benefits of technology

It improves the level of interaction with video data, enables users to express their views and feelings about video data quickly and accurately, and enhances the interactive experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119946342A_ABST
    Figure CN119946342A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a video interaction method and device and a related product, and the method comprises the steps: playing video data, and displaying a target virtual item in the played video data; the target virtual prop is determined and obtained according to picture content of a first video frame in the video data and story line content associated with the picture content; and in response to a trigger operation for the target virtual item, presenting an animation effect of the target virtual item in a second video frame in the video data, the picture content of the second video frame changes along with the presentation of the animation effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a video interaction method, device and related products. Background Art

[0002] In the related art, there is a video barrage function, which can express opinions and feelings about the video data by sending barrage during the playback of video data. However, barrages are usually in text form, and it takes a long time to input barrages. In addition, it is difficult to accurately express opinions and feelings about the video data through barrages in text form. Therefore, it is necessary to provide a technical solution to facilitate the rapid and accurate expression of opinions and feelings about the video data during the playback of video data, so as to improve the degree of interaction with the video data. Summary of the invention

[0003] The embodiments of the present disclosure provide a video interaction method, device and related products, which can quickly and accurately express opinions and feelings about video data during the playback of video data, thereby improving the degree of interaction with the video data.

[0004] In a first aspect, an embodiment of the present disclosure provides a video interaction method, comprising: Playing the video data, and displaying a target virtual prop in the played video data; the target virtual prop is determined according to the screen content of the first video frame in the video data, and the plot content associated with the screen content; In response to a trigger operation on the target virtual prop, an animation effect of the target virtual prop is presented in a second video frame in the video data; and the screen content of the second video frame changes with the presentation of the animation effect.

[0005] In a second aspect, an embodiment of the present disclosure provides a video interaction device, including: A prop display unit, used to play video data and display a target virtual prop in the played video data; the target virtual prop is determined according to the screen content of the first video frame in the video data and the plot content associated with the screen content; An effect presentation unit is used to present an animation effect of the target virtual prop in a second video frame in the video data in response to a trigger operation on the target virtual prop; the screen content of the second video frame changes with the presentation of the animation effect.

[0006] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor; and a memory configured to store computer-executable instructions, wherein the computer-executable instructions, when executed, enable the processor to implement the steps of the method described in the first aspect above.

[0007] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store computer-executable instructions, and the computer-executable instructions implement the steps of the method described in the first aspect when executed by a processor.

[0008] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] In one or more embodiments of the present disclosure, first, the video data is played, and the target virtual props are displayed in the played video data, and the target virtual props are determined based on the screen content of the first video frame in the video data, and the plot content associated with the screen content. Then, in response to the trigger operation for the target virtual props, the animation effect of the target virtual props is presented in the second video frame in the video data, and the screen content of the second video frame changes with the presentation of the animation effect of the target virtual props. It can be seen that through this embodiment, during the playback of the video data, the animation effect of the target virtual props in the video data can be presented in the video data by triggering the target virtual props in the video data. Through the animation effect of the target virtual props, the opinions and feelings about the video data can be quickly and accurately expressed, thereby improving the degree of interaction with the video data. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in one or more embodiments of the present disclosure or related technologies, the drawings required for use in the description of the embodiments or related technologies are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor. Figure 1 A schematic diagram of a flow chart of a video interaction method provided by an embodiment of the present disclosure; Figure 2a A schematic diagram of displaying a target virtual prop provided by an embodiment of the present disclosure; Figure 2b A schematic diagram showing the animation effect of a target virtual prop provided by an embodiment of the present disclosure; Figure 2c A schematic diagram showing the animation effect of a target virtual prop provided by another embodiment of the present disclosure; Figure 3a A schematic diagram of displaying a target virtual prop provided by another embodiment of the present disclosure; Figure 3b A schematic diagram showing the animation effect of a target virtual prop provided by another embodiment of the present disclosure; Figure 3c A schematic diagram showing the animation effect of a target virtual prop provided by yet another embodiment of the present disclosure; Figure 4a A schematic diagram of displaying a target virtual prop provided by another embodiment of the present disclosure; Figure 4b A schematic diagram showing the animation effect of a target virtual prop provided by yet another embodiment of the present disclosure; Figure 4c A schematic diagram showing the animation effect of a target virtual prop provided by yet another embodiment of the present disclosure; Figure 5 A schematic diagram of the structure of a video interaction device provided by an embodiment of the present disclosure; Figure 6 A schematic diagram of the structure of an electronic device provided in one embodiment of the present disclosure. DETAILED DESCRIPTION

[0011] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of the present disclosure, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in one or more embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on one or more embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the protection scope of the present disclosure.

[0012] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to the relevant parties and their authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0013] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0014] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0015] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0016] The disclosed embodiment provides a video interaction method, which can quickly and accurately express opinions and feelings about video data during the playback of video data, thereby improving the degree of interaction with the video data.

[0017] Figure 1 A schematic diagram of a video interaction method according to an embodiment of the present disclosure is shown in FIG. Figure 1 As shown, the process includes: Step S102, playing the video data, and displaying the target virtual props in the played video data; the target virtual props are determined according to the picture content of the first video frame in the video data, and the plot content associated with the picture content; Step S104, in response to the triggering operation on the target virtual prop, presenting the animation effect of the target virtual prop in the second video frame in the video data; the picture content of the second video frame changes with the presentation of the animation effect.

[0018] In this embodiment, first, the video data is played, and the target virtual props are displayed in the played video data. The target virtual props are determined based on the screen content of the first video frame in the video data and the plot content associated with the screen content. Then, in response to the triggering operation for the target virtual props, the animation effect of the target virtual props is presented in the second video frame in the video data, and the screen content of the second video frame changes with the presentation of the animation effect of the target virtual props. It can be seen that through this embodiment, during the playback of the video data, the animation effect of the target virtual props can be presented in the video data by triggering the target virtual props in the video data. Through the animation effect of the target virtual props, the opinions and feelings about the video data can be quickly and accurately expressed, thereby improving the degree of interaction with the video data.

[0019] In the above step S102, a video playback page is displayed, and video data is played in the video playback page, the video data including but not limited to any one of a TV series, a movie, a short video, and a short play. Also, a target virtual prop is displayed in the video data, and displaying the target virtual prop includes: displaying an icon corresponding to the target virtual prop. The target virtual prop is determined based on the screen content of the first video frame in the video data, and the plot content associated with the screen content.

[0020] In this embodiment, in one case, the first video frame includes the currently played video frame in the video data and multiple video frames located after the video frame, and the target virtual prop is recommended to the user based on the currently played video frame and the subsequent multiple video frames in the video data. In another case, the first video frame includes each predetermined video frame in the video data, and the plot displayed by each predetermined video frame is the hot plot of the video data. The hot plot can be understood as the plot whose playback times in the video data exceeds the threshold number, so the first video frame can also be called the highlight segment of the video data, and the target virtual prop is recommended to the user based on the highlight segment of the video data.

[0021] In one embodiment, the target virtual prop is determined by: According to the picture content of the first video frame and the plot content associated with the picture content, determining a target prop type that matches the picture content and the plot content from a plurality of virtual prop types; The target virtual item is determined among the virtual items to be selected that belong to the target item type.

[0022] In this embodiment, first, the screen content of the first video frame and the plot content associated with the screen content are determined. The screen content of the first video frame refers to the screen content displayed in the first video frame, and the plot content associated with the screen content can be understood as the plot content represented by the screen content. For example, the screen content of the first video frame is "the specific dress at the proposal scene where the male protagonist proposes to the female protagonist", and the plot content associated with the screen content is the plot of "the male protagonist proposes to the female protagonist".

[0023] Then, according to the picture content of the first video frame and the plot content associated with the picture content, a target prop type that matches the picture content and the plot content is determined among multiple virtual prop types. In this embodiment, multiple virtual prop types are pre-created, including a first type, a second type, and a third type. The first type of virtual props is used to select the plot direction of the video data, the animation effect of the second type of virtual props is used to be presented on the character in the video data, such as giving the character in the video data a hug or a kiss, and the animation effect of the third type of virtual props is used to be presented on the background environment in the video data, such as releasing a fireworks effect in the sky of the video data. Based on this, according to the picture content of the first video frame and the plot content associated with the picture content, a target prop type that matches the picture content and the plot content is determined among multiple virtual prop types, and the target prop type includes one or more of the first type, the second type, and the third type.

[0024] Finally, among the virtual props to be selected that are subordinate to the target prop type, the target virtual prop is determined. The target virtual prop is subordinate to the target prop type. The number of target virtual props can be one or more. The user can select the desired target virtual prop in the video data and trigger it. For example, if it is determined that the target prop type includes the first type, one or more props for selecting the plot direction of the video data are displayed in the video data as the target virtual props, and the target virtual props can be represented by an icon. For another example, if it is determined that the target prop type includes the second type, one or more props for presenting the character in the video data are displayed in the video data as the target virtual props, and the target virtual props can be represented by an icon. The target virtual props can be exemplified by props such as hugs, kisses, and hammers. For another example, if it is determined that the target prop types include the second type and the third type, then one or more props used to be presented on the character in the video data are displayed in the video data as target virtual props, and one or more props used to be presented on the background environment in the video data are displayed in the video data as target virtual props. The target virtual props can be represented in the form of icons, and examples of the target virtual props include hugs, kisses, hammers, fireworks, atmosphere lights and other props.

[0025] It can be seen that through this embodiment, it is possible to determine a target prop type that matches the picture content and the plot content among multiple virtual prop types based on the picture content of the first video frame and the plot content associated with the picture content, and determine the target virtual prop among each candidate virtual prop belonging to the target prop type. In combination with the picture content of the first video frame and the plot content associated with the picture content, suitable target virtual props can be accurately recommended to the user, so that the user can quickly and accurately express his or her views and feelings on the video data with the help of the target virtual props, thereby improving the degree of interaction between the user and the video data.

[0026] In one embodiment, according to the screen content of the first video frame and the plot content associated with the screen content, determining a target prop type that matches the screen content and the plot content from among multiple virtual prop types includes: If in the video data, the subsequent plot of the above plot content includes multiple optional directions, then among multiple virtual prop types, the target prop type is determined to be the first type; the first type of virtual props is used to select the plot direction of the subsequent plot; If in the video data, the subsequent plot of the above plot content includes a unique direction, then according to the picture content of the first video frame, a target prop type matching the picture content of the first video frame is determined from multiple virtual prop types.

[0027] In this embodiment, after determining the picture content of the first video frame and the plot content associated with the picture content, it is first determined in the video data whether the subsequent plot of the plot content has multiple optional directions. For example, the current plot content is "the male protagonist proposes to the female protagonist", and in the video data, two subsequent plots of the plot content are pre-set, namely successful proposal and failed proposal, then it is determined that the subsequent plot of the plot content has two optional directions. For another example, the current plot content is "the male protagonist proposes to the female protagonist", and in the video data, one subsequent plot of the plot content is pre-set, which is a successful proposal, then it is determined that the subsequent plot of the plot content has only one direction and does not have multiple optional directions.

[0028] If in the video data, the subsequent plot of the above plot content includes multiple optional directions, then among multiple virtual prop types, the target prop type is determined to be the first type, and the first type of virtual props is used to select the plot direction of the subsequent plot, and based on the first type, the target virtual props is determined. The target virtual props can be in the form of options, such as "Please select the subsequent plot, 1 proposal is successful, 2 proposal failed". After the user triggers the target virtual props, the video data plays the corresponding subsequent plot, and the user can browse the corresponding subsequent plot.

[0029] If in the video data, the subsequent plot of the above plot content includes a unique direction, that is, does not have multiple optional directions, then according to the picture content of the first video frame, determine the target prop type that matches the picture content of the first video frame from multiple virtual prop types.

[0030] It can be understood that when the first video frame includes the video frame currently being played in the video data and multiple video frames located after the video frame, the plot content associated with the picture content of the first video frame includes the plot content currently viewed by the user. Therefore, through this embodiment, the target prop type can be determined according to the specific circumstances of the subsequent plot of the plot content currently viewed by the user, so that the target virtual prop matches the subsequent plot of the plot content currently viewed by the user.

[0031] Similarly, when the first video frame is a highlight segment of the video data, the plot content associated with the picture content of the first video frame is the hot plot of the video data. Therefore, through this embodiment, the target prop type can be determined according to the specific circumstances of the subsequent plot of the hot plot of the video data, so that the target virtual props match the subsequent plot of the hot plot of the video data.

[0032] In one embodiment, according to the screen content of the first video frame, determining a target prop type that matches the screen content of the first video frame from among multiple virtual prop types includes: If it is determined that the main content of the first video frame includes a character according to the screen content of the first video frame, then the target prop type is determined to be a second type among multiple virtual prop types; the animation effect of the second type of virtual prop is used to be presented on the character; If it is determined that the main content of the first video frame includes the background environment according to the screen content of the first video frame, then the target prop type is determined to be the third type among multiple virtual prop types; the animation effect of the third type of virtual props is used to be presented on the background environment.

[0033] In this embodiment, according to the screen content of the first video frame, it is determined whether the main content of the first video frame includes the character or the background environment. The main content refers to the content that occupies a larger screen area in the first video frame. The background environment can be exemplified by the sky, the earth, outdoor scenery, indoor display, etc. When the number of the first video frame is one, according to the screen area occupied by the character and the background environment in the first video frame, it is determined whether the main content of the first video frame includes the character or the background environment. If the difference between the screen area occupied by the character and the screen area occupied by the background environment in the first video frame is greater than a certain value, it is determined that the main content of the first video frame includes the character. If the difference between the screen area occupied by the background environment and the screen area occupied by the character in the first video frame is greater than a certain value, it is determined that the main content of the first video frame includes the background environment. If the difference between the screen area occupied by the character and the screen area occupied by the background environment in the first video frame is within a certain difference range, it is determined that the main content of the first video frame includes the character and the background environment.

[0034] When there are multiple first video frames, the above method is used to determine whether the main content of each first video frame includes the character or the background environment. If more than a certain number of first video frames include the character, the main content of each first video frame is determined to include the character. If more than a certain number of first video frames include the background environment, the main content of each first video frame is determined to include the background environment. If the difference between the number of first video frames whose main content includes the background environment and the number of first video frames whose main content includes the character is within a certain difference range, the main content of each first video frame is determined to include the character and the background environment.

[0035] Next, if it is determined that the main content of the first video frame includes a character, then among multiple virtual prop types, the target prop type is determined to be the second type, and the animation effect of the second type of virtual props is used to be presented on the character in the video data. Examples of the second type of virtual props include hugging, kissing, etc. If the main content of the first video frame includes the background environment, then among multiple virtual prop types, the target prop type is determined to be the third type, and the animation effect of the third type of virtual props is used to be presented on the background environment of the video data. Examples of the third type of virtual props include fireworks, atmosphere lights, etc.

[0036] It can be seen that, through this embodiment, the target prop type can be determined according to the main content of the first video frame, so that the target virtual prop matches the main content of the first video frame.

[0037] After the target item type is determined, in one embodiment, determining the target virtual item from among the virtual items to be selected that belong to the target item type includes: According to the trigger records of the virtual props to be selected, the animation effects of the virtual props to be selected, and the main content of the second video frame, a target virtual prop is determined from the virtual props to be selected.

[0038] In this embodiment, after determining the target prop type, determine each virtual prop to be selected that belongs to the target prop type, and determine the target virtual prop among the virtual props to be selected based on the trigger records of each virtual prop to be selected, the animation effects of each virtual prop to be selected, and the main content of the second video frame. The second video frame is a video frame used to present the animation effect of the target virtual prop. The connection and difference between the first video frame and the second video frame will be described in detail later. The main content of the second video frame can be determined by the previous description.

[0039] In this embodiment, candidate props may be determined from among the candidate virtual props according to their animation effects and the main content of the second video frame, and then a target virtual prop may be determined from among the candidate props according to the number of times each candidate prop is triggered.

[0040] In one case, after determining that the target prop type includes the first type, various virtual props to be selected belonging to the first type are determined. For the subsequent plot of the plot content currently viewed by the user, the virtual props to be selected include a bubble-shaped option and an option with lace decoration. The option contents of the two virtual props to be selected are both "Please select the subsequent plot, 1 is a successful proposal, 2 is a failed proposal". According to the animation effects of the various virtual props to be selected and the main content of the second video frame is the daytime sky, it is determined that the bubble-shaped option is more matched with the main content of the second video frame, and the bubble-shaped option is determined as a candidate prop. Since there is only one candidate prop, the target virtual prop is determined to be the bubble-shaped option among the various virtual props to be selected.

[0041] In another case, after determining that the target prop type includes the second type, various virtual props to be selected belonging to the second type are determined, and the virtual props to be selected include hugging props and kissing props. According to the animation effects of various virtual props to be selected and the main content of the second video frame is the female protagonist, it is determined that both the hugging props and the kissing props are relatively matched with the main content of the second video frame, and according to the triggering records of various virtual props to be selected, it is determined that the number of times the hugging props are triggered and the number of times the kissing props are triggered in the video data are greater than the preset number, then among the various virtual props to be selected, it is determined that the target virtual props include hugging props and kissing props.

[0042] In one example, after determining that the target prop type includes the second type, various virtual props to be selected belonging to the second type are determined, and the virtual props to be selected include hugging props suitable for men and hugging props suitable for women. According to the animation effects of the various virtual props to be selected and the main content of the second video frame is a female protagonist, it is determined that the hugging prop suitable for women is more matched with the main content of the second video frame, and the hugging prop suitable for women is determined as a candidate prop. Since there is only one candidate prop, the target virtual prop is determined to be a hugging prop suitable for women among the various virtual props to be selected.

[0043] In another case, after determining that the target prop type includes the third type, various virtual props to be selected belonging to the third type are determined, and the virtual props to be selected include fireworks props, flying ball props, and atmosphere light props. According to the animation effects of the various virtual props to be selected and the main content of the second video frame being the night sky, it is determined that the fireworks props and the atmosphere light props are more matched with the main content of the second video frame, and according to the trigger records of the various virtual props to be selected, it is determined that the number of times the fireworks props are triggered in the video data is greater than that of the atmosphere light props, and then, among the various virtual props to be selected, it is determined that the target virtual props are fireworks props.

[0044] It can be understood that the number of the determined target virtual props can be one or more. One or more icons of the target virtual props can be displayed in the played video data.

[0045] It can be seen that through this embodiment, after determining the target prop type, each candidate virtual prop belonging to the target prop type can be determined, and according to the trigger records of each candidate virtual prop, the animation effects of each candidate virtual prop and the main content of the second video frame, the target virtual prop is determined among the candidate virtual props, so as to achieve the effect of accurately recommending the target virtual prop to the user.

[0046] After determining the target virtual prop, if the user triggers the target virtual prop, such as clicking on the target virtual prop, the animation effect of the target virtual prop can be presented in the second video frame in the video data in response to the trigger operation, and the picture content of the second video frame changes with the presentation of the animation effect of the target virtual prop.

[0047] The connection and difference between the first video frame and the second video frame are explained in detail here. As mentioned above, the first video frame is a video frame used to determine the target virtual props, and the target virtual props can be displayed in the first video frame. In one case, the first video frame includes the currently played video frame in the video data and multiple video frames located after the video frame. In this case, the target virtual props can be displayed in each frame of the video data. In another case, the first video frame includes each predetermined video frame in the video data, and the first video frame is a highlight segment of the video data. In this case, the target virtual props can be displayed in the highlight segment of the video data.

[0048] The second video frame is a video frame for presenting the animation effect of the target virtual prop, and the second video frame may include a video frame played when the user triggers the target virtual prop and multiple video frames thereafter, or the second video frame is determined from a video frame played when the user triggers the target virtual prop and multiple video frames thereafter. Since the first video frame is a video frame that determines and displays the target virtual prop, the second video frame includes a video frame played when the user triggers the target virtual prop, and the target virtual prop must be displayed in the video frame, there are overlapping video frames between the first video frame and the second video frame.

[0049] For example, the first video frame includes multiple predetermined video frames, which are highlight segments of the video data. The target virtual props are displayed in the first video frame. If the user triggers the target virtual props in the last first video frame, the last video frame is the second video frame, and the last video frame is the overlapping video frame between the first video frame and the second video frame.

[0050] When the animation effect of the target virtual prop is presented in the second video frame in the video data, the screen content of the second video frame can change with the presentation of the animation effect of the target virtual prop. For example, if the target virtual prop is a firework, the color of the sky in the second video frame can change with the change of the firework, showing the state of the sky being illuminated by the firework. For another example, if the target virtual prop is a hammer, the head of the character in the second video frame can swell up a big bag after being hit by the hammer, indicating the effect of the character being hit. In the present embodiment, when the animation effect of the target virtual prop is presented in the target character, the animation effect of the target virtual prop can also change with the change of the form of the target character. For example, as the face rotation of the heroine changes, the kissing effect also presents a posture change accordingly.

[0051] In one embodiment, the animation effect of the target virtual prop is used to be presented on the background environment in the video data; in response to the trigger operation on the target virtual prop, the animation effect of the target virtual prop is presented in the second video frame in the video data, including: In response to a trigger operation on the target virtual prop, presenting an animation effect of the target virtual prop on the background environment of the second video frame; The second video frame is a video frame in the video data that is played within a presentation time range; and the presentation time range is a presentation time range of the target virtual prop in the video data.

[0052] In this embodiment, the target prop type is the third type, and the animation effect of the target virtual prop is used to be presented on the background environment in the video data. Based on this, in response to the user's triggering operation on the target virtual prop, for example, in response to the user's triggering operation on the icon of the target virtual prop, the presentation time range of the target virtual prop in the video data can be determined. The starting time point of the presentation time range is the time point when the user triggers the target virtual prop, and the ending time point of the presentation time range is the starting time point plus the preset duration. The preset duration is the preset action duration of the target virtual prop. The preset action duration can be divided into two stages. The first stage is the first duration used to indicate that the target virtual prop is successfully triggered, such as setting a time of 0.3 seconds to enlarge the icon of the target virtual prop to indicate that the target virtual prop is successfully triggered. The second stage is the duration of the animation effect of the target virtual prop acting on the background environment in the video frame, such as displaying a 3-second fireworks effect.

[0053] According to the presentation time range, each video frame in the video data played within the presentation time range is used as the second video frame. It can be seen that the second video frame includes the video frame played when the user triggers the target virtual prop and multiple video frames thereafter. On the background environment of each second video frame, the animation effect of the target virtual prop is presented, for example, fireworks bloom on the background environment of each second video frame.

[0054] It can be seen that through this embodiment, when the animation effect of the target virtual prop is used to be presented on the background environment in the video data, in response to the user's trigger operation on the target virtual prop, the presentation time range of the target virtual prop in the video data is determined, and each video frame in the video data played within the presentation time range is used as the second video frame. On the background environment of the second video frame, the animation effect of the target virtual prop is presented, thereby showing the animation effect of the target virtual prop to the user.

[0055] In one embodiment, presenting the animation effect of the target virtual prop on the background environment of the second video frame includes: Displaying the adjusted animation effect of the target virtual prop at the display position in the background environment; Among them, the display position is determined according to the original animation effect of the target virtual prop in the background environment in the second video frame; the adjusted animation effect of the target virtual prop is obtained by adjusting the original animation effect of the target virtual prop according to the display content at the display position; the adjusted animation effect of the target virtual prop matches the display content at the display position; and the display content at the display position changes with the presentation of the adjusted animation effect.

[0056] In this embodiment, first, for each second video frame, a display position is determined in the background environment in the second video frame according to the original animation effect of the target virtual prop. In one example, the display position has enough display space to display the original animation effect of the target virtual prop. For example, the size of the display space matches the size of the original animation effect of the target virtual prop. In another example, the display position is a position that matches the original animation effect of the target virtual prop. For example, if the target virtual prop is a flying kiss, the cheek of the heroine is determined as the display position in the second video frame. If the facial image of the heroine is presented in the mirror in the video frame, the cheek position of the heroine in the mirror is also determined as the display position.

[0057] Next, the original animation effect of the target virtual prop is adjusted according to the display content at the display position to obtain the adjusted animation effect of the target virtual prop, and the adjusted animation effect of the target virtual prop matches the display content at the display position. The original animation effect of the target virtual prop refers to the display effect set by the system for the target virtual prop by default. In one example, the default color of the target virtual prop is adjusted according to the display content at the display position, and the adjusted color matches the display content at the display position. For example, the display position is determined in the sky in the second video frame, and the default color of the target virtual prop fireworks is adjusted according to the color of the sky at the display position, and the color of the adjusted fireworks matches the color of the sky at the display position.

[0058] Finally, the display content at the display position is set to change with the presentation of the adjusted animation effect. For example, when fireworks are blooming in the sky, the brightness at the display position is set to change with the fireworks, showing the effect of the sky being illuminated by the fireworks. For another example, when a hammer prop is given to the villain, a large bump is set on the villain's head to show the effect of the villain being hit by the hammer. The large bump can change with the character's posture to match the character's head.

[0059] It can be seen that through this embodiment, the display position is determined in the background environment in the second video frame according to the original animation effect of the target virtual prop, and the original animation effect of the target virtual prop is adjusted according to the display content at the display position to obtain the adjusted animation effect of the target virtual prop, the adjusted animation effect of the target virtual prop matches the display content at the display position, and the adjusted animation effect of the target virtual prop is displayed at the display position in the background environment, and the display content at the display position is set to change with the presentation of the adjusted animation effect, so as to achieve the purpose of accurately displaying the animation effect of the target virtual prop.

[0060] In one embodiment, the animation effect of the target virtual prop is used to be presented on a character in the video data; in response to a trigger operation on the target virtual prop, the animation effect of the target virtual prop is presented in a second video frame in the video data, including: In response to a trigger operation on the target virtual prop, presenting an animation effect of the target virtual prop on the target character in the second video frame; Among them, the second video frame is a video frame in the video data that is played within the presentation time range and contains the target character; the presentation time range is the presentation time range of the target virtual props in the video data; and the target character is the character in the video data used to present the animation effect of the target virtual props.

[0061] In this embodiment, the target prop type is the second type, and the animation effect of the target virtual prop is used to be presented on the character in the video data. Based on this, the target character used to present the animation effect of the target virtual prop can be determined in response to the user's trigger operation on the target virtual prop, for example, in response to the user's trigger operation on the icon of the target virtual prop. The determination method of the target character will be described in detail later. And, the presentation time range of the target virtual prop in the video data is determined, the starting time point of the presentation time range is the time point when the target character first appears in the video data after the user triggers the target virtual prop, and the end time point of the presentation time range is the starting time point plus the preset time length, the preset time length is the preset action time length of the target virtual prop, and the preset action time length can be divided into two stages, the first stage is the first time length used to indicate that the target virtual prop is successfully triggered, such as setting a time of 0.3 seconds to enlarge the icon of the target virtual prop to indicate that the target virtual prop is successfully triggered, and the second stage is the action time length of the animation effect of the target virtual prop, such as displaying a 3-second hug effect.

[0062] Then, according to the presentation time range, each video frame in the video data that is played within the presentation time range and contains the target character is used as the second video frame. It can be seen that the second video frame is determined from the video frame played when the user triggers the target virtual prop and multiple video frames thereafter. Each second video frame has a target character, and the animation effect of the target virtual prop is presented on the target character in each second video frame. For example, if the target character is the heroine of the video data, a hugging effect is displayed on the heroine in each second video frame.

[0063] It can be seen that through this embodiment, when the animation effect of the target virtual prop is used to be presented on a character in the video data, in response to the user's trigger operation on the target virtual prop, the target character in the video data for presenting the animation effect of the target virtual prop is determined, and the presentation time range of the target virtual prop in the video data is determined, and the video frame in the video data that is played within the presentation time range and contains the target character is used as the second video frame, and the animation effect of the target virtual prop is presented on the target character in the second video frame, thereby showing the animation effect of the target virtual prop to the user.

[0064] In one embodiment, the target character used to present the animation effect of the target virtual prop includes at least one of the following: A first character in the video data pre-configured for the target virtual prop; a designated second character in the video data; All characters in the target video frame; the target video frame is the video frame in which the video data is played when the target virtual prop is triggered; The subject character in the target video frame; A character in a target video frame that matches the animation of the target virtual prop.

[0065] In this embodiment, when developing the target virtual prop, the target virtual prop can be bound to the first role in the video data, and the first role is set as the default role of the target virtual prop. For example, the hug effect is bound to the heroine, and after the user selects the hug effect, there is no need to select the role that takes effect, and the hug effect automatically takes effect on the heroine. A selection function can also be configured for the target virtual prop, and the user can use the selection function to select the role on which the target virtual prop takes effect after selecting the target virtual prop, and the target virtual prop automatically takes effect on the role selected by the user. It is also possible to determine the video frame played by the video data when the user triggers the target virtual prop as the target video frame, and all the roles in the target video frame are used as the target role on which the target virtual prop takes effect. It is also possible to determine the main role in the target video frame, and the main role is the role with the largest area in the target video frame. The main role is used as the target role on which the target virtual prop takes effect. It is also possible to determine the role that matches the animation effect of the target virtual prop among the various roles in the target video frame. Matching the animation effect of the target virtual prop means that the animation effect of the target virtual prop is more suitable for presentation on the character, for example, a kissing effect is more suitable for presentation on the heroine rather than on the animals in the video data. A list of matching characters can be created in advance for the target virtual prop, and based on the list, a character matching the animation effect of the target virtual prop is determined among the characters in the target video frame. Furthermore, the matching character is determined as the target character for which the target virtual prop takes effect.

[0066] It can be seen that through this embodiment, the target character can be determined through at least one of the above five methods, and the animation effect of the target virtual prop can be presented on the target character, so as to achieve the purpose of accurately presenting the animation effect of the target virtual prop on the appropriate character.

[0067] In one embodiment, presenting an animation effect of a target virtual prop on a target character in a second video frame includes: Displaying the adjusted animation effect of the target virtual prop at the display position in the display area where the target character is located; Among them, the display position is determined in the display area where the target character is located in the second video frame according to the original animation effect of the target virtual prop; the adjusted animation effect of the target virtual prop is obtained by adjusting the original animation effect of the target virtual prop according to the display content at the display position; the adjusted animation effect of the target virtual prop matches the display content at the display position; the display content at the display position changes with the presentation of the adjusted animation effect.

[0068] In this embodiment, after determining the target character and the second video frame, when presenting the animation effect of the target virtual prop on the target character in the second video frame, first, for each second video frame, determine the display position in the display area where the target character is located in the second video frame according to the original animation effect of the target virtual prop. In one example, the display position has enough display space to display the original animation effect of the target virtual prop, for example, the size of the display space matches the size of the original animation effect of the target virtual prop. In another example, the display position is a position that matches the original animation effect of the target virtual prop, such as the target virtual prop is a flying kiss, and the target character is the heroine, then the cheek of the heroine is determined as the display position in the second video frame, and if the facial image of the heroine is presented in the mirror in the video frame, the position of the heroine's cheek in the mirror is also determined as the display position.

[0069] Next, the original animation effect of the target virtual prop is adjusted according to the display content at the display position to obtain the adjusted animation effect of the target virtual prop. The adjusted animation effect of the target virtual prop matches the display content at the display position. The original animation effect of the target virtual prop refers to the display effect set by the system for the target virtual prop by default. In one example, the default color of the target virtual prop is adjusted according to the display content at the display position, and the adjusted color matches the display content at the display position. For example, the target character is the heroine, and the cheek area of ​​the heroine is determined as the display position in the second video frame. According to the makeup effect at the display position, the lip color of the target virtual prop kissing is adjusted, and the adjusted lip color matches the makeup effect at the display position.

[0070] Finally, the display content at the display position is set to change with the presentation of the adjusted animation effect. For example, when a kiss effect is presented on the heroine's face, a shy halo is displayed on the heroine's face, indicating that the heroine's emotions change due to the kiss. For another example, when a hammer prop is given to the villain, a large bump is set on the villain's head to show the effect of the villain being hit by the hammer. The large bump can change with the character's posture to match the character's head.

[0071] It can be seen that through this embodiment, the display position is determined in the display area where the target character is located in the second video frame according to the original animation effect of the target virtual prop, and the original animation effect of the target virtual prop is adjusted according to the display content at the display position to obtain the adjusted animation effect of the target virtual prop, the adjusted animation effect of the target virtual prop matches the display content at the display position, and the adjusted animation effect of the target virtual prop is displayed at the display position in the display area where the target character is located, and the display content at the display position is set to change with the presentation of the adjusted animation effect, so as to achieve the purpose of accurately displaying the animation effect of the target virtual prop.

[0072] In one embodiment, the animation effect of the target virtual prop is used to select the plot direction of the subsequent plot; in response to the trigger operation on the target virtual prop, the animation effect of the target virtual prop is presented in the second video frame in the video data, including: In response to the triggering operation on the target virtual prop, a startup animation effect of the target virtual prop is presented in the second video, and a third video frame is played; the third video frame is a video frame in the video data used to represent the first plot; the startup animation effect indicates that the target virtual prop is triggered; the first plot is the plot corresponding to the target virtual prop; If there is a second plot following the first plot in the video data, after the third video frame is played, a fourth video frame in the video data for representing the second plot is played.

[0073] In this embodiment, the target prop type is the third type, and the animation effect of the target virtual prop is used to select the plot direction of the subsequent plot, specifically, to select the plot direction of the subsequent plot of the plot content currently viewed by the user. Based on this, in response to the user's trigger operation on the target virtual prop, the start-up animation effect of the target virtual prop can be presented in the second video. The start-up animation effect indicates that the target virtual prop is triggered. For example, a time of 0.3 seconds is set to enlarge the icon of the target virtual prop to indicate that the target virtual prop is successfully triggered.

[0074] And, determine the first plot corresponding to the target virtual prop, the first plot is the plot to be played in the video data after the user triggers the target virtual prop, and play the third video frame, the third video frame is the video frame in the video data used to represent the first plot, so as to achieve the effect of playing the first plot after the user triggers the target virtual prop.

[0075] In this embodiment, it is also determined whether there is a second plot after the first plot in the video data. If so, after the third video frame is played, the fourth video frame in the video data used to represent the second plot is played to achieve the effect of continuously playing the video data.

[0076] In one example, a certain video data has two endings. Before the two endings are played, two target virtual props Prop 1 and Prop 2 appear in the first video frame, corresponding to Ending 1 and Ending 2 respectively. If the user uses Prop 1, Ending 1 is played in the video data. If the user uses Prop 2, Ending 2 is played in the video data.

[0077] In another example, there are two branch plots in a certain video data. Before playing the branch plot, two target virtual props Prop 1 and Prop 2 appear in the first video frame, corresponding to branch plot 1 and branch plot 2 respectively. If the user uses Prop 1, branch plot 1 is played in the video data. If the user uses Prop 2, branch plot 2 is played in the video data. After playing branch plot 1 or branch plot 2, the subsequent content continues to be played.

[0078] It can be seen that through this embodiment, the target virtual props can be used to achieve the effect of selecting the plot direction of the video data, thereby improving the degree of interaction between the user and the video data.

[0079] In this embodiment, according to the triggering record of the target virtual prop, a video segment in which the number of times the user triggers the target virtual prop exceeds a number threshold in the video data can be determined, and the video segment is used as a hot segment of the video data. The number of times the target virtual prop is triggered corresponding to each video frame can be determined, and according to the number, a video segment in which the number of times the user triggers the target virtual prop exceeds a number threshold in the video data is determined.

[0080] In various embodiments of the present disclosure, in response to a user's triggering operation on a target virtual prop, during the process of displaying the animation effect of the target virtual prop, the video data can be continuously played without being affected by the event that the target virtual prop is triggered.

[0081] To facilitate understanding of various embodiments of the present disclosure, the following description is made with reference to specific drawings.

[0082] Figure 2a A schematic diagram of displaying a target virtual prop provided by an embodiment of the present disclosure is shown in FIG. Figure 2b A schematic diagram showing the animation effect of a target virtual prop provided by an embodiment of the present disclosure. Figure 2c A schematic diagram showing the animation effect of a target virtual prop provided by another embodiment of the present disclosure is shown in FIG. Figure 2a As shown in FIG. 1 , a target virtual prop “fireworks” is displayed in the video data. If the user triggers the target virtual prop, Figure 2b As shown, the icon of the target virtual prop can be enlarged to indicate that the target virtual prop is successfully triggered, and then, as shown Figure 2c As shown, within a preset duration, the fireworks effect of the target virtual prop "fireworks" is displayed on the sky background of the video data.

[0083] Figure 3a A schematic diagram of displaying a target virtual prop provided by another embodiment of the present disclosure is shown in FIG. Figure 3b A schematic diagram showing the animation effect of a target virtual prop provided by another embodiment of the present disclosure is shown. Figure 3c A schematic diagram showing the animation effect of a target virtual prop provided by another embodiment of the present disclosure is shown in FIG. Figure 3a As shown in FIG. 1 , a target virtual prop “kiss” is displayed in the video data. If the user triggers the target virtual prop and specifies that the target virtual prop is presented on the heroine in the video data, then Figure 3b As shown, the icon of the target virtual prop can be enlarged and highlighted, indicating that the target virtual prop is successfully triggered, and then, as shown Figure 3c As shown, within the preset time, the kiss effect of the target virtual prop "kiss" is displayed on the heroine in the video data. Special note: Figure 3a , Figure 3b and Figure 3c The accompanying figure was originally generated using AI (Artificial Intelligence) technology.

[0084] Figure 4a A schematic diagram of displaying a target virtual prop provided by another embodiment of the present disclosure is shown. Figure 4b A schematic diagram showing the animation effect of a target virtual prop provided by another embodiment of the present disclosure is shown. Figure 4c A schematic diagram showing the animation effect of a target virtual prop provided by another embodiment of the present disclosure is shown in FIG. Figure 4a As shown, a target virtual prop "fireworks" and a target virtual prop "select subsequent plot" are displayed in the video data. The target virtual prop "select subsequent plot" provides two options "plot 1" and "plot 2". If the user triggers the "plot 1" option provided by the target virtual prop "select subsequent plot", Figure 4b As shown, the icon of the option "Scene 1" can be enlarged to indicate that the target virtual prop is successfully triggered. Then, Figure 4c As shown, the video data corresponding to plot 1 is played.

[0085] In summary, through this embodiment, during the playback of video data, the target virtual props in the video data can be triggered to present the animation effect of the target virtual props in the video data. Through the animation effect of the target virtual props, the opinions and feelings regarding the video data can be expressed quickly and accurately, thereby improving the degree of interaction with the video data.

[0086] Figure 5 A schematic diagram of the structure of a video interaction device provided by an embodiment of the present disclosure is shown in FIG. Figure 5 As shown, the device comprises: The prop display unit 51 is used to play the video data and display the target virtual prop in the played video data; the target virtual prop is determined according to the picture content of the first video frame in the video data and the plot content associated with the picture content; The effect presenting unit 52 is used to present the animation effect of the target virtual prop in the second video frame in the video data in response to the triggering operation on the target virtual prop; the picture content of the second video frame changes with the presentation of the animation effect.

[0087] Optionally, it also includes a prop determination unit, which is used to: determine a target prop type that matches the picture content and the plot content among multiple virtual prop types based on the picture content and the plot content; and determine the target virtual prop among various virtual props to be selected that belong to the target prop type.

[0088] Optionally, the prop determination unit is specifically used to: if in the video data, the subsequent plot of the plot content includes multiple optional directions, then determine the target prop type as the first type among the multiple virtual prop types; the first type of virtual props is used to select the plot direction of the subsequent plot; if in the video data, the subsequent plot of the plot content includes a unique direction, then according to the picture content, determine the target prop type that matches the picture content among the multiple virtual prop types.

[0089] Optionally, the prop determination unit is further specifically used for: if it is determined according to the screen content that the main content of the first video frame includes a character, then among the multiple virtual prop types, determining the target prop type to be a second type; the animation effect of the second type of virtual prop is used to be presented on the character; if it is determined according to the screen content that the main content of the first video frame includes a background environment, then among the multiple virtual prop types, determining the target prop type to be a third type; the animation effect of the third type of virtual prop is used to be presented on the background environment.

[0090] Optionally, the prop determination unit is specifically configured to determine the target virtual prop from among the virtual props to be selected according to the trigger records of the virtual props to be selected, the animation effects of the virtual props to be selected, and the main content of the second video frame.

[0091] Optionally, the animation effect of the target virtual prop is used to be presented on the background environment in the video data; the effect presentation unit 52 is specifically used to: in response to a trigger operation for the target virtual prop, present the animation effect of the target virtual prop on the background environment of the second video frame; wherein the second video frame is a video frame in the video data that is played within a presentation time range; and the presentation time range is a presentation time range of the target virtual prop in the video data.

[0092] Optionally, the effect presentation unit 52 is further specifically used to: present the adjusted animation effect of the target virtual prop at a display position in the background environment; wherein the display position is determined in the background environment in the second video frame according to the original animation effect of the target virtual prop; the adjusted animation effect of the target virtual prop is obtained by adjusting the original animation effect of the target virtual prop according to the display content at the display position; the adjusted animation effect of the target virtual prop matches the display content at the display position; the display content at the display position changes with the presentation of the adjusted animation effect.

[0093] Optionally, the animation effect of the target virtual prop is used to be presented on a character in the video data; the effect presentation unit 52 is specifically used to: in response to a trigger operation for the target virtual prop, present the animation effect of the target virtual prop on the target character in the second video frame; wherein the second video frame is a video frame in the video data that is played within a presentation time range and contains the target character; the presentation time range is a presentation time range of the target virtual prop in the video data; the target character is a character in the video data used to present the animation effect of the target virtual prop.

[0094] Optionally, the target character includes at least one of the following: a first character in the video data pre-configured for the target virtual prop; a designated second character in the video data; all characters in a target video frame; the target video frame is a video frame in which the video data is played when the target virtual prop is triggered; the main character in the target video frame; a character in the target video frame that matches the animation effect of the target virtual prop.

[0095] Optionally, the effect presentation unit 52 is further specifically used to: present the adjusted animation effect of the target virtual prop at a display position in the display area where the target character is located; wherein the display position is determined in the display area where the target character is located in the second video frame according to the original animation effect of the target virtual prop; the adjusted animation effect of the target virtual prop is obtained by adjusting the original animation effect of the target virtual prop according to the display content at the display position; the adjusted animation effect of the target virtual prop matches the display content at the display position; and the display content at the display position changes with the presentation of the adjusted animation effect.

[0096] Optionally, the animation effect of the target virtual prop is used to select the plot direction of the subsequent plot; the effect presentation unit 52 is specifically used to: in response to the trigger operation for the target virtual prop, present the startup animation effect of the target virtual prop in the second video, and play the third video frame; the third video frame is a video frame in the video data used to represent the first plot; the startup animation effect indicates that the target virtual prop is triggered; the first plot is the plot corresponding to the target virtual prop; if there is a second plot after the first plot in the video data, then after the third video frame is played, play the fourth video frame in the video data used to represent the second plot.

[0097] The video interaction device in the disclosed embodiment can implement each process of the above-mentioned video interaction method embodiment and achieve the same effects and functions, which will not be repeated here.

[0098] An embodiment of the present disclosure further provides an electronic device, Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure, such as Figure 6 As shown, the electronic device may have relatively large differences due to different configurations or performances, and may include one or more processors 601 and memory 602, and one or more applications or data may be stored in the memory 602. Among them, the memory 602 may be a temporary storage or a permanent storage. The application stored in the memory 602 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the electronic device. Furthermore, the processor 601 may be configured to communicate with the memory 602 to execute a series of computer executable instructions in the memory 602 on the electronic device. The electronic device may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input or output interfaces 605, one or more keyboards 606, etc.

[0099] In a specific embodiment, the electronic device includes a processor; and a memory configured to store computer executable instructions, wherein when the computer executable instructions are executed, the processor implements the following process: Playing the video data, and displaying a target virtual prop in the played video data; the target virtual prop is determined according to the screen content of the first video frame in the video data, and the plot content associated with the screen content; In response to a trigger operation on the target virtual prop, an animation effect of the target virtual prop is presented in a second video frame in the video data; and the screen content of the second video frame changes with the presentation of the animation effect.

[0100] The electronic device in the embodiment of the present disclosure can implement each process of the above-mentioned video interaction method embodiment and achieve the same effects and functions, which will not be repeated here.

[0101] Another embodiment of the present disclosure further provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the following process is implemented: Playing the video data, and displaying a target virtual prop in the played video data; the target virtual prop is determined according to the screen content of the first video frame in the video data, and the plot content associated with the screen content; In response to a trigger operation on the target virtual prop, an animation effect of the target virtual prop is presented in a second video frame in the video data; and the screen content of the second video frame changes with the presentation of the animation effect.

[0102] The computer-readable storage medium in the embodiment of the present disclosure can implement each process of the above-mentioned video interaction method embodiment and achieve the same effects and functions, which will not be repeated here.

[0103] Another embodiment of the present disclosure further provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the following process is implemented: Playing the video data, and displaying a target virtual prop in the played video data; the target virtual prop is determined according to the screen content of the first video frame in the video data, and the plot content associated with the screen content; In response to a trigger operation on the target virtual prop, an animation effect of the target virtual prop is presented in a second video frame in the video data; and the screen content of the second video frame changes with the presentation of the animation effect.

[0104] The computer program product in the embodiment of the present disclosure can implement each process of the above-mentioned video interaction method embodiment and achieve the same effects and functions, which will not be repeated here.

[0105] In various embodiments of the present disclosure, the computer-readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0106] In the 1990s, it was very clear whether the improvement of a technology was hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or software improvement (improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0107] The controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) executable by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller may also be implemented as part of the control logic of the memory. It is also known to those skilled in the art that, in addition to implementing the controller in a purely computer-readable program code manner, the controller may be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller may be considered as a hardware component, and the devices for implementing various functions included therein may also be considered as structures within the hardware component. Or even, the devices for implementing various functions may be considered as both software modules for implementing the method and structures within the hardware component.

[0108] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0109] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing the embodiments of the present disclosure, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0110] It should be understood by those skilled in the art that one or more embodiments of the present disclosure may be provided as a method, system or computer program product. Therefore, one or more embodiments of the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0111] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0112] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0113] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0114] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0115] One or more embodiments of the present disclosure may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present disclosure may also be practiced in distributed computing environments in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0116] Each embodiment in the present disclosure is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0117] The above description is only an embodiment of the present disclosure and is not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the scope of the claims of the present disclosure.

Claims

1. A video interaction method, characterized in that: include: Playing the video data, and displaying the target virtual props in the played video data; The target virtual prop is determined according to the screen content of the first video frame in the video data and the plot content associated with the screen content; In response to a trigger operation on the target virtual prop, an animation effect of the target virtual prop is presented in a second video frame in the video data; and the screen content of the second video frame changes with the presentation of the animation effect.

2. The method according to claim 1, characterized in that The target virtual prop is determined by the following method: According to the screen content and the plot content, determining a target prop type that matches the screen content and the plot content among a plurality of virtual prop types; The target virtual item is determined from among virtual items to be selected that belong to the target item type.

3. The method according to claim 2, characterized in that The step of determining, according to the screen content and the plot content, a target prop type that matches the screen content and the plot content among a plurality of virtual prop types includes: If in the video data, the subsequent plot of the plot content includes multiple optional directions, then among the multiple virtual prop types, the target prop type is determined to be a first type; the first type of virtual props is used to select the plot direction of the subsequent plot; If in the video data, the subsequent plot of the plot content includes a unique direction, then according to the screen content, a target prop type matching the screen content is determined from among the multiple virtual prop types.

4. The method according to claim 3, characterized in that The step of determining, according to the screen content, a target prop type that matches the screen content among the multiple virtual prop types includes: If it is determined according to the screen content that the main content of the first video frame includes a character, then the target prop type is determined to be a second type among the multiple virtual prop types; the animation effect of the second type of virtual prop is used to be presented on the character; If it is determined based on the screen content that the main content of the first video frame includes the background environment, then the target prop type is determined to be a third type among the multiple virtual prop types; the animation effect of the third type of virtual prop is used to be presented on the background environment.

5. The method according to claim 2, characterized in that: The step of determining the target virtual prop from among the virtual props to be selected and belonging to the target prop type comprises: The target virtual prop is determined from among the virtual props to be selected according to the trigger records of the virtual props to be selected, the animation effects of the virtual props to be selected, and the main content of the second video frame.

6. The method according to claim 1, characterized in that The animation effect of the target virtual prop is used to be presented on the background environment in the video data; and in response to the trigger operation for the target virtual prop, presenting the animation effect of the target virtual prop in the second video frame in the video data, comprises: In response to a triggering operation on the target virtual prop, presenting an animation effect of the target virtual prop on the background environment of the second video frame; The second video frame is a video frame in the video data that is played within a presentation time range; and the presentation time range is a presentation time range of the target virtual prop in the video data.

7. The method according to claim 6, characterized in that The presenting the animation effect of the target virtual prop on the background environment of the second video frame includes: Displaying the adjusted animation effect of the target virtual prop at a display position in the background environment; The display position is determined according to the original animation effect of the target virtual prop in the background environment in the second video frame; the adjusted animation effect of the target virtual prop is obtained by adjusting the original animation effect of the target virtual prop according to the display content at the display position; the adjusted animation effect of the target virtual prop matches the display content at the display position; and the display content at the display position changes with the presentation of the adjusted animation effect.

8. The method according to claim 1, characterized in that The animation effect of the target virtual prop is used to be presented on the character in the video data; and in response to the trigger operation on the target virtual prop, presenting the animation effect of the target virtual prop in the second video frame in the video data, comprises: In response to a triggering operation on the target virtual prop, presenting an animation effect of the target virtual prop on the target character in the second video frame; Among them, the second video frame is a video frame in the video data that is played within the presentation time range and contains the target character; the presentation time range is the presentation time range of the target virtual prop in the video data; and the target character is a character in the video data used to present the animation effect of the target virtual prop.

9. The method according to claim 8, characterized in that The target role includes at least one of the following: a first character in the video data pre-configured for the target virtual prop; a designated second character in the video data; All characters in a target video frame; the target video frame is a video frame in which the video data is played when the target virtual prop is triggered; The subject character in the target video frame; A character in the target video frame that matches the animation effect of the target virtual prop.

10. The method according to claim 8, characterized in that The presenting the animation effect of the target virtual prop on the target character in the second video frame includes: Displaying the adjusted animation effect of the target virtual prop at a display position in the display area where the target character is located; The display position is determined in the display area where the target character is located in the second video frame according to the original animation effect of the target virtual prop; the adjusted animation effect of the target virtual prop is obtained by adjusting the original animation effect of the target virtual prop according to the display content at the display position; the adjusted animation effect of the target virtual prop matches the display content at the display position; and the display content at the display position changes with the presentation of the adjusted animation effect.

11. The method according to claim 1, characterized in that: The animation effect of the target virtual prop is used to select the plot direction of the subsequent plot; the response to the trigger operation on the target virtual prop, in the second video frame in the video data, presenting the animation effect of the target virtual prop, includes: In response to the triggering operation for the target virtual prop, a startup animation effect of the target virtual prop is presented in the second video, and a third video frame is played; the third video frame is a video frame in the video data used to represent a first plot; the startup animation effect represents that the target virtual prop is triggered; the first plot is the plot corresponding to the target virtual prop; If there is a second plot following the first plot in the video data, then after the third video frame is played, a fourth video frame in the video data representing the second plot is played.

12. A video interactive device, characterized in that: include: A prop display unit, used to play video data and display target virtual props in the played video data; The target virtual prop is determined according to the screen content of the first video frame in the video data and the plot content associated with the screen content; An effect presentation unit is used to present an animation effect of the target virtual prop in a second video frame in the video data in response to a trigger operation on the target virtual prop; the screen content of the second video frame changes with the presentation of the animation effect.

13. An electronic device, characterized in that: include: processor; as well as, A memory configured to store computer executable instructions, which, when executed, cause the processor to implement the steps of the method according to any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store computer-executable instructions, and the computer-executable instructions, when executed by a processor, implement the steps of the method described in any one of claims 1 to 11.

15. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.