Video interaction method, apparatus, device and storage medium

The method and device address the challenge of transitioning from video playback to a target page by ensuring resource loading success and using native display elements for a smooth user experience.

JP7622346B2Active Publication Date: 2025-01-28BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023506176
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-09-30
Filing Date
2021-09-22
Publication Date
2025-01-28
Estimated Expiration
2041-09-22

AI Technical Summary

Technical Problem

The challenge of seamlessly transitioning from a video playback interface to a target page while ensuring a smooth user experience is not adequately addressed in existing technologies.

Method used

A method and device that determine resource loading success for a mask in a target video, displaying an interaction control image if loading is successful, allowing a user to trigger a jump to the target page, and employing transition animations and resource management to maintain user immersion.

Benefits of technology

Ensures a seamless transition from video playback to the target page, maintaining user engagement and experience by ensuring resource availability and using native display elements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007622346000001
    Figure 0007622346000001
  • Figure 0007622346000002
    Figure 0007622346000002
  • Figure 0007622346000003
    Figure 0007622346000003
Patent Text Reader

Abstract

The present disclosure provides a video interaction method, apparatus, device, and storage medium, the method including: when a target video is played up to a target time point, determining whether a resource corresponding to a mask in the target video has been successfully loaded, the resource including an interaction display image corresponding to the target display element; if the resource is successfully loaded, setting the interaction display image as a display image of an interaction control and displaying a mask including the interaction control in a current playback interface; and, if a trigger operation on the interaction control is received, jumping from the current playback interface to the target page to display the target page. In the present disclosure, a mask related to the interaction control is displayed in the video playback interface, and triggering the interaction control jumps to the target page for display. Furthermore, because the interaction control is associated with a display element in a video image frame, the user can be guided to view the target page immersively from the video playback interface, ensuring a good user experience.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This disclosure claims priority to Chinese Patent Application No. 202011065398.9, entitled “Video Interaction Method, Apparatus, Device and Storage Medium,” filed with the China Patent Office on September 30, 2020, the entire contents of which are incorporated herein by reference. [Technical field]

[0002] TECHNICAL FIELD The embodiments of the present disclosure relate to the technical field of data processing, and in particular to a video interaction method, apparatus, device, and storage medium. [Background technology]

[0003] As the number of users of short video software increases, video interaction methods are increasingly attracting people's attention.

[0004] Under the premise of ensuring the user experience, how to switch from the video playback interface to the target page for display (presentation / display) is a technical problem that needs to be solved at present. Summary of the Invention [Problem to be solved by the invention]

[0005] In order to solve or at least partially solve the above-mentioned technical problems, the present disclosure provides a video interaction method, apparatus, device and storage medium, which can realize switching from a video playback interface to a target page for display while ensuring the user experience. [Means for solving the problem]

[0006] According to a first aspect, the present disclosure provides a video interaction method, the method comprising: When the target video is played to a target time point, determining whether a resource corresponding to a mask in the target video is successfully loaded, the resource including an interaction display image having a correspondence with a target display element on a current image frame corresponding to the target time point; when it is determined that the resource corresponding to the mask is successfully loaded, the interaction display image is set as a display image of an interaction control, and a mask including the interaction control is displayed on a current playback interface corresponding to the current image frame; The method includes a step of jumping from the current playback interface to a target page in response to a trigger operation on the interaction control, wherein content displayed on the target page has a corresponding relationship with content displayed in the current image frame.

[0007] In an optional embodiment, after the step of jumping from the current playback interface to a target page, the method further comprises: The method includes a step of jumping from the target page to a video playback interface in response to a return operation triggered on the target page, and continuing to play the target video in the video playback interface based on a preset time point, the preset time point being a playback time point in the target video that is later than the target time point.

[0008] In an alternative embodiment, the resource further comprises an interaction guide video, the interaction guide video including at least two image frames, the interaction guide video being played over the mask, and the method further comprises: In response to a trigger operation for switching an application program corresponding to the target video to background execution, a currently played frame of the interaction guide video played on the mask is saved as a target played frame; and continuing to play the interaction guide animation on the mask based on the target playback frame in response to a trigger operation that switches the application program to foreground execution.

