CN108366278A - A kind of user in video playing interacts implementation method and device - Google Patents

A kind of user in video playing interacts implementation method and device Download PDF

Info

Publication number
CN108366278A
CN108366278A CN201810103049.8A CN201810103049A CN108366278A CN 108366278 A CN108366278 A CN 108366278A CN 201810103049 A CN201810103049 A CN 201810103049A CN 108366278 A CN108366278 A CN 108366278A
Authority
CN
China
Prior art keywords
video
target video
file
information
user
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.)
Granted
Application number
CN201810103049.8A
Other languages
Chinese (zh)
Other versions
CN108366278B (en
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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810103049.8A priority Critical patent/CN108366278B/en
Publication of CN108366278A publication Critical patent/CN108366278A/en
Application granted granted Critical
Publication of CN108366278B publication Critical patent/CN108366278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04N21/47202End-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 content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26233Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving content or additional data duration or size, e.g. length of a movie, size of an executable file
    • 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/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

Abstract

An embodiment of the present invention provides the users in a kind of video playing to interact implementation method and device, wherein the method includes:Client receives order request information of the user to target video, solicited message is sent to vod server, receive the address information and timeline stream file of the target video of program request server feedback, temporal information is included at least in the timeline stream file, according to the address information of target video, the target video is played at video playing interface, according to the temporal information in the timeline stream file of target video, when target video plays each time point into temporal information, preset interactive interface is shown to user, receive the interactive information that user inputs in interactive interface, interactive information is sent to the vod server, receive the interactive information that vod server is sent and display.Using scheme provided in an embodiment of the present invention, it may be implemented to increase user's interactive mode during user watches video, improve the interactivity of video on demand.

Description

A kind of user in video playing interacts implementation method and device
Technical field
The present invention relates to multimedia application technical fields, and realization side is interacted more particularly to the user in a kind of video playing Method and device.
Background technology
Currently, flourishing with internet video, video on demand can be played according to the needs of user and be regarded accordingly Frequency program fundamentally changes the deficiency that user's past passive formula sees TV, because video on demand also has relatively high video Playback quality and it the characteristics such as can playback and be liked by user.Existing video-on-demand mode is regarded in user's program request viewing User cannot participate as viewing live video during frequency, without the operation of user's interaction.
Existing video processing, after the completion of the TV and film production process and TV and film production of early period The processing of the video clipping of phase.
However, inventor has found in the implementation of the present invention, at least there are the following problems for the prior art:
Existing TV and film production and TV and film production for early period completes the place of the video clipping in later stage Reason, be not involved with the interactive operation with user, user's program request watch video during, if user to video certain When one plot or personage have the shake-up of emotion, the interaction process with user is lacked so that viewing order video process interface Property is poor.
Invention content
The user of the embodiment of the present invention being designed to provide in a kind of video playing interacts implementation method and device, with reality Present user increases user's interactive mode during watching video, improves the interactivity of video on demand.Specific technical solution is as follows:
In order to achieve the above objectives, the embodiment of the invention discloses the users in a kind of video playing to interact implementation method, answers For client, the method includes:
Receive order request information of the user to target video;
The order request information is sent to vod server;
Receive the address information and timeline stream file of the target video of the vod server feedback, the target Temporal information is included at least in the timeline stream file of video;The timeline stream file of the target video, is taken by the program request Business device is obtained from pre-stored timeline stream file;
According to the address information of the target video, the target video is played at video playing interface;
According to the temporal information in the timeline stream file of the target video, when the target video play to it is described when Between each time point in information when, show preset interactive interface to user;
The interactive information that user inputs in the interactive interface is received, the interactive information is sent to the order program service Device;
Receive the interactive information that the vod server is sent and display.
Optionally, the temporal information in the timeline stream file further includes:The corresponding duration of each time point;
Temporal information in the timeline stream file according to the target video, when the target video is played to institute When stating each time point in temporal information, preset interactive interface is shown to user, including:
According to each time point and corresponding duration, when the target video is played to each time point When, in the corresponding duration of each time point preset interactive interface is shown to user.
Optionally, described the step of receiving the interactive information and display that the vod server is sent, including:
Receive the interactive information that the vod server is sent, the interactive information described in the video playing interface display.
The embodiment of the invention discloses the users in a kind of video playing to interact implementation method, is applied to vod server, The method includes:
Receive order request information of the user to target video of client transmission;
According to the order request information, the address information of the target video is obtained;
From pre-stored timeline stream file, the corresponding timeline stream file of the target video, the mesh are obtained It marks in the corresponding timeline stream file of video and includes at least temporal information;
The address information of the target video and timeline stream file are fed back into the client;
Receive the interactive information that the client is sent;
The all clients that the interactive information received from client is sent to the currently playing target video are shown Show.
Optionally, the pre-stored timeline stream file is:The pre- video filter VFC systems that first pass through are for The original video file stream of the target video preserved is handled, and extraction obtains the corresponding timeline stream text of the target video Part, and be stored in the vod server.
Optionally, the pre- original video for first passing through video filter VFC systems and being directed to the target video preserved File stream is handled, and extraction obtains the corresponding timeline stream file of the target video, and is stored in the vod server In step, including:
Obtain the original video file stream of the target video preserved;
Line sampling is flowed into using the VFC systems to the original video file of the target video to pre-process;
Obtain the image data stream Sx of the original video file stream;Described image data flow Sx is, in original video file stream Time point and its corresponding image;
Using video filter VFC algorithms to the image data stream Sx of the acquisition and the progress of preset template data Match, obtains scene frame member SFE;The scene frame member SFE includes:Temporal information and its corresponding piece of video in original video file stream Section;The temporal information includes:The time point of corresponding video clip;
Sequentially in time by the scene frame member SFE of the acquisition, it is combined into timeline stream file;
The timeline stream file is stored in the vod server.
Optionally, temporal information in the scene frame member SFE further includes:Time point corresponding duration;
The preset template data includes:For the pre-set character image of the target video, keyword, dynamic effect With highlight scene data;
It is described using video filter VFC algorithms to the image data stream Sx of the acquisition and preset template data into Row matching obtains scene frame member SFE, including:
Using video filter VFC algorithms to the image data stream Sx and preset character image, key of the acquisition Word, dynamic effect and highlight scene data are matched, and scene frame member SFE is obtained;
The scene frame member SFE by the acquisition sequentially in time, is combined into before timeline stream file, also wraps It includes:
According in the keyword, character image and the scene frame member SFE time point and its corresponding duration Judge that the scene frame member SFE of the acquisition whether there is redundant data, the redundant data is filtered out.
In order to achieve the above objectives, the embodiment of the invention discloses the users in a kind of video playing to interact realization device, answers For client, described device includes:
First receiving module, for receiving order request information of the user to target video;
First sending module, for the order request information to be sent to vod server;
Second receiving module, the address information of the target video for receiving the vod server feedback and time Line stream file includes at least temporal information in the timeline stream file of the target video;The timeline stream of the target video File is obtained by the vod server from pre-stored timeline stream file;
Playing module plays the target at video playing interface and regards for the address information according to the target video Frequently;
Display module is used for according to the temporal information in the timeline stream file of the target video, when the target regards When frequency was played to each time point in the temporal information, preset interactive interface is shown to user;
Second sending module, the interactive information inputted in the interactive interface for receiving user, by the interactive information It is sent to the vod server;
Display module, for receiving the interactive information and display that the vod server is sent.
Optionally, the temporal information in the timeline stream file for the target video that second receiving module receives, Further include:The corresponding duration of each time point;
The display module, is specifically used for:
According to each time point and corresponding duration, when the target video is played to each time point When, in the corresponding duration of each time point preset interactive interface is shown to user.
Optionally, the display module, is specifically used for:
Receive the interactive information that the vod server is sent, the interactive information described in the video playing interface display.
The embodiment of the invention discloses the users in a kind of video playing to interact realization device, is applied to vod server, Described device includes:
Third receiving module, order request information of the user to target video for receiving client transmission;
First acquisition module, for according to the order request information, obtaining the address information of the target video;
Second acquisition module, for from pre-stored timeline stream file, obtain the target video it is corresponding when Between line stream file, include at least temporal information in the corresponding timeline stream file of the target video;
Third sending module, for the address information of the target video and timeline stream file to be fed back to the client End;
4th receiving module, the interactive information sent for receiving the client;
4th sending module, for the interactive information received from client to be sent to the currently playing target video All clients are shown.
Optionally, described device further includes auditing module;
The auditing module is used for, and the interactive information received from client is sent to the currently playing target described Before all clients of video are shown, the interactive information received is audited by preset rules;
4th sending module, is specifically used for:The interactive information that the slave client that audit is passed through receives, is sent to and works as The preceding all clients for playing the target video are shown.
Optionally, described device further includes:File storage module is directed to for first passing through video filter VFC systems in advance The original video file stream of the target video preserved is handled, and extraction obtains the corresponding timeline stream of the target video File, and the corresponding timeline stream file of the target video is stored in the vod server.
Optionally, the file storage module, including:
Third acquisition submodule, the original video file stream for obtaining the target video preserved;
Submodule is pre-processed, for flowing into line sampling to the original video file of the target video using the VFC systems Pretreatment;
4th acquisition submodule, the image data stream Sx for obtaining the original video file stream;Described image data flow Sx is time point and its corresponding image in original video file stream;
5th acquisition submodule, for the image data stream Sx using video filter VFC algorithms to the acquisition, and in advance If template data matched, obtain scene frame member SFE;The scene frame member SFE includes:The time believes in original video file stream Breath and its corresponding video clip;The temporal information includes:The time point of corresponding video clip;
Submodule is combined, for the scene frame member SFE of the acquisition sequentially in time, to be combined into timeline stream text Part;
File sub-module stored, for the timeline stream file to be stored in the vod server.
Optionally, temporal information in the scene frame member SFE acquired in the 5th acquisition submodule further includes:When Between put corresponding duration;
The preset template data includes:For the pre-set character image of the target video, keyword, dynamic effect With highlight scene data;
5th acquisition submodule, is specifically used for:
Using video filter VFC algorithms to the image data stream Sx and preset character image, key of the acquisition Word, dynamic effect and highlight scene data are matched, and scene frame member SFE is obtained;
The file storage module further includes:Data filtering submodule;
The data filtering submodule, for the scene frame member SFE of the acquisition sequentially in time, to be combined into the time Before line stream file, according in the keyword, character image and the scene frame member SFE time point and its corresponding hold Continuous duration judges that the scene frame member SFE of the acquisition whether there is redundant data, and the redundant data is filtered out.
At the another aspect implemented of the present invention, additionally provide a kind of client device, which is characterized in that including processor, Communication interface, memory and communication bus, wherein processor, communication interface, memory are completed each other by communication bus Communication;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes first aspect disclosed by the embodiments of the present invention Any method and step applied to client.
At the another aspect that the present invention is implemented, a kind of Living streaming server is additionally provided, which is characterized in that including processing Device, communication interface, memory and communication bus, wherein processor, communication interface, memory are completed mutual by communication bus Between communication;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes first aspect disclosed by the embodiments of the present invention Any method and step applied to vod server.
At the another aspect that the present invention is implemented, a kind of computer readable storage medium is additionally provided, it is described computer-readable Instruction is stored in storage medium, when run on a computer so that computer executes any of the above-described video and broadcasts User in putting interacts implementation method.
At the another aspect that the present invention is implemented, the embodiment of the present invention additionally provides a kind of computer program production comprising instruction Product, when run on a computer so that the user that computer executes in any of the above-described video playing interacts realization Method.
User in a kind of video playing provided in an embodiment of the present invention interacts implementation method and device, is carried out in client During target video program request, program request solicited message is sent to vod server;Vod server receives order request letter After breath, the address information of the target video is obtained, and the target is obtained from pre-stored timeline stream file The corresponding timeline stream file of video, it is then that the address information of target video and timeline stream file comprising temporal information is anti- It feeds client;After client receives vod server feedack, according to the target of vod server feedback The address information and timeline stream file of video play the target video, when the target video is broadcast at video playing interface When putting each time point of temporal information into the timeline stream file of the target video, preset interactive boundary is shown to user Face receives the interactive information that user inputs in the interactive interface, and the interactive information is sent to the vod server; The vod server receives the interactive information that client is sent, and is then sent to the interactive information received from client currently The all clients for playing the target video are shown, are realized and are increased user's interaction during user watches video Mode improves the interactivity of video on demand.Certainly, it implements any of the products of the present invention or method must be not necessarily required to reach simultaneously To all the above advantage.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described.
Fig. 1 is that the user in the first video playing provided in an embodiment of the present invention interacts implementation method flow chart;
Fig. 2 is a flow of user's interaction implementation method in second of video playing provided in an embodiment of the present invention Figure;
Fig. 3 is another flow of user's interaction implementation method in second of video playing provided in an embodiment of the present invention Figure;
Fig. 4 is a flow chart of the method for obtaining and storing video time line stream file in the embodiment of the present invention;
Fig. 5 is another flow chart for the method for obtaining and storing video time line stream file in the embodiment of the present invention;
Fig. 6 is that the first user provided in an embodiment of the present invention interacts realization device structural schematic diagram;
Fig. 7 is the structural schematic diagram that second of user provided in an embodiment of the present invention interacts realization device;
Fig. 8 is another structural schematic diagram that second of user provided in an embodiment of the present invention interacts realization device;
Fig. 9 is a structural schematic diagram of file storage module in the embodiment of the present invention;
Figure 10 is another structural schematic diagram of file storage module in the embodiment of the present invention;
Figure 11 is a kind of client device structural schematic diagram provided in an embodiment of the present invention;
Figure 12 is a kind of Living streaming server structural schematic diagram provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes.
Fig. 1 is that the user in the first video playing provided in an embodiment of the present invention interacts implementation method, is applied to client End, this method may include:
S110 receives order request information of the user to target video.
In the embodiment of the present invention, user needs, when client carries out the program request of video, directly to regard target in client Frequency carries out program request operation, and client receives order request information of the user to target video, can in the order request information With the video identifier including the target video.
Client described in the embodiment of the present invention can be the handheld devices such as mobile phone, tablet computer, palm PC, can also It is the terminal devices such as desktop computer, the concrete form for the client that the embodiment of the present invention can be directed to is not limited thereto.
The order request information is sent to vod server by S120.
In the embodiment of the present invention, client, will be described after receiving user to the order request information of target video The video identifier of target video included in order request information and order request information turns to be sent to vod server together.
Vod server described in the embodiment of the present invention can be CMS (Content Management System, content Management system) film server can also be other servers that can realize video on demand, the embodiment of the present invention is to program request The concrete form of server is not construed as limiting.
S130 receives the address information and timeline stream file of the target video of the vod server feedback;Institute It states and includes at least temporal information in the timeline stream file of target video;The timeline stream file of the target video, by described What vod server was obtained from pre-stored timeline stream file.
In embodiments of the present invention, client by the user of reception to the order request information and order request of target video After the video identifier of target video included in information is forwarded to vod server together, the vod server feedback is received The corresponding address information of the target video and timeline stream file.The corresponding address information of the target video can be: Store the address information of the initial data of the target video;The corresponding timeline stream file of the target video is:By the point It broadcasts what server was obtained from pre-stored timeline stream file, time letter has been included at least in the timeline stream file Breath.
S140 plays the target video according to the address information of the target video at video playing interface.
In embodiments of the present invention, the address for the target video that client can be fed back according to the vod server Information plays the target at the video playing interface of client according to the address information of the initial data of target video and regards Frequently.
S150, according to the temporal information in the timeline stream file of the target video, when the target video play to When each time point in the temporal information, preset interactive interface is shown to user.
Optionally, the temporal information in the timeline stream file, including:Time point.
In the embodiment of the present invention, client can detect broadcasting for the target video in real time while playing the target video Degree of putting into, when the target video was played to each time point in the corresponding timeline stream file of the target video, all Preset interactive interface can be shown to user.The preset interactive interface can shift to an earlier date ready-made interaction in client-side Interface may include input area, expression region, article region etc. in interface, and interactive interface is preset in the embodiment of the present invention Concrete form this is not restricted.
In other examples, in the temporal information in the timeline stream file in addition to including all time points, Further comprise the corresponding duration of each time point.In this case, it shows preset interactive interface to user, can wrap It includes:
According to each time point and corresponding duration, when the target video is played to each time point When, in the corresponding duration of each time point preset interactive interface is shown to user.That is, whenever video When being played to a time point, start to show preset interactive interface, the duration of displaying is exactly duration, when illustrating is continued After duration, so that it may to close the interactive interface, no longer show.
S160 receives the interactive information that user inputs in the interactive interface, the interactive information is sent to the point Broadcast server.
In embodiments of the present invention, it in the timeline stream file can also include highlight scene, dynamic effect, keyword, quotient The information such as product, when target video, which is played, sometime to be put into the temporal information in timeline stream file, user can be at this In the interactive interface shown in time point corresponding duration, is commented on or cut according to the highlight scene, dynamic effect Figure forwarding etc. participates in bean vermicelli interaction etc. according to the keyword, can participate in purchase according to the commodity or be closed with businessman Make etc., for progress such as personage, scene, dynamic effects in the interactive interface that can also be shown in corresponding duration at the time point It comments on, send and the interactive operations such as spend.The position of default interactive interface displaying can video playing interface it is any can display location, The embodiment of the present invention is not restricted this.Certainly, the application is only illustrated with above-mentioned realization method, the time in practical application The information and mode that the content and user that line stream file is included interact in interactive interface are not limited to that.
Client receives the interactive information that user inputs in the interactive interface, and the interactive information can be above-mentioned appoints Then the interactive information received is forwarded in the vod server by one interactive information.
S170 receives the interactive information that the vod server is sent and display.
In the embodiment of the present invention, client can incite somebody to action after receiving the interactive information that the vod server is sent The interactive information is shown at the video playing interface.By the interactive information video playing interface display mode Can be that the display in the form of barrage in video playing interface can also be the other positions in broadcast interface with window-shaped Formula is shown, be can also be and is shown in a manner of coating in broadcast interface, and interactive information is in the video in the embodiment of the present invention This is not restricted for the specific method that broadcast interface is shown.
On the basis of user in video playing shown in Fig. 1 interacts implementation method, the embodiment of the present invention is a kind of optional In embodiment, the interactive information received from each client for watching same video can be sent to these by vod server Client is shown.That is, after client receives the interactive information that vod server is sent, in the video playing The interactive information of interface display includes not only the interactive information that the client itself is sent, further includes what other clients were sent Interactive information.In this way, so seeing that the user of display interactive information can also be according to the interactive information of video playing interface display It comments on etc. again.
User in the first video playing provided in an embodiment of the present invention interacts implementation method, and target is carried out in client During video on demand, program request solicited message is sent to vod server, after receiving vod server feedack, According to the address information and timeline stream file of the target video of vod server feedback, institute is played at video playing interface Target video is stated, when the target video plays each time of the temporal information into the timeline stream file of the target video When point, preset interactive interface is shown to user, receives the interactive information that user inputs in the interactive interface, and by the friendship Mutual information is sent to the vod server, after receiving the interactive information that vod server is sent, in video playing circle Face shows the interactive information, realizes and increases user's interactive mode during user watches video, improves video point The interactivity broadcast.
Fig. 2 is that the user in second of video playing provided in an embodiment of the present invention interacts the method realized, application In vod server, this method may include:
S210 receives order request information of the user to target video of client transmission.
In the embodiment of the present invention, client will include after the order request information for receiving user's progress target video There is the order request information of target video video identifier to be forwarded to vod server, vod server receives the packet that client is sent Order request information of the user containing target video video identifier to target video.
S220 obtains the address information of the target video according to the order request information.
In the embodiment of the present invention, what vod server received client transmission includes the program request of target video video identifier After solicited message, is searched according to the video identifier of the target video and obtain the corresponding address information of the target video.This In inventive embodiments, according to the video identifier of target video, the mesh can be searched in the local data base of vod server The corresponding address information of video is marked, the corresponding address information of the target video can also be obtained from other servers, specifically The address information acquisition modes embodiment of the present invention of the target video this is not restricted.
S230 obtains the corresponding timeline stream file of the target video, institute from pre-stored timeline stream file It states and includes at least temporal information in the corresponding timeline stream file of target video.
Optionally, the pre-stored timeline stream file is:The pre- video filter VFC systems that first pass through are for The original video file stream of the target video preserved is handled, and extraction obtains the corresponding timeline stream text of the target video Part, and be stored in the vod server.
In the embodiment of the present invention, what vod server received client transmission includes the program request of target video video identifier After solicited message, while searching the address information for obtaining the target video, after which or before it, according to described The video identifier of target video is searched from pre-stored timeline stream file and obtains the target video corresponding time Line stream file;Temporal information is included at least in the corresponding timeline stream file of the target video.
A kind of optional realization method is, according to the video identifier of the target video, in the local number of vod server According to searching the video identifier in library with the presence or absence of there is corresponding timeline stream file, and if it exists, obtain the video identifier pair The timeline stream file answered, the corresponding timeline stream file of as described target video.The pre-stored timeline stream text Part can be that the vod server prestores in the local database, and can also be other can realize video on demand Server is stored in advance in the database of the vod server.The acquisition side of specific pre-stored timeline stream file Method will be described below, and details are not described herein again.Certainly, the application is only illustrated with above-mentioned realization method, practical It the acquisition modes of pre-stored timeline stream file and the corresponding timeline stream file of target video and is not only limited in In this.
The address information of the target video and timeline stream file are fed back to the client by S240.
After the vod server obtains address information and the timeline stream file of the target video, obtained described The address information and timeline stream file of the target video taken feed back to the client.If in step S230, the program request When server does not find the corresponding timeline stream file of the video identifier in the local database, then the order program service The address information of the target video of acquisition is only fed back to the client by device.
S250 receives the interactive information that the client is sent.
In the embodiment of the present invention, vod server feeds back to the address information of the target video and timeline stream file After the client, client plays the target video according to the address information of target video at video playing interface.When When the target video plays each time point in the temporal information into its corresponding timeline stream file, shown to user Then the interactive information that user inputs in interactive interface is forwarded to vod server, vod server by preset interactive interface Receive the interactive information that the client is sent.
S260, by the interactive information received from client be sent to all clients of the currently playing target video into Row display.
A kind of realization method is in the embodiment of the present invention, vod server receive interactive information that the client is sent it Afterwards, all clients that the interactive information is fed back to the currently playing target video in real time show, the interaction The content and client that information is included to the display mode of the interactive information in the first embodiment above specifically Bright, details are not described herein again.
User in second of video playing provided in an embodiment of the present invention interacts the method realized, vod server Receive client send include target video video identifier user to the order request information of target video after, obtain The address information of the target video, and obtain from pre-stored timeline stream file the target video it is corresponding when Between line stream file, the address information of target video and timeline stream file comprising temporal information are then fed back into client, Client plays the target video, when the target video is broadcast according to the address information of target video at video playing interface When putting each time point in the temporal information into its corresponding timeline stream file, preset interactive boundary is shown to user Face, is then forwarded to vod server by the interactive information that user inputs in interactive interface, and vod server receives the client The interactive information sent is held, the interactive information received from client is finally sent to all of the currently playing target video Client is shown, is realized and is increased user's interactive mode during user watches video, improves video on demand Interactivity.
Fig. 3 is that the user in second of video playing provided in an embodiment of the present invention interacts another method realized, is answered For vod server, the step S310-S350 in this method is identical as the S210-S250 in method shown in Fig. 2 respectively, this hair It is bright that therefore not to repeat here.
S360 is audited the interactive information received by preset rules.
A kind of realization method can be in the embodiment of the present invention, and in embodiment shown in Figure 1, client receives user In the interactive information of interactive interface input, the interactive information can be commenting for progress such as personage, scene, dynamic effects By, send and spend.It, can be in the interactive information after the vod server receives the interactive information that the client is sent Comment audited according to default rule.Can be the audit comment in such a way that default rule is audited In whether have inappropriate word, uncultivated speech etc..Certainly, the application is only illustrated with above-mentioned realization method, real It is not limited to that in such a way that preset rules audit interactive information in the application of border.
S370, the interactive information that the slave client that audit is passed through receives, is sent to the currently playing target video All clients are shown.
A kind of realization method of the embodiment of the present invention can be, in step S360, interaction of the vod server to receiving After information is audited by preset rules, the interactive information for the slave client reception that audit is passed through is sent to currently playing The all clients of the target video are shown;By audit not over slave client receive interactive information filter Fall.
User in second of video playing provided in an embodiment of the present invention interacts another method realized, order program service Device receive client send include target video video identifier user to the order request information of target video after, obtain The target video address information, and from pre-stored timeline stream file to obtain the target video corresponding Then the address information of target video and timeline stream file comprising temporal information are fed back to client by timeline stream file End, client play the target video, when the target video according to the address information of target video at video playing interface When playing to each time point in the temporal information in its corresponding timeline stream file, preset interactive boundary is shown to user Face, is then forwarded to vod server by the interactive information that user inputs in interactive interface, and vod server receives the client The interactive information sent is held, the interactive information received from client is finally sent to all of the currently playing target video Client is shown, is realized and is increased user's interactive mode during user watches video, improves video on demand Interactivity.Also, vod server audits the interactive information received, and the interactive information that audit passes through is sent to and is worked as The preceding all clients for playing the target video are shown so that the interactive information that client user sees is more civilized, uses It experiences more preferably at family.
Fig. 4 is the method for obtaining and storing video time line stream file in the embodiment of the present invention, may include:
S410 obtains the original video file stream of the target video preserved.
In the embodiment of the present invention, the CMS films server for storing data, so as to client or other applications APP access.If the vod server is CMS film servers, can be on the server that other can realize video on demand The original video file stream preserved for the target video is obtained, if the vod server is to be generally possible to realize video point When the server broadcast, it can obtain and preserved for the target video directly on the server that can realize video on demand Original video file stream, the specific method for obtaining original video file stream can refer to the prior art, and details are not described herein again.
S420 flows into line sampling to the original video file of the target video using video filter VFC systems and pre-processes.
It, can be by video filter VFC (Video Filter Center) system for acquisition in the embodiment of the present invention The target video preserved original video file flow into line sampling pretreatment.It samples pretreated method, can be needle Image detection frame by frame is carried out to the corresponding data of the original video file stream of target video, is taken out according to preset time interval It takes, preset time interval can be configured according to actual demand in practical application, for example be set as extracting one in 5 seconds or 10 seconds It is secondary.
S430 obtains the image data stream Sx of the original video file stream;Described image data flow Sx is:Original video file Time point and its corresponding image in stream.
In the embodiment of the present invention, it is pre- that line sampling is flowed into the original video file of the target video using the VFC systems Processing, is shown as Sx, Sx represents some scene in a series of scenes of original video, described by the image frame data flow table of acquisition Image data stream Sx is time point and its corresponding image in original video file stream.
S440, using video filter VFC algorithms to the image data stream Sx of the acquisition and preset template data into Row matching, obtains scene frame member SFE;The scene frame member SFE includes:It temporal information and its corresponding is regarded in original video file stream Frequency segment;The temporal information includes:The time point of corresponding video clip.
Optionally, the preset template data includes:For the pre-set character image of the target video, key Word, dynamic effect and highlight scene data;
So, the image data stream Sx using video filter VFC algorithms to the acquisition and preset template number According to being matched, scene frame member SFE is obtained, including:
Using video filter VFC algorithms to the image data stream Sx and preset character image, key of the acquisition Word, dynamic effect and highlight scene data are matched, and scene frame member SFE is obtained;
In practical application, it may include being directed to the pre-set figure map of the target video that preset template data, which removes, Except picture, keyword, dynamic effect and highlight scene data, those skilled in the art can also voluntarily add required number according to demand According to, such as commodity etc..
Using video filter VFC algorithms to the image data stream Sx and preset character image, key of the acquisition Word, dynamic effect and highlight scene data are matched, and the process of scene frame member SFE is obtained.A kind of realization method can be video filter Include various other algorithms, such as the identification of person recognition, article etc. in wave device VFC algorithms, can be calculated using video filter VFC Person recognition algorithm in method, one by one to being preset in personage in the image in the image data stream Sx of the acquisition and template data Character image be identified, image data is matched;Using the article recognizer in video filter VFC algorithms, by Preset scene article is identified in article and template data in image in the image data stream Sx of a pair of acquisition, and Image data is matched, and specific knowledge method for distinguishing is referred to the prior art, and details are not described herein again.
A kind of realization method of the embodiment of the present invention can be, using video filter VFC algorithms to the image of the acquisition It, will be between similar time after data flow Sx and preset character image, keyword, dynamic effect and highlight scene data are matched The image data stream Sx described in the interior Same Scene or similar scene and the higher image data of default template data matching degree and Its corresponding time generates corresponding video clip, first (Scene frame element, SFE) as scene frame, then, institute Stating scene frame member SFE may include:Temporal information and its corresponding video clip in original video file stream, wherein the time Information may include:The time point of corresponding video clip.
S450 sequentially in time by the scene frame member SFE of the acquisition is combined into timeline stream file.
Optionally, temporal information in the scene frame member SFE further includes:The time point of the video clip is corresponding to hold Continuous duration.
A kind of realization method of the embodiment of the present invention can be, can be with its time for the scene frame member SFE of the acquisition Point is label, obtains each corresponding duration of scene frame member, is carried out according to the time point of each scene frame member SFE Sequence, all scene frame member SFE after sequence are put in one file, timeline stream file are combined into, then the time Line stream file just contains temporal information and its corresponding video clip, and time point and its correspondence are wherein contained in temporal information Duration.
Another kind of embodiment of the present invention realization method can be that, for the scene frame member SFE of the acquisition, can also be directed to Each scene frame member SFE is that label is encoded with its time point, is extracted in the corresponding video clip of scene frame member Personage, article, duration, keyword and dynamic effect etc., i.e. the sequence frame data stream of current scene frame member, then according to each field The time point of scape frame member SFE is ranked up, and all scene frame member SFE after sequence is put in one file, when being combined into Between line stream file, then the timeline stream file just contain temporal information, its corresponding video clip, personage, article, continue The sequences frame data such as duration, keyword and dynamic effect.The specific application for timeline stream file can be found in the present invention the first User in video playing interacts the embodiment of implementation method, and details are not described herein again.
The timeline stream file is stored in the vod server by S460.
In the embodiment of the present invention, if the vod server is CMS film servers, video will can be realized at other The timeline stream file obtained on the server of program request is stored in the CMS films server;If the vod server is When being generally possible to realize the server of video on demand, the timeline stream file of acquisition can be directly stored in the data of the server In library.
In practical application, for the timeline stream file being combined into, a kind of storage mode can be by the timeline stream File is serialized, and is then preserved to serialized data, and one of which, which preserves format, to be:
Wherein, data is coding, and time is time point, and duration is duration, and name is name or item name, Url is Resource Locator address, and count is counter.
Certainly, the application is only illustrated with above-mentioned realization method, to the sequence of timeline stream file in practical application Change and its format of preservation, mode are not limited to that.
A method of video time line stream file is obtained and stored in the embodiment of the present invention, uses video filter first VFC systems pre-process the original video file stream of the target video, obtain image data stream Sx, are then filtered using video Wave device VFC algorithms are to the image data stream Sx of the acquisition and preset character image, keyword, dynamic effect and highlight scene number According to being matched, obtain scene frame member SFE, and then generate the corresponding timeline stream file of the target video, client into Interactive interface can be shown to user, realize and watched in user during row video playing according to the timeline stream file User's interactive mode is increased during video, improves the interactivity of video on demand.
Fig. 5 is to obtain and store another method of video time line stream file in the embodiment of the present invention, in this method Step S510-S540, S560, S570 are identical as the S410-S460 in method shown in Fig. 4 respectively, and therefore not to repeat here by the present invention.
S550, according in the keyword, character image and the scene frame member SFE time point and its corresponding hold Continuous duration judges that the scene frame member SFE of the acquisition whether there is redundant data, and the redundant data is filtered out.
It, can be according to keyword, character image and institute for the scene frame member SFE of the acquisition in the embodiment of the present invention Stating time point and its corresponding duration in scene frame member SFE judges the scene frame member SFE of the acquisition with the presence or absence of superfluous Remainder evidence.One of which implementation method can be, according to time point of each scene frame member SFE of the acquisition and its corresponding Duration judges whether time point has the data of redundancy to retain the first of redundancy if there is redundancy within duration A scene frame member SFE, by other, there are the scene frame member SFE of redundancy to filter out.Certainly, the application is only with above-mentioned realization method It illustrates, judges that scene frame member SFE is not limited to that with the presence or absence of the mode of redundancy in practical application.
Another method of video time line stream file is obtained and stored in the embodiment of the present invention, uses video filtering first Device VFC systems pre-process the original video file stream of the target video, obtain image data stream Sx, then use video Filter VFC algorithms are to the image data stream Sx of the acquisition and preset character image, keyword, dynamic effect and highlight scene Data are matched, and scene frame member SFE is obtained, and then generate the corresponding timeline stream file of the target video, in client It carries out to show interactive interface to user according to the timeline stream file during video playing, realizes and seen in user It sees that video increases user's interactive mode in the process, improves the interactivity of video on demand.
User's interaction implementation method in being played with aforementioned video is corresponding, at the another aspect that the present invention is implemented, also carries The user supplied in video playing interacts realization device.Fig. 6 is that the first user provided in an embodiment of the present invention interacts realization dress Structural schematic diagram is set, client is applied to, which includes:
First receiving module 610, for receiving order request information of the user to target video;
First sending module 620, for the order request information to be sent to vod server;
Second receiving module 630, the address information of the target video for receiving vod server feedback and Timeline stream file includes at least temporal information in the timeline stream file of the target video;The time of the target video Line stream file is obtained by the vod server from pre-stored timeline stream file;
Playing module 640 plays the target for the address information according to the target video at video playing interface Video;
Display module 650 is used for according to the temporal information in the timeline stream file of the target video, when the target When each time point in video playing to the temporal information, preset interactive interface is shown to user;
Second sending module 660, the interactive information inputted in the interactive interface for receiving user believe the interaction Breath is sent to the vod server;
Display module 670, for receiving the interactive information and display that the vod server is sent.
The first user provided in an embodiment of the present invention interacts realization device, and the mistake of target video program request is carried out in client Cheng Zhong sends program request solicited message, after receiving vod server feedack, according to order program service to vod server The address information and timeline stream file of the target video of device feedback play the target video at video playing interface, When the target video plays each time point of temporal information into the timeline stream file of the target video, to user It shows preset interactive interface, receives the interactive information that user inputs in the interactive interface, and the interactive information is sent To the vod server, after receiving the interactive information that vod server is sent, described in the video playing interface display Interactive information realizes and increases user's interactive mode during user watches video, improves the interactivity of video on demand.
It should be noted that the device of the embodiment of the present invention is corresponding with user shown in FIG. 1 interaction implementation method Device, all embodiments that user shown in FIG. 1 interacts implementation method are suitable for the device, and can reach same or similar Advantageous effect.
Optionally, the temporal information in the timeline stream file for the target video that second receiving module receives, Further include:The corresponding duration of each time point;
The display module, is specifically used for:
According to each time point and corresponding duration, when the target video is played to each time point When, in the corresponding duration of each time point preset interactive interface is shown to user.
Optionally, the display module, is specifically used for:
Receive the interactive information that the vod server is sent, the interactive information described in the video playing interface display.
Fig. 7 is the structural schematic diagram that second of user provided in an embodiment of the present invention interacts realization device, is applied to Vod server, the device include:
Third receiving module 710, order request information of the user to target video for receiving client transmission;
First acquisition module 720, for according to the order request information, obtaining the address information of the target video;
Second acquisition module 730, for from pre-stored timeline stream file, it is corresponding to obtain the target video Timeline stream file includes at least temporal information in the corresponding timeline stream file of the target video;
Third sending module 740, it is described for feeding back to the address information of the target video and timeline stream file Client;
4th receiving module 750, the interactive information sent for receiving the client;
4th sending module 760 is regarded for the interactive information received from client to be sent to the currently playing target The all clients of frequency are shown.
Second of user provided in an embodiment of the present invention interacts the device realized, vod server receives client hair Send include target video video identifier user to the order request information of target video after, obtain the target video Address information, and the corresponding timeline stream file of the target video is obtained from pre-stored timeline stream file, Then the address information of target video and timeline stream file comprising temporal information are fed back into client, client is according to mesh The address information for marking video plays the target video at video playing interface, when the target video play it is corresponding to its When each time point in the temporal information in timeline stream file, preset interactive interface is shown to user, then by user It is forwarded to vod server in the interactive information of interactive interface input, vod server receives the interaction letter that the client is sent Breath, all clients that the interactive information received from client is finally sent to the currently playing target video are shown Show, realizes and increase user's interactive mode during user watches video, improve the interactivity of video on demand.
It should be noted that the device of the embodiment of the present invention is to interact the method pair realized with user shown in Fig. 2 The device answered, all embodiments that user shown in FIG. 1 interacts the method realized are suitable for the device, and can reach Same or analogous advantageous effect.
Fig. 8 is another structural schematic diagram that second of user provided in an embodiment of the present invention interacts realization device;
Third receiving module 810, order request information of the user to target video for receiving client transmission;
First acquisition module 820, for according to the order request information, obtaining the address information of the target video;
Second acquisition module 830, for from pre-stored timeline stream file, it is corresponding to obtain the target video Timeline stream file includes at least temporal information in the corresponding timeline stream file of the target video;
Third sending module 840, it is described for feeding back to the address information of the target video and timeline stream file Client;
4th receiving module 850, the interactive information sent for receiving the client;
Auditing module 860, for being audited by preset rules to the interactive information received;
4th sending module 870, the interactive information received for that will audit the slave client passed through, is sent to currently playing The all clients of the target video are shown.
User in second of video playing provided in an embodiment of the present invention interacts another device realized, order program service Device receive client send include target video video identifier user to the order request information of target video after, obtain The target video address information, and from pre-stored timeline stream file to obtain the target video corresponding Then the address information of target video and timeline stream file comprising temporal information are fed back to client by timeline stream file End, client play the target video, when the target video according to the address information of target video at video playing interface When playing to each time point in the temporal information in its corresponding timeline stream file, preset interactive boundary is shown to user Face, is then forwarded to vod server by the interactive information that user inputs in interactive interface, and vod server receives the client The interactive information sent is held, the interactive information received from client is finally sent to all of the currently playing target video Client is shown, is realized and is increased user's interactive mode during user watches video, improves video on demand Interactivity.Also, vod server audits the interactive information received, and the interactive information that audit passes through is sent to and is worked as The preceding all clients for playing the target video are shown so that the interactive information that client user sees is more civilized, uses It experiences more preferably at family.
It should be noted that the device of the embodiment of the present invention is another method that user's interaction as shown in figure 3 is realized Corresponding device, all embodiments that user shown in Fig. 3 interacts another method realized are suitable for the device, and equal energy Reach same or analogous advantageous effect.
In other embodiments of the present invention, user, which interacts realization device, to include:File storage module, for advance The original video file stream that the target video preserved is directed to by video filter VFC systems is handled, and extraction obtains The corresponding timeline stream file of the target video, and the corresponding timeline stream file of the target video is stored in the point It broadcasts in server.
Specifically, as shown in figure 9, Fig. 9 be the embodiment of the present invention in file storage module a structural schematic diagram, the dress Set including:
Third acquisition submodule 910, the original video file stream for obtaining the target video preserved;
Submodule 920 is pre-processed, for the original video file stream using video filter VFC systems to the target video It is sampled pretreatment;
4th acquisition submodule 930, the image data stream Sx for obtaining the original video file stream;Described image data It is time point and its corresponding image in original video file stream to flow Sx;
5th acquisition submodule 940, for using image data stream Sx of the video filter VFC algorithms to the acquisition, And preset template data is matched, and scene frame member SFE is obtained;The scene frame member SFE includes:When in original video file stream Between information and its corresponding video clip;The temporal information includes:The time point of corresponding video clip;
Submodule 950 is combined, for the scene frame member SFE of the acquisition sequentially in time, to be combined into timeline stream File;
File sub-module stored 960, for the timeline stream file to be stored in the vod server.
File storage module in the embodiment of the present invention uses video filter VFC systems to the target video first Original video file stream pre-processed, obtain image data stream Sx, then use video filter VFC algorithms to the acquisition Image data stream Sx and preset character image, keyword, dynamic effect and highlight scene data matched, obtain scene frame First SFE, and then generate the corresponding timeline stream file of the target video, can be with during client carries out video playing Interactive interface is shown to user, realize and increase user's friendship during user watches video according to the timeline stream file Mutual mode improves the interactivity of video on demand.
It should be noted that the device of the embodiment of the present invention is acquisition as shown in fig. 4 and stores video time line stream text The corresponding device of a method of part, all realities of a method shown in Fig. 4 for obtaining and storing video time line stream file It applies example and is suitable for the device, and can reach same or analogous advantageous effect.
Figure 10 is another structural schematic diagram of file storage module in the embodiment of the present invention, which includes:
Third acquisition submodule 101, the original video file stream for obtaining the target video preserved;
Submodule 102 is pre-processed, for the original video file stream using video filter VFC systems to the target video It is sampled pretreatment;
4th acquisition submodule 103, the image data stream Sx for obtaining the original video file stream;Described image data It is time point and its corresponding image in original video file stream to flow Sx;
5th acquisition submodule 104, for using image data stream Sx of the video filter VFC algorithms to the acquisition, And preset template data is matched, and scene frame member SFE is obtained;The scene frame member SFE includes:When in original video file stream Between information and its corresponding video clip;The temporal information includes:The time point of corresponding video clip;
Data filtering submodule 105, for the scene frame member SFE of the acquisition sequentially in time, to be combined into the time Before line stream file, according in the keyword, character image and the scene frame member SFE time point and its corresponding hold Continuous duration judges that the scene frame member SFE of the acquisition whether there is redundant data, and the redundant data is filtered out;
Submodule 106 is combined, for the scene frame member SFE of the acquisition sequentially in time, to be combined into timeline stream File;
File sub-module stored 107, for the timeline stream file to be stored in the vod server.
File storage module in the embodiment of the present invention uses video filter VFC systems to the target video first Original video file stream is pre-processed, and image data stream Sx is obtained, and then uses video filter VFC algorithms to the acquisition Image data stream Sx and preset character image, keyword, dynamic effect and highlight scene data are matched, and scene frame member is obtained SFE, and then the corresponding timeline stream file of the target video is generated, it can root during client carries out video playing Interactive interface is shown to user, realize and increase user's interaction during user watches video according to the timeline stream file Mode improves the interactivity of video on demand.
It should be noted that the device of the embodiment of the present invention is and acquisition shown in fig. 5 and stores video time line stream text The corresponding device of another method of part, the institute of another method shown in fig. 5 for obtaining and storing video time line stream file There is embodiment to be suitable for the device, and can reach same or analogous advantageous effect.
The embodiment of the present invention additionally provides a kind of client device, and as shown in figure 11, Figure 11 provides for the embodiment of the present invention A kind of client device structural schematic diagram, including processor 111, communication interface 112, memory 113 and communication bus 114, Wherein, processor 111, communication interface 112, memory 113 complete mutual communication by communication bus 114;
Memory 113, for storing computer program;
Processor 111 when for executing the program stored on memory 113, realizes following steps:
Receive order request information of the user to target video;
The order request information is sent to vod server;
Receive the address information and timeline stream file of the target video of the vod server feedback, the target Temporal information is included at least in the timeline stream file of video;The timeline stream file of the target video, is taken by the program request Business device is obtained from pre-stored timeline stream file;
According to the address information of the target video, the target video is played at video playing interface;
According to the temporal information in the timeline stream file of the target video, when the target video play to it is described when Between each time point in information when, show preset interactive interface to user;
The interactive information that user inputs in the interactive interface is received, the interactive information is sent to the order program service Device;
Receive the interactive information that the vod server is sent and display.
A kind of client device provided in an embodiment of the present invention, during client carries out target video program request, to Vod server sends program request solicited message and is fed back according to vod server after receiving vod server feedack The target video address information and timeline stream file, the target video is played at video playing interface, when described It is pre- to user's displaying when target video plays each time point of temporal information into the timeline stream file of the target video If interactive interface, receive the interactive information that input in the interactive interface of user, and described in the interactive information is sent to Vod server, after receiving the interactive information that vod server is sent, the interaction letter described in the video playing interface display Breath realizes and increases user's interactive mode during user watches video, improves the interactivity of video on demand.
The embodiment of the present invention additionally provides a kind of Living streaming server, and as shown in figure 12, Figure 12 is the embodiment of the present invention A kind of Living streaming server structural schematic diagram provided, including processor 121, communication interface 122, memory 123 and communication Bus 124, wherein processor 121, communication interface 122, memory 123 complete mutual communication by communication bus 124;
Memory 123, for storing computer program;
Processor 121 when for executing the program stored on memory 123, realizes following steps:
Receive order request information of the user to target video of client transmission;
According to the order request information, the address information of the target video is obtained;
From pre-stored timeline stream file, the corresponding timeline stream file of the target video, the mesh are obtained It marks in the corresponding timeline stream file of video and includes at least temporal information;
The address information of the target video and timeline stream file are fed back into the client;
Receive the interactive information that the client is sent;
The all clients that the interactive information received from client is sent to the currently playing target video are shown Show.
A kind of Living streaming server provided in an embodiment of the present invention, vod server reception client transmission include After the user of target video video identifier is to the order request information of target video, the address letter of the target video is obtained Breath, and the corresponding timeline stream file of the target video is obtained from pre-stored timeline stream file, then by mesh It marks the address information of video and the timeline stream file comprising temporal information feeds back to client, client is according to target video Address information plays the target video, when the target video is played to its corresponding timeline stream at video playing interface When each time point in the temporal information in file, preset interactive interface is shown to user, then by user on interaction circle The interactive information of face input is forwarded to vod server, and vod server receives the interactive information that the client is sent, finally The all clients that the interactive information received from client is sent to the currently playing target video are shown, are realized User's interactive mode is increased during user watches video, improves the interactivity of video on demand.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc.. For ease of indicating, only indicated with a thick line in figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, abbreviation RAM), can also include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Optionally, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, Abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), application-specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), field programmable gate array (Field-Programmable Gate Array, Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with instruction in storage medium, when run on a computer so that computer executes any institute in above-described embodiment User in the video playing stated interacts implementation method, to obtain identical technique effect.
In another embodiment provided by the invention, a kind of computer program product including instruction is additionally provided, when it When running on computers so that the user that computer executes in above-described embodiment in any video playing interacts realization Method, to obtain identical technique effect.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its arbitrary combination real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk Solid State Disk (SSD)) etc..
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that There is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device and For apparatus embodiments, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to method The part of embodiment illustrates.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (18)

