Method and apparatus for video interaction, and device and storage medium

By overlaying interactive interface elements in the video display area and displaying interactive effects in response to user actions, the problem of insufficient interaction flexibility during video playback is solved, thereby improving the user experience and interactive effects.

WO2025241637A1PCT designated stage Publication Date: 2025-11-27BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/079107
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-05-24
Filing Date
2025-02-25
Publication Date
2025-11-27

AI Technical Summary

Technical Problem

Existing video interaction technologies lack flexibility during video playback, limiting video interactive effects and user interaction experience.

Method used

While rendering the target video in the video display area, interactive interface elements are overlaid based on the interactive configuration, and interactive effects are displayed in response to user operations. Off-screen rendering technology is used to pre-render video frames in non-visible areas to enhance interactivity.

Benefits of technology

It enriches the functionality of video applications, enhances the user experience, and enables flexible interaction and efficient interactive effects display during video playback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025079107_27112025_PF_FP_ABST
    Figure CN2025079107_27112025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present disclosure are a method and apparatus for video interaction, and a device and a storage medium. The method comprises: rendering a target video in a visible video display region of a terminal device; on the basis of interaction configurations associated with the target video, superimposing and displaying interactive interface elements on video frames of the target video displayed in the video display region; and in response to trigger operations performed on the interactive interface elements being detected, superimposing and displaying, in the video display region, interactive effects corresponding to the interactive interface elements. In this way, a video can be rendered, and the interactivity in the video can also be additionally controlled by means of interaction configurations.
Need to check novelty before this filing date? Find Prior Art

Description

Method, apparatus, device and storage medium for video interaction

[0001] The present application claims priority to the Chinese patent application No. 202410658430.6, filed on May 24, 2024, entitled “Method, apparatus, device and storage medium for video interaction”, the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0002] Example embodiments of the present disclosure generally relate to the field of computers, and in particular, to a method, apparatus, device and computer readable storage medium for video interaction. BACKGROUND

[0003] With the rapid development of computer technology, interactive functions have a wide range of applications in many fields. Interaction refers to that through a platform with interactive function, a user can obtain relevant information, information or services on the platform, and also can realize mutual communication and interaction between users or between the user and the platform. At present, as a carrier capable of carrying rich information, the form of video interaction is also expected to be more rich, diverse and efficient. SUMMARY

[0004] In a first aspect of the present disclosure, a method for video interaction is provided. The method comprises: rendering a target video in a visible video display area of a terminal device; based on an interaction configuration associated with the target video, superimposing and presenting an interactive interface element on a video frame of the target video presented by the video display area; and in response to detecting a triggering operation on the interactive interface element, superimposing and presenting an interaction special effect corresponding to the interactive interface element in the video display area.

[0005] In a second aspect of the present disclosure, an apparatus for video interaction is provided. The apparatus comprises: a rendering module configured to render a target video in a visible video display area of a terminal device; a first presentation module configured to, based on an interaction configuration associated with the target video, superimpose and present an interactive interface element on a video frame of the target video presented by the video display area; and a second presentation module configured to, in response to detecting a triggering operation on the interactive interface element, superimpose and present an interaction special effect corresponding to the interactive interface element in the video display area.

[0006] In a third aspect of the present disclosure, an electronic device is provided. The device comprises at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. The instructions, when executed by the at least one processing unit, cause the device to perform the method of the first aspect.

[0007] In a fourth aspect of the disclosure, a computer-readable storage medium is provided. The computer-readable storage medium has stored thereon a computer program, the computer program being executable by a processor to implement the method of the first aspect.

[0008] In a fifth aspect of the disclosure, a computer program product is provided. The computer program product is tangibly stored in a computer storage medium and includes computer-executable instructions that, when executed by a device, cause the device to perform the method of the first aspect.

[0009] It is to be understood that the details set forth herein are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0010] The above and other features, advantages and aspects of embodiments of the present disclosure will become more apparent by describing in detail some embodiments thereof with reference to the annexed drawings in which:

[0011] FIG. 1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;