[0009] In an optional embodiment, the step of jumping from the current playback interface to a target page in response to a trigger operation on the interaction control includes: In response to a trigger operation on the interaction control, jumping from the current playback interface to a target page in a transition animation manner.

[0010] In an alternative embodiment, before the step of jumping from the current playback interface to a target page in the manner of a transition animation, the method further comprises: pre-rendering the target page to obtain a pre-rendered page; The method includes a step of sending an audio playback identifier and a page display identifier to a control module of the target page, wherein the audio playback identifier is used to indicate whether to play an audio resource corresponding to the target page, and the page display identifier is used to indicate whether to display the pre-rendered page, and the control module is used to play the audio resource based on the audio playback identifier and display the pre-rendered page based on the page display identifier.

[0011] In an optional embodiment, after the step of determining whether a resource corresponding to a mask in the target video was successfully loaded, the method further comprises: If it is determined that loading of the resource corresponding to the mask has failed, continuing to play the target video based on the target time point.

[0012] In an optional embodiment, the step of setting the interaction display image as a display image of an interaction control and displaying a mask including the interaction control in a current playback interface corresponding to the current image frame includes: determining target display position information of the interaction display image on the screen of the current device according to a screen size of the current device and display position information of the interaction display image in the target video; The method includes a step of displaying a mask on a current playback interface corresponding to the current image frame, and displaying an interaction control on the mask, the interaction display image being a display image based on the target display position information.

[0013] According to a second aspect, the present disclosure provides a video interaction device, comprising: a determining module for determining whether a resource corresponding to a mask in the target video is successfully loaded when the target video is played to a target time point, the determining module including an interaction display image having a correspondence with a target display element on a current image frame corresponding to the target time point; a display module for setting the interaction display image as a display image of an interaction control and displaying the mask including the interaction control on a current playback interface corresponding to the current image frame when it is determined that the resource corresponding to the mask is successfully loaded; and a jump module for jumping from the current playback interface to a target page in response to a trigger operation on the interaction control, wherein content displayed on the target page has a corresponding relationship with content displayed in the current image frame.

[0014] According to a third aspect, the present disclosure provides a computer-readable storage medium having instructions stored thereon that, when executed on a terminal device, cause the terminal device to implement the above method.

[0015] According to a fourth aspect, the present disclosure provides a device, the device including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor, when executing the computer program, realizing the above method.

[0016] Compared with the prior art, the technical solutions provided by the embodiments of the present disclosure have the following advantages: The embodiment of the present disclosure provides a video interaction method, and when a target video is played to a target time point, it is determined whether a resource corresponding to a mask in the target video is successfully loaded. The resource corresponding to the mask includes an interaction display image having a corresponding relationship with a target display element on a current image frame corresponding to the target time point. If it is determined that the resource corresponding to the mask is successfully loaded, the interaction display image is set as a display image of an interaction control, and the mask including the interaction control is displayed on a current playback interface corresponding to the current image frame. If a trigger operation on the interaction control is received, a jump is made from the current playback interface to a target page to realize the display of the target page.

[0017] As can be seen from the above, the embodiment of the present disclosure displays a mask including an interaction control on a video playback interface, and jumps to a target page through the interaction control to realize the display of the target page. Since the setting of the interaction control is related to the display element in the video image frame, the embodiment of the present disclosure can guide the user to view the target page immersively from the video playback interface, and the user's experience is guaranteed. [Brief description of the drawings]