1. the user in a kind of video playing interacts implementation method, which is characterized in that it is applied to client, including:
Receive order request information of the user to target video;
The order request information is sent to vod server;
Receive the address information and timeline stream file of the target video of the vod server feedback, the target video Timeline stream file in include at least temporal information;The timeline stream file of the target video, by the vod server It is obtained from pre-stored timeline stream file;
According to the address information of the target video, the target video is played at video playing interface;
According to the temporal information in the timeline stream file of the target video, believe when the target video was played to the time When each time point in breath, preset interactive interface is shown to user;
The interactive information that user inputs in the interactive interface is received, the interactive information is sent to the vod server;
Receive the interactive information that the vod server is sent and display.
2. according to the method described in claim 1, it is characterized in that, temporal information in the timeline stream file, further includes: The corresponding duration of each time point;
Temporal information in the timeline stream file according to the target video, when the target video play to it is described when Between each time point in information when, show preset interactive interface to user, including:
According to each time point and corresponding duration, when the target video is played to each time point, In the corresponding duration of each time point preset interactive interface is shown to user.
3. according to the method described in claim 1, it is characterized in that, the interactive information for receiving the vod server and sending And the step of showing, including:
Receive the interactive information that the vod server is sent, the interactive information described in the video playing interface display.
4. the user in a kind of video playing interacts implementation method, which is characterized in that it is applied to vod server, including:
Receive order request information of the user to target video of client transmission;
According to the order request information, the address information of the target video is obtained;
From pre-stored timeline stream file, the corresponding timeline stream file of the target video is obtained, the target regards Frequently temporal information is included at least in corresponding timeline stream file;
The address information of the target video and timeline stream file are fed back into the client;
Receive the interactive information that the client is sent;
The all clients that the interactive information received from client is sent to the currently playing target video are shown.
5. according to the method described in claim 4, it is characterized in that, the interactive information received from client is sent to described Before all clients of the currently playing target video are shown, further include:
The interactive information received is audited by preset rules;
The all clients that the interactive information received from client is sent to the currently playing target video are shown Show, is:The interactive information that the slave client that audit is passed through receives, is sent to all clients of the currently playing target video End is shown.
6. according to the method described in claim 4, it is characterized in that, the pre-stored timeline stream file, is:It is logical in advance The original video file stream that video filter VFC systems are crossed for the target video preserved is handled, and extraction obtains institute The corresponding timeline stream file of target video is stated, and is stored in the vod server.
7. according to the method described in claim 6, it is characterized in that, the pre- video filter VFC systems that first pass through are for The original video file stream of the target video preserved is handled, and extraction obtains the corresponding timeline stream text of the target video Part, and the step being stored in the vod server, including:
Obtain the original video file stream of the target video preserved;
Line sampling is flowed into using the VFC systems to the original video file of the target video to pre-process;
Obtain the image data stream Sx of the original video file stream;Described image data flow Sx is the time in original video file stream Point and its corresponding image;
The image data stream Sx of the acquisition and preset template data are matched using video filter VFC algorithms, obtained Take scene frame member SFE;The scene frame member SFE includes:Temporal information and its corresponding video clip in original video file stream;Institute Stating temporal information includes:The time point of corresponding video clip;
Sequentially in time by the scene frame member SFE of the acquisition, it is combined into timeline stream file;
The timeline stream file is stored in the vod server.
8. the method according to the description of claim 7 is characterized in that temporal information in the scene frame member SFE, further includes:When Between put corresponding duration;
The preset template data includes:For the pre-set character image of the target video, keyword, dynamic effect and essence Color contextual data;
It is described that the image data stream Sx of the acquisition and preset template data are carried out using video filter VFC algorithms Match, obtains scene frame member SFE, including:
Using video filter VFC algorithms to the image data stream Sx of the acquisition and preset character image, keyword, dynamic Effect and highlight scene data are matched, and scene frame member SFE is obtained;
The scene frame member SFE by the acquisition sequentially in time, is combined into before timeline stream file, further includes:
According in the keyword, character image and the scene frame member SFE time point and its corresponding duration judge The scene frame member SFE of the acquisition whether there is redundant data, and the redundant data is filtered out.
9. the user in a kind of video playing interacts realization device, which is characterized in that it is applied to client, including:
First receiving module, for receiving order request information of the user to target video;
First sending module, for the order request information to be sent to vod server;
Second receiving module, the address information and timeline stream of the target video for receiving the vod server feedback File includes at least temporal information in the timeline stream file of the target video;The timeline stream file of the target video, It is obtained from pre-stored timeline stream file by the vod server;
Playing module plays the target video for the address information according to the target video at video playing interface;
Display module is used for according to the temporal information in the timeline stream file of the target video, when the target video is broadcast When putting to each time point in the temporal information, preset interactive interface is shown to user;
Second sending module, the interactive information inputted in the interactive interface for receiving user, the interactive information is sent To the vod server;
Display module, for receiving the interactive information and display that the vod server is sent.
10. device according to claim 9, which is characterized in that the target video that second receiving module receives Timeline stream file in temporal information, further include:The corresponding duration of each time point;
The display module, is specifically used for:
According to each time point and corresponding duration, when the target video is played to each time point, In the corresponding duration of each time point preset interactive interface is shown to user.
11. device according to claim 9, which is characterized in that the display module is specifically used for:
Receive the interactive information that the vod server is sent, the interactive information described in the video playing interface display.
12. the user in a kind of video playing interacts realization device, which is characterized in that it is applied to vod server, including:
Third receiving module, order request information of the user to target video for receiving client transmission;
First acquisition module, for according to the order request information, obtaining the address information of the target video;
Second acquisition module, for from pre-stored timeline stream file, obtaining the corresponding timeline of the target video Stream file includes at least temporal information in the corresponding timeline stream file of the target video;
Third sending module, for the address information of the target video and timeline stream file to be fed back to the client;
4th receiving module, the interactive information sent for receiving the client;
4th sending module, for the interactive information received from client to be sent to all of the currently playing target video Client is shown.
13. device according to claim 12, which is characterized in that described device further includes auditing module;
The auditing module is used for, and the interactive information received from client is sent to the currently playing target video described All clients shown before, the interactive information received is audited by preset rules;
4th sending module, is specifically used for:The interactive information that the slave client that audit is passed through receives, is sent to and currently broadcasts The all clients for putting the target video are shown.
14. device according to claim 12, which is characterized in that described device further includes:File storage module, for pre- The original video file stream that video filter VFC systems are first passed through for the target video preserved is handled, and is extracted To the corresponding timeline stream file of the target video, and the corresponding timeline stream file of the target video is stored in described In vod server.
15. device according to claim 14, which is characterized in that the file storage module, including:
Third acquisition submodule, the original video file stream for obtaining the target video preserved;
Submodule is pre-processed, is located in advance for flowing into line sampling to the original video file of the target video using the VFC systems Reason;
4th acquisition submodule, the image data stream Sx for obtaining the original video file stream;Described image data flow Sx is, Time point and its corresponding image in original video file stream;
5th acquisition submodule, for using video filter VFC algorithms to the image data stream Sx of the acquisition and preset Template data is matched, and scene frame member SFE is obtained;The scene frame member SFE includes:In original video file stream temporal information and Its corresponding video clip;The temporal information includes:The time point of corresponding video clip;
Submodule is combined, for the scene frame member SFE of the acquisition sequentially in time, to be combined into timeline stream file;
File sub-module stored, for the timeline stream file to be stored in the vod server.
16. device according to claim 15, which is characterized in that the scene acquired in the 5th acquisition submodule Temporal information in frame member SFE further includes:Time point corresponding duration;
The preset template data includes:For the pre-set character image of the target video, keyword, dynamic effect and essence Color contextual data;
5th acquisition submodule, is specifically used for:
Using video filter VFC algorithms to the image data stream Sx of the acquisition and preset character image, keyword, dynamic Effect and highlight scene data are matched, and scene frame member SFE is obtained;
The file storage module further includes:Data filtering submodule;
The data filtering submodule, for the scene frame member SFE of the acquisition sequentially in time, to be combined into timeline stream Before file, according in the keyword, character image and the scene frame member SFE time point and its it is corresponding continue when The long scene frame member SFE for judging the acquisition whether there is redundant data, and the redundant data is filtered out.
17. a kind of client device, which is characterized in that including processor, communication interface, memory and communication bus, wherein place Device, communication interface are managed, memory completes mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and steps of claim 1-3.
18. a kind of Living streaming server, which is characterized in that including processor, communication interface, memory and communication bus, In, processor, communication interface, memory completes mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and steps of claim 4-8.
CN201810103049.8A 2018-02-01 2018-02-01 User interaction implementation method and device in video playing Active CN108366278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810103049.8A CN108366278B (en) 2018-02-01 2018-02-01 User interaction implementation method and device in video playing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810103049.8A CN108366278B (en) 2018-02-01 2018-02-01 User interaction implementation method and device in video playing

