CN114615554A - Video playing method and device - Google Patents

Video playing method and device Download PDF

Info

Publication number
CN114615554A
CN114615554A CN202210333247.XA CN202210333247A CN114615554A CN 114615554 A CN114615554 A CN 114615554A CN 202210333247 A CN202210333247 A CN 202210333247A CN 114615554 A CN114615554 A CN 114615554A
Authority
CN
China
Prior art keywords
playing
advertisement
video
video data
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210333247.XA
Other languages
Chinese (zh)
Inventor
马丹丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youku Technology Co Ltd
Original Assignee
Beijing Youku Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Youku Technology Co Ltd filed Critical Beijing Youku Technology Co Ltd
Priority to CN202210333247.XA priority Critical patent/CN114615554A/en
Publication of CN114615554A publication Critical patent/CN114615554A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/4722End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting additional data associated with the content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/812Monomedia components thereof involving advertisement data

Abstract

An embodiment of the present specification provides a video playing method and a device, wherein the video playing method includes: responding to a video playing request, acquiring target video data according to the video playing request, and acquiring at least one piece of advertisement video data; rendering a video playing interface, wherein the video playing interface comprises a video playing window component and an advertisement playing component; and when the target video data is played through the video playing window component, the at least one piece of advertisement video data is played through the advertisement playing component, wherein the advertisement playing component is also used for responding to the operation of a user to carry out corresponding interactive processing. The video playing window assembly and the advertisement playing assembly are arranged on the video playing interface, and when the target video data is played through the video playing window assembly, the at least one piece of advertisement video data is played through the advertisement playing assembly, so that the target video data and the advertisement video data are played simultaneously, and the playing efficiency is improved.

Description