[0018] The drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure. In order to more clearly explain the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces drawings that need to be used in the description of the embodiments or the prior art, and obviously, those skilled in the art can further derive other drawings based on these drawings without expending creative labor. [Figure 1] 1 is a flowchart of a video interaction method according to an embodiment of the present disclosure. [Diagram 2] 1 is a schematic diagram of a current image frame corresponding to a target time point according to an embodiment of the present disclosure; [Diagram 3] FIG. 13 is a mask effect diagram including interaction controls according to an embodiment of the present disclosure. [Figure 4] 1 is a flowchart of another video interaction method according to an embodiment of the present disclosure. [Diagram 5] FIG. 1 is a schematic diagram of a video interaction device according to an embodiment of the present disclosure. [Figure 6] FIG. 1 is a schematic diagram of a video interaction device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] In order to make the above objectives, features and advantages of the present disclosure more clearly comprehensible, the present disclosure will be further described below. It should be noted that, unless inconsistent, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.

[0020] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure; however, the present disclosure may also be embodied in other manners different from those described herein, and it is apparent that the embodiments in the specification are merely some embodiments of the present disclosure, and not all of the embodiments.

[0021] As the number of users of short video software is growing rapidly, developers are paying more and more attention to how to ensure the user experience of short video software. Video interaction method is one of the important factors to ensure the user experience of short video software, so the video interaction method also attracts attention.

[0022] Therefore, the present disclosure provides a video interaction method, when a target video is played to a target time point, it is determined whether a resource corresponding to a mask in the target video is successfully loaded, if the loading is successful, an interaction display image in the resource that corresponds to a target display element on a current image frame that corresponds to the target time point is set as a display image of an interaction control, and a mask including the interaction control is displayed on a current playback interface, if a trigger operation on the interaction control is received, a jump is made from the current playback interface to a target page that corresponds to the content displayed in the current image frame, thereby realizing the display of the target page.

[0023] In the embodiment of the present disclosure, when the target video is played to the target time point, a mask including an interaction control is displayed on the video playback interface, and when a trigger operation on the interaction control is received, the currently played page jumps to the target page to realize the display of the target page. Therefore, the embodiment of the present disclosure can realize the function of switching to the target page from the video playback interface and displaying it.

[0024] Furthermore, since the embodiments of the present disclosure display interaction controls in relation to the native display content on the image frame of the target video, the embodiments of the present disclosure can guide the user to immersively view the target page from the video playback interface, ensuring the user's experience.

[0025] On this basis, an embodiment of the present disclosure provides a video interaction method, and referring to FIG. 1, there is shown a flowchart of a video interaction method according to an embodiment of the present disclosure, the method including steps S101 to S103. Step S101: When the target video is played to a target time point, determine whether the resource corresponding to the mask in the target video is successfully loaded. The resource includes an interaction display image having a correspondence with a target display element on a current image frame corresponding to a target time instant.

[0026] In the embodiment of the present disclosure, the target video refers to a video segment having a certain playing time, such as an interactive advertising video. Specifically, the image of one or more frames adjacent to the next image frame corresponding to the target time point of the target video is used to display the mask. The target time point refers to the playing time point set based on the display needs of the mask. For example, the image frame with the playing time point of 5 seconds to 7 seconds in the target video is used to display the mask, and the target time point is 5 seconds.

[0027] Since whether the loading of a resource corresponding to a mask in a target video is successful determines whether the display of the mask is successful, in order to ensure that the display of the mask is successful, an embodiment of the present disclosure first determines whether the loading of a resource corresponding to a mask in a target video is successful before displaying the mask, and if the loading is successful, displays the mask; otherwise, continues to play the target video without displaying the mask.

[0028] In practical application, during the playback of the target video, when the target video is played to the target time point, determine whether the resource corresponding to the mask in the target video has been successfully loaded. The resource corresponding to the mask may include an interaction display image, an audio resource, etc., and the interaction display image has a corresponding relationship with the target display element on the current image frame corresponding to the target time point in the target video. Refer to FIG. 2, which is a schematic diagram of a current image frame corresponding to a target time point according to an embodiment of the present disclosure, where the image corresponding to "composite" is the target display image, and the interaction display image may be an image that is the same as or similar to the target display image. The audio resource may be background music when displaying the mask.