Publications (2)

Publication Number Publication Date
CN108366278A true CN108366278A (en) 2018-08-03
CN108366278B CN108366278B (en) 2020-08-28

Family

ID=63004300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810103049.8A Active CN108366278B (en) 2018-02-01 2018-02-01 User interaction implementation method and device in video playing

Country Status (1)

Country Link
CN (1) CN108366278B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109462731A (en) * 2018-11-27 2019-03-12 北京潘达互娱科技有限公司 Playback method, device, terminal and the server of effect video are moved in a kind of live streaming
CN109714626A (en) * 2018-12-26 2019-05-03 北京字节跳动网络技术有限公司 Information interacting method, device, electronic equipment and computer readable storage medium
CN111177610A (en) * 2020-01-06 2020-05-19 北京字节跳动网络技术有限公司 Material display method and device, electronic equipment and storage medium
CN111556370A (en) * 2020-04-02 2020-08-18 北京奇艺世纪科技有限公司 Interactive video interaction method, device, system and storage medium
CN111770373A (en) * 2020-07-09 2020-10-13 北京达佳互联信息技术有限公司 Content synchronization method, device and equipment based on live broadcast and storage medium
CN111954012A (en) * 2020-08-12 2020-11-17 上海遥知信息技术有限公司 Multimedia resource file playing method and device, computer equipment and storage medium
WO2021031940A1 (en) * 2019-08-18 2021-02-25 聚好看科技股份有限公司 Screening room service management method, interaction method, display device, and mobile terminal
CN112637690A (en) * 2019-09-24 2021-04-09 广州虎牙科技有限公司 Interactive video, manufacturing method and device thereof and server
CN112969093A (en) * 2019-12-13 2021-06-15 腾讯科技(北京)有限公司 Interactive service processing method, device, equipment and storage medium
CN113381990A (en) * 2021-06-03 2021-09-10 湖南快乐阳光互动娱乐传媒有限公司 Method and system for intercommunication between on-demand terminals
CN113542797A (en) * 2020-09-18 2021-10-22 腾讯科技(深圳)有限公司 Interaction method and device in video playing and computer readable storage medium
CN114339419A (en) * 2021-12-29 2022-04-12 青岛海信移动通信技术股份有限公司 Method, device and storage medium for pull processing of video stream
CN114979782A (en) * 2022-06-28 2022-08-30 北京爱奇艺科技有限公司 Video playing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547408A (en) * 2012-01-17 2012-07-04 深圳市同洲视讯传媒有限公司 Method and system for playing request programs and session manager
CN104754419A (en) * 2015-03-13 2015-07-01 腾讯科技(北京)有限公司 Video-based interaction method and device
CN104811814A (en) * 2015-04-28 2015-07-29 腾讯科技(北京)有限公司 Video playing-based information processing method and system, client and server
CN105657545A (en) * 2015-11-17 2016-06-08 乐视云计算有限公司 Video play method and apparatus
CN105828123A (en) * 2016-03-30 2016-08-03 乐视控股(北京)有限公司 Method and apparatus for interaction in live broadcast
WO2017019815A1 (en) * 2015-07-28 2017-02-02 Giga Entertainment Media Inc. Interactive content streaming over live media content

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547408A (en) * 2012-01-17 2012-07-04 深圳市同洲视讯传媒有限公司 Method and system for playing request programs and session manager
CN104754419A (en) * 2015-03-13 2015-07-01 腾讯科技(北京)有限公司 Video-based interaction method and device
CN104811814A (en) * 2015-04-28 2015-07-29 腾讯科技(北京)有限公司 Video playing-based information processing method and system, client and server
WO2017019815A1 (en) * 2015-07-28 2017-02-02 Giga Entertainment Media Inc. Interactive content streaming over live media content
CN105657545A (en) * 2015-11-17 2016-06-08 乐视云计算有限公司 Video play method and apparatus
CN105828123A (en) * 2016-03-30 2016-08-03 乐视控股(北京)有限公司 Method and apparatus for interaction in live broadcast

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109462731A (en) * 2018-11-27 2019-03-12 北京潘达互娱科技有限公司 Playback method, device, terminal and the server of effect video are moved in a kind of live streaming
CN109714626A (en) * 2018-12-26 2019-05-03 北京字节跳动网络技术有限公司 Information interacting method, device, electronic equipment and computer readable storage medium
US11924500B2 (en) 2018-12-26 2024-03-05 Beijing Bytedance Network Technology Co., Ltd. Information interaction method and device, electronic apparatus, and computer readable storage medium
WO2021031940A1 (en) * 2019-08-18 2021-02-25 聚好看科技股份有限公司 Screening room service management method, interaction method, display device, and mobile terminal
CN112637690B (en) * 2019-09-24 2021-12-24 广州虎牙科技有限公司 Interactive video production method and device, and server
CN112637690A (en) * 2019-09-24 2021-04-09 广州虎牙科技有限公司 Interactive video, manufacturing method and device thereof and server
CN112969093A (en) * 2019-12-13 2021-06-15 腾讯科技(北京)有限公司 Interactive service processing method, device, equipment and storage medium
CN112969093B (en) * 2019-12-13 2023-09-08 腾讯科技(北京)有限公司 Interactive service processing method, device, equipment and storage medium
CN111177610A (en) * 2020-01-06 2020-05-19 北京字节跳动网络技术有限公司 Material display method and device, electronic equipment and storage medium
CN111556370A (en) * 2020-04-02 2020-08-18 北京奇艺世纪科技有限公司 Interactive video interaction method, device, system and storage medium
CN111770373A (en) * 2020-07-09 2020-10-13 北京达佳互联信息技术有限公司 Content synchronization method, device and equipment based on live broadcast and storage medium
CN111770373B (en) * 2020-07-09 2022-09-02 北京达佳互联信息技术有限公司 Content synchronization method, device and equipment based on live broadcast and storage medium
CN111954012A (en) * 2020-08-12 2020-11-17 上海遥知信息技术有限公司 Multimedia resource file playing method and device, computer equipment and storage medium
CN113542797A (en) * 2020-09-18 2021-10-22 腾讯科技(深圳)有限公司 Interaction method and device in video playing and computer readable storage medium
CN113381990A (en) * 2021-06-03 2021-09-10 湖南快乐阳光互动娱乐传媒有限公司 Method and system for intercommunication between on-demand terminals
CN114339419A (en) * 2021-12-29 2022-04-12 青岛海信移动通信技术股份有限公司 Method, device and storage medium for pull processing of video stream
CN114339419B (en) * 2021-12-29 2024-04-02 青岛海信移动通信技术有限公司 Video stream pulling processing method, device and storage medium
CN114979782A (en) * 2022-06-28 2022-08-30 北京爱奇艺科技有限公司 Video playing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108366278B (en) 2020-08-28