[0012] FIG. 2 shows a flowchart of a process for video interaction according to some embodiments of the present disclosure;

[0013] FIGS. 3A to 3D show schematic diagrams of example interfaces for video interaction according to some embodiments of the present disclosure;

[0014] FIG. 4 shows a flowchart of a process for video interaction according to some embodiments of the present disclosure;

[0015] FIG. 5 shows a schematic structural block diagram of an apparatus for video interaction according to certain embodiments of the present disclosure; and

[0016] FIG. 6 shows a block diagram of an electronic device capable of implementing one or more embodiments of the present disclosure. DETAILED DESCRIPTION

[0017] Embodiments of the present disclosure will be described herein below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein, but rather, the embodiments are provided so that the present disclosure can be more thoroughly and completely understood. It is to be understood that the drawings and embodiments of the present disclosure are merely for illustrative purposes and should not be construed as limiting the scope of the present disclosure.

[0018] In the description of embodiments of the disclosure, the term "comprising" and similar terms thereof are understood to be open-ended, i.e., "comprising but not limited to". The term "based on" is understood to mean "based at least in part on". The term "one embodiment" or "the embodiment" is understood to mean "at least one embodiment". The term "some embodiments" is understood to mean "at least some embodiments". Other explicit and implicit definitions can also be included below.

[0019] In this article, unless specifically stated, performing a step "in response to A" does not mean performing the step immediately after "A", but can include one or more intermediate steps.