[0029] In an optional embodiment, when a target video starts to be played, it is determined whether the target video includes a mask, and if it is determined that the target video includes a mask, a resource corresponding to the mask is preloaded to ensure that the mask can be successfully displayed. Specifically, the resource corresponding to the mask can be downloaded from the service end according to the resource link.

[0030] Step S102: If it is determined that the loading of the resource corresponding to the mask is successful, the interaction display image is set as the display image of the interaction control, and the mask including the interaction control is displayed in the current playback interface corresponding to the current image frame.

[0031] In the embodiment of the present disclosure, if it is determined that the resource corresponding to the mask is successfully loaded, the mask can be displayed according to the current image frame corresponding to the target time point. If it is determined that the resource corresponding to the mask is unsuccessful in loading, there is no need to pause the target video, and the target video can be played normally.

[0032] Successful loading of a resource corresponding to a mask means that all resources corresponding to the mask are loaded, and failure to load a resource corresponding to a mask means that at least one resource corresponding to the mask is not loaded.

[0033] In practical application, when the target video is played up to the target time point, if it is determined that the resource corresponding to the mask has been successfully loaded, the successfully loaded interaction display image is used as the interaction control display image, and the mask including the interaction control is displayed in the current playback interface corresponding to the current image frame, and an interactive interface is displayed for the user based on the display of the mask.

[0034] In an embodiment of the present disclosure, the display position information of the interaction control displayed on the mask is determined based on the display position information of the target display element corresponding to the interaction display image in the current image frame.

[0035] In an optional embodiment, the display position information of the interaction display image in the target video is pre-loaded, specifically, in order to ensure that the mask is successfully displayed, before displaying the mask, the display position information of the interaction display image in the target video is first downloaded from the service end, specifically, the display position information is the position information and size information of the interaction display image relative to the target video, etc.

[0036] In order to accurately display the loaded interaction display image on the screen of the current device, before displaying the mask, first obtain the screen size of the current device and the display position information of the interaction display image in the target video, and then determine the target display position information of the interaction display image on the screen of the current device according to the screen size of the current device and the display position information of the interaction display image in the target video. Finally, display an interaction control on the mask on the current playback interface according to the target display position information. Specifically, the display image in the interaction control is the loaded interaction display image.

[0037] As shown in FIG. 3, a mask effect diagram including an interaction control according to an embodiment of the present disclosure, in which the display image of the interaction control is the same as the image corresponding to “composite” in FIG.

[0038] Step S103: In response to a trigger operation on the interaction control, jump from the current playback interface to a target page. The content displayed on the target page has a corresponding relationship with the content displayed in the current image frame.

[0039] In the embodiment of the present disclosure, according to the trigger operation of the interaction control displayed on the mask, jump from the current playback interface to a target page to realize the display of the target page. Specifically, the display content of the target page may be related to the content displayed in the current image frame corresponding to the target time, for example, an advertisement page corresponding to the content in the current image frame.

[0040] In the video interaction method according to the embodiment of the present disclosure, when the target video is played to a target time point, determine whether a resource corresponding to a mask in the target video is successfully loaded, and if the loading is successful, select an interaction display image in the resource that corresponds to a target display element on a current image frame that corresponds to the target time point as a display image of an interaction control, and display the mask containing the interaction control on a current playback interface. When a trigger operation for the interaction control is received, jump from the current playback interface to a target page that corresponds to the content displayed in the current image frame, so as to realize the display of the target page.

[0041] In the embodiment of the present disclosure, when the target video is played to the target time point, a mask including an interaction control is displayed on the video playback interface, and when a trigger operation on the interaction control is received, the current playback interface jumps to the target page to realize the display of the target page. Therefore, the embodiment of the present disclosure can realize the function of switching to the target page from the video playback interface and displaying it.

[0042] Furthermore, in the embodiments of the present disclosure, the display of the interaction controls is related to the native display content on the image frame of the target video, so that the embodiments of the present disclosure can guide the user to immersively view the target page from the video playback interface, ensuring the user's experience.