Similar Documents

Publication Publication Date Title
CN108366278A (en) A kind of user in video playing interacts implementation method and device
US9538250B2 (en) Methods and systems for creating and managing multi participant sessions
CN104471914B (en) A kind of method and apparatus of streaming media processing
US7698263B2 (en) Providing a lateral search
CN104363483B (en) A kind of advertisement sending method and device based on video pictures
US8732745B2 (en) Method and system for inserting an advertisement in a media stream
KR101629588B1 (en) Real-time mapping and navigation of multiple media types through a metadata-based infrastructure
CN104837059B (en) Method for processing video frequency, device and system
US20100158391A1 (en) Identification and transfer of a media object segment from one communications network to another
US20150012840A1 (en) Identification and Sharing of Selections within Streaming Content
CN110149549B (en) Information display method and device
US20170324700A1 (en) Method and system for adding an identifier
CN108605153A (en) Synchronized multimedia content tab data
US9615120B2 (en) Systems and methods for associating additional content with broadband content
CN104837034B (en) A kind of information processing method, client and server
CN107104883A (en) Information sharing method, client and server in a kind of social networks chain
WO2015169141A1 (en) Channel classification method and device
WO2019195931A1 (en) System and method for management and delivery of secondary syndicated companion conent of discovered primary digital media presentations
US20160255036A1 (en) Association of a social message with a related multimedia flow
US20210160591A1 (en) Creating customized short-form content from long-form content
Vega et al. Towards a multi-screen interactive ad delivery platform
CN110381372A (en) A kind of method and device carrying out video playing based on selection result
CN108965913A (en) A kind of method for processing video frequency and device
US10141023B2 (en) Method and system for multimedia summary generation

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
GR01 Patent grant
GR01 Patent grant