Video playing method and device
Technical Field
The embodiment of the specification relates to the technical field of video playing, in particular to a video playing method.
Background
In many current video playing pages, a user needs to watch long-time front-mounted advertisements when entering the playing pages, the front-mounted advertisements on the market are all displayed in a full-screen mode, the user cannot directly skip the advertisements, and the user can enter a feature film only after waiting for the advertisements, so that the time of the user is wasted, and the video playing efficiency is low.
Disclosure of Invention
In view of this, the present specification provides a video playing method. One or more embodiments of the present disclosure also relate to a video playing apparatus, a computing device, a computer readable storage medium and a computer program, so as to solve the technical deficiencies of the prior art.
According to a first aspect of embodiments of the present specification, there is provided a video playing method, including:
responding to a video playing request, acquiring target video data according to the video playing request, and acquiring at least one piece of advertisement video data;
rendering a video playing interface, wherein the video playing interface comprises a video playing window component and an advertisement playing component;
and when the target video data is played through the video playing window component, the at least one piece of advertisement video data is played through the advertisement playing component, wherein the advertisement playing component is also used for responding to the operation of a user to carry out corresponding interactive processing.
According to a second aspect of embodiments of the present specification, there is provided a video playback apparatus including:
the system comprises a determining module, a video playing module and a video playing module, wherein the determining module is configured to respond to a video playing request, acquire target video data according to the video playing request and acquire at least one piece of advertisement video data;
the rendering module is configured to render a video playing interface, wherein the video playing interface comprises a video playing window component and an advertisement playing component;
and the playing module is configured to play the at least one piece of advertisement video data through the advertisement playing component when the target video data is played through the video playing window component, wherein the advertisement playing component is further used for responding to the operation of a user to perform corresponding interactive processing.
According to a third aspect of embodiments herein, there is provided a computing device comprising:
a memory and a processor;
the memory is used for storing computer-executable instructions, and the processor is used for executing the computer-executable instructions, and the computer-executable instructions realize the steps of the video playing method when being executed by the processor.
According to a fourth aspect of embodiments herein, there is provided a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the video playback method described above.
According to a fifth aspect of embodiments of the present specification, there is provided a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above video playing method.
An embodiment of the present specification provides a video playing method and a device, wherein the video playing method includes: responding to a video playing request, acquiring target video data according to the video playing request, and acquiring at least one piece of advertisement video data; rendering a video playing interface, wherein the video playing interface comprises a video playing window component and an advertisement playing component; and when the target video data is played through the video playing window component, the at least one piece of advertisement video data is played through the advertisement playing component, wherein the advertisement playing component is also used for responding to the operation of a user to perform corresponding interactive processing. The video playing window assembly and the advertisement playing assembly are arranged on the video playing interface, and when the target video data is played through the video playing window assembly, the at least one piece of advertisement video data is played through the advertisement playing assembly, so that the target video data and the advertisement video data are played simultaneously, and the playing efficiency is improved.
Drawings
Fig. 1 is a flowchart of a video playing method according to an embodiment of the present specification;
fig. 2 is a schematic window diagram of a video playing method according to an embodiment of the present disclosure;
fig. 3 is an enlarged schematic view of a video playing method provided in an embodiment of the present specification;
fig. 4 is a bullet screen schematic diagram of a video playing method provided in an embodiment of the present specification;
fig. 5 is a schematic shaking diagram of a video playing method according to an embodiment of the present disclosure;
fig. 6 is a flowchart illustrating a processing procedure of a video playing method according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a video playback device according to an embodiment of the present disclosure;
fig. 8 is a block diagram of a computing device according to an embodiment of the present disclosure.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present description. This description may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, as those skilled in the art will be able to make and use the present disclosure without departing from the spirit and scope of the present disclosure.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
First, the noun terms to which one or more embodiments of the present specification relate are explained.
Bullet screen: refers to a commentary subtitle that pops up when viewing a video over a network.
HTML 5: is a language description way for constructing the web page content.
WebView: refers to a web page view.
In this specification, a video playing method is provided, and the specification simultaneously relates to a video playing apparatus, a computing device, and a computer readable storage medium, which are described in detail in the following embodiments one by one.
Referring to fig. 1, fig. 1 shows a flowchart of a video playing method according to an embodiment of the present disclosure, which specifically includes the following steps.
Step 102: and responding to a video playing request, acquiring target video data according to the video playing request, and acquiring at least one piece of advertisement video data.
The video playing request can be understood as operations such as opening a video playing detail page or clicking a certain video to play; the target video data may be understood as a video that the user wants to watch, for example, a movie, a tv show, a short video, etc.; the advertisement video data may be advertisement videos, advertisement pictures, advertisement animations, etc.
In practical application, a user logs in a video website and opens a detailed page of a video, a system can select a plurality of advertisement videos and play the advertisement videos, a part of users lose patience and lose the loss due to the fact that the users need to see a long-time front-mounted advertisement when entering a playing page, full-screen front-mounted advertisements are converted into a plurality of small-screen advertisements and photos for consumption simultaneously, on one hand, the advertisement conversion and the profit are improved, the commercial premium space is improved, on the other hand, the user experience is improved by reducing the waiting time of the user, and then two types of video data need to be acquired simultaneously.
For example, in the case where the user opens a detail page of a video, that is, the target video data a is acquired, and the advertisement video B, the advertisement video C, and the advertisement video D are acquired.
It should be noted that, when at least one piece of advertisement video data is obtained, an advertisement corresponding to a product in which a user is interested may be selected according to a currently logged-in user portrait, and a product in which a user is interested may be determined by using a conventional technical means in the art, which is not limited in the embodiment of the present specification.
Further, the advertisement may be an advertisement for a recommended product or a native advertisement, and in an implementable manner, an off-the-shelf advertisement video provided by an advertisement provider of a third party may be added to the video page, and the advertisement video may be in multiple versions, for example, multiple versions correspond to advertisement videos with different sizes. And the advertisement video corresponds to the commodity link in the advertisement video content, when the user clicks the advertisement video, the user can click the link of the video and load the page corresponding to the link, and the page can be a page of introduction details of the commodity or a page for purchasing the commodity.
In another implementation, the recommended advertising content in the video page may directly pull content from the video website, such as a news vignette today, a recent new movie or episode trailer, and an advertisement within the video website. When a user clicks the advertisement video, corresponding video content in a video website is directly pulled, for example, in a basketball game of a sports event today, clips of game videos of a team A and a team B are the advertisement videos, and after the user clicks the advertisement video, the user jumps to the complete game videos of the team A and the team B. That is, the complete game videos of team a and team B are set as the target videos, and accordingly, the clip short of the other event videos may also be used as new advertisement videos, i.e., videos of the sports event category are identified as the videos of interest of the user. Further, the advertisement of the recommended product of the sports article may be used as a new advertisement video, or the advertisement of the product of the related person representative in the target video may be used as a new advertisement video, which is not limited in the embodiment of the present specification.
The embodiment of the specification simultaneously acquires the target video data and the advertisement video data so as to play the target video data and the advertisement video data in the subsequent steps, thereby improving the efficiency.
Step 104: and rendering a video playing interface, wherein the video playing interface comprises a video playing window component and an advertisement playing component.
The rendering of the video playing interface may be understood as rendering a video playing interface by using image processing hardware, and accordingly, the video playing interface may be a web page. The video playing window component may be understood as a video player, e.g. HTML5, flash. An ad playing component may be understood as an ad video player, e.g., HTML5, flash, webview.
In practical applications, referring to fig. 2, fig. 2 shows a schematic window diagram of a video playing method provided in an embodiment of the present specification, after a user clicks on a detail page of an open video, the video page needs to be rendered to display the video page, and a video playing window component and an advertisement playing component, where the video playing window component is used to play a target video, the advertisement playing component is used to play an advertisement video, and the advertisement video may be multiple, for example, advertisement video 1 and advertisement video 2.
For example, in the case where the user opens a detail page of a video, the image processor renders a sketch of the video, and a first HTML5 player for playing a target video and a second HTML5 player for playing an advertisement video.
The embodiment of the specification renders the video playing interface, and improves the loading speed of the interface.
Step 106: and when the target video data is played through the video playing window component, the at least one piece of advertisement video data is played through the advertisement playing component.
In practical application, the advertisement which is pasted in front of the full screen of the playing page is removed, the mode that the feature film and the advertisement are watched on the same screen is adopted, the user is attracted to actively participate in advertisement interaction or enter the commodity detail page through various interaction modes, the feature film consumption is not interrupted in the process, the waiting time of the user is shortened through the mode, the user who waits for loss is reduced, and the advertisement conversion is improved, so that the advertisement premium is increased.
Further, the playing the at least one piece of advertisement video data by the advertisement playing component includes:
under the condition that the number of the advertisement video data is at least two, arranging the at least two advertisement video data to obtain a playing sequence;
and playing an advertisement video data in the playing sequence through the advertisement playing component.
The playing sequence may be understood as a sequence of a plurality of advertisement video data playing sequence, for example, the playing sequence is advertisement video C, advertisement video B, and advertisement video D.
In practical application, a plurality of advertisement videos may be provided, and in the case of a plurality of advertisement videos, the advertisement videos need to be arranged and played in a fixed order, see fig. 2, where the advertisement videos in fig. 2 include advertisement video 1 and advertisement video 2, and may further include other advertisement videos that are not displayed, and the advertisement videos are displayed in the arranged order.
For example, the advertisement video data includes advertisement video B, advertisement video C, and advertisement video D, and the advertisement video B, the advertisement video C, and the advertisement video D are randomly arranged to obtain the playing sequences as advertisement video C, advertisement video B, and advertisement video D.
The embodiment of the specification can play a plurality of pieces of advertisement video data, arrange and display the plurality of pieces of advertisement video data, and pre-load the next piece of advertisement video data, thereby improving the playing performance.
Further, the playing, by the advertisement playing component, a piece of advertisement video data in the playing sequence includes:
selecting one piece of advertisement video data in the playing sequence, playing the advertisement video data through the advertisement playing component, and monitoring the playing progress of the advertisement video data;
and under the condition that the playing progress is finished, switching the advertisement video data played by the advertisement playing component according to the playing sequence.
In practical application, a user may not interfere with the playing of the advertisement video, and then needs to automatically play the next advertisement video after the playing of one advertisement video is completed, referring to fig. 2, after the playing of the advertisement video 1 is completed, the advertisement video 2 is automatically moved upwards to completely display the advertisement video 2 for playing.
For example, the playing sequence is an advertisement video C, an advertisement video B, and an advertisement video D, the advertisement video B is automatically played after the advertisement video C is played, and the advertisement video D is automatically played after the advertisement video B is played.
The embodiment of the specification can automatically play down one piece of advertisement video data after one piece of advertisement video data is played, so that the playing efficiency is improved.
Further, the playing, by the advertisement playing component, a piece of advertisement video data in the playing sequence includes:
and responding to the up-sliding operation or the down-sliding operation of the advertisement playing component, and switching the advertisement video data played by the advertisement playing component according to the playing sequence.
In practical application, if the user slides the advertisement video, other advertisement videos in the playing sequence may be switched along with the sliding operation of the user, see fig. 2, in the case that the user slides the advertisement video 1 upwards, the advertisement video 1 stops playing, and in the case that the user stops sliding, the currently displayed advertisement video is played.
For example, the playing sequence is an advertisement video C, an advertisement video B, and an advertisement video D, and in the case that the playing of the advertisement video C is not finished, the user slides the advertisement playing component upwards and stops at the interface of the advertisement video B, and then the advertisement video B is played.
The embodiment of the specification can enable the user to select which advertisement video data is played, and the interactivity of the user is enhanced.
Further, the playing, by the advertisement playing component, a piece of advertisement video data in the playing sequence includes:
selecting one piece of advertisement video data in the playing sequence to play, and monitoring the playing time of the advertisement video data;
and under the condition that the playing time length exceeds a preset time length, adjusting the display size of the advertisement video data in the advertisement playing component.
In practical application, referring to fig. 3, fig. 3 is an enlarged schematic view illustrating a video playing method according to an embodiment of the present disclosure, if an advertisement video is played for more than a preset time period, a large-size video of the advertisement video may be played, or a part of the advertisement video may be enlarged, for example, when the advertisement video 1 is played for more than 5 seconds, the size of the advertisement video 1 is enlarged.
For example, the preset time length is 5 seconds, the size of the advertisement video B is 300 × 400 pixels, when the advertisement video B is played for 5 seconds, the advertisement video B is switched to the large-size video of the advertisement video B for playing, and the large-size video of the advertisement video B is 1200 × 900 pixels.
In the embodiment of the description, the size of the advertisement video data is enlarged and the playing occupancy rate is improved under the condition that the playing time of the advertisement video data exceeds the preset time.
Further, the playing the at least two advertisement video data through the advertisement playing component according to the playing sequence includes:
and under the condition that all the advertisement video data in the playing sequence are played, closing the advertisement playing component, and adjusting the video playing window component to adapt to the size of the video playing interface.
In practical application, after all advertisement videos are played, the target video can be played in a full screen mode.
For example, the playing sequence is an advertisement video C, an advertisement video B, and an advertisement video D, the advertisement video B is automatically played after the advertisement video C is played, the advertisement video D is automatically played after the advertisement video B is played, and the target video can occupy the video playing interface after the advertisement video D is played.
According to the embodiment of the specification, after the advertisement video data are completely played, the target video is automatically amplified, the intelligent degree is improved, manual clicking by a user is not needed, and the playing efficiency is improved.
Further, the playing the at least one piece of advertisement video data by the advertisement playing component includes:
and playing bullet screen information aiming at the advertisement video data through the advertisement playing component.
In practical applications, referring to fig. 4, fig. 4 shows a bullet screen schematic diagram of a video playing method provided according to an embodiment of the present specification, a user can send a bullet screen through a bullet screen frame and display the bullet screen on an advertisement video, and the user can be attracted to click and increase the conversion rate from an advertisement to a commodity purchase through a light, fast and convenient interaction mode and an interaction component and an atmosphere that are interesting to fit the characteristics of the advertisement itself, so as to compensate and increase a premium space.
For example, if "article a is really good" is sent in the bullet screen frame, and the advertisement video B is being played, a bullet screen "article a is really good" floats above the advertisement video B.
It should be noted that, the user may also click the bullet screen to reply, so as to increase the interactivity between users.
Further, the method also comprises the following steps:
and responding to the click operation of the advertisement playing component, determining a webpage corresponding to the advertisement video data, and displaying the webpage through the advertisement playing component.
In practical application, a user can click on an advertisement video and enter a commodity page of the advertisement, and can directly perform purchasing operation on the commodity page.
For example, the advertisement playing component is webview, when the advertisement video B is being played, and the user clicks the advertisement video B, the purchase page of the commodity B in the advertisement video B is pulled, and the purchase page is displayed in the webview.
The embodiment of the specification can directly click the advertisement video data and automatically pull the webpage corresponding to the advertisement video data, so that the browsing efficiency is improved.
Further, the playing the at least one piece of advertisement video data by the advertisement playing component includes:
and controlling the display position of the at least one piece of advertisement video data in the advertisement playing component to shake in response to the preset shaking condition being met.
In practical application, referring to fig. 5, fig. 5 shows a schematic swaying diagram of a video playing method provided according to an embodiment of the present specification, and during playing of an advertisement video, a position of the advertisement video may be swayed according to content of the advertisement video, so as to improve a visual effect.
For example, the advertisement video B is being played, the content in the advertisement video B is a football player, the content of the football is played on a football field, and when the football player in the advertisement video B plays the football, the advertisement video B is swung up and down, left and right at the displayed position.
According to the embodiment of the specification, the dynamic effect is increased according to the content of the advertisement video data, and the experience feeling of a user is improved.
Further, other components of the device for playing the video may be called under the condition that the video shakes, so that the experience feeling is more realistic, and the specific implementation manner is as follows.
And responding to the condition that a preset shaking condition is met, and sending a shaking instruction to the current equipment to enable the current equipment to shake.
Following the above example: the mobile phone equipment plays an advertisement video B, the content in the advertisement video B is a football player, the content of a football is played on a football field, when the football player in the advertisement video B plays a football, the advertisement video B is rocked up and down, left and right at the displayed position, and a vibration instruction is sent to a vibration motor of the mobile phone to vibrate the mobile phone.
The embodiment of the specification improves the experience of the user by adding the sense of touch according to the content of the advertisement video data.
Further, different permissions may be set for different users, and the specific embodiment is as follows.
And responding to a skipping instruction, closing the advertisement playing component under the condition that the user identity is a target identity, and adjusting the video playing window component to adapt to the size of the video playing interface.
The user identity may be in the form of numbers, letters, etc., and is used to identify the authority group of the user. For example user identity a is the highest right.
For example, the id includes A, B, C three levels, where a level may skip all advertisement videos, B level may skip part of advertisement videos, C level may not skip advertisement videos, and if the id of the currently logged-in user is a, the advertisement playing component is turned off to make the size of the video playing window component occupy the video playing interface in the case that the current user clicks the skip button.
An embodiment of the present specification provides a video playing method and a device, wherein the video playing method includes: responding to a video playing request, acquiring target video data according to the video playing request, and acquiring at least one piece of advertisement video data; rendering a video playing interface, wherein the video playing interface comprises a video playing window component and an advertisement playing component; and when the target video data is played through the video playing window component, the at least one piece of advertisement video data is played through the advertisement playing component, wherein the advertisement playing component is also used for responding to the operation of a user to carry out corresponding interactive processing. The video playing window assembly and the advertisement playing assembly are arranged on the video playing interface, and when the target video data is played through the video playing window assembly, the at least one piece of advertisement video data is played through the advertisement playing assembly, so that the target video data and the advertisement video data are played simultaneously, and the playing efficiency is improved.
The following describes the video playing method further by taking an application of the video playing method provided in this specification to a server as an example, with reference to fig. 6. Fig. 6 shows a flowchart of a processing procedure of a video playing method provided in an embodiment of the present specification, which specifically includes the following steps.
Step 602: the server responds to the video playing request, obtains target video data according to the video playing request, and obtains at least one piece of advertisement video data.
The video playing request can be understood as operations such as opening a video playing detail page or clicking a certain video to play; the target video data may be understood as a video that the user wants to watch, for example, a movie, a tv show, a short video, etc.; the advertisement video data may be advertisement videos, advertisement pictures, advertisement animations, etc.
For example, in the case where the user opens a detail page of a video, that is, the target video data a is acquired, and the advertisement video B, the advertisement video C, and the advertisement video D are acquired.
Step 604: the server renders a video playing interface, wherein the video playing interface comprises a video playing window component and an advertisement playing component.
The rendering of the video playing interface may be understood as rendering a video playing interface by using image processing hardware, and accordingly, the video playing interface may be a web page. The video playing window component may be understood as a video player, e.g. HTML5, flash. The advertisement playing component may be understood as an advertisement video player, e.g. HTML5, flash, webview.
Following the above example, in the case where the user opens a detail page of the video, the image processor renders a sketch of the video, and an HTML5 player for playing the target video and a webview player for playing the advertisement video.
Step 606: and the server arranges the at least two pieces of advertisement video data to obtain a playing sequence under the condition that the number of the advertisement video data is at least two.
The playing sequence may be understood as a sequence of a plurality of advertisement video data playing sequence, for example, the playing sequence is advertisement video C, advertisement video B, and advertisement video D.
In practical application, a plurality of advertisement videos may be provided, and in the case of a plurality of advertisement videos, the advertisement videos need to be arranged and played in a fixed order.
According to the above example, the advertisement video data includes advertisement video B, advertisement video C, and advertisement video D, and the advertisement video B, the advertisement video C, and the advertisement video D are randomly arranged to obtain the advertisement video C, the advertisement video B, and the advertisement video D as the playing sequences.
Step 608: and the server selects one piece of advertisement video data in the playing sequence, plays the advertisement video data through the advertisement playing component and monitors the playing progress of the advertisement video data.
In practical application, a user may not interfere with playing of an advertisement video, so that the playing progress of the video needs to be monitored, and after an advertisement video is played, an advertisement video is automatically played and put down.
In the above example, the playing sequence is the advertisement video C, the advertisement video B, and the advertisement video D, and the advertisement video C is selected to be played.
Step 610: and the server switches the advertisement video data played by the advertisement playing component according to the playing sequence under the condition that the playing progress is finished.
Following the above example, the advertisement video B is automatically played after the advertisement video C is played, and the advertisement video D is automatically played after the advertisement video B is played.
Step 612: and the server closes the advertisement playing component under the condition that the advertisement video data in the playing sequence are completely played, and adjusts the video playing window component to adapt to the size of the video playing interface.
In practical application, after all advertisement videos are played, the target video can be played in a full screen mode.
For example, the playing sequence is an advertisement video C, an advertisement video B, and an advertisement video D, the advertisement video B is automatically played after the advertisement video C is played, the advertisement video D is automatically played after the advertisement video B is played, and the target video can occupy the video playing interface after the advertisement video D is played.
When the target video data is played through the video playing window component, the at least one piece of advertisement video data is played through the advertisement playing component, so that the target video data and the advertisement video data are played simultaneously, and the playing efficiency is improved.
Corresponding to the above method embodiment, this specification further provides an embodiment of a video playing device, and fig. 7 shows a schematic structural diagram of a video playing device provided in an embodiment of this specification. As shown in fig. 7, the apparatus includes:
a determining module 702, configured to respond to a video playing request, obtain target video data according to the video playing request, and obtain at least one piece of advertisement video data;
a rendering module 704 configured to render a video playing interface, wherein the video playing interface includes a video playing window component and an advertisement playing component;
a playing module 706, configured to play the at least one piece of advertisement video data through the advertisement playing component when the target video data is played through the video playing window component, where the advertisement playing component is further configured to perform corresponding interaction processing in response to an operation of a user.
In an implementable implementation, the playing module 706 is further configured to:
under the condition that the number of the advertisement video data is at least two, arranging the at least two advertisement video data to obtain a playing sequence;
and playing an advertisement video data in the playing sequence through the advertisement playing component.
In an implementable implementation, the playing module 706 is further configured to:
selecting one piece of advertisement video data in the playing sequence, playing the advertisement video data through the advertisement playing component, and monitoring the playing progress of the advertisement video data;
and under the condition that the playing progress is finished, switching the advertisement video data played by the advertisement playing component according to the playing sequence.
In an implementable implementation, the playing module 706 is further configured to:
responding to the up-sliding operation or the down-sliding operation of the advertisement playing component, and switching the advertisement video data played by the advertisement playing component according to the playing sequence.
In an implementable implementation, the playing module 706 is further configured to:
selecting one piece of advertisement video data in the playing sequence to play, and monitoring the playing time of the advertisement video data;
and under the condition that the playing time length exceeds a preset time length, adjusting the display size of the advertisement video data in the advertisement playing component.
In an implementable implementation, the playing module 706 is further configured to:
and under the condition that all the advertisement video data in the playing sequence are played, closing the advertisement playing component, and adjusting the video playing window component to adapt to the size of the video playing interface.
In an implementable implementation, the playing module 706 is further configured to:
and playing bullet screen information aiming at the advertisement video data through the advertisement playing component.
In an implementable implementation, the playing module 706 is further configured to:
and responding to the click operation of the advertisement playing component, determining a webpage corresponding to the advertisement video data, and displaying the webpage through the advertisement playing component.
In an implementable implementation, the playing module 706 is further configured to:
and controlling the display position of the at least one piece of advertisement video data in the advertisement playing component to shake in response to the preset shaking condition being met.
In an implementable implementation, the playing module 706 is further configured to:
and responding to the condition that a preset shaking condition is met, and sending a shaking instruction to the current equipment to enable the current equipment to shake.
In an implementable implementation, the playing module 706 is further configured to:
and responding to a skipping instruction, closing the advertisement playing component under the condition that the user identity is a target identity, and adjusting the video playing window component to adapt to the size of the video playing interface.
An embodiment of the present specification provides a video playing method and a device, wherein the video playing method includes: responding to a video playing request, acquiring target video data according to the video playing request, and acquiring at least one piece of advertisement video data; rendering a video playing interface, wherein the video playing interface comprises a video playing window component and an advertisement playing component; and when the target video data is played through the video playing window component, the at least one piece of advertisement video data is played through the advertisement playing component, wherein the advertisement playing component is also used for responding to the operation of a user to carry out corresponding interactive processing. The video playing window assembly and the advertisement playing assembly are arranged on the video playing interface, and when the target video data is played through the video playing window assembly, the at least one piece of advertisement video data is played through the advertisement playing assembly, so that the target video data and the advertisement video data are played simultaneously, and the playing efficiency is improved.
The above is a schematic scheme of a video playing apparatus of this embodiment. It should be noted that the technical solution of the video playing apparatus and the technical solution of the video playing method belong to the same concept, and details that are not described in detail in the technical solution of the video playing apparatus can be referred to the description of the technical solution of the video playing method.
FIG. 8 illustrates a block diagram of a computing device 800, according to one embodiment of the present description. The components of the computing device 800 include, but are not limited to, memory 810 and a processor 820. The processor 820 is coupled to the memory 810 via a bus 830, and the database 850 is used to store data.
Computing device 800 also includes access device 840, access device 840 enabling computing device 800 to communicate via one or more networks 860. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 840 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 800, as well as other components not shown in FIG. 8, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 8 is for purposes of example only and is not limiting as to the scope of the description. Those skilled in the art may add or replace other components as desired.
Computing device 800 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 800 may also be a mobile or stationary server.
Wherein the processor 820 is configured to execute computer-executable instructions that, when executed by the processor, implement the steps of the video playing method described above.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the video playing method belong to the same concept, and details that are not described in detail in the technical solution of the computing device can be referred to the description of the technical solution of the video playing method.
An embodiment of the present specification further provides a computer-readable storage medium, which stores computer-executable instructions, and when executed by a processor, the computer-executable instructions implement the steps of the video playing method.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the above-mentioned video playing method, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the above-mentioned video playing method.
An embodiment of the present specification further provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the video playing method.
The above is an illustrative scheme of a computer program of the present embodiment. It should be noted that the technical solution of the computer program and the technical solution of the video playing method belong to the same concept, and details that are not described in detail in the technical solution of the computer program can be referred to the description of the technical solution of the video playing method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts, but those skilled in the art should understand that the present embodiment is not limited by the described acts, because some steps may be performed in other sequences or simultaneously according to the present embodiment. Further, those skilled in the art should also appreciate that the embodiments described in this specification are preferred embodiments and that acts and modules referred to are not necessarily required for an embodiment of the specification.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are intended only to aid in the description of the specification. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the teaching of the embodiments of the present disclosure. The embodiments were chosen and described in order to best explain the principles of the embodiments and the practical application, and to thereby enable others skilled in the art to best understand the specification and utilize the specification. The specification is limited only by the claims and their full scope and equivalents.