[0043] In order to improve user experience, in addition to the above embodiments, an embodiment of the present disclosure further provides another video interaction method, and referring to FIG. 4, there is shown a flowchart of another video interaction method according to an embodiment of the present disclosure, where the method includes steps S401 to S404. Step S401: When the target video is played to a target time point, determine whether the resource corresponding to the mask in the target video is successfully loaded. The resource includes an interaction display image having a correspondence with a target display element on a current image frame corresponding to a target time instant.

[0044] Step S402: If it is determined that the loading of the resource corresponding to the mask is successful, the interaction display image is set as the display image of the interaction control, and the mask including the interaction control is displayed in the current playback interface corresponding to the current image frame.

[0045] Steps S401 and S402 in the embodiment of the present disclosure can be understood with reference to the description of steps S101 and S102 in the above embodiment, and will not be described again here.

[0046] In addition, when a mask containing an interaction control is displayed in the current playback interface, an interaction guide video can also be displayed to guide the user to trigger the interaction control through a corresponding operation. As shown in Figure 3, the interaction guide video is used to guide the user to click the interaction control named "Mix" so as to realize the trigger operation on the interaction control.

[0047] In practical application, when a mask playing an interaction guide video is displayed on the current playback interface, when a user switches an application program corresponding to the target video to background execution, and then switches it from background to foreground execution again, the interaction guide video played on the mask will not continue to play based on the state before switching, which will reduce the user's experience.

[0048] Therefore, in an embodiment of the present disclosure, when a trigger operation is received to switch an application program corresponding to the target video to background execution, if an interaction guide video is being played on the mask, first, the current playback frame of the interaction guide video being played on the mask is saved as the target playback frame, and then the application program corresponding to the target video is switched to background execution.

[0049] When a trigger operation for switching the application program from background to foreground execution is received, a target playback frame is obtained, and the interaction guide video continues to be played on the mask based on the target playback frame. For example, when the target playback frame is the second frame, when the application program returns to the foreground and is executed, the interaction guide video continues to be played from the third frame of the interaction guide video, so that the user can continue to realize interactions based on the mask based on the display state of the mask before switching to the background, improving the user experience.

[0050] Step S403: In response to a trigger operation on the interaction control, jump from the current playback interface to a target page in a transition animation manner.

[0051] In the embodiment of the present disclosure, when a trigger operation on an interaction control is received, a jump from a current playback interface to a target page can be made in a transition animation manner, which can lead a user to a target page in a video native dynamic manner, so that the user's experience can be guaranteed even during a page jump.

[0052] In an optional embodiment, when jumping to a target page in the manner of transition animation, in order to avoid a situation where the target page is blank or loading when jumping in the manner of transition animation, the resource of the target page needs to be pre-rendered, specifically, before jumping to the target page, the target page is first pre-rendered to obtain a pre-rendered page. In this case, the pre-rendered page is not displayed on the target page. When a trigger operation on an interaction control is detected, the pre-rendered page is displayed on the target page in the manner of transition animation to realize the effect of jumping from the current playback interface to the target page.

[0053] In practical application, the target page may have audio resources such as background music, and after pre-rendering the target page, when jumping to the target page in the manner of transition animation, the target page may not be displayed, but the background music may have already been played in advance. Therefore, the embodiment of the present disclosure controls the playback timing of audio resources such as background music in the target page and controls the display timing of the content in the target page by sending an audio playback identifier and a page realization identifier to a control module of the target page. Specifically, the audio playback identifier is used to indicate whether to play an audio resource corresponding to the target page, and the page display identifier is used to indicate whether to display a pre-rendering page, and the control module is used to play the audio resource according to the audio playback identifier and display the pre-rendering page according to the page display identifier.

[0054] In the embodiment of the present disclosure, the audio playback identifier and the page display identifier are sent to the control module of the target page in the form of a notification message, so as to effectively control the playback timing of audio resources such as background music on the target page, and control the display timing of content on the target page, thereby avoiding a situation where the target page is not displayed but the background music has already been played in advance, and improving the user experience.