[0020] It can be understood that the data involved in the technical solutions of the present application (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of relevant laws and regulations and relevant provisions.

[0021] It can be understood that before using the technical solutions disclosed in the embodiments of the present disclosure, the type of personal information involved in the present disclosure, the scope of use, the use scenario, etc. should be informed to the user and the authorization of the user should be obtained through appropriate means according to relevant laws and regulations.

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

[0023] As an optional but not limited implementation manner, in response to receiving the user's active request, the manner of sending a prompt message to the user may, for example, be a pop-up window manner, and the prompt message can be presented in the form of text in the pop-up window. In addition, the pop-up window can also carry selection controls for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0024] It can be understood that the above notification and user authorization process is only illustrative and does not limit the implementation of the present disclosure, and other ways that meet the relevant laws and regulations can also be applied to the implementation of the present disclosure.

[0025] In video playback, the content presented by the video screen usually needs to be designed in the video editing and production stage. In order to support the introduction of user interaction while playing the video, the server responsible for video delivery may also need to design a user interface to issue an interactive component above or near the video playback area. However, this will limit the video interaction special effects and flexibility.

[0026] In view of this, embodiments of the present disclosure provide an improved solution for video interaction. In this solution, while rendering a target video in a visible video display area, an interactive interface element is presented on the video display area based on an interaction configuration corresponding to the target video. In response to detecting a triggering operation on the interactive interface element, an interactive special effect corresponding to the interactive interface element is presented on the video display area. In this way, the interactivity in the video can be additionally controlled by the interaction configuration while the video is being rendered. This can enrich the functionality of the related application and also improve the user experience.

[0027] FIG. 1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. In this example environment 100, a terminal device 110 has an application 120 installed therein. A user 140 can interact with the application 120 via the terminal device 110 and / or an attached device of the terminal device 110.

[0028] In some embodiments, the application 120 can be a content sharing application (e.g., a video application mainly for video sharing) capable of providing various services related to media content items to the user 140, including browsing, commenting, forwarding, creating (e.g., shooting and / or editing), publishing, etc. of the content. In some embodiments, the application 120 can also be any other suitable application in which media content items can be presented. In this document, each “media content item” includes one or more types of content, such as video, image, GIF, image set, audio, text, etc.

[0029] In the environment 100 of FIG. 1, the terminal device 110 can present a page 150 of the application 120 if the application 120 is in an active state. The page 150 can include various pages that the application 120 can provide, such as a content presentation page, a content creation page, a content publishing page, a message page, a personal homepage, etc. The application 120 can provide a content viewing function to view various content published in the application 120. Via the corresponding page, the application 120 can provide media content and any other suitable content to the user 140. Via a suitable manner, such as clicking or selecting a page element, the application 120 can also provide the user 140 with a selection and switching of the presentation manner of the associated content. In this document, “media content” includes one or more types of content, such as image, image set, video, GIF, audio, text, etc.

[0030] In some embodiments, the terminal device 110 communicates with the server 130 to enable provisioning of services for the application 120. The terminal device 110 can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, a tablet computer, a laptop computer, a notebook computer, a netbook computer, a smartbook, a tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a game device, or any combinations of these devices, including accessories and peripherals for these devices, or any combinations thereof. In some embodiments, the terminal device 110 can also be capable of supporting any type of interface for user interaction (such as a "wearable" circuit, etc.). The server 130 can be various types of computing systems / servers capable of providing computing power, including but not limited to mainframes, edge computing nodes, computing devices in a cloud environment, etc.

[0031] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only, and do not imply any limitation on the scope of the present disclosure.

[0032] Various example implementations of the present disclosure will be described in detail below.

[0033] An example process 200 for video interaction will be described below with reference to FIG. 2 for ease of understanding. FIG. 2 illustrates a flowchart of a process 200 for video interaction, according to some embodiments of the present disclosure. The process 200 can be implemented at the terminal device 110. The flow 200 will be described below with reference to the environment 100 of FIG. 1.

[0034] At block 230, the terminal device 110 renders the video frames of the target video in real time to the visible video presentation area.

[0035] In some embodiments, the target video can be obtained remotely. As shown in FIG. 2, at block 210, the terminal device 110 downloads the target video remotely based on an access address of the target video. In some embodiments, the terminal device 110 can obtain the access address of the target video 220 from the server 130 and perform the subsequent download. In some embodiments, the target video can be already stored locally at the terminal device 110. In such a case, the terminal device 110 does not need to perform the download operation.

[0036] In some embodiments, to facilitate the presentation of the overlaid interactive interface elements, the target video can be first rendered by way of off-screen rendering, and then the off-screen rendered video frames are synchronized in real time to the visible video presentation area.

[0037] Specifically, before block 230, block 220, the terminal device 110 off-screen renders the target video. In operation, if a trigger operation of playing the target video 320 is detected, the terminal device 110 off-screen renders the target video 320 in a non-visible area. In some embodiments, the terminal device 110 off-screen plays the target video 220 in the non-visible area.

[0038] Off-screen rendering is a kind of rendering outside the screen, that is, a buffer area is opened outside the current display screen for graphic rendering. The result of such rendering is not directly presented to the current screen. In the normal video playing process, the video frames are generally rendered to the current screen in sequence by the current screen rendering method. At this time, the rendering operation of the graphics processing unit (GPU) is performed in the current screen buffer area for display. In the off-screen rendering process, the GPU opens a buffer area outside the current screen buffer area for rendering operation, and does not render to the current screen. By rendering the obtained video frames to the off-screen rendering environment, direct rendering for playing in the current screen is avoided, and off-screen video playing in the case of no user awareness is realized.

[0039] The terminal device 110 can acquire the video frames of the target video that are off-screen rendered in the non-visible area frame by frame, and render the video frames of the target video in the visible video display area frame by frame. At the same time of off-screen rendering, the terminal device 110 re-renders the target video 220 off-screen rendered in the non-visible area to the visible video display area in real time, so that the user can watch the video picture. In some embodiments, the terminal device 110 acquires the video frames of the target video that are off-screen rendered in the non-visible area frame by frame, and renders the video frames of the target video in the visible video display area frame by frame.

[0040] The terminal device 110 can render the video frames of the target video off-screen rendered in the non-visible area to the visible video display area in real time, so that the user can see the video effect in the video display area of the terminal device 110 in real time.

[0041] To help understand, example embodiments of video interaction are described with reference to example interfaces / example pages shown in FIGS. 3A-3D. FIGS. 3A-3D show schematic diagrams of example interfaces 301-304 for video interaction, according to some embodiments of the present disclosure. It should be understood that the user interfaces shown in FIGS. 3A-3D and other figures below are merely examples, and various designs can actually exist. For example, various graphical elements and / or controls in the user interfaces can have different arrangements and different visual representations, one or more elements and / or controls among them can be omitted or replaced, and one or more other elements and / or controls can also exist. In addition, any appropriate content can be included in the user interfaces. The scope of the present disclosure is not limited in this regard.

[0042] In example embodiments of the present disclosure, the example interfaces 301-304 of the video display area can be presented at the terminal device 110, e.g., via the application 120 of the terminal device 110. For ease of discussion, reference will be made to the environment 100 of FIG. 1 and the example interfaces 301-304 according to some embodiments of the present disclosure. While these embodiments are described as being implemented at the terminal device 110 of FIG. 1, particularly at the application client of the terminal device 110, in other embodiments, the terminal device 110 can perform these operations with assistance of the server device 130.

[0043] As shown in the example interface 301 of FIG. 3A, the terminal device 110 presents the target video 220 downloaded from the server 130 in the canvas 310 of the video display area provided by the application 120.

[0044] In some embodiments, the canvas 310 of the video display area can be a Canvas canvas or any other type of user interface for displaying video frames. The canvas 310 of the video display area can also include a play progress display area 325. The play progress display area 325 can include a plurality of elements related to play. For example, the play progress display area 325 shown in the example interface 301 includes a play status icon, a current play duration, a play progress bar, a total video duration, and a volume icon.

[0045] In some embodiments, the current play duration in the play progress display area 325 can indicate the time corresponding to the current operation on the target video 320.

[0046] In some embodiments, the user cannot see the target video 320 when the terminal device 110 renders the target video 320 in the non-visible area. The user can see the target video 320 and the corresponding rendering effect when the terminal device 110 re-renders the target video 320 in the visible video display area.

[0047] At block 240, the terminal device 110 superimposes and presents one or more interactive interface elements on the video frame presented in the video display area based on the interaction configuration corresponding to the target video.

[0048] The interaction configuration can be set independently of the target video. The interaction configuration at least indicates one or more interactive interface elements to be presented during the playing of the target video. The interaction configuration can indicate whether one or more interactive interface elements are to be presented in the target video 320, the specific visual style of each interactive interface element, the interaction special effect corresponding to each interactive interface element, and the triggering operation (e.g., single-click trigger, double-click trigger, or drag trigger, etc.) of each interactive interface element. In some embodiments, in addition to the presentation time and presentation position of the interactive interface element, the interaction configuration can also indicate the presentation duration of the interactive interface element, when it will disappear, etc.

[0049] In some embodiments, the terminal device 110 determines the presentation time and presentation position of the interactive interface element based on the interaction configuration corresponding to the target video. The terminal device 110 superimposes and presents the interactive interface element on the video display area based on the presentation time and presentation position.

[0050] In some embodiments, the interaction configuration can be associated with a specified video content of the target video. At this time, the specified video content of the target video can be automatically detected. When the specified video content is presented in the video display area, the interactive interface element is superimposed and presented on the video frame corresponding to the specified video content presented in the video display area. In some embodiments, the specified video content can be configured in the interaction configuration or can be indicated in other ways. If the interaction configuration does not explicitly indicate the specified content to present the interactive interface element, the interactive interface element can be presented by automatically detecting and analyzing the video content of the target video. For example, for a certain type of video content in the played video, it can be uniformly configured to present the interactive interface element. When it is detected that the currently played target video contains this type of video content, the interaction configuration corresponding to the target video will be triggered for use, so as to superimpose and present the interactive interface element on the video frame.

[0051] At block 250, the terminal device 110 presents the corresponding interaction special effect after detecting the trigger of the interactive interface element.

[0052] In some embodiments, the terminal device 110 can set the time of the interactive interface presentation, so that the video frame corresponding to the set time can present the interactive interface, and the corresponding interaction special effect is presented after the user triggers the interactive interface.

[0053] In some examples, the interactive interface can be a user interface (UI) interface. The triggering operation triggering the interactive interface can be a click operation, such as a single click operation, a double click operation, etc. The interactive special effect can be a dynamic special effect, such as an animation effect, for example, a firework animation. The interactive special effect can also be a static special effect or a static picture, or can be a pop-up window, an information entry window, etc.

[0054] In some embodiments, the presentation of the interactive interface element in the video display area is cancelled after the presentation duration of the interactive interface element reaches a predetermined duration and no triggering operation on the interactive interface element is detected.

[0055] As shown in the example interfaces 302 and 303 in FIGS. 3B and 3C, the terminal device 110 presents an interactive interface for video interaction on the target video, which can include a countdown display area 330 and a content display area 340.

[0056] In some embodiments, the countdown display area 330 of the interactive interface can include a corresponding shape element and a time element. The countdown display area 330 is used to display the remaining display time of the interactive interface. For example, the time element of the countdown display area 330 is 4, which can indicate that the remaining display time of the interactive interface is 4s. The remaining display time can indicate that the presentation duration of the interactive configuration indication is 4s, and can also indicate that the interactive interface element of the interactive configuration indication is cancelled after 4s.

[0057] In some examples, assuming that the set display time is 4s, during the process of counting down the remaining display time from 4s to 0s, the terminal device 110 does not detect a triggering operation on the interactive interface element. The interactive interface can cancel the display of the interactive interface element after the remaining display time reaches 0s. An example interface of cancelling the display of the interactive interface element is shown in the example interface 301. Note that the time length given here is only an example, and can be configured according to actual conditions.

[0058] After presenting the interactive interface element, the terminal device 110 will detect a triggering operation on the interactive interface element. In response to detecting the triggering operation on the interactive interface element, the terminal device 110 can present the interactive special effect corresponding to the interactive interface element in the video display area. In this way, various interactive special effects can be displayed on the target video while the target video is playing.

[0059] In some embodiments, one example interface for triggering operation on the interactive interface element is an example interface 303 as shown in FIG. 3C. The triggering operation shown in the example interface 303 can be a click operation 350 on the interactive interface element. The triggering operation on the interactive interface element can also be other triggering operations, such as a double-click operation, a long-press operation, etc. The triggering operation on each interactive interface element can be set in the interactive configuration of the target video, or can be a default triggering operation (e.g., the default is a click operation). Embodiments of the present disclosure do not limit this.

[0060] As shown in the example interface 304 in FIG. 3D, for ease of description, the example interface 304 is described with reference to the triggering operation shown in FIG. 3C. In response to detecting the click operation 350 on the interactive interface element, the terminal device 110 superimposes and presents the interactive special effect 360 corresponding to the interactive interface element in the courseware display area. The interactive special effect 360 can be a heart icon shown in the example interface 304, i.e., a static icon effect. It can also be an animation effect, such as a firework animation, a double-hand heart animation, etc. It can also be a particle effect, such as a particle smoke effect, a particle starry sky effect, etc. The user can interact with the interactive special effect corresponding to the interactive interface element.

[0061] In some embodiments, each video frame of the target video 320 is presented in a first display layer of the visible video display area, and the interactive interface element and the interactive special effect corresponding to the interactive interface element are presented in a second display layer of the video display area, which is higher than the first display layer. That is, the interactive interface element and the interactive special effect corresponding to the interactive interface element are presented in the upper layer of the target video 320.

[0062] Through embodiments of the present disclosure, the rendering of the target video and the editing of the interactive interface element are performed in the non-visible area, and the rendering effect of the target video and the interactive interface element are presented to the user in the video display area. The user can interact with the interactive special effect corresponding to the interactive interface element by detecting the triggering operation of the user on the interactive interface element in the video display area. In this way, the interactive video interaction in the video can be controlled through the interactive configuration in addition to the rendering of the video. This can enrich the functions of the related application, and also can improve the user experience.

[0063] FIG. 4 shows a flowchart of a process 400 for video interaction according to some embodiments of the present disclosure. The process 400 can be implemented at the terminal device 110. The process 400 is described below with reference to FIG. 1.

[0064] At block 410, the terminal device 110 renders a target video in a visible video display area of the terminal device.

[0065] At block 420, the terminal device 110 superimposes and presents the interactive interface element on a video frame of the target video presented in the video display area based on the interaction configuration associated with the target video.

[0066] At block 430, the terminal device 110 superimposes and presents the interactive effect corresponding to the interactive interface element in the video display area in response to detecting the triggering operation on the interactive interface element.

[0067] At block 440, the terminal device 110 superimposes and presents the interactive effect corresponding to the interactive interface element in the video display area in response to detecting the triggering operation on the interactive interface element.

[0068] In some embodiments, rendering the target video in the visible video display area of the terminal device comprises: off-screen rendering the target video in a non-visible area of the terminal device; and re-rendering the target video rendered off-line in the non-visible area into the visible video display area.

[0069] In some embodiments, the interaction configuration is associated with specified video content of the target video. In some embodiments, superimposing and presenting the interactive interface element on a video frame of the target video presented in the video display area comprises: in response to detecting that the specified video content is presented in the video display area, superimposing and presenting the interactive interface element on a video frame corresponding to the specified video content presented in the video display area.

[0070] In some embodiments, the process 400 further comprises: before off-screen rendering the target video, downloading the target video to the terminal device based on an access address of the target video.

[0071] In some embodiments, re-rendering the target video rendered off-line in the non-visible area into the video display area comprises: frame-by-frame obtaining video frames of the target video rendered off-line in the non-visible area; and frame-by-frame rendering the video frames of the target video in the video display area.

[0072] In some embodiments, superimposing and presenting the interactive interface element on the video display area based on the interaction configuration corresponding to the target video comprises: determining a presentation time and a presentation position of the interactive interface element based on the interaction configuration corresponding to the target video; and superimposing and presenting the interactive interface element on the video display area based on the presentation time and the presentation position.

[0073] In some embodiments, each video frame of the target video is presented in a first display layer of the video display area. In some embodiments, the interactive interface element and the interactive effect corresponding to the interactive interface element are presented in a second display layer of the video display area, the second display layer being higher than the first display layer.

[0074] In some embodiments, the presentation of the interactive interface element in the video display area is cancelled after a presentation duration of the interactive interface element reaches a predetermined duration and no triggering operation on the interactive interface element is detected.

[0075] In some embodiments, the interactive special effect comprises a dynamic special effect.

[0076] FIG. 5 illustrates a schematic structural block diagram of an apparatus 500 for video interaction, according to certain embodiments of the present disclosure. The apparatus 500 can be implemented as or included in the terminal device 110. Various modules / components in the apparatus 500 can be implemented by hardware, software, firmware, or any combination thereof.

[0077] As shown, the apparatus 500 includes a rendering module 510 configured to render a target video in a visible video display area of the terminal device. The apparatus 500 further includes a first presentation module 520 configured to present an interactive interface element overlaid on a video frame of the target video presented in the video display area based on an interaction configuration associated with the target video. The apparatus 500 further includes a second presentation module 530 configured to present an interactive special effect corresponding to the interactive interface element overlaid in the video display area in response to detecting a triggering operation on the interactive interface element.

[0078] In some embodiments, the rendering module 510 further includes an off-screen rendering module configured to off-screen render the target video in a non-visible area in the terminal device, and a re-rendering module configured to re-render the target video off-screen rendered in the non-visible area into the visible video display area.

[0079] In some embodiments, the interaction configuration is associated with a specified video content of the target video. The first presentation module 520 is further configured to present the interactive interface element overlaid on a video frame corresponding to the specified video content presented in the video display area in response to detecting that the specified video content is presented in the video display area.

[0080] In some embodiments, the apparatus 500 further includes a downloading module configured to download the target video to the terminal device based on an access address of the target video before off-screen rendering the target video.

[0081] In some embodiments, the rendering module 510 is further configured to acquire video frames of the target video off-screen rendered in the non-visible area frame by frame, and render the video frames of the target video in the video display area frame by frame.

[0082] In some embodiments, the first presentation module 520 is configured to determine the presentation time and the presentation position of the interactive interface element based on the interaction configuration corresponding to the target video, and to superimpose and present the interactive interface element on the video frame of the target video presented in the video display area based on the presentation time and the presentation position.

[0083] In some embodiments, each video frame of the target video is presented in a first display layer of the video display area. In some embodiments, the interactive interface element and the interactive effect corresponding to the interactive interface element are presented in a second display layer of the video display area, the second display layer being higher than the first display layer.

[0084] In some embodiments, the apparatus 500 further comprises a cancel presentation module configured to cancel the presentation of the interactive interface element in the video display area when the presentation time length of the interactive interface element reaches a predetermined time length and no triggering operation on the interactive interface element is detected.

[0085] In some embodiments, the interactive effect comprises a dynamic effect.

[0086] FIG. 6 illustrates a block diagram of an electronic device 600 in which one or more embodiments of the disclosure can be implemented. It should be understood that the electronic device 600 illustrated in FIG. 6 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 600 illustrated in FIG. 6 can be used to implement the terminal device 110 of FIG. 1 or the apparatus 500 of FIG. 5.

[0087] As shown in FIG. 6, the electronic device 600 is in the form of a general electronic device. The components of the electronic device 600 can include, but are not limited to, one or more processors or processing units 610, a memory 620, a storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. The processing unit 610 can be an actual or virtual processor and is capable of performing various processing according to programs stored in the memory 620. In a multi-processor system, multiple processing units perform computer-executable instructions in parallel to improve the parallel processing capability of the electronic device 600.

[0088] The electronic device 600 typically includes a plurality of computer storage media. Such media can be any available media that is accessible by the electronic device 600 and includes both volatile and nonvolatile media, removable and non-removable media. The memory 620 can be volatile (such as register, cache, RAM), non-volatile (such as ROM, EEPROM, flash memory), or some combination of the two. The storage device 630 can be a removable or non-removable media, and can include machine-readable media, such as flash drives, magnetic disks, or any other media that can be used to store information and / or data (e.g., training data for training) and that can be accessed by the electronic device 600.

[0089] The electronic device 600 can further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 6, a disk drive for reading from or writing to a removable, non- volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk (e.g., a CD-ROM) can be provided. In such instances, each drive can be connected to the bus (not shown) by one or more data media interfaces. The memory 620 can include a computer program product 625 having one or more program modules configured to carry out the various methods or actions of the various embodiments of the present disclosure.

[0090] The communication unit 640 enables communications with other electronic devices over a communication medium. Additionally, the functionality of the components of the electronic device 600 can be implemented in a single computing cluster or a plurality of computer machines that are capable of communicating with one another over a communication connection. As such, the electronic device 600 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network nodes in the networking environment.

[0091] The input device 650 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. The output device 660 can be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 600 can also communicate with one or more external devices (not shown) such as a storage device, a display device, etc. through the communication unit 640, as needed, one or more devices that enable a user to interact with the electronic device 600, or any devices (e.g., a network card, a modem, etc.) that enable the electronic device 600 to communicate with one or more other electronic devices. Such communication can be carried out via an input / output (I / O) interface (not shown).

[0092] According to an example implementation of the present disclosure, a computer readable storage medium is provided having computer executable instructions stored thereon, where the computer executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, a computer program product is also provided that is tangibly stored on a non-transitory computer readable medium and includes computer executable instructions, where the computer executable instructions are executed by a processor to implement the method described above.

[0093] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0094] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0095] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0096] The computer program product of the present disclosure can have a signal including said computer program. This signal can be electronic, electromagnetic, optical, or any other suitable type of signal. Such a signal can be provided through a communication connection, such as electrical wiring, optical fiber, wireless interface, etc. Examples of computer program products include computer program implemented on a personal computer, server, or other networked device. A non-transitory computer readable medium, such as a floppy disk, CD-ROM, DVD-ROM, Blu-ray Disc, hard disk drive, or any other suitable non-transitory computer readable medium can store the computer program product.

