A kind of information labeling of video request program and display packing and device
Technical field
The invention belongs to multimedia application field, more particularly, to a kind of information labeling of video request program and display packing and dress
Put.
Background technology
With the continuous development of Internet technology, TV has been no longer the unique selection that people watch video, by net
Network program request viewing video is more and more universal, and network facility and opening are so that people are increasingly ready by network
Video is watched in program request.However, traditional provides only simple video-on-demand service, Zhi Nengzhi based on the video on-demand system of WEB
Hold the basic operational functions to video such as broadcasting, time-out, fast forwarding and fast rewinding, user cannot participate in the process of video request program, with user
Between lack interactivity.
Content of the invention
The purpose of the embodiment of the present invention be to provide a kind of information labeling of video request program and display packing and device it is intended to
Solve user in existing video request-program process cannot participate in, lack the problem of interactivity and user between.
The embodiment of the present invention is achieved in that a kind of information labeling of video request program and display packing, methods described bag
Include:
One or more video endorsement information is inputted by web page;
Add corresponding video features code in described one or more video endorsement information and store;
Video endorsement information corresponding with currently playing video according to the inquiry storage of described video features code;
Show described video endorsement information.
The another object of the embodiment of the present invention is to provide a kind of information labeling of video request program and display device, described dress
Put including:
Information input unit, for inputting one or more video endorsement information by web page;
Information memory cell, for adding corresponding video features code simultaneously in described one or more video endorsement information
Storage;
Information query unit, for the video corresponding with currently playing video according to the inquiry storage of described video features code
Endorsement information;
Information display unit, for showing described video endorsement information.
In embodiments of the present invention, because endorsement information is user input, the information annotation that user is done to video content,
Not only increase the quantity of information that video carries, and strengthen interacting between user and video player, so that user is really participated in
During video request program.
Brief description
Fig. 1 is the flow chart of a kind of information labeling of video request program of the present invention and display packing preferred embodiment;
Fig. 2 is the present invention another kind information labeling of video request program and the flow chart of display packing preferred embodiment;
Fig. 3 is the structure chart of a kind of information labeling of video request program of the present invention and display device preferred embodiment;
Fig. 4 is the present invention another kind information labeling of video request program and the structure chart of display device preferred embodiment.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with drawings and Examples, right
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only in order to explain the present invention, and
It is not used in the restriction present invention.
In order to technical solutions according to the invention are described, to illustrate below by specific embodiment.
Embodiment one:
The flow chart being illustrated in figure 1 a kind of information labeling of video request program of the present invention and display packing preferred embodiment,
For convenience of description, illustrate only the part related to the embodiment of the present invention.
In step S101, one or more video endorsement information is inputted by web page.
In embodiments of the present invention, step S101 can be specifically divided into following two steps:
Receive annotation request first, suspend and play video and enter web annotation input page.
In order to strengthen in video request-program process with the interacting of user, be pre-created web annotation input page and carry for user
For the list of input video endorsement information, in video request program, if user passes through the information comment button on the video playback page
Triggering click event, then receive the annotation request of user input, suspends and plays video and enter web annotation input page.
Then, input page is annotated by web and input one or more video endorsement information.
Specifically, after user's input video endorsement information on this web annotation input page, received by POST mode
Web annotates the video endorsement information that input page is submitted to.Wherein, video endorsement information includes but is not limited to:Annotation summary, annotation
Content, and annotation time of adding to video endorsement information and video features code.Include annotation title in annotation summary again,
Summary to annotation content etc..
In embodiments of the present invention, user can just be received by repeating said process during order video
The a plurality of video endorsement information of input.Specifically, if receiving only the one of user input during one video of program request
Bar video endorsement information, then this video is to should have a video endorsement information;If received during one video of program request
To a plurality of video endorsement information of user input, then this video is to should have a plurality of video endorsement information.
In step s 102, add corresponding video features code in one or more video endorsement information and store.
In embodiments of the present invention, with the accumulation of video request program time, the video of program request is criticized with the video of user input
Note information is all more and more, when the video endorsement information of user input have a plurality of, and to should have during multiple video it is necessary to regard
Add as video uniquely identified video features code in frequency endorsement information, corresponding with video endorsement information for judging video
Relation.Wherein, video features code can be multiple, such as video ID, video name etc..Thus, in order to distinguish the video of each video
Endorsement information, then, after inputting one or more video endorsement information by web page, add program request in video endorsement information
The video features code of video.
Preferably, add in video endorsement information after corresponding video features code during broadcasting when order video suspends
Between point(As asked in the annotation receiving user input, when suspending order video, order video is played to 30 points 18 seconds, then and 30
Divide the play time being when order video suspends 18 seconds)It is added in video endorsement information as the annotation time.
In embodiments of the present invention, it is previously provided with two tables, respectively video Basic Information Table in data base
(videos)And video information annotation table(comments).Video Basic Information Table is used for recording video request program fileinfo, bag
Include video features code(As a example this sentences video ID), video files names(name), and video file storing path(path)Deng.
Video information annotation table is used for preserving the information annotation content to video file in video Basic Information Table, including video features code
(As external key, the video features code of mapping video Basic Information Table), annotation summary, annotation content and annotation time etc..Connecing
After receiving video endorsement information and adding video features code in video endorsement information, just video endorsement information is stored to data
Corresponding table in storehouse.
In step s 103, the video annotation letter corresponding with currently playing video according to the inquiry storage of video features code
Breath.
In embodiments of the present invention, because video features code is video unique mark, for judging video and video annotation
The corresponding relation of information, therefore when playing current video, the video features code only according to currently playing video inquires about data
The one or more video endorsement information corresponding with currently playing video of storage in storehouse, in the video endorsement information being inquired
Video features code including currently playing video.
In step S104, show video endorsement information.
In embodiments of the present invention, the one or more video annotation letter corresponding with currently playing video that display inquires
Breath.Wherein, because video endorsement information includes annotation summary and annotation content, thus show always during video playback
The annotation summary of one or more video endorsement information corresponding with currently playing video, and wherein the one of display is clicked in user
After the annotation summary of bar video endorsement information, show the annotation content of this endorsement information.
Wherein, if currently playing video is to should have a plurality of video endorsement information, while playing video display with
The annotation summary of the corresponding a plurality of video endorsement information of currently playing video, currently playing video playback is criticized to wherein video
During the annotation time that note information includes, highlight the annotation content of this video endorsement information.Specifically, display with current
After playing the annotation summary of the corresponding a plurality of video endorsement information of video, by software interface function(As function onTime ())Right
The video play is intercepted, the triggering response thing when the annotation time that video playback includes to wherein video endorsement information
Part, highlights the annotation content of this video endorsement information on screen.If currently playing video is only to should have one
Video endorsement information, then show the annotation summary of this video endorsement information while playing video, and again by software
Interface function, such as onTime () are intercepted to the video play, the annotation including when this video endorsement information of video playback
Trigger response events during the time, the annotation content of this video endorsement information is highlighted on screen.Wherein, highlight
Mode includes multiple, Ke Yishi:Display location projects(Middle etc. as shown in currently playing video pictures), with special pattern
Display font(Such as overstriking, underline, change color etc.)Deng.
In embodiments of the present invention, because endorsement information is the input of user one rule, user is done to video content
Information annotates, and not only increases the quantity of information that video carries, and strengthens interacting between user and video player, makes user true
During just participating in video request program.
Embodiment two:
It is illustrated in figure 2 the present invention another kind information labeling of video request program and the flow process of display packing preferred embodiment
Figure, for convenience of description, illustrate only the part related to the embodiment of the present invention.Based on above-described embodiment, the method includes:
In step s 201, one or more video endorsement information is inputted by web page.
In step S202, add corresponding video features code in described one or more video endorsement information and deposit
Storage.
In step S203, according to the video annotation corresponding with currently playing video of described video features code inquiry storage
Information.
In step S204, show video endorsement information.
In step S205, the click commands of the video endorsement information of receives input, by currently playing video location to regarding
The frequency endorsement information corresponding annotation time plays.
In embodiments of the present invention, in order to improve Consumer's Experience, additionally provide according to endorsement information for the video play
The function of positioning playing.Specifically, after the video endorsement information of the video features code that display includes currently playing video, when connecing
When receiving user and passing through the click commands clicking on the input of video endorsement information, calling system corresponding locating interface function is by video
Position and play to the described video endorsement information corresponding annotation time, the annotation that this annotation time includes for video endorsement information
Time.
Wherein, if currently playing video corresponds to the video endorsement information of a video features code including this video, when
When receiving the click commands that user inputs by clicking on the annotation summary of this video endorsement information, calling system is corresponding
Described video location to this video endorsement information corresponding annotation time is play by locating interface function.
If currently playing video is to should have a plurality of video endorsement information, wherein one video endorsement information of receives input
Annotation summary click commands, described currently playing video location was broadcast to this video endorsement information corresponding annotation time
Put.Specifically, after the annotation including a plurality of video endorsement information of the video features code of currently playing video in display is made a summary, if
Receive the click event that user inputs by clicking on the annotation summary of a wherein video endorsement information on web page
When, video location to this video endorsement information corresponding annotation time is play by calling system corresponding locating interface function.
In embodiments of the present invention, realize video location by endorsement information to play so that oneself can be liked by user
The video location seen is recorded by way of video labeling information, and can directly pass through the positioning playing of video endorsement information
Video is jumped to the video location that user likes and is watched by function, enhances Consumer's Experience.
Embodiment three:
Fig. 3 is a kind of information labeling of video request program provided in an embodiment of the present invention and the knot of display device preferred embodiment
Composition, for convenience of description, illustrate only the part related to the embodiment of the present invention.Based on above-described embodiment, this device includes:
Information labeling unit 31, for inputting one or more video endorsement information by web page.
Wherein, video endorsement information includes but is not limited to:Annotation summary, annotation content, and add to video annotation letter
Annotation time in breath and video features code.Include annotation title, to summary of annotation content etc. in annotation summary again.
In embodiments of the present invention, described information mark unit 31 includes:
Annotation request reception unit 311, for receiving annotation request, suspends and plays video and enter web annotation incoming page
Face.
In order to strengthen in video request-program process with the interacting of user, be pre-created web annotation input page and carry for user
For the list of input video endorsement information, in video request program, receive the annotation request of user input, suspend and play video simultaneously
Enter web annotation input page.
Endorsement information input block 312, for inputting one or more video endorsement information by web page.
In embodiments of the present invention, after user's input video endorsement information on this web annotation input page, pass through
POST mode receives web and annotates the video endorsement information that input page is submitted to.Repeat above-mentioned during order video
Process just can receive a plurality of video endorsement information of user input.
Information memory cell 32, for adding corresponding video features code and depositing in one or more video endorsement information
Storage.
In embodiments of the present invention, video features code, as video unique mark, is believed for judging that video is annotated with video
The corresponding relation of breath, video features code can be multiple, such as video ID, video name etc..
In embodiments of the present invention, the play time that information memory cell 32 can be additionally used in when suspending order video is made
Add to video endorsement information for the annotation time, and video endorsement information is stored to table corresponding in data base.
Information query unit 33, for criticizing according to the video corresponding with currently playing video of video features code inquiry storage
Note information.
In embodiments of the present invention, storage in data base is inquired about according to the video features code of currently playing video with current
Play the corresponding one or more video endorsement information of video, the video endorsement information being inquired includes currently playing video
Video features code.
Information display unit 34, for showing video endorsement information.
In embodiments of the present invention, during video playback always display corresponding with currently playing video one or
The annotation summary of a plurality of video endorsement information, and the annotation summary of a wherein video endorsement information of display is clicked in user
Afterwards, show the annotation content of this endorsement information.
In embodiments of the present invention, information display unit 34 includes:
Annotation summary display unit 341, the annotation for showing one or more video endorsement information is made a summary;
Annotation content display unit 342, for when described currently playing video playback is to wherein video endorsement information
Including the annotation time when, highlight the annotation content of this video endorsement information.
Preferably, as shown in figure 4, the information labeling of video request program and display device also include:
Positioning playing unit 41, for the click commands of the video endorsement information of receives input, currently playing video is fixed
Position was play to the video endorsement information corresponding annotation time.
In embodiments of the present invention, if the video of the corresponding video features code including this video of currently playing video is criticized
During note information, positioning playing unit 41 can be additionally used in:
The click commands of the annotation summary of a wherein video endorsement information of receives input, by currently playing video location
Play to this video endorsement information corresponding annotation time.
In embodiments of the present invention, because endorsement information is the input of user one rule, user is done to video content
Information annotates, and not only increases the quantity of information that video carries, and strengthens interacting between user and video player, makes user true
During just participating in video request program.Additionally, video location is realized by endorsement information playing so that user can be by oneself
Like the video location seen to be recorded by way of video labeling information, and can directly pass through the positioning of video endorsement information
Video is jumped to the video location that user likes and is watched by playing function, enhances Consumer's Experience.
It will appreciated by the skilled person that it is permissible for realizing all or part of step in above-described embodiment method
The hardware instructing correlation by program completing, described program can in being stored in computer read/write memory medium,
Described storage medium, such as ROM/RAM, disk, CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.