[0055] Step S404: In response to a return operation triggered on the target page, jump from the target page to a video playing interface, and continue to play the target video in the video playing interface based on a preset time point. A preset time point is a playback time point in the target video that is later than the target time point.

[0056] In the embodiment of the present disclosure, during the display of the target page, if the user triggers a return operation on the target page, the target page will jump to a video playback interface, and the target video will continue to be played in the video playback interface based on a preset time point.

[0057] Specifically, the preset time point may be the configuration data loaded from the server, specifically, the playback time point after the target time point in the target video. For example, the preset time point may be the next time point adjacent to the target time point in the target video.

[0058] In an optional embodiment, if the user does not click the interaction control within a preset time while the mask is displayed, the target video may continue to play the target video based on a preset point in time.

[0059] In another optional embodiment, while the mask is displayed, the user may voluntarily trigger the continuous playback of the target video, specifically, if the user accepts the continuous playback operation triggered on the mask in the current playback interface, the target video continues to be played based on the preset time point.

[0060] In the video interaction method according to the embodiment of the present disclosure, when the target video is played to a target time point, it is determined whether the resource corresponding to the mask in the target video is successfully loaded. If the loading is successful, an interaction display image of the resource that has a corresponding relationship with the target display element on the current image frame corresponding to the target time point is set as the display image of the interaction control, and the mask including the interaction control is displayed on the current playback interface. When a trigger operation on the interaction control is received, the current playback interface is jumped to a target page that has a corresponding relationship with the content displayed on the current image frame in a transition animation manner, and the display of the target page is realized. Therefore, the embodiment of the present disclosure can realize the function of switching from the video playback interface to the target page and displaying it while ensuring the user's experience.

[0061] In addition, the embodiments of the present disclosure realize the implementation of a video native dynamic manner of guiding a user to view a target page by jumping to the target page in the manner of transition animation, thereby ensuring the user's experience even during page jumps.

[0062] Based on the same inventive concept as the above method embodiment, the present disclosure further provides a video interaction device. Referring to FIG. 5, a structural schematic diagram of the video interaction device provided by the embodiment of the present disclosure is shown, the device comprising: a determining module 501 for determining whether a resource corresponding to a mask in the target video is successfully loaded when the target video is played to a target time point, the determining module 501 including an interaction display image having a corresponding relationship with a target display element on a current image frame corresponding to the target time point; a display module 502 for setting the interaction display image as an interaction control display image and displaying the mask including the interaction control in a current playback interface corresponding to the current image frame when it is determined that the resource corresponding to the mask is successfully loaded; and a jump module 503 for jumping from the current playback interface to a target page in response to a trigger operation on the interaction control, where the content displayed on the target page has a corresponding relationship with the content displayed in the current image frame.

[0063] In an alternative embodiment, the apparatus further comprises: The present invention includes a return module for jumping from the target page to a video playback interface in response to a return operation triggered on the target page after the step of jumping from the current playback interface to a target page, and continuing to play the target video in the video playback interface based on a preset time point, wherein the preset time point is a playback time point later than the target time point in the target video.

[0064] In an alternative embodiment, the resource further comprises an interaction guide video, the interaction guide video comprising at least two image frames, the interaction guide video being played over the mask, and the device further comprises: a storage module for storing a currently played frame of the interaction guide video played on the mask as a target played frame in response to a trigger operation for switching an application program corresponding to the target video to background execution; and a continuous playback module for continuing to play the interaction guide animation on the mask based on the target playback frame in response to a trigger operation that switches the application program to foreground execution.

[0065] In an alternative embodiment, the jump module specifically comprises: It is used to jump from the current playback interface to a target page in a transition animation manner in response to a trigger operation on the interaction control.

[0066] In an alternative embodiment, the apparatus further comprises: a pre-rendering module for pre-rendering the target page to obtain a pre-rendered page before the step of jumping from the current playback interface to the target page in a transition animation manner; and a sending module for sending an audio playback identifier and a page display identifier to a control module of the target page, wherein the audio playback identifier is used to indicate whether to play an audio resource corresponding to the target page, and the page display identifier is used to indicate whether to display the pre-rendered page, and the control module is used to play the audio resource based on the audio playback identifier and display the pre-rendered page based on the page display identifier.