Claims (14)

1. A video playback method, comprising:
responding to a video playing request, acquiring target video data according to the video playing request, and acquiring at least one piece of advertisement video data;
rendering a video playing interface, wherein the video playing interface comprises a video playing window component and an advertisement playing component;
and when the target video data is played through the video playing window component, the at least one piece of advertisement video data is played through the advertisement playing component.
2. The method of claim 1, the playing, by the ad playing component, the at least one piece of advertising video data, comprising:
under the condition that the number of the advertisement video data is at least two, arranging the at least two advertisement video data to obtain a playing sequence;
and playing an advertisement video data in the playing sequence through the advertisement playing component.
3. The method of claim 2, the playing, by the advertisement playing component, a piece of advertisement video data in the playing sequence, comprising:
selecting one piece of advertisement video data in the playing sequence, playing the advertisement video data through the advertisement playing component, and monitoring the playing progress of the advertisement video data;
and under the condition that the playing progress is finished, switching the advertisement video data played by the advertisement playing component according to the playing sequence.
4. The method of claim 2, the playing, by the advertisement playing component, a piece of advertisement video data in the playing sequence, comprising:
responding to the up-sliding operation or the down-sliding operation of the advertisement playing component, and switching the advertisement video data played by the advertisement playing component according to the playing sequence.
5. The method of claim 2, the playing, by the advertisement playing component, a piece of advertisement video data in the playing sequence, comprising:
selecting one piece of advertisement video data in the playing sequence to play, and monitoring the playing time of the advertisement video data;
and under the condition that the playing time length exceeds a preset time length, adjusting the display size of the advertisement video data in the advertisement playing component.
6. The method of claim 2, the playing the at least two advertisement video data by the advertisement playing component according to the playing sequence, comprising:
and under the condition that all the advertisement video data in the playing sequence are played, closing the advertisement playing component, and adjusting the video playing window component to adapt to the size of the video playing interface.
7. The method of claim 1, the playing, by the ad playing component, the at least one piece of advertising video data, comprising:
and playing bullet screen information aiming at the advertisement video data through the advertisement playing component.
8. The method of claim 1, further comprising:
and responding to the click operation of the advertisement playing component, determining a webpage corresponding to the advertisement video data, and displaying the webpage through the advertisement playing component.
9. The method of claim 1, the playing, by the ad playing component, the at least one piece of advertising video data, comprising:
and controlling the display position of the at least one piece of advertisement video data in the advertisement playing component to shake in response to the preset shaking condition being met.
10. The method of claim 9, further comprising:
and responding to the condition that a preset shaking condition is met, and sending a shaking instruction to the current equipment to enable the current equipment to shake.
11. The method of claim 1, further comprising:
and responding to a skipping instruction, closing the advertisement playing component under the condition that the user identity is a target identity, and adjusting the video playing window component to adapt to the size of the video playing interface.
12. A video playback apparatus comprising:
the system comprises a determining module, a video playing module and a video playing module, wherein the determining module is configured to respond to a video playing request, acquire target video data according to the video playing request and acquire at least one piece of advertisement video data;
the rendering module is configured to render a video playing interface, wherein the video playing interface comprises a video playing window component and an advertisement playing component;
and the playing module is configured to play the at least one piece of advertisement video data through the advertisement playing component when the target video data is played through the video playing window component, wherein the advertisement playing component is further used for responding to the operation of a user to perform corresponding interactive processing.
13. A computing device, comprising:
a memory and a processor;
the memory is configured to store computer-executable instructions and the processor is configured to execute the computer-executable instructions, which when executed by the processor implement the steps of the video playback method of any one of claims 1 to 11.
14. A computer-readable storage medium storing computer-executable instructions which, when executed by a processor, implement the steps of the video playback method of any one of claims 1 to 11.
CN202210333247.XA 2022-03-31 2022-03-31 Video playing method and device Pending CN114615554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210333247.XA CN114615554A (en) 2022-03-31 2022-03-31 Video playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210333247.XA CN114615554A (en) 2022-03-31 2022-03-31 Video playing method and device