[0097] Having described several implementations of the present disclosure, it is to be appreciated various alterations, modifications, and improvements will readily occur to those skilled in the art. Such alterations, modifications, and improvements are intended to be part of this disclosure. Accordingly, the foregoing description is by way of example only and is not intended to be limiting. The implementation described herein is implementations of the present disclosure. Other implementations of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the present disclosure. Therefore, this disclosure is intended to cover all such modifications and variations as fall within the scope of the implementations. It is intended that the specification and depicted embodiments are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims

1. A method for video interaction, comprising: rendering a target video in a visible video presentation area of a terminal device; based on an interaction configuration associated with the target video, presenting an interactive interface element overlaid on a video frame of the target video presented in the video presentation area; and in response to detecting a triggering operation on the interactive interface element, presenting an interaction special effect corresponding to the interactive interface element overlaid in the video presentation area. 2.The method of claim 1, wherein rendering a target video in a visible video presentation area of a terminal device comprises: rendering the target video off-screen in a non-visible area in the terminal device; and re-rendering the target video off-screen in the non-visible area into the visible video presentation area. 3.The method of claim 1, wherein the interaction configuration is associated with a specified video content of the target video, and wherein presenting an interactive interface element overlaid on a video frame of the specified video content presented in the video presentation area comprises: in response to detecting that the specified video content is presented in the video presentation area, presenting the interactive interface element overlaid on a video frame corresponding to the specified video content presented in the video presentation area. before rendering the target video off-screen, 4. The method of claim 2, further comprising: based on an access address of the target video, downloading the target video to the terminal device. 5.The method of claim 2, wherein re-rendering the target video off-screen in the non-visible area into the video presentation area comprises: frame by frame, obtaining a video frame of the target video off-screen in the non-visible area; and frame by frame, rendering the video frame of the target video in the video presentation area. 6.The method of claim 1, wherein presenting an interactive interface element overlaid on the video presentation area based on an interaction configuration corresponding to the target video comprises: based on the interaction configuration corresponding to the target video, determining a presentation time and a presentation position of the interactive interface element; and based on the presentation time and the presentation position, presenting the interactive interface element overlaid on a video frame of the target video presented in the video presentation area. 7.The method of claim 1, wherein each video frame of the target video is presented in a first presentation layer of the video presentation area, and wherein the interactive interface element and the interaction special effect corresponding to the interactive interface element are presented in a second presentation layer of the video presentation area, the second presentation layer being higher than the first presentation layer. 8.The method of claim 1, further comprising: after a presentation duration of the interactive interface element reaches a predetermined duration and no triggering operation on the interactive interface element is detected, canceling the presentation of the interactive interface element in the video presentation area. 9.The method of claim 1, wherein the interaction special effect comprises a dynamic special effect. 10.An apparatus for video interaction, comprising: ​ ​ ​ a rendering module configured to render the target video in a visible video presentation area of the terminal device; a first presentation module configured to present an interactable interface element overlaid on a video frame of the target video rendered in the video presentation area based on an interaction configuration associated with the target video; and a second presentation module configured to present an interaction special effect corresponding to the interactable interface element overlaid in the video presentation area in response to detecting a triggering operation on the interactable interface element.

11. An electronic device, comprising: at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions, when executed by the at least one processor, cause the electronic device to perform the method according to any one of claims 1-9.

12. A computer-readable storage medium having computer-executable instructions stored thereon that are executable by a processor to implement the method according to any one of claims 1-9.

13. A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1-9. ​

Citation Information

Patent Citations

  • Video dynamic editing method and device and intelligent mobile terminal

    CN108038185A

  • Display method and device, computer equipment and storage medium

    CN111880709A

  • Video interaction method and device, equipment and storage medium

    CN115480687A

  • Interaction method and device, equipment and storage medium

    CN116048318A

  • Video interaction method and device, equipment and storage medium

    CN118590701A