[0067] In an alternative embodiment, the apparatus further comprises: and a video playback module for determining whether the loading of a resource corresponding to a mask in the target video is successful and then continuing to play the target video based on the target time point if it is determined that the loading of the resource corresponding to the mask is unsuccessful.

[0068] In an alternative embodiment, the display module comprises: a determination submodule for determining target display position information of the interaction display image on the screen of the current device according to a screen size of the current device and display position information of the interaction display image in the target video; and a display submodule for displaying a mask on a current playback interface corresponding to the current image frame, and displaying an interaction control on the mask, the interaction display image being a display image based on the target display position information.

[0069] The video interaction device provided by the embodiment of the present disclosure, when the target video is played to the target time point, judges whether the resource corresponding to the mask in the target video is successfully loaded, if the loading is successful, selects an interaction display image of the resource that corresponds to the target display element on the current image frame corresponding to the target time point as the display image of the interaction control, and displays the mask containing the interaction control on the current playback interface, if a trigger operation on the interaction control is received, jumps from the current playback interface to a target page that corresponds to the content displayed in the current image frame, thereby realizing the display of the target page.

[0070] In the embodiment of the present disclosure, when the target video is played to the target time point, a mask including an interaction control is displayed on the video playback interface, and when a trigger operation on the interaction control is received, the current playback interface jumps to the target page to realize the display of the target page. Therefore, the embodiment of the present disclosure can realize the function of switching to the target page from the video playback interface and displaying it.

[0071] In addition, since the display of interaction controls according to the embodiments of the present disclosure is related to the native display content on the image frame of the target video, the embodiments of the present disclosure can guide the user to immersively view the target page from the video playback interface, and the user experience is guaranteed.

[0072] In addition to the above methods and apparatus, an embodiment of the present disclosure further provides a computer-readable storage medium having instructions stored therein that, when executed on a terminal device, cause the terminal device to realize the video interaction method described in the embodiment of the present disclosure.

[0073] In addition, the embodiment of the present disclosure further provides a video interaction device, as shown in FIG. The video interaction device may include a processor 601, a memory 602, an input device 603, and an output device 604. The number of processors 601 in the video interaction device may be one or more, and one processor is shown in Fig. 6 as an example. In some embodiments of the present disclosure, the processor 601, the memory 602, the input device 603, and the output device 604 may be connected via a bus or other methods, and are shown in Fig. 6 as being connected via a bus.

[0074] The memory 602 can be used to store software programs and modules, and the processor 601 executes various functional applications and data processing of the video interaction device by executing the software programs and modules stored in the memory 602. The memory 602 can mainly include a program storage area and a data storage area, and the program storage area can store an operating system, an application program required for at least one function, etc. The memory 602 can also include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device. The input device 603 can be used to receive input numeric or character information and generate signal inputs related to user setting and function control of the video interaction device.

[0075] Specifically, in this embodiment, the processor 601 realizes various functions of the above-mentioned video interaction device by loading executable files corresponding to the processes of one or more application programs into the memory 602 in accordance with instructions such as the following, and executing the application programs stored in the memory 602 by the processor 601:

[0076] It should be noted that, in this specification, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that any such actual relationship or ordering exists between these entities or operations. Furthermore, the terms "comprise", "comprises", or any other variations thereof are meant to cover a non-exclusive inclusion, such that a process, method, article, or device that includes a set of elements further includes not only those elements, but also other elements not expressly listed or inherent to such process, method, article, or device. In the absence of further limitations, an element limited by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, article, or device that includes said element.