Publications (1)

Publication Number Publication Date
CN114615554A true CN114615554A (en) 2022-06-10

Family

ID=81866081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210333247.XA Pending CN114615554A (en) 2022-03-31 2022-03-31 Video playing method and device

Country Status (1)

Country Link
CN (1) CN114615554A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080109844A1 (en) * 2006-11-02 2008-05-08 Adbrite, Inc. Playing video content with advertisement
CN102033707A (en) * 2010-12-15 2011-04-27 广东威创视讯科技股份有限公司 System and method for processing audio/video data in multi-window display
US20120158524A1 (en) * 2010-12-16 2012-06-21 Viacom International Inc. Integration of a Video Player Pushdown Advertising Unit and Digital Media Content
US20120239510A1 (en) * 2009-10-09 2012-09-20 Viacom International, Inc. Integration of an advertising unit containing interactive residual areas and digital media content
CN104168507A (en) * 2014-08-06 2014-11-26 广州华多网络科技有限公司 Video playing method, video processing device and browsing device
CN105512918A (en) * 2016-01-23 2016-04-20 北京掌阔移动传媒科技有限公司 Vibration advertisement pushing method and device
CN109729415A (en) * 2019-01-25 2019-05-07 网宿科技股份有限公司 A kind of video broadcasting method, terminal device and storage medium
CN110570237A (en) * 2019-08-22 2019-12-13 刘付荣 advertisement playing method and system for loading user comments
CN112819536A (en) * 2021-02-01 2021-05-18 北京奇艺世纪科技有限公司 Effect advertisement display method and device, computer equipment and storage medium
CN114155322A (en) * 2021-12-01 2022-03-08 北京字跳网络技术有限公司 Scene picture display control method and device and computer storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080109844A1 (en) * 2006-11-02 2008-05-08 Adbrite, Inc. Playing video content with advertisement
US20120239510A1 (en) * 2009-10-09 2012-09-20 Viacom International, Inc. Integration of an advertising unit containing interactive residual areas and digital media content
CN102033707A (en) * 2010-12-15 2011-04-27 广东威创视讯科技股份有限公司 System and method for processing audio/video data in multi-window display
US20120158524A1 (en) * 2010-12-16 2012-06-21 Viacom International Inc. Integration of a Video Player Pushdown Advertising Unit and Digital Media Content
CN104168507A (en) * 2014-08-06 2014-11-26 广州华多网络科技有限公司 Video playing method, video processing device and browsing device
CN105512918A (en) * 2016-01-23 2016-04-20 北京掌阔移动传媒科技有限公司 Vibration advertisement pushing method and device
CN109729415A (en) * 2019-01-25 2019-05-07 网宿科技股份有限公司 A kind of video broadcasting method, terminal device and storage medium
CN110570237A (en) * 2019-08-22 2019-12-13 刘付荣 advertisement playing method and system for loading user comments
CN112819536A (en) * 2021-02-01 2021-05-18 北京奇艺世纪科技有限公司 Effect advertisement display method and device, computer equipment and storage medium
CN114155322A (en) * 2021-12-01 2022-03-08 北京字跳网络技术有限公司 Scene picture display control method and device and computer storage medium

Similar Documents

Publication Publication Date Title
CN105701217B (en) Information processing method and server
US10448081B2 (en) Multimedia information processing method, terminal, and computer storage medium for interactive user screen
CN105979339B (en) Window display method and client
JP7412348B2 (en) Display device and display control method
CN102905170A (en) Screen popping method and system for video
US11842425B2 (en) Interaction method and apparatus, and electronic device and computer-readable storage medium
CN108234903B (en) Interactive special effect video processing method, medium and terminal equipment
CN102244812A (en) Video content recommendation
CN111435999A (en) Method, device, equipment and storage medium for displaying information on video
CN114125491B (en) Virtual live broadcast control method and device
WO2016126044A1 (en) Service method for providing game play video by additionally applying advertisement content thereto
US11812110B2 (en) Bullet comment processing method and apparatus
CN112040298A (en) Video playing processing method and device, electronic equipment and storage medium
Rich Ultimate Guide to YouTube for Business
CN114051160B (en) Video display method and device
CN112804578A (en) Atmosphere special effect generation method and device, electronic equipment and storage medium
CN112399230B (en) Playing method for mobile terminal application
CN109815407B (en) Information resource pushing method, device, equipment and storage medium
CN108769806B (en) Media content display method and device
CN114679628A (en) Bullet screen adding method and device, electronic equipment and storage medium
de Prato et al. Global trends in mobile: A new global landscape for supply and demand
CN114615554A (en) Video playing method and device
WO2023024803A1 (en) Dynamic cover generating method and apparatus, electronic device, medium, and program product
CN113891144A (en) Video display method and device
CN117014649A (en) Video processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220610

RJ01 Rejection of invention patent application after publication