[0077] The above description is merely a specific embodiment of the present disclosure, presented to enable those skilled in the art to understand and realize the present disclosure. Various modifications to these examples will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to these examples described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. 1. A method of video interaction comprising: When the target video is played to a target time point, determining whether a resource corresponding to a mask in the target video is successfully loaded, the resource including an interaction display image having a correspondence with a target display element on a current image frame corresponding to the target time point; if it is determined that the resource corresponding to the mask is successfully loaded, setting the interaction display image as a display image of an interaction control, displaying a mask including the interaction control in a current playback interface corresponding to the current image frame, and using the interaction control whose display image is the interaction display image to cover the target display element on the current image frame; jumping from the current playback interface to a target page in response to a trigger operation on the interaction control, where the content displayed on the target page has a corresponding relationship with the content displayed in the current image frame; The method according to claim 1, further comprising:

2. After the step of jumping from the current playback interface to a target page, in response to a return operation triggered on the target page, jumping from the target page to a video playback interface, and continuing to play the target video in the video playback interface based on a preset time point, the preset time point being a playback time point later than the target time point in the target video; The method of claim 1 , comprising:

3. The resource further includes an interaction guide video, the interaction guide video including at least two image frames, the interaction guide video being played on the mask, and the method further includes: In response to a trigger operation for switching an application program corresponding to the target video to background execution, a currently played frame of the interaction guide video played on the mask is saved as a target played frame; In response to a trigger operation that switches the application program to foreground execution, continuing to play the interaction guide animation on the mask based on the target playback frame; The method of claim 1 , comprising:

4. The step of jumping from the current playback interface to a target page in response to a trigger operation on the interaction control includes: jumping from the current playback interface to a target page in a transition animation manner in response to a trigger operation on the interaction control; The method of claim 1 , comprising:

5. before the step of jumping from the current playback interface to a target page in a transition animation manner, pre-rendering the target page to obtain a pre-rendered page; sending an audio playing identifier and a page display identifier to a control module of the target page, the audio playing identifier being used to indicate whether to play an audio resource corresponding to the target page, and the page display identifier being used to indicate whether to display the pre-rendering page, the control module being used to play the audio resource according to the audio playing identifier and display the pre-rendering page according to the page display identifier; The method of claim 4, comprising:

6. After the step of determining whether the resource corresponding to the mask in the target video is successfully loaded, further comprising: if determining that loading of a resource corresponding to the mask has failed, continuing to play the target video based on the target time point; The method of claim 1 , comprising:

7. The step of setting the interaction display image as a display image of an interaction control, and displaying a mask including the interaction control on a current playback interface corresponding to the current image frame, includes: determining target display position information of the interaction display image on the screen of the current device according to a screen size of the current device and display position information of the interaction display image in the target video; displaying a mask on a current playback interface corresponding to the current image frame, and displaying an interaction control on the mask, the interaction display image being a display image according to the target display position information; The method of claim 1 , comprising:

8. 1. A video interaction device, comprising: a determining module for determining whether a resource corresponding to a mask in the target video is successfully loaded when the target video is played to a target time point, the determining module including an interaction display image having a correspondence with a target display element on a current image frame corresponding to the target time point; a display module for setting the interaction display image as a display image of an interaction control when it is determined that the resource corresponding to the mask is successfully loaded, and displaying a mask including the interaction control on a current playback interface corresponding to the current image frame, and using the interaction control, whose display image is the interaction display image, to cover the target display element on the current image frame; A jump module for jumping from the current playback interface to a target page in response to a trigger operation on the interaction control, the content displayed on the target page having a corresponding relationship with the content displayed in the current image frame; An apparatus comprising:

9. A computer readable storage medium having stored thereon instructions which, when executed on a terminal device, cause said terminal device to implement the method of any one of claims 1 to 7. A computer-readable storage medium comprising:

10. A device comprising a memory, a processor, and a computer program stored in said memory and executable on said processor, the device implementing the method of any one of claims 1 to 7 when the processor executes the computer program. A device comprising:

Citation Information

Patent Citations

  • Video interaction method and device, and readable medium

    CN108769814A

  • Information processor, information accumulator, information providing device, computer executable program, and recording medium

    JP2005210371A

  • Video image overlay

    JP2